/* ===================================
   Luran AI Documentation Website
   Design System based on Luran Dashboard
   =================================== */

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

:root {
    /* Brand Colors */
    --primary: #312e81;
    --primary-hover: #3730a3;
    --secondary: #f59e0b;
    --secondary-hover: #d97706;
    --accent: #0891b2; /* Cyan */

    /* Light Theme */
    --bg-light: #f1f5f9;
    --fg-light: #0f172a;
    --surface-light: #ffffff;
    --surface-hover-light: #f1f5f9;
    --border-subtle-light: rgba(15, 23, 42, 0.08);

    /* Dark Theme (Default) */
    --bg-dark: #050507;
    --fg-dark: #f8fafc;
    --surface-dark: #0f1016;
    --surface-hover-dark: #12121e;
    --border-subtle-dark: rgba(255, 255, 255, 0.08);

    /* Status Colors */
    --success: #059669; /* Updated from #10b981 */
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Section Background Tints */
    --bg-primary-tint: rgba(49, 46, 129, 0.05);
    --bg-secondary-tint: rgba(245, 158, 11, 0.05);
    --bg-accent-tint: rgba(8, 145, 178, 0.05);
    --bg-success-tint: rgba(5, 150, 105, 0.05);

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

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

    /* Enhanced Shadows with Colored Glows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Product-specific shadows (for hero images, feature showcases) */
    --shadow-product: 0 20px 60px -15px rgba(49, 46, 129, 0.3),
                      0 10px 30px -10px rgba(0, 0, 0, 0.2);

    /* Card hover shadow */
    --shadow-card-hover: 0 20px 40px -10px rgba(49, 46, 129, 0.15),
                         0 10px 20px -5px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-sans: 'Inter', 'Outfit', system-ui, -apple-system, sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Light Theme (Default) */
.light-theme {
    --bg: var(--bg-light);
    --fg: var(--fg-light);
    --surface: var(--surface-light);
    --surface-hover: var(--surface-hover-light);
    --border-subtle: var(--border-subtle-light);
}

/* Dark Theme */
.dark-theme {
    --bg: var(--bg-dark);
    --fg: var(--fg-dark);
    --surface: var(--surface-dark);
    --surface-hover: var(--surface-hover-dark);
    --border-subtle: var(--border-subtle-dark);
}

/* Base Styles */
html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--fg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    overflow-x: hidden;
}

img, video, canvas, svg {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
    box-sizing: border-box;
}

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

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-2xl);
    }
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--spacing-md) 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 12px -2px rgba(49, 46, 129, 0.08),
                0 2px 4px -1px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(49, 46, 129, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: inherit;
}

.logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fg);
}

.nav-links {
    display: none;
    align-items: center;
    gap: var(--spacing-lg);
}

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

.nav-link {
    color: rgba(15, 23, 42, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition-base);
}

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

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--fg);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-subtle);
    margin-top: var(--spacing-md);
}

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

.mobile-link {
    color: var(--fg);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: var(--spacing-sm) 0;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 8px 16px -4px rgba(49, 46, 129, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

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

.hero {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1551434678-e076c223a692?w=1920&q=80&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(49, 46, 129, 0.95);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: clamp(4rem, 10vw, 8rem) 0;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.25);
    border-color: rgba(245, 158, 11, 0.4);
}

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
}

@media (min-width: 768px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

.hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

/* ===================================
   Sections
   =================================== */

.section {
    padding: clamp(3rem, 8vw, 7rem) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(15, 23, 42, 0.7);
}

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

#features {
    background: var(--bg-primary-tint);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .feature-card {
        padding: 2.5rem;
    }
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Icon color rotation */
.feature-card:nth-child(4n+1) .feature-icon { color: var(--primary); }
.feature-card:nth-child(4n+2) .feature-icon { color: var(--accent); }
.feature-card:nth-child(4n+3) .feature-icon { color: var(--secondary); }
.feature-card:nth-child(4n) .feature-icon { color: var(--success); }

.feature-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: rgba(15, 23, 42, 0.7);
    line-height: 1.7;
}

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

#how-it-works {
    background: var(--bg-secondary-tint);
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
}

@media (min-width: 1024px) {
    .workflow-steps {
        flex-direction: row;
        align-items: center;
    }
}

.workflow-step {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.workflow-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.1);
}

/* Number color rotation */
.workflow-step:nth-child(1) .step-number {
    background: var(--primary);
    color: white;
}

.workflow-step:nth-child(2) .step-number {
    background: var(--accent);
    color: white;
}

.workflow-step:nth-child(3) .step-number {
    background: var(--secondary);
    color: white;
}

.workflow-step:nth-child(4) .step-number {
    background: var(--success);
    color: white;
}

.step-content {
}

.step-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.step-description {
    color: rgba(15, 23, 42, 0.7);
    line-height: 1.7;
}

.workflow-arrow {
    display: none;
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

@media (min-width: 1024px) {
    .workflow-arrow {
        display: block;
    }
}

.architecture-diagram {
    max-width: 600px;
    margin: 0 auto;
}

.diagram-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.diagram-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.diagram-layer {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.layer-header {
    background: var(--primary);
    color: white;
    padding: var(--spacing-md);
    font-weight: 600;
    text-align: center;
}

.layer-body {
    padding: var(--spacing-lg);
}

.layer-body p {
    color: rgba(15, 23, 42, 0.7);
    line-height: 1.6;
    margin: 0;
}

.diagram-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

/* ===================================
   Getting Started Section
   =================================== */

#getting-started {
    background: var(--bg-accent-tint);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    grid-auto-rows: auto;
    width: 100%;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
        gap: var(--spacing-xl);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: start;
        gap: var(--spacing-xl);
    }
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .step-card {
        padding: 2.5rem;
    }
}

