/**
 * Fledge Theme Styles
 * Super minimal design system
 *
 * @package Fledge
 * @since 1.0.0
 */

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
    --color-primary: #007AFF;
    --color-primary-dark: #0066DD;
    --color-text: #171717;
    --color-text-secondary: #525252;
    --color-text-tertiary: #A3A3A3;
    --color-background: #FFFFFF;
    --color-surface: #FAFAFA;
    --color-border: #E5E5E5;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);

    --container-max: 1100px;
    --container-narrow: 700px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-background);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.2; }

/* ==========================================================================
   Container
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container--narrow {
    max-width: var(--container-narrow);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-logo svg {
    height: 36px;
    width: auto;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle__bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-menu__list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-menu__list a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color 0.15s;
}

.nav-menu__list a:hover {
    color: var(--color-primary);
}

.nav-cta .btn {
    font-size: 13px;
    padding: 8px 16px;
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        gap: var(--space-lg);
        padding: var(--space-xl);
        background: var(--color-background);
        transform: translateX(100%);
        transition: transform 0.3s;
    }

    .nav-menu.active { transform: translateX(0); }

    .nav-menu__list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
        width: 100%;
    }

    .nav-menu__list a { font-size: 18px; }
    .nav-cta { width: 100%; }
    .nav-cta .btn { width: 100%; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.15s;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #0055CC 100%);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.btn--secondary {
    background: white;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
    background: var(--color-surface);
    border-color: #D1D5DB;
    box-shadow: var(--shadow-md);
}

.btn--lg {
    padding: 14px 28px;
    font-size: 15px;
}

/* ==========================================================================
   App Badges
   ========================================================================== */

.app-badge {
    display: inline-block;
    transition: opacity 0.15s;
}

.app-badge:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Site Content
   ========================================================================== */

.site-content {
    padding-top: 64px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    padding: var(--space-2xl) 0 var(--space-3xl);
    text-align: center;
}

.hero__content {
    max-width: 680px;
    margin: 0 auto;
}

