/* =====================================================
   Ondara Marketing Site - Styles
   Modern, animated design system
   ===================================================== */

:root {
    /* Ember (Primary) */
    --ember-50: #fef3f0;
    --ember-100: #fde3db;
    --ember-200: #fbc4b3;
    --ember-300: #f79b81;
    --ember-400: #ff6b47;
    --ember-500: #e8593a;
    --ember-600: #d14e32;
    --ember-700: #b03f28;
    --ember-800: #8c321f;
    --ember-900: #6b2718;
    --ember-950: #3f150d;

    /* Teal (AI accent) */
    --teal-50: #f0fbf9;
    --teal-100: #ccf0e8;
    --teal-200: #a8e8dd;
    --teal-300: #6dd4c4;
    --teal-400: #3ab8a8;
    --teal-500: #2a9d8f;
    --teal-600: #1f7a6f;
    --teal-700: #1a645b;
    --teal-800: #154e47;
    --teal-900: #0b2623;

    /* Warm Neutrals */
    --slate-50: #fafaf9;
    --slate-100: #f5f3f0;
    --slate-200: #e8e6e3;
    --slate-300: #d5d3d0;
    --slate-400: #9a9a9a;
    --slate-500: #737373;
    --slate-600: #525252;
    --slate-700: #3d3d3d;
    --slate-800: #262626;
    --slate-900: #1a1a1a;
    --slate-950: #0a0a0a;

    /* Status */
    --success-500: #22c55e;
    --success-600: #16a34a;
    --amber-500: #f59e0b;

    /* Typography */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 7rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-smooth: 500ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-spring: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows (warm-tinted) */
    --shadow-xs: 0 1px 2px rgba(10, 10, 10, 0.04);
    --shadow-sm: 0 1px 3px rgba(10, 10, 10, 0.06), 0 1px 2px rgba(10, 10, 10, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(10, 10, 10, 0.06), 0 2px 4px -2px rgba(10, 10, 10, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(10, 10, 10, 0.07), 0 4px 6px -4px rgba(10, 10, 10, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(10, 10, 10, 0.08), 0 8px 10px -6px rgba(10, 10, 10, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(10, 10, 10, 0.15);
    --shadow-glow: 0 0 0 3px rgba(209, 78, 50, 0.2);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-800);
    background: var(--slate-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--slate-950);
}

h1 { font-size: 3.75rem; letter-spacing: -0.03em; }
h2 { font-size: 2.5rem; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
}

/* =====================================================
   Scroll Reveal Animations
   ===================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--ember-600);
    color: #ffffff !important;
    box-shadow: 0 1px 2px rgba(209, 78, 50, 0.3), 0 4px 12px rgba(209, 78, 50, 0.15);
}

.btn-primary:hover {
    background: var(--ember-700);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(209, 78, 50, 0.3), 0 8px 24px rgba(209, 78, 50, 0.2);
}

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

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-secondary {
    background: var(--slate-100);
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
}

.btn-secondary:hover {
    background: var(--slate-200);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--slate-700);
    border: 1px solid var(--slate-300);
}

.btn-outline:hover {
    background: var(--slate-100);
    border-color: var(--slate-400);
    transform: translateY(-2px);
}

.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

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

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 249, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(232, 230, 227, 0.5);
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(250, 250, 249, 0.95);
    box-shadow: 0 1px 3px rgba(10, 10, 10, 0.06);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0.875rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--slate-950);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--slate-600);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--ember-600);
}

.nav-links .btn {
    margin-left: 0.5rem;
}

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

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--slate-600);
    transition: all var(--transition-fast);
    border-radius: 1px;
}

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

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

.hero {
    padding: calc(var(--section-padding) + 4rem) 0 var(--section-padding);
    background: var(--slate-50);
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -200px;
    right: -100px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(209, 78, 50, 0.06) 0%, rgba(42, 157, 143, 0.03) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-centered .container {
    grid-template-columns: 1fr;
    justify-items: center;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--slate-600);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hero-note {
    font-size: 0.8125rem;
    color: var(--slate-400);
    letter-spacing: 0.01em;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.375rem 1rem 0.375rem 0.75rem;
    background: var(--ember-50);
    border: 1px solid var(--ember-200);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ember-700);
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--ember-500);
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(209, 78, 50, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(209, 78, 50, 0); }
}

/* Hero Visual / Mockup */
.hero-visual {
    position: relative;
}

.hero-mockup {
    position: relative;
}

.hero-browser {
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Floating notification cards */
.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-xl);
    z-index: 5;
    animation: floatCardIn 0.6s ease-out both;
}

.float-card-1 {
    bottom: 60px;
    right: -30px;
    animation-delay: 1s;
    animation-name: floatCardIn, floatBob1;
    animation-duration: 0.6s, 5s;
    animation-timing-function: ease-out, ease-in-out;
    animation-fill-mode: both, none;
    animation-iteration-count: 1, infinite;
    animation-delay: 1s, 1.6s;
}

.float-card-2 {
    top: 80px;
    left: -20px;
    animation-delay: 1.4s;
    animation-name: floatCardIn, floatBob2;
    animation-duration: 0.6s, 6s;
    animation-timing-function: ease-out, ease-in-out;
    animation-fill-mode: both, none;
    animation-iteration-count: 1, infinite;
    animation-delay: 1.4s, 2s;
}

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

@keyframes floatBob1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes floatBob2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

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

.float-card-icon.pulse-green {
    background: var(--success-500);
    color: white;
    animation: iconPulse 2s infinite;
}

.float-card-icon.pulse-teal {
    background: var(--teal-500);
    color: white;
    animation: iconPulse 2.5s infinite;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.float-card-text {
    display: flex;
    flex-direction: column;
}

.float-card-title {
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--slate-800);
}

.float-card-detail {
    font-size: 0.6875rem;
    color: var(--slate-400);
}

@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-float-card { display: none; }
}

/* =====================================================
   Metrics Strip
   ===================================================== */

.metrics-strip {
    padding: 3.5rem 0;
    background: white;
    border-bottom: 1px solid var(--slate-100);
}

.metrics-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.metric {
    text-align: center;
}

.metric-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--ember-600);
    line-height: 1;
    letter-spacing: -0.02em;
}

