/* ========================================
   ChatBot24 Studio — Premium Landing
   ======================================== */

/* ----------------------------------------
   CSS Custom Properties (Themes)
   ---------------------------------------- */

/* Theme A: Midnight Indigo (Dark Premium) - DEFAULT */
:root,
[data-theme="midnight"] {
    --bg: #070A12;
    --panel: rgba(255,255,255,0.06);
    --panel-2: rgba(255,255,255,0.08);
    --text: #EAF0FF;
    --muted: rgba(234,240,255,0.72);
    --stroke: rgba(255,255,255,0.12);
    --accent: #5B8CFF;
    --accent-2: #8A5BFF;
    --success: #2FE8A7;
    --shadow: 0 20px 60px rgba(0,0,0,0.55);
    
    /* Derived */
    --gradient-primary: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(91, 140, 255, 0.15) 0%, transparent 50%);
    --glass-bg: rgba(7, 10, 18, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* Theme B: Ivory Graphite (Light Premium) */
[data-theme="ivory"] {
    --bg: #FAFAFC;
    --panel: #FFFFFF;
    --panel-2: #F2F4F8;
    --text: #0B1020;
    --muted: rgba(11,16,32,0.68);
    --stroke: rgba(11,16,32,0.10);
    --accent: #2F6BFF;
    --accent-2: #7C3AED;
    --success: #16A34A;
    --shadow: 0 18px 45px rgba(11,16,32,0.12);
    
    --gradient-primary: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(47, 107, 255, 0.08) 0%, transparent 50%);
    --glass-bg: rgba(250, 250, 252, 0.85);
    --glass-border: rgba(11, 16, 32, 0.06);
}

/* Theme C: Emerald Noir (Dark Alternative) */
[data-theme="emerald"] {
    --bg: #050B0A;
    --panel: rgba(255,255,255,0.055);
    --panel-2: rgba(255,255,255,0.075);
    --text: #E9FFF6;
    --muted: rgba(233,255,246,0.72);
    --stroke: rgba(255,255,255,0.12);
    --accent: #23D5AB;
    --accent-2: #2F6BFF;
    --success: #23D5AB;
    --shadow: 0 22px 65px rgba(0,0,0,0.58);
    
    --gradient-primary: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(35, 213, 171, 0.12) 0%, transparent 50%);
    --glass-bg: rgba(5, 11, 10, 0.8);
    --glass-border: rgba(255, 255, 255, 0.06);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--bg);
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ----------------------------------------
   Typography
   ---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ----------------------------------------
   Layout
   ---------------------------------------- */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

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

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

/* ----------------------------------------
   Header
   ---------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.3s ease, border-color 0.3s ease;
}

@supports not (backdrop-filter: blur(20px)) {
    .header {
        background: var(--bg);
    }
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.logo-icon {
    color: var(--accent);
    flex-shrink: 0;
}

.logo-text {
    display: none;
}

@media (min-width: 480px) {
    .logo-text {
        display: block;
    }
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.menu-toggle:hover {
    background: var(--panel);
}

.menu-toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

.nav-menu {
    display: none;
    list-style: none;
    gap: 8px;
}

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

.nav-menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--stroke);
    padding: 16px 24px 24px;
    gap: 4px;
}

.nav-link {
    display: block;
    padding: 10px 16px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 10px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--text);
    background: var(--panel);
}

.nav-link--cta {
    color: var(--accent);
    background: var(--panel);
}

.nav-link--cta:hover,
.nav-link--cta:focus-visible {
    background: var(--panel-2);
    color: var(--accent);
}

/* Header CTA */
.header-cta {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

@media (min-width: 1024px) {
    .header-cta {
        display: flex;
    }
}

.header-cta-hint {
    font-size: 0.6875rem;
    color: var(--muted);
    max-width: 200px;
    text-align: right;
    line-height: 1.4;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
}

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

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(91, 140, 255, 0.35);
}

.btn--primary:hover {
    box-shadow: 0 6px 28px rgba(91, 140, 255, 0.5);
}

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

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

.btn--lg {
    padding: 16px 28px;
    font-size: 1rem;
    border-radius: 14px;
}