.step-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.step-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
}

.step-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.step-card-description {
    color: rgba(15, 23, 42, 0.7);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.step-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-base);
}

.step-link:hover {
    color: var(--secondary-hover);
}

.code-example {
    background: rgba(49, 46, 129, 0.04);
    border: 1px solid rgba(49, 46, 129, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: var(--spacing-md);
    position: relative;
}

.code-header {
    background: var(--primary);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.code-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
    overflow-x: auto;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.code-body code {
    color: rgba(15, 23, 42, 0.9);
}

.code-body pre {
    margin: 0;
}

.code-copy {
    position: absolute;
    top: 2.5rem;
    right: var(--spacing-md);
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.code-copy:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.code-copy.copied {
    background: var(--success);
}

.config-preview {
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.config-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.config-item:not(:last-child) {
    border-bottom: 1px solid var(--border-subtle);
}

.config-label {
    color: rgba(15, 23, 42, 0.6);
    font-size: 0.875rem;
}

.config-value {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.875rem;
}

.widget-preview {
    margin-top: var(--spacing-md);
    display: flex;
    justify-content: center;
}

.preview-widget {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    width: 280px;
}

.preview-header {
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: white;
}

.preview-avatar {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.preview-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.preview-message {
    padding: var(--spacing-md);
    color: #0f172a;
    font-size: 0.875rem;
    background: #f1f5f9;
}

.metrics-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.metric-item {
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    text-align: center;
}

.metric-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--spacing-xs);
}

.metric-label {
    font-size: 0.75rem;
    color: rgba(15, 23, 42, 0.6);
}

/* ===================================
   Pricing Section
   =================================== */

#pricing {
    background: var(--bg-success-tint);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
    .pricing-card {
        padding: 2.5rem;
    }
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.pricing-card-featured {
    border-color: var(--primary);
    border-width: 2px;
    box-shadow: 0 12px 30px -8px rgba(49, 46, 129, 0.2);
}

.pricing-card-featured:hover {
    box-shadow: 0 20px 40px -10px rgba(49, 46, 129, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 8px -2px rgba(49, 46, 129, 0.3);
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--spacing-xl);
}

.pricing-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.7);
}

.price-amount {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--fg);
    margin: 0 0.25rem;
}

.price-period {
    font-size: 1rem;
    color: rgba(15, 23, 42, 0.6);
}

.pricing-description {
    color: rgba(15, 23, 42, 0.7);
    font-size: 0.875rem;
}

.pricing-features {
    margin-bottom: var(--spacing-xl);
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
}

.feature-check {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-feature span {
    color: rgba(15, 23, 42, 0.8);
    font-size: 0.875rem;
}

/* ===================================
   FAQ Section
   =================================== */

#faq {
    background: var(--bg-primary-tint);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--fg);
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.faq-icon {
    color: var(--secondary);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

.faq-answer p {
    color: rgba(15, 23, 42, 0.7);
    line-height: 1.7;
    margin: 0;
}

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

.cta {
    background: var(--surface);
    padding: clamp(4rem, 10vw, 8rem) 0;
}

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

.cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(15, 23, 42, 0.7);
    margin-bottom: var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
}

@media (min-width: 768px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.cta .btn {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.cta .btn-primary {
    box-shadow: 0 8px 16px -4px rgba(49, 46, 129, 0.3);
}

.cta .btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 24px -6px rgba(49, 46, 129, 0.4);
}

.cta .btn-outline {
    border: 2px solid var(--primary);
}

.cta .btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(49, 46, 129, 0.2);
}

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

.footer {
    background: white;
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0 2rem;
}

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

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr repeat(3, 1fr);
    }
}

.footer-section {
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-description {
    color: rgba(15, 23, 42, 0.6);
    line-height: 1.6;
    max-width: 300px;
}

.footer-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(15, 23, 42, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(2px);
}

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

.footer-copyright {
    color: rgba(15, 23, 42, 0.6);
    font-size: 0.875rem;
}

.footer-copyright .text-muted {
    color: rgba(15, 23, 42, 0.4);
}

.footer-copyright strong {
    font-weight: 700;
}

/* ===================================
   Utilities
   =================================== */

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

.mb-0 {
    margin-bottom: 0;
}

.mt-0 {
    margin-top: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Scroll Reveal Animations */
[data-animate] {
    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);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
}

[data-animate="fade-in"] {
    opacity: 0;
    transform: scale(0.95);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

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

.page-header {
    padding: clamp(4rem, 10vw, 6rem) 0;
    background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1920&q=80&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(49, 46, 129, 0.95);
    z-index: 1;
}

.page-header .hero-content {
    position: relative;
    z-index: 2;
}

.page-header .hero-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: #ffffff;
}

@media (min-width: 768px) {
    .page-header .hero-title {
        font-size: 3rem;
    }
}

.page-header .hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

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

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .legal-container {
        padding: 4rem;
    }
}

.legal-container h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--fg);
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--border-subtle);
}

.legal-container h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-container h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.9);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-container p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(15, 23, 42, 0.8);
    margin-bottom: 1rem;
}

.legal-container ul {
    margin-bottom: var(--spacing-lg);
    padding-left: var(--spacing-xl);
}

.legal-container li {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(15, 23, 42, 0.8);
    margin-bottom: var(--spacing-sm);
}

.legal-container a {
    color: var(--primary);
    text-decoration: underline;
    transition: color var(--transition-base);
}

.legal-container a:hover {
    color: var(--secondary);
}

.legal-container strong {
    font-weight: 600;
    color: rgba(15, 23, 42, 0.9);
}