.metric-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--ember-500);
}

.metric-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--slate-500);
    font-weight: 500;
}

.metric-divider {
    width: 1px;
    height: 48px;
    background: var(--slate-200);
}

@media (max-width: 768px) {
    .metrics-grid {
        flex-direction: column;
        gap: 2rem;
    }
    .metric-divider {
        width: 48px;
        height: 1px;
    }
}

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

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* =====================================================
   Product Showcase
   ===================================================== */

.showcase {
    padding: var(--section-padding) 0;
    background: white;
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.showcase-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-500);
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
}

.showcase-tab svg {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.showcase-tab:hover {
    color: var(--ember-600);
    border-color: var(--ember-200);
    background: var(--ember-50);
}

.showcase-tab:hover svg {
    opacity: 0.8;
}

.showcase-tab.active {
    color: white;
    background: var(--ember-600);
    border-color: var(--ember-600);
    box-shadow: 0 2px 8px rgba(209, 78, 50, 0.25);
}

.showcase-tab.active svg {
    opacity: 1;
}

.showcase-content {
    position: relative;
}

.showcase-panel {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.showcase-panel.active {
    display: flex;
    animation: showcaseIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes showcaseIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Browser Chrome Frame */
.browser-frame {
    width: 100%;
    max-width: 960px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 4px 6px -1px rgba(10, 10, 10, 0.06),
        0 20px 40px -8px rgba(10, 10, 10, 0.12),
        0 0 0 1px rgba(10, 10, 10, 0.04);
    background: var(--slate-50);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.browser-frame:hover {
    box-shadow:
        0 4px 6px -1px rgba(10, 10, 10, 0.06),
        0 30px 60px -12px rgba(10, 10, 10, 0.16),
        0 0 0 1px rgba(10, 10, 10, 0.04);
    transform: translateY(-2px);
}

.browser-frame-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--slate-100);
    border-bottom: 1px solid var(--slate-200);
}

.browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.browser-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dots .dot-red { background: #EF4444; }
.browser-dots .dot-yellow { background: #F59E0B; }
.browser-dots .dot-green { background: #22C55E; }

.browser-address-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.375rem 0.75rem;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--slate-200);
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--slate-500);
    max-width: 400px;
}

.browser-lock-icon {
    color: var(--slate-400);
    flex-shrink: 0;
}

.browser-frame-viewport {
    position: relative;
    max-height: 520px;
    overflow: hidden;
}

.browser-frame-viewport img {
    width: 100%;
    height: auto;
    display: block;
}

.browser-frame-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(249, 250, 251, 0) 0%, rgba(249, 250, 251, 0.85) 70%, rgba(249, 250, 251, 1) 100%);
    pointer-events: none;
}