.hero__headline {
    font-size: clamp(36px, 5.5vw, 52px);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.025em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--color-text) 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subheadline {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.hero__badges {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */

.stats-bar {
    padding: var(--space-2xl) 0;
    background: linear-gradient(180deg, var(--color-surface) 0%, white 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: calc(-1 * var(--space-xl) / 2);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

@media (max-width: 640px) {
    .stats-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
    .stat-number { font-size: 28px; }
    .stat-item:not(:last-child)::after { display: none; }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-text) 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features {
    padding: var(--space-4xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #D1D5DB;
}

.feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 122, 255, 0.05) 100%);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.feature-card__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.feature-card__description {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .features-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.how-it-works {
    padding: var(--space-4xl) 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.step-card {
    text-align: center;
}

.step-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.step-card__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.step-card__description {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

@media (max-width: 640px) {
    .steps-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
    padding: var(--space-4xl) 0;
}

.about__content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about__text {
    font-size: 17px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-top: var(--space-md);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all 0.2s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-md);
    left: var(--space-lg);
    font-size: 48px;
    font-family: Georgia, serif;
    color: var(--color-primary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.testimonial-card__quote {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    font-style: normal;
}

.testimonial-card__author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-card__name {
    font-size: 14px;
    font-weight: 600;
}

.testimonial-card__location {
    font-size: 13px;
    color: var(--color-text-tertiary);
}

@media (max-width: 900px) {
    .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    padding: var(--space-4xl) 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, #0055CC 100%);
    border-radius: 16px;
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box__headline {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-sm);
    position: relative;
}

.cta-box__subheadline {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-box__buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    position: relative;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--color-text);
    color: white;
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-xl);
}

.footer-logo svg {
    height: 32px;
    width: auto;
}

.footer-logo svg path {
    fill: white;
}

.footer-tagline {
    margin-top: var(--space-md);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    max-width: 280px;
}

.footer-tagline--sub {
    margin-top: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text-tertiary);
}

.footer-heading {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-tertiary);
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-menu a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.15s;
}

.footer-menu a:hover {
    color: white;
}

.footer-app-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-social-links {
    display: flex;
    gap: var(--space-md);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.15s;
}

.social-icon:hover {
    background: var(--color-primary);
    color: white;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 13px;
    color: var(--color-text-tertiary);
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Page Hero (Contact, etc.)
   ========================================================================== */

.page-hero {
    padding: var(--space-3xl) 0 var(--space-2xl);
    text-align: center;
}

.page-hero__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.page-hero__subtitle {
    font-size: 17px;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-section {
    padding: var(--space-2xl) 0 var(--space-4xl);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-3xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-card {
    padding: var(--space-lg);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.contact-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: var(--color-primary);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    border: 1px solid var(--color-border);
}

.contact-card__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.contact-card__email {
    display: inline-block;
    font-size: 15px;
    color: var(--color-primary);
    font-weight: 500;
}

.contact-card__email:hover {
    text-decoration: underline;
}

.contact-card__note,
.contact-card__text {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-top: var(--space-xs);
}

.contact-form-card {
    padding: var(--space-xl);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.contact-form-card__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn--full { width: 100%; }

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* FAQ Section */
.faq-section {
    padding: var(--space-3xl) 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}


/* ==========================================================================
   Default Page
   ========================================================================== */

.page-content {
    padding: var(--space-2xl) 0 var(--space-4xl);
}

.prose {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.prose h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.prose p { margin-bottom: var(--space-md); }

.prose a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-section {
    padding: var(--space-4xl) 0;
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.error-content {
    max-width: 400px;
    margin: 0 auto;
}

.error-icon {
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-lg);
}

.error-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.error-message {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ==========================================================================
   Modal
   ========================================================================== */

.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal__container {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.modal.is-open .modal__container {
    transform: scale(1) translateY(0);
}

.modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-text-secondary);
    transition: all 0.15s;
    z-index: 1;
}

.modal__close:hover {
    background: var(--color-border);
    color: var(--color-text);
}

.modal__content,
.modal__success {
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
}

.modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 122, 255, 0.05) 100%);
    color: var(--color-primary);
    border-radius: 50%;
    margin-bottom: var(--space-lg);
}

.modal__icon--success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    color: #22C55E;
}

.modal__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.modal__text {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.modal__form {
    margin-bottom: var(--space-md);
}

.modal__disclaimer {
    font-size: 12px;
    color: var(--color-text-tertiary);
}

/* Form elements */
.form-group {
    margin-bottom: var(--space-md);
}

.form-group--hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Form Messages */
.form-message {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-top: var(--space-md);
    font-size: 0.9375rem;
}

.form-message--success {
    background: #ecfdf5;
    color: #065f46;
}

.form-message--success svg {
    color: #10b981;
    flex-shrink: 0;
}

.form-message--error {
    background: #fef2f2;
    color: #991b1b;
}

.form-message--error svg {
    color: #ef4444;
    flex-shrink: 0;
}

.form-message[hidden] {
    display: none;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-text);
    transition: all 0.15s;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

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

.btn--full {
    width: 100%;
}

.btn__loading {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.btn__loading[hidden] {
    display: none;
}

.btn__text[hidden] {
    display: none;
}

.spinner {
    animation: spin 1s linear infinite;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* App badge button reset */
.app-badge--android {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}

/* ==========================================================================
   Animations
   ========================================================================== */

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero animations - immediate on page load */
.hero__headline {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__subheadline {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.hero__badges {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children animations */
.stagger-children .animate-child {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.stagger-children.is-visible .animate-child {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.stagger-children.is-visible .animate-child:nth-child(1) { transition-delay: 0s; }
.stagger-children.is-visible .animate-child:nth-child(2) { transition-delay: 0.08s; }
.stagger-children.is-visible .animate-child:nth-child(3) { transition-delay: 0.16s; }
.stagger-children.is-visible .animate-child:nth-child(4) { transition-delay: 0.24s; }
.stagger-children.is-visible .animate-child:nth-child(5) { transition-delay: 0.32s; }
.stagger-children.is-visible .animate-child:nth-child(6) { transition-delay: 0.4s; }

/* Scale animation variant */
.animate-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Stats counter animation */
.stat-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.stats-grid.is-visible .stat-item:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.stats-grid.is-visible .stat-item:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.stats-grid.is-visible .stat-item:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero__headline,
    .hero__subheadline,
    .hero__badges,
    .animate-on-scroll,
    .animate-scale,
    .stagger-children .animate-child,
    .stat-item {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner__container {
    background: white;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
}

.cookie-banner__content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.cookie-banner__text {
    flex: 1;
}

.cookie-banner__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.cookie-banner__desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

.cookie-banner__link {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__link:hover {
    color: var(--color-primary-dark);
}

.cookie-banner__actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.15s;
    border: none;
}

.cookie-btn--accept {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
}

.cookie-btn--accept:hover {
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.35);
    transform: translateY(-1px);
}

.cookie-btn--reject {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.cookie-btn--reject:hover {
    background: var(--color-border);
}

.cookie-btn--settings {
    background: transparent;
    color: var(--color-text-secondary);
    padding: 10px 12px;
}

.cookie-btn--settings:hover {
    color: var(--color-text);
}

.cookie-btn--secondary {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.cookie-btn--secondary:hover {
    background: var(--color-border);
}

@media (max-width: 768px) {
    .cookie-banner__content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-banner__actions {
        flex-direction: column;
    }

    .cookie-btn--settings {
        order: 3;
    }
}

/* ==========================================================================
   Cookie Settings Modal
   ========================================================================== */

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 3001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cookie-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.cookie-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}

.cookie-modal__container {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    background: white;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cookie-modal.is-open .cookie-modal__container {
    transform: scale(1) translateY(0);
}

.cookie-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--color-border);
}

.cookie-modal__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.cookie-modal__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-text-secondary);
    transition: all 0.15s;
}

.cookie-modal__close:hover {
    background: var(--color-border);
    color: var(--color-text);
}

.cookie-modal__body {
    padding: var(--space-xl);
    overflow-y: auto;
    flex: 1;
}

.cookie-modal__intro {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0 0 var(--space-xl);
}

.cookie-modal__intro a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-category {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-lg);
}

.cookie-category__info {
    flex: 1;
}

.cookie-category__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 var(--space-xs);
}

.cookie-category__desc {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.cookie-toggle--disabled {
    cursor: default;
}

.cookie-toggle__label {
    font-size: 12px;
    font-weight: 500;
    color: #22C55E;
    background: rgba(34, 197, 94, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.cookie-toggle__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle__slider {
    width: 48px;
    height: 26px;
    background: var(--color-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

.cookie-toggle__slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.cookie-toggle__input:checked + .cookie-toggle__slider {
    background: var(--color-primary);
}

.cookie-toggle__input:checked + .cookie-toggle__slider::before {
    transform: translateX(22px);
}

.cookie-toggle__input:focus + .cookie-toggle__slider {
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
}

.cookie-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-xl);
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
}

/* ==========================================================================
   Legal Pages (Privacy, Terms, Cookies Policy)
   ========================================================================== */

.legal-hero {
    padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
    background: var(--color-surface);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.legal-hero__content {
    max-width: 600px;
    margin: 0 auto;
}

.legal-hero__title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.legal-hero__subtitle {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

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

.legal-content {
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.legal-body {
    background: white;
}

.legal-section {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.legal-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-section p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

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

.legal-section ul,
.legal-section ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.legal-section ul li,
.legal-section ol li {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
    line-height: 1.7;
    position: relative;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

.legal-section ol {
    list-style: decimal;
}

.legal-section a {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-color: rgba(0, 122, 255, 0.3);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.2s;
}

.legal-section a:hover {
    text-decoration-color: var(--color-primary);
}

.legal-section strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Cookie tables */
.cookie-table {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.cookie-table h3 {
    margin-top: 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--space-md);
    font-size: 14px;
}

.legal-table thead {
    background: var(--color-surface);
}

.legal-table th {
    text-align: left;
    padding: var(--space-md);
    font-weight: 600;
    color: var(--color-text);
    border-bottom: 2px solid var(--color-border);
}

.legal-table td {
    padding: var(--space-md);
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:hover td {
    background: var(--color-surface);
}

/* Cookie settings CTA */
.cookie-settings-cta {
    margin: var(--space-xl) 0;
    text-align: center;
}

/* Contact list styling */
.contact-list {
    padding-left: 0 !important;
}

.contact-list li::before {
    display: none;
}

.contact-list li {
    padding-left: 0;
}

/* ==========================================================================
   Support Page
   ========================================================================== */

.support-content {
    padding: var(--space-3xl) 0;
}

.support-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.support-sidebar {
    position: sticky;
    top: calc(80px + var(--space-xl));
}

.support-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin-bottom: var(--space-lg);
}

.support-card--contact {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0066DD 100%);
    color: white;
}

.support-card__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.support-card--contact .support-card__title {
    color: white;
}

.support-card__text {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

.support-card--contact .support-card__text {
    color: rgba(255, 255, 255, 0.85);
}

.support-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 14px;
    font-weight: 500;
    color: white;
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    transition: background 0.2s;
}

.support-card__link:hover {
    background: rgba(255, 255, 255, 0.3);
}

.support-card__version {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.support-main {
    min-width: 0;
}

.support-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin-bottom: var(--space-xl);
}

.support-section__title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.support-section__content {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.support-section__content p {
    margin-bottom: var(--space-md);
}

.support-section__content ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.support-section__content li {
    margin-bottom: var(--space-sm);
    position: relative;
}

.support-section__content li::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

.support-section__content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.support-section__content h4:first-child {
    margin-top: 0;
}

/* Steps list */
.steps-list {
    margin-top: var(--space-xl);
}

.step-item {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-item__number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0066DD 100%);
    color: white;
    border-radius: var(--radius-md);
}

.step-item__content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 0;
    margin-bottom: var(--space-xs);
}

.step-item__content p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* Features list */
.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.feature-item {
    display: flex;
    gap: var(--space-md);
}

.feature-item__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F0F7FF 0%, #E6F0FF 100%);
    border-radius: var(--radius-md);
    color: var(--color-primary);
}

.feature-item__content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.feature-item__content p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

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

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
    transition: color 0.2s;
}

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

.faq-item__question::after {
    content: '';
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23525252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__question::after {
    transform: rotate(180deg);
}

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

.faq-item__answer {
    padding: 0 0 var(--space-md);
}

.faq-item__answer p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
}

.faq-item__answer a {
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 900px) {
    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .support-card {
        margin-bottom: 0;
    }

    .features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .legal-hero {
        padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
    }

    .legal-body {
        padding: var(--space-lg);
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .legal-table {
        display: block;
        overflow-x: auto;
    }

    .support-sidebar {
        grid-template-columns: 1fr;
    }

    .support-section {
        padding: var(--space-lg);
    }

    .step-item {
        flex-direction: column;
        gap: var(--space-md);
    }

    .step-item__number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ==========================================================================
   404 Error Page
   ========================================================================== */

.error-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) var(--space-lg);
    padding-top: 80px;
    background: linear-gradient(135deg, #F0F7FF 0%, #FAFAFA 100%);
}

.error-404 .container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.error-404__content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.error-404__code {
    font-size: clamp(100px, 20vw, 180px);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0066DD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
}

.error-404__title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.error-404__text {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.error-404__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   FAQ Page
   ========================================================================== */

.faq-content {
    padding: var(--space-3xl) 0;
}

.faq-category {
    margin-bottom: var(--space-2xl);
}

.faq-category:last-of-type {
    margin-bottom: var(--space-xl);
}

.faq-category__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-list {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.faq-item__answer ul {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.faq-item__answer ul li {
    margin-bottom: var(--space-sm);
    position: relative;
    color: var(--color-text-secondary);
}

.faq-item__answer ul li::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

.faq-item__answer a {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-color: rgba(0, 122, 255, 0.3);
    text-underline-offset: 2px;
}

.faq-item__answer a:hover {
    text-decoration-color: var(--color-primary);
}

.faq-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0066DD 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    margin-top: var(--space-xl);
}

.faq-cta h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-xs);
}

.faq-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
}

.faq-cta .btn--primary {
    background: white;
    color: var(--color-primary);
}

.faq-cta .btn--primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 600px) {
    .error-404__actions {
        flex-direction: column;
    }

    .error-404__actions .btn {
        width: 100%;
    }
}
