/* Aristos Search - Modern UI Styles */

:root {
    /* Aristos Brand Colors - Metallic Gold Gradient */
    --gold-highlight: #D5B65B;
    --gold-dark: #A27E2F;
    --gold-bright: #F3E392;
    --gold-mid: #A98533;
    --gold-light: #E3C873;
    
    --primary: #A27E2F;
    --primary-dark: #8B6F28;
    --primary-light: #D5B65B;
    --secondary: #F3E392;
    --accent: #E3C873;
    
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    /* Colors - Dark Theme (Default) */
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1e1e1e;
    
    --text-primary: #f8f9fa;
    --text-secondary: #adb5bd;
    --text-tertiary: #6c757d;
    
    --border: #2a2a2a;
    --border-light: #3a3a3a;
    
    /* Gold Gradient */
    --gold-gradient: linear-gradient(170deg, #D5B65B 0%, #A27E2F 30%, #F3E392 50%, #A98533 70%, #E3C873 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 5px 15px rgba(212, 175, 55, 0.2);
    --shadow-gold-hover: 0 8px 25px rgba(212, 175, 55, 0.3);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    --transition: all 0.2s ease;
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --bg-tertiary: #f0f0f0;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-tertiary: #7a7a7a;
    --border: #e0e0e0;
    --border-light: #f0f0f0;
    
    /* Gold colors remain the same for brand consistency */
}

/* Theme Toggle Button - Footer */
.theme-toggle-footer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.theme-toggle-footer:hover {
    background: var(--bg-tertiary);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}

.theme-toggle-footer:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 2px;
}

.theme-toggle-footer i {
    font-size: 1rem;
}

.theme-toggle-footer span {
    font-weight: 500;
}

/* Accessibility - Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gold-bright);
    color: var(--bg-primary);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
    border-radius: 0 0 var(--radius-md) 0;
}

.skip-link:focus {
    top: 0;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Indicators for Accessibility */
*:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 2px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo:hover {
    opacity: 0.9;
}

.assist-container {
    position: relative;
    margin-left: auto;
}