.showcase-caption {
    text-align: center;
    max-width: 540px;
}

.showcase-caption h3 {
    margin-bottom: 0.5rem;
    color: var(--slate-900);
    font-size: 1.25rem;
}

.showcase-caption p {
    color: var(--slate-500);
    font-size: 0.9375rem;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .showcase-tabs { gap: 0.375rem; }
    .showcase-tab {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }
    .showcase-tab svg { display: none; }
    .browser-frame-viewport { max-height: 320px; }
    .browser-frame-header { padding: 0.5rem 0.75rem; }
    .browser-dots .dot { width: 8px; height: 8px; }
    .browser-address-bar { font-size: 0.6875rem; padding: 0.25rem 0.5rem; }
}

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

.features {
    padding: var(--section-padding) 0;
    background: var(--slate-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    border-color: var(--ember-200);
    box-shadow: 0 12px 24px -4px rgba(10, 10, 10, 0.08), 0 0 0 1px rgba(209, 78, 50, 0.06);
    transform: translateY(-6px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ember-50);
    color: var(--ember-600);
    border-radius: var(--radius-lg);
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

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

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-icon.ai-feature {
    background: var(--teal-50);
    color: var(--teal-600);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    color: var(--slate-900);
}

.feature-card p {
    color: var(--slate-500);
    font-size: 0.9375rem;
    line-height: 1.7;
}

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

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

/* =====================================================
   Writing Style Learning Section
   ===================================================== */

.writing-style-section {
    padding: var(--section-padding) 0;
    background: white;
    overflow: hidden;
}

.writing-style-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.writing-style-text h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--slate-900);
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.writing-style-text h2 em {
    font-style: italic;
    color: var(--ember-600);
}

.writing-style-subtitle {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--slate-500);
    margin-bottom: 2.5rem;
}

.writing-style-subtitle em {
    font-style: italic;
    color: var(--slate-700);
    font-weight: 500;
}

.writing-style-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ws-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.ws-feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ember-50);
    color: var(--ember-600);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

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

.ws-feature-icon-teal {
    background: var(--teal-50);
    color: var(--teal-600);
}

.ws-feature strong {
    display: block;
    color: var(--slate-900);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9375rem;
}

.ws-feature p {
    color: var(--slate-500);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.writing-style-visual {
    position: relative;
}

.ws-visual-wrapper {
    position: relative;
}

.ws-visual-wrapper img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--slate-200);
    transition: transform 0.5s ease;
}

.ws-visual-wrapper:hover img {
    transform: scale(1.02);
}

.ws-visual-glow {
    position: absolute;
    bottom: -20px;
    left: 10%;
    right: 10%;
    height: 60px;
    background: radial-gradient(ellipse, rgba(42, 157, 143, 0.12) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

@media (max-width: 768px) {
    .writing-style-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .writing-style-text h2 { font-size: 1.75rem; }
    .writing-style-visual { order: -1; }
}

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

.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--slate-50);
}

.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

/* Timeline line */
.steps-timeline::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 48px;
    width: 2px;
    background: linear-gradient(to bottom, var(--ember-200), var(--teal-200));
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 1.5rem 0;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ember-600);
    color: white;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--slate-50), 0 2px 8px rgba(209, 78, 50, 0.2);
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px var(--slate-50), 0 4px 16px rgba(209, 78, 50, 0.3);
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--slate-500);
    line-height: 1.7;
}

@media (max-width: 640px) {
    .step {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
    }
    .steps-timeline::before { display: none; }
}

/* =====================================================
   Security Section
   ===================================================== */

.security {
    padding: var(--section-padding) 0;
    background: white;
}

.security-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.security-text h2 {
    margin-bottom: 0.75rem;
}

.security-subtitle {
    font-size: 1.125rem;
    color: var(--slate-500);
    margin-bottom: 2rem;
}

.security-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.security-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.security-list svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--teal-500);
    margin-top: 2px;
}

.security-list span {
    color: var(--slate-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.security-list strong {
    color: var(--slate-900);
}

.security-badge {
    flex-shrink: 0;
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, var(--ember-600) 0%, var(--ember-700) 100%);
    color: white;
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: 0 8px 24px rgba(209, 78, 50, 0.25);
    transition: transform 0.3s ease;
}

.badge-content:hover {
    transform: scale(1.03);
}

.badge-content svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.badge-content span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .security-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .security-list li { justify-content: center; }
    .security-badge { margin: 0 auto; }
}

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