.btn--sm {
    padding: 10px 18px;
    font-size: 0.875rem;
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero {
    position: relative;
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-aura {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 80%;
    background: var(--gradient-hero);
    filter: blur(60px);
    opacity: 0.8;
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
}

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

.hero-content {
    max-width: 720px;
}

.hero-title {
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(180deg, var(--text) 0%, var(--muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-hint {
    font-size: 0.8125rem;
    color: var(--muted);
    line-height: 1.5;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--muted);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.chip:hover {
    background: var(--panel-2);
    border-color: var(--accent);
}

.chip svg {
    color: var(--accent);
    flex-shrink: 0;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    font-size: 0.875rem;
    color: var(--muted);
}

.hero-trust svg {
    color: var(--success);
    flex-shrink: 0;
}

/* ----------------------------------------
   Section Base
   ---------------------------------------- */
.section {
    padding: 80px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 100px 0;
    }
}

.section-header {
    margin-bottom: 48px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

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

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.6;
}

/* ----------------------------------------
   Free Consultation Section
   ---------------------------------------- */
.section--free {
    background: var(--panel);
}

.free-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

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

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

.free-card {
    padding: 28px;
    background: var(--bg);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.free-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.free-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--panel);
    border-radius: 14px;
    margin-bottom: 20px;
    color: var(--accent);
}

.free-card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.free-card-text {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ----------------------------------------
   How It Works Section
   ---------------------------------------- */
.steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .steps {
        gap: 40px;
    }
}

.step {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 18px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

@media (min-width: 640px) {
    .step {
        gap: 28px;
        padding: 32px;
    }
}

.step:hover {
    transform: translateX(8px);
    border-color: var(--accent);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    opacity: 0.4;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) {
    .step-number {
        font-size: 3rem;
    }
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.step-text {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Flow Line */
.flow-line {
    padding: 24px;
    background: var(--panel-2);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    overflow-x: auto;
}

.flow-line-track {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.flow-item {
    padding: 10px 16px;
    background: var(--bg);
    border: 1px solid var(--stroke);
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
}

.flow-arrow {
    color: var(--accent);
    flex-shrink: 0;
    opacity: 0.6;
}

/* ----------------------------------------
   Benefits Section
   ---------------------------------------- */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

.benefit-card {
    padding: 32px;
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

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

.benefit-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    margin-bottom: 24px;
    color: white;
}

.benefit-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.benefit-card-text {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.6;
}

.trust-callout {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 40px;
    padding: 24px;
    background: var(--panel-2);
    border: 1px solid var(--stroke);
    border-radius: 14px;
}

.trust-callout svg {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

.trust-callout p {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ----------------------------------------
   Reviews Section
   ---------------------------------------- */
.section--reviews {
    background: var(--panel);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

.review-card {
    position: relative;
    padding: 32px;
    background: var(--bg);
    border: 1px solid var(--stroke);
    border-radius: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.review-quote {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--accent);
    opacity: 0.2;
}

.review-text {
    margin: 0 0 24px;
    padding-right: 40px;
}

.review-text p {
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.7;
    font-style: normal;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.review-info {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    font-style: normal;
}

.review-role {
    font-size: 0.8125rem;
    color: var(--muted);
}

/* ----------------------------------------
   Lead Form Section
   ---------------------------------------- */
.section--lead {
    padding: 100px 0 120px;
}

.lead-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .lead-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: 64px;
    }
}

.lead-content {
    max-width: 360px;
}

.lead-contacts {
    margin-top: 40px;
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 16px;
}

.lead-contacts-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 16px;
}

.lead-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.lead-contact-item svg {
    color: var(--accent);
}

.lead-contact-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.lead-contact-link:hover {
    color: var(--accent);
}

.lead-contact-item--id {
    font-size: 0.8125rem;
    color: var(--muted);
}

.lead-contact-label {
    font-weight: 500;
}

/* Form */
.lead-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--muted);
}

.form-input {
    padding: 14px 16px;
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    font-size: 0.9375rem;
    color: var(--text);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.form-input::placeholder {
    color: var(--muted);
    opacity: 0.6;
}

.form-input:hover {
    border-color: var(--accent);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--panel-2);
    box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.15);
}

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

.form-error {
    font-size: 0.75rem;
    color: #FF5B5B;
    min-height: 16px;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    grid-column: 1 / -1;
    margin-top: 8px;
}

@media (min-width: 480px) {
    .form-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.form-consent {
    grid-column: 1 / -1;
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.5;
    margin-top: 8px;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
    padding: 60px 0 32px;
    background: var(--panel);
    border-top: 1px solid var(--stroke);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.footer-logo svg {
    color: var(--accent);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--muted);
}

.footer-title {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 16px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-link svg {
    color: var(--accent);
}

.footer-policy-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-policy-toggle:hover {
    color: var(--accent);
}

.footer-policy-toggle svg {
    transition: transform 0.3s ease;
}

.footer-policy-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.footer-policy-content {
    margin-bottom: 40px;
    overflow: hidden;
}

.footer-policy-content[hidden] {
    display: none;
}

.policy-inner {
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--stroke);
    border-radius: 14px;
}

.policy-inner h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text);
}

.policy-inner p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.policy-inner p:last-child {
    margin-bottom: 0;
}

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

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--muted);
}

/* ----------------------------------------
   Toast Notifications
   ---------------------------------------- */
.toast-container {
    position: fixed;
    top: 88px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    box-shadow: var(--shadow);
    animation: toast-in 0.3s ease forwards;
    pointer-events: auto;
    max-width: 360px;
}

.toast--out {
    animation: toast-out 0.3s ease forwards;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--success);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.toast-message {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.5;
}

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

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

/* ----------------------------------------
   Animations (Scroll Reveal)
   ---------------------------------------- */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger delays for grids */
.free-card:nth-child(1) { transition-delay: 0ms; }
.free-card:nth-child(2) { transition-delay: 100ms; }
.free-card:nth-child(3) { transition-delay: 200ms; }
.free-card:nth-child(4) { transition-delay: 300ms; }

.step:nth-child(1) { transition-delay: 0ms; }
.step:nth-child(2) { transition-delay: 150ms; }
.step:nth-child(3) { transition-delay: 300ms; }

.benefit-card:nth-child(1) { transition-delay: 0ms; }
.benefit-card:nth-child(2) { transition-delay: 100ms; }
.benefit-card:nth-child(3) { transition-delay: 200ms; }

.review-card:nth-child(1) { transition-delay: 0ms; }
.review-card:nth-child(2) { transition-delay: 100ms; }
.review-card:nth-child(3) { transition-delay: 200ms; }

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

/* Form error state */
.form-input.is-error {
    border-color: #FF5B5B;
    background: rgba(255, 91, 91, 0.05);
}

/* Active nav link */
.nav-link.is-active {
    color: var(--accent);
    background: var(--panel);
}
