/* ===================================
   Landing Page Styles
   Imported from landing-page/css/styles.css
   =================================== */

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

:root {
    /* Base colors */
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Light theme (default) */
:root[data-theme="light"],
:root:not([data-theme]) {
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --text-primary: #111827;
    --text-secondary: #1f2937;
    --text-tertiary: #4b5563;
    --border-color: #e5e7eb;
    --border-color-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);

    /* Legacy support */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* Dark theme */
:root[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #e2e8f0;
    --text-tertiary: #cbd5e1;
    --border-color: #334155;
    --border-color-light: #1e293b;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6);

    /* Legacy support */
    --gray-50: #1e293b;
    --gray-100: #334155;
    --gray-200: #475569;
    --gray-300: #64748b;
    --gray-600: #cbd5e1;
    --gray-700: #e2e8f0;
    --gray-800: #f1f5f9;
    --gray-900: #f8fafc;
}

html {
    scroll-behavior: smooth;
}

.landing-page {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
}

.nav-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-brand a {
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    text-decoration: none;
    color: var(--text-tertiary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-bottom: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-link-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md);
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-link-cta::after {
    display: none;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
}

.theme-toggle:hover {
    background-color: var(--bg-tertiary);
    color: var(--primary-color);
}

.theme-icon {
    transition: var(--transition);
}

.theme-icon-light {
    display: none;
}

.theme-icon-dark {
    display: block;
}

:root[data-theme="light"] .theme-icon-light {
    display: block;
}

:root[data-theme="light"] .theme-icon-dark {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--gray-700);
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.hero-note {
    margin-top: var(--spacing-lg);
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #fff;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ===================================
   Sections
   =================================== */
section {
    padding: var(--spacing-2xl) 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--gray-900);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
}

/* ===================================
   Features Grid
   =================================== */
.features {
    background-color: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

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

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   How it Works
   =================================== */
.how-it-works {
    background-color: var(--bg-secondary);
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: var(--spacing-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

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

/* ===================================
   News Page
   =================================== */
.news-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.news-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
}

.news-hero p {
    font-size: 1.125rem;
    opacity: 0.95;
}

.news-content {
    background-color: var(--gray-50);
    min-height: 60vh;
}

.news-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
}

.articles-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.news-article-card {
    background: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.news-article-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.news-article-card .article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.news-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-badge-new {
    background-color: var(--success-color);
    color: #fff;
}

.news-badge-important {
    background-color: var(--error-color);
    color: #fff;
}

.article-date {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.article-tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.tag {
    padding: 0.25rem 0.75rem;
    background-color: var(--gray-100);
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* News Sidebar */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.sidebar-widget {
    background: var(--bg-primary);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: background-color 0.3s ease;
}

.sidebar-widget h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: var(--spacing-xs);
}

.sidebar-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.timeline-list {
    list-style: none;
}

.timeline-list li {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
    border-left: 2px solid var(--primary-color);
}

.timeline-list strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.timeline-list span {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.sidebar-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.sidebar-cta h3 {
    color: #fff;
}

.sidebar-cta p {
    opacity: 0.95;
    margin-bottom: var(--spacing-md);
}

/* ===================================
   Article Page
   =================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    color: var(--text-tertiary);
}

.breadcrumb .current {
    color: var(--text-tertiary);
}

.article-detail {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
    transition: background-color 0.3s ease;
}

.article-detail .article-header {
    display: block;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.article-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

.article-detail .article-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.article-detail .article-tags {
    margin-bottom: var(--spacing-md);
    align-items: center;
}

.tag-hidden {
    display: none;
}

.tag-hidden.tag-visible {
    display: inline-block;
}

.tags-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.tags-toggle:hover {
    background-color: rgba(79, 70, 229, 0.1);
}

.tags-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.article-meta .article-date {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.article-body {
    line-height: 1.8;
    color: var(--text-primary);
}

.article-body h3 {
    font-size: 1.5rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.article-body ul {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
}

.article-body li {
    margin-bottom: var(--spacing-xs);
}

.article-body p {
    margin-bottom: var(--spacing-md);
}

.news-note {
    background-color: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary-color);
    margin: var(--spacing-md) 0;
    color: var(--text-primary);
}

.news-warning {
    background-color: rgba(234, 179, 8, 0.15);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--warning-color);
    color: var(--text-primary);
    margin: var(--spacing-md) 0;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: #1e293b;
    color: #cbd5e1;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3,
.footer-section h4 {
    color: #f1f5f9;
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: #f1f5f9;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: var(--spacing-md);
    text-align: center;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .steps {
        flex-direction: column;
    }

    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .article-footer {
        flex-direction: column;
    }

    .article-footer .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: var(--spacing-xl) 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .article-detail {
        padding: var(--spacing-md);
    }
}

/* ===================================
   FAQ Section
   =================================== */
.faq {
    position: relative;
    background-color: var(--bg-primary);
    padding: var(--spacing-2xl) 0;
    overflow: hidden;
}

.faq::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -45%;
    transform: translateX(-50%);
    width: 140%;
    height: 75%;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.14) 100%);
    border-radius: 50% 50% 0 0;
    z-index: 0;
}

.faq .container {
    position: relative;
    z-index: 1;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
    max-width: 800px;
    margin: var(--spacing-xl) auto 0 auto;
}

.faq-item {
    background-color: var(--bg-primary);
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 24px 48px -28px rgba(37, 99, 235, 0.45);
    backdrop-filter: blur(2px);
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 60px -32px rgba(37, 99, 235, 0.55);
    border-color: rgba(37, 99, 235, 0.16);
}

.faq-item[open] {
    box-shadow: 0 36px 64px -30px rgba(37, 99, 235, 0.55);
    border-color: rgba(37, 99, 235, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    padding: 1.5rem 1.75rem;
    cursor: pointer;
    list-style: none;
    font-weight: 500;
    font-size: 1.0625rem;
    color: var(--text-secondary);
    transition: color 0.25s ease, padding-bottom 0.25s ease;
    user-select: none;
    background-color: transparent;
}

.faq-question:hover {
    color: var(--primary-dark);
}

.faq-item[open] .faq-question {
    color: var(--primary-dark);
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
    padding-bottom: 1.125rem;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question-text {
    flex: 1;
    padding: 0 var(--spacing-md) 0 2.5rem;
    position: relative;
    font-weight: 600;
    color: inherit;
}

.faq-question-text::before {
    content: "Q:";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    color: var(--primary-light);
    opacity: 0.9;
}

.faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(37, 99, 235, 0.2);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background-color: currentColor;
    transition: opacity 0.2s ease;
}

.faq-icon::before {
    width: 12px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 12px;
}

.faq-item:hover .faq-icon {
    border-color: rgba(37, 99, 235, 0.35);
    transform: scale(1.05);
}

.faq-item[open] .faq-icon {
    background-color: var(--primary-color);
    border-color: transparent;
    color: #ffffff;
}

.faq-item[open] .faq-icon::after {
    opacity: 0;
}

.faq-answer {
    padding: 0 1.75rem 1.75rem 3.25rem;
    color: var(--text-tertiary);
    line-height: 1.75;
    animation: faqFadeIn 0.25s ease;
    background-color: transparent;
}

.faq-answer p {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 400;
}

@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark mode support for FAQ */
:root[data-theme="dark"] .faq::before {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0.28) 100%);
}

:root[data-theme="dark"] .faq-item {
    background-color: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
    box-shadow: 0 24px 54px -30px rgba(15, 23, 42, 0.8);
}

:root[data-theme="dark"] .faq-item:hover {
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 32px 64px -32px rgba(15, 23, 42, 0.85);
}

:root[data-theme="dark"] .faq-item[open] {
    border-color: rgba(148, 163, 184, 0.32);
    box-shadow: 0 36px 68px -30px rgba(15, 23, 42, 0.9);
}

:root[data-theme="dark"] .faq-question {
    color: #e2e8f0;
}

:root[data-theme="dark"] .faq-question:hover {
    color: #60a5fa;
}

:root[data-theme="dark"] .faq-item[open] .faq-question {
    color: #60a5fa;
    border-bottom-color: rgba(148, 163, 184, 0.25);
}

:root[data-theme="dark"] .faq-question-text::before {
    color: rgba(96, 165, 250, 0.75);
}

:root[data-theme="dark"] .faq-icon {
    border-color: rgba(96, 165, 250, 0.35);
    color: #60a5fa;
}

:root[data-theme="dark"] .faq-item:hover .faq-icon {
    border-color: rgba(96, 165, 250, 0.5);
}

:root[data-theme="dark"] .faq-item[open] .faq-icon {
    background-color: #60a5fa;
    color: #0f172a;
}

@media (max-width: 640px) {
    .faq-list {
        margin-top: var(--spacing-lg);
        gap: 0.875rem;
    }

    .faq-item {
        border-radius: 14px;
    }

    .faq-question {
        padding: 1.25rem 1.25rem;
    }

    .faq-question-text {
        padding-left: 2rem;
        font-size: 1rem;
    }

    .faq-question-text::before {
        font-size: 0.75rem;
        letter-spacing: 0.08em;
    }

    .faq-icon {
        width: 28px;
        height: 28px;
    }

    .faq-answer {
        padding: 0 1.25rem 1.25rem 2.5rem;
    }
}

:root[data-theme="dark"] .faq-item[open] .faq-icon {
    color: #8b5cf6;
}

:root[data-theme="dark"] .faq-answer {
    color: #cbd5e1;
}

@media (max-width: 768px) {
    .faq {
        padding: var(--spacing-xl) 0;
    }

    .faq-question {
        font-size: 1rem;
        padding: var(--spacing-md);
    }

    .faq-answer {
        padding: 0 var(--spacing-md) var(--spacing-md);
        font-size: 0.9375rem;
    }
}

/* ===================================
   Cookie Consent Banner
   =================================== */
.cookie-banner {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 380px;
    max-width: calc(100vw - 2rem);
    background-color: rgba(31, 41, 55, 0.98);
    backdrop-filter: blur(8px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: slideInRight 0.4s ease-out;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.cookie-banner.hide {
    opacity: 0;
    transform: translateX(120%);
    pointer-events: none;
}

@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.cookie-banner-text {
    color: #fff;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.cookie-banner-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.4);
}

.cookie-banner-button:active {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .cookie-banner {
        bottom: var(--spacing-sm);
        right: var(--spacing-sm);
        left: var(--spacing-sm);
        width: auto;
        max-width: none;
    }
}