.cta {
    padding: var(--section-padding) 0;
    background: var(--slate-950);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(209, 78, 50, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--slate-400);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-note {
    color: var(--slate-500) !important;
    font-size: 0.8125rem !important;
    margin-top: 1rem !important;
}

.cta-logo {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    opacity: 0.8;
}

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

.footer {
    padding: 4rem 0 2rem;
    background: var(--slate-950);
    color: var(--slate-500);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .nav-logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    max-width: 280px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--slate-300);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--slate-500);
    text-decoration: none;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--ember-400);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand p { margin: 0 auto; }
    .footer-links { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* =====================================================
   Sub-page Styles (preserved from original)
   ===================================================== */

.story,
.mission,
.values,
.team {
    padding: var(--section-padding) 0;
}

.story { background: white; }
.mission { background: var(--ember-50); }
.mission .container { max-width: 760px; text-align: center; }
.mission blockquote,
.mission p.hero-subtitle {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--ember-700);
    line-height: 1.6;
}

.values { background: white; }
.team { background: var(--slate-50); }
.team .container { max-width: 700px; text-align: center; }

/* Pricing Page */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    position: relative;
    transition: all var(--transition-base);
}

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

.pricing-card-featured {
    border: 2px solid var(--ember-500);
    box-shadow: 0 8px 32px rgba(209, 78, 50, 0.12);
    transform: scale(1.04);
}

.pricing-card-featured:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 12px 40px rgba(209, 78, 50, 0.18);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ember-500);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
}

.pricing-card-header {
    margin-bottom: 1.5rem;
}

.pricing-plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.25rem;
}

.pricing-plan-desc {
    font-size: 0.9375rem;
    color: var(--slate-500);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.125rem;
    margin-bottom: 0.25rem;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--slate-700);
}

.pricing-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1;
}

.pricing-period {
    font-size: 1rem;
    color: var(--slate-500);
    margin-left: 0.25rem;
}

.pricing-annual-note {
    font-size: 0.8125rem;
    color: var(--teal-600);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    border-top: 1px solid var(--slate-100);
    padding-top: 1.5rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--slate-700);
    line-height: 1.4;
}

.pricing-features li svg {
    flex-shrink: 0;
    color: var(--teal-500);
    margin-top: 0.15rem;
}

/* FAQ */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
}

.faq-item h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.6;
}

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

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .pricing-card-featured {
        transform: none;
        order: -1;
    }
    .pricing-card-featured:hover {
        transform: translateY(-4px);
    }
}

/* Contact Page */
.contact-info { padding: var(--section-padding) 0; background: white; }
.response-time { padding: 3rem 0; background: var(--slate-50); text-align: center; }
.response-time p { font-size: 1.125rem; color: var(--slate-600); max-width: 500px; margin: 0 auto; }
.address { padding: 3rem 0; background: var(--slate-50); text-align: center; }
.address p { color: var(--slate-600); }

/* Legal Pages */
.legal-page {
    padding: calc(var(--section-padding) + 4rem) 0 var(--section-padding);
    background: linear-gradient(180deg, var(--ember-50) 0%, var(--slate-50) 100%);
}

.legal-header { text-align: center; max-width: 600px; margin: 0 auto; }
.legal-updated { font-size: 0.9375rem; color: var(--slate-500); margin-top: 0.75rem; }
.legal-content { padding: var(--section-padding) 0; background: white; }
.legal-content .container { max-width: 760px; }
.legal-content h3 { margin-top: 2.5rem; margin-bottom: 1rem; color: var(--slate-900); font-size: 1.25rem; }
.legal-content h3:first-child { margin-top: 0; }
.legal-content p { color: var(--slate-700); font-size: 0.9375rem; line-height: 1.75; margin-bottom: 1rem; }
.legal-content ul { list-style: none; padding: 0; margin-bottom: 1rem; }
.legal-content ul li { position: relative; padding-left: 1.5rem; color: var(--slate-700); font-size: 0.9375rem; line-height: 1.75; margin-bottom: 0.5rem; }
.legal-content ul li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; background: var(--ember-400); border-radius: var(--radius-full); }
.legal-content strong { color: var(--slate-900); }

.baa-note { margin-top: 3rem; padding: 2rem; background: var(--ember-50); border: 1px solid var(--ember-200); border-radius: var(--radius-lg); text-align: center; }
.baa-note p { color: var(--slate-700); margin-bottom: 0.5rem; }
.baa-note a { color: var(--ember-600); font-weight: 600; text-decoration: none; }
.baa-note a:hover { text-decoration: underline; }