.assist-quote-card {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 380px;
    max-width: 90vw;
    background: var(--bg-primary);
    border: 1px solid rgba(165, 126, 47, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(165, 126, 47, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.assist-container:hover .assist-quote-card,
.assist-quote-card:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.assist-quote-content {
    position: relative;
}

.assist-quote-text {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0 0 1rem 0;
    position: relative;
}

.assist-quote-text::before {
    content: '"';
    position: absolute;
    left: -0.5rem;
    top: -0.25rem;
    font-size: 2rem;
    color: var(--gold-dark);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.assist-quote-author {
    font-size: 0.75rem;
    color: var(--gold-bright);
    margin: 0 0 1rem 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.assist-quote-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-bright), transparent);
    margin: 1rem 0;
}

.assist-quote-tagline {
    font-size: 0.875rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 600;
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.assist-quote-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.assist-quote-close:hover {
    background: rgba(165, 126, 47, 0.1);
    color: var(--gold-bright);
}

.assist-quote-card.dismissed {
    display: none;
}

.assist-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid rgba(165, 126, 47, 0.3);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.assist-button::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    padding: 2px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.assist-button:hover {
    background: rgba(165, 126, 47, 0.1);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
    transform: translateY(-1px);
}

.assist-button:hover::after {
    opacity: 0.5;
}

.assist-button i {
    font-size: 1rem;
}

.assist-button span {
    display: inline;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.logo-aristos {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 4px;
    background-image: linear-gradient(
        170deg,
        #D5B65B 0%,
        #A27E2F 30%,
        #F3E392 50%,
        #A98533 70%,
        #E3C873 100%
    );
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 
        0 0 10px rgba(255, 215, 100, 0.4),
        0px 1px 1px rgba(255, 245, 200, 0.5),
        0px -1px 1px rgba(0, 0, 0, 0.5);
    line-height: 1;
    margin: 0;
}

.logo-subtitle {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    background-image: linear-gradient(
        170deg,
        #D5B65B 0%,
        #A27E2F 30%,
        #F3E392 50%,
        #A98533 70%,
        #E3C873 100%
    );
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 
        0 0 10px rgba(255, 215, 100, 0.4),
        0px 1px 1px rgba(255, 245, 200, 0.5),
        0px -1px 1px rgba(0, 0, 0, 0.5);
    margin-top: -2px;
    line-height: 1;
}

.search-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    background-image: linear-gradient(
        170deg,
        #D5B65B 0%,
        #A27E2F 30%,
        #F3E392 50%,
        #A98533 70%,
        #E3C873 100%
    );
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 
        0 0 8px rgba(255, 215, 100, 0.2),
        0px 1px 1px rgba(255, 245, 200, 0.3),
        0px -1px 1px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

/* Search Section */
.search-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.search-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.search-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Hero Links */
.hero-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.hero-link {
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: underline;
    text-decoration-color: transparent;
    padding: 0;
}

.hero-link:hover {
    color: var(--gold-bright);
    text-decoration-color: var(--gold-bright);
}

.hero-link-separator {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* Search Form */
.search-form {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: transparent;
    border: 2px solid var(--gold-dark);
    border-radius: var(--radius-xl);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.search-input-wrapper:focus-within {
    border-color: var(--gold-bright);
    box-shadow: 0 0 0 3px rgba(165, 126, 47, 0.1);
}

.search-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--text-tertiary);
    margin-right: 1rem;
}

.search-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    font-size: 1.125rem;
    background: transparent;
    color: var(--text-primary);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none !important;
}

.search-input:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.search-input::placeholder {
    color: var(--text-tertiary);
}

.search-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold-gradient);
    color: var(--bg-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-button:hover {
    box-shadow: var(--shadow-gold-hover);
    transform: translateY(-1px);
}

.button-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Suggestions */
.suggestions {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.suggestion-active {
    background: var(--bg-secondary);
}

.suggestion-item.suggestion-active {
    border-left: 3px solid var(--gold-bright);
}

.suggestion-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--text-tertiary);
}

.suggestion-item span {
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Instant Answers */
.instant-answer {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 2px solid var(--gold-dark);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-gold);
}

.answer-icon {
    width: 64px;
    height: 64px;
    background: var(--gold-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.answer-content {
    flex: 1;
}

.answer-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.answer-query {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.answer-result {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-bright);
    line-height: 1.2;
}

.answer-conversion {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.answer-conversion .from-value {
    color: var(--text-secondary);
}

.answer-conversion .to-value {
    color: var(--gold-bright);
    font-weight: 600;
}

.answer-conversion i {
    color: var(--gold-dark);
    font-size: 1.25rem;
}

.answer-note {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: 0.5rem;
}

/* Search Filters/Tabs */
.search-filters {
    display: flex;
    gap: 0.5rem;
    margin: 1.5rem 0;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    scrollbar-width: none;
}

.search-filters::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.filter-tab svg {
    width: 18px;
    height: 18px;
}

.filter-tab:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.filter-tab.active {
    background: var(--gold-dark);
    color: var(--bg-primary);
}

.filter-tab:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 2px;
}

/* Popular Searches */
.popular-searches {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.popular-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.popular-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.popular-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
}

.popular-tag:hover {
    background: var(--gold-gradient);
    color: var(--bg-primary);
    border-color: var(--gold-highlight);
}

/* Results Section */
.results-section {
    padding: 2rem 0;
    min-height: 100vh;
}

.search-bar-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.logo-compact {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.logo-compact:hover {
    opacity: 0.9;
}

.logo-container-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.logo-aristos-compact {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 3px;
    background-image: linear-gradient(
        170deg,
        #D5B65B 0%,
        #A27E2F 30%,
        #F3E392 50%,
        #A98533 70%,
        #E3C873 100%
    );
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 
        0 0 8px rgba(255, 215, 100, 0.4),
        0px 1px 1px rgba(255, 245, 200, 0.5),
        0px -1px 1px rgba(0, 0, 0, 0.5);
    line-height: 1;
    margin: 0;
}

.logo-subtitle-compact {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    background-image: linear-gradient(
        170deg,
        #D5B65B 0%,
        #A27E2F 30%,
        #F3E392 50%,
        #A98533 70%,
        #E3C873 100%
    );
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 
        0 0 8px rgba(255, 215, 100, 0.4),
        0px 1px 1px rgba(255, 245, 200, 0.5),
        0px -1px 1px rgba(0, 0, 0, 0.5);
    margin-top: -2px;
    line-height: 1;
}

.search-form-compact {
    width: 100%;
    max-width: 700px;
}

.search-input-wrapper-compact {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.search-input-wrapper-compact:focus-within {
    border-color: var(--gold-highlight);
    background: var(--bg-primary);
}

.search-input-compact {
    flex: 1;
    border: none !important;
    outline: none !important;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none !important;
}

.search-input-compact:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.search-button-compact {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.search-button-compact:hover {
    color: var(--gold-bright);
}

.search-button-compact svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Results Info */
.results-info {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

/* Loading */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid var(--border);
    border-top-color: var(--gold-highlight);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* Rich Results */
.featured-snippet {
    background: var(--bg-secondary);
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.snippet-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.snippet-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.snippet-link {
    color: var(--gold-bright);
    text-decoration: none;
    font-size: 0.9rem;
}

.snippet-link:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

.rich-section {
    margin-bottom: 2.5rem;
}

.rich-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rich-title i {
    color: var(--gold-highlight);
}

.news-grid, .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.news-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
}

.news-card:hover {
    border-color: var(--gold-dark);
    transform: translateY(-2px);
}

.news-thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    background: var(--bg-tertiary);
}

.news-content {
    flex: 1;
    min-width: 0;
}

.news-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.news-meta {
    color: var(--text-tertiary);
    font-size: 0.8rem;
}

.video-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-2px);
}

.video-thumb-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border);
}

.video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    background: var(--bg-tertiary);
}

.video-duration {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.video-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.video-source {
    color: var(--text-tertiary);
    font-size: 0.8rem;
}

/* Business Directory Cards */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
}

.business-card-simple {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition);
}

.business-card-simple:hover {
    border-color: var(--gold-dark);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.business-favicon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.business-favicon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.business-content {
    flex: 1;
    min-width: 0;
}

.business-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gold-bright);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.business-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 0.75rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.business-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.business-source i {
    font-size: 0.75rem;
}

/* Legacy business card styles (for when API provides full data) */
.business-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
}

.business-card:hover {
    border-color: var(--gold-dark);
    box-shadow: var(--shadow-gold);
}

.business-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.business-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.business-thumb-placeholder {
    width: 80px;
    height: 80px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold-highlight);
    flex-shrink: 0;
}

.business-info {
    flex: 1;
    min-width: 0;
}

.business-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.business-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.rating-stars {
    color: var(--gold-highlight);
    font-size: 1rem;
}

.rating-value {
    color: var(--text-primary);
    font-weight: 600;
}

.rating-count {
    color: var(--text-tertiary);
}

.business-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.business-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.business-detail i {
    color: var(--gold-highlight);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.business-phone {
    color: var(--gold-bright);
    text-decoration: none;
}

.business-phone:hover {
    text-decoration: underline;
}

.business-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.business-btn {
    flex: 1;
    min-width: 120px;
    padding: 0.625rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius-md);
    color: var(--gold-bright);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.business-btn:hover {
    background: var(--gold-dark);
    color: var(--bg-primary);
}

.business-btn i {
    font-size: 0.875rem;
}

/* Results List */
.results-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.result-item:last-child {
    border-bottom: none;
}

.result-url {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.result-source {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.result-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.result-title a {
    color: var(--gold-bright);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 400;
    transition: var(--transition);
}

.result-title a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

.result-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-button {
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.page-button:hover:not(:disabled) {
    background: var(--gold-gradient);
    color: var(--bg-primary);
    border-color: var(--gold-highlight);
}

.page-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-button.active {
    background: var(--gold-gradient);
    color: var(--bg-primary);
    border-color: var(--gold-highlight);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 0;
}

.no-results-icon {
    width: 4rem;
    height: 4rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--text-secondary);
}


/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--gold-bright);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--gold-bright);
    transform: translateX(3px);
}

.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 1rem;
}

.footer-logo-aristos {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 3px;
    background-image: linear-gradient(
        170deg,
        #D5B65B 0%,
        #A27E2F 30%,
        #F3E392 50%,
        #A98533 70%,
        #E3C873 100%
    );
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 
        0 0 8px rgba(255, 215, 100, 0.4),
        0px 1px 1px rgba(255, 245, 200, 0.5),
        0px -1px 1px rgba(0, 0, 0, 0.5);
    line-height: 1;
    margin: 0;
}

.footer-logo-subtitle {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    background-image: linear-gradient(
        170deg,
        #D5B65B 0%,
        #A27E2F 30%,
        #F3E392 50%,
        #A98533 70%,
        #E3C873 100%
    );
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 
        0 0 8px rgba(255, 215, 100, 0.4),
        0px 1px 1px rgba(255, 245, 200, 0.5),
        0px -1px 1px rgba(0, 0, 0, 0.5);
    margin-top: -2px;
    line-height: 1;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 400px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--gold-highlight);
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-acknowledgement {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-left: 3px solid var(--gold-dark);
    border-radius: var(--radius-md);
}

.footer-acknowledgement p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.footer-acknowledgement p:first-child {
    color: var(--gold-bright);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-legal {
    text-align: center;
}

.footer-legal p {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    margin: 0.5rem 0;
}

.footer-legal a {
    color: var(--gold-bright);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--gold-light);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .assist-quote-card {
        width: 320px;
        padding: 1.25rem;
        right: -10px;
    }
    
    .assist-quote-text {
        font-size: 0.8125rem;
    }
    
    .assist-quote-text::before {
        font-size: 1.5rem;
        left: -0.35rem;
    }
    
    .assist-button span {
        display: none;
    }
    
    .assist-button {
        padding: 0.5rem 0.75rem;
        min-width: auto;
    }
    
    .search-title {
        font-size: 2.5rem;
    }
    
    .search-input-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-button {
        width: 100%;
        justify-content: center;
    }
    
    .search-bar-compact {
        flex-direction: column;
    }
    
    .search-form-compact {
        width: 100%;
        max-width: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Mobile logo styles - ensure gradient works */
    .logo-aristos {
        font-size: 1.5rem;
        letter-spacing: 2px;
        background-image: linear-gradient(
            170deg,
            #D5B65B 0%,
            #A27E2F 30%,
            #F3E392 50%,
            #A98533 70%,
            #E3C873 100%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .logo-subtitle {
        font-size: 0.6rem;
        letter-spacing: 1.5px;
        background-image: linear-gradient(
            170deg,
            #D5B65B 0%,
            #A27E2F 30%,
            #F3E392 50%,
            #A98533 70%,
            #E3C873 100%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .logo-aristos-compact {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    
    .logo-subtitle-compact {
        font-size: 0.5rem;
        letter-spacing: 1px;
    }
    
    /* Footer logo mobile */
    .footer-logo-aristos {
        background-image: linear-gradient(
            170deg,
            #D5B65B 0%,
            #A27E2F 30%,
            #F3E392 50%,
            #A98533 70%,
            #E3C873 100%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .footer-logo-subtitle {
        background-image: linear-gradient(
            170deg,
            #D5B65B 0%,
            #A27E2F 30%,
            #F3E392 50%,
            #A98533 70%,
            #E3C873 100%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    /* Rich results mobile */
    .news-grid, .video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-thumb {
        width: 100%;
        height: 200px;
    }
    
    .featured-snippet {
        padding: 1rem;
    }
    
    .rich-section {
        margin-bottom: 2rem;
    }
    
    .rich-title {
        font-size: 1rem;
    }
    
    /* Footer mobile improvements */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-brand {
        padding-right: 0;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-tagline {
        text-align: center;
        max-width: 100%;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col ul {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-acknowledgement {
        text-align: center;
    }
    
    .footer-legal {
        font-size: 0.75rem;
    }
    
    /* Mobile Touch Optimization */
    /* Touch-friendly tap targets (minimum 44x44px) */
    button,
    a,
    .filter-tab,
    .suggestion-item {
        min-height: 44px;
    }
    
    /* Prevent zoom on input focus (iOS) */
    input[type="text"],
    input[type="search"] {
        font-size: 16px !important;
    }
    
    /* Optimize search input for mobile */
    .search-input {
        font-size: 16px;
        padding: 1rem 3.5rem;
    }
    
    .search-input-compact {
        font-size: 16px;
    }
    
    /* Mobile-optimized filter tabs */
    .search-filters {
        padding: 0.25rem;
        gap: 0.25rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }
    
    .filter-tab {
        scroll-snap-align: start;
        flex-shrink: 0;
        padding: 0.75rem 1rem;
    }
    
    /* Mobile result cards */
    .result-item {
        padding: 1rem;
    }
    
    .news-card,
    .video-card,
    .business-card-simple {
        padding: 1rem;
    }
    
    /* Mobile-friendly rich results */
    .news-grid,
    .video-grid,
    .business-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Larger touch targets for suggestions */
    .suggestion-item {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .suggestion-icon {
        width: 20px;
        height: 20px;
    }
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 10000;
}

[data-theme="light"] .modal-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    z-index: 10001;
    background: var(--bg-primary);
    border: 1px solid rgba(165, 126, 47, 0.3);
    border-radius: 24px;
    max-width: 700px;
    width: 90vw;
    max-height: 85vh;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(165, 126, 47, 0.1);
    animation: modalSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-content-wide {
    max-width: 1000px;
    width: 90vw;
}

.modal-hero {
    flex-shrink: 0;
}

.modal-content-scroll {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dark) transparent;
}

.modal-content-scroll::-webkit-scrollbar {
    width: 8px;
}

.modal-content-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content-scroll::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

.modal-content-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--gold-bright);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(165, 126, 47, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-tertiary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(165, 126, 47, 0.15);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
    transform: scale(1.1);
}

.modal-hero {
    position: relative;
    height: 250px;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.85) 100%),
        url('https://aristosai.com/images/hero-image-600.webp') center top / cover;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="light"] .modal-hero {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(240, 240, 240, 0.9) 100%),
        url('https://aristosai.com/images/hero-image-600.webp') center top / cover;
}

.modal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(165, 126, 47, 0.2) 0%, transparent 70%);
    z-index: 1;
}

.modal-hero-image {
    display: none;
}

.modal-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 2rem;
    width: 100%;
}

.modal-header {
    padding: 0;
    border: none;
}

.modal-header h2 {
    font-size: 2.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.modal-body {
    padding: 2.5rem;
}

.modal-section {
    margin-bottom: 2.5rem;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section:first-child {
    margin-top: 0;
}

.modal-icon {
    display: none;
}

.modal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-bright);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.modal-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.modal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.modal-intro {
    font-size: 1.125rem !important;
    color: var(--text-primary) !important;
    font-weight: 500;
}

.modal-quote {
    background: rgba(165, 126, 47, 0.05);
    border-left: 3px solid var(--gold-dark);
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    border-radius: 0 8px 8px 0;
}

.modal-quote cite {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--gold-bright);
    font-style: normal;
    font-weight: 500;
}

.modal-list {
    list-style: none;
    padding: 0;
}

.modal-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-list li i {
    color: var(--gold-bright);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.modal-subsection {
    margin: 2rem 0;
    padding: 1.75rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid rgba(165, 126, 47, 0.15);
}

.modal-subsection h4 {
    font-size: 1.1rem;
    color: var(--gold-bright);
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-subsection h4 i {
    font-size: 1rem;
}

.modal-highlight {
    margin-top: 2rem;
    padding: 1.75rem;
    background: rgba(165, 126, 47, 0.08);
    border: 1px solid rgba(165, 126, 47, 0.25);
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

[data-theme="light"] .modal-highlight {
    background: rgba(165, 126, 47, 0.12);
}

.modal-highlight i {
    font-size: 1.25rem;
    color: var(--gold-bright);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.modal-highlight p {
    margin: 0;
    color: var(--text-primary) !important;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table thead {
    background: var(--bg-secondary);
}

.comparison-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border);
}

.comparison-table th.highlight {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-bright) 100%);
    color: var(--bg-primary);
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.comparison-table td.highlight {
    background: rgba(165, 126, 47, 0.1);
    font-weight: 600;
    color: var(--gold-bright);
}

.comparison-table tbody tr:hover {
    background: var(--bg-secondary);
}

.comparison-table i.fa-check-circle {
    color: #10b981;
}

.comparison-table i.fa-times-circle {
    color: #ef4444;
}

.comparison-table i.fa-minus-circle {
    color: var(--text-tertiary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes modalSlide {
    from {
        transform: translateY(20px) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive - Table */
@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .comparison-table-wrapper {
        margin: 1rem -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

@media (max-width: 480px) {
    .comparison-table {
        font-size: 0.75rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.35rem;
    }
}
