:root {
    /* Color Palette — Trust & Credibility (12AM Agency Blog Inspired) */
    --clr-navy: #0B1E36;          /* Primary Navy */
    --clr-navy-mid: #1E3A5F;      /* Lighter Navy for hover states */
    --clr-teal-dark: #051020;     /* Deep navy for dark backgrounds */
    --clr-teal: #0B1E36;          /* Map structural teal to Primary Navy */
    --clr-teal-bright: #C23A2B;   /* Map bright highlights to Accent Red */
    --clr-teal-light: rgba(194, 58, 43, 0.05); /* Light Red/Accent tint */
    --clr-gold: #C23A2B;          /* Map legacy gold to Accent Red */
    --clr-gold-light: #E05A47;    /* Light red highlight */
    --clr-gold-hover: #9B2E22;    /* Accent Red hover */
    --clr-offwhite: #E8EFF7;      /* Premium Ice-Blue Tint */
    --clr-white: #FFFFFF;         /* Neutral Base White */
    --clr-text: #1F2937;          /* Headings & general copy */
    --clr-text-light: #374151;    /* High-contrast slate/charcoal body copy */
    --clr-border: #C9CDD3;        /* Silver divider/border color */
    
    /* Gradients (Replaced with Flat colors or clean white-to-light-gray transitions) */
    --grad-teal: linear-gradient(180deg, var(--clr-navy) 0%, var(--clr-navy) 100%);
    --grad-gold: linear-gradient(180deg, var(--clr-accent) 0%, var(--clr-accent) 100%);
    --grad-dark: linear-gradient(180deg, var(--clr-navy) 0%, var(--clr-navy) 100%);
    --grad-hero: linear-gradient(180deg, var(--clr-white) 0%, var(--clr-offwhite) 100%);
    --grad-section: linear-gradient(180deg, var(--clr-navy) 0%, var(--clr-navy) 100%);
    
    /* Accent Helper */
    --clr-accent: #C23A2B;
    --clr-accent-hover: #9B2E22;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-hand: 'La Belle Aurore', cursive;
    
    /* Shadows - Structured, sharp */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.02);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
    --shadow-teal: 0 4px 12px rgba(11, 30, 54, 0.15);
    --shadow-gold: 0 4px 12px rgba(194, 58, 43, 0.2);
    
    /* Radii - Sharp edges, built for trust */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 4px;
    --radius-xl: 4px;
    --radius-pill: 4px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    color: var(--clr-text);
    line-height: 1.7;
    background-color: var(--clr-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
    color: var(--clr-navy);
    line-height: 1.1;
}

h1, h2 {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: -0.015em;
}

h3, h4 {
    font-family: var(--font-sans);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    margin-bottom: 1.75rem;
}

@media (min-width: 769px) {
    h1 {
        min-height: 140px; /* Prevents vertical layout shifts during typewriter updates */
    }
}

h2 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h4 {
    font-size: 1.125rem;
    font-weight: 700;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--clr-text-light);
    line-height: 1.75;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--clr-text-light);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.text-gradient {
    color: var(--clr-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.narrow {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.narrow-content {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-sm { margin-top: 1.5rem; }
.mt-md { margin-top: 2.5rem; }
.mt-lg { margin-top: 4rem; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-delay-1 { transition-delay: 0.12s; }
.fade-delay-2 { transition-delay: 0.24s; }
.fade-delay-3 { transition-delay: 0.36s; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 24px rgba(0, 0, 0, 0.06);
    border-bottom-color: transparent;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px; /* Increased from 72px for visual breathing room */
    padding: 0 24px;
}

@media (min-width: 769px) {
    .nav-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
    }
    .nav-logo {
        justify-self: start;
    }
    .nav-links {
        justify-self: center;
    }
    .btn-nav {
        justify-self: end;
    }
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--clr-navy);
    letter-spacing: -0.03em;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--clr-navy);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.logo-text {
    letter-spacing: -0.02em;
}

/* Nav Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--clr-text-light);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.25s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-teal);
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
    color: var(--clr-teal);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Nav CTA Button */
.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--grad-teal);
    color: white;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 12px rgba(14, 116, 144, 0.2);
}

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

.btn-nav .btn-arrow {
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--clr-navy);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ============================================
   SECTIONS
   ============================================ */
section, header {
    padding: 120px 0;
    position: relative;
}

.section-light {
    background-color: var(--clr-offwhite);
}

.section-offwhite {
    background-color: var(--clr-offwhite);
}

.section-dark {
    background: var(--grad-section);
    color: var(--clr-white);
    position: relative;
    overflow: hidden;
}

/* Subtle glow orb behind dark sections */
.section-dark::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 116, 144, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.section-dark::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
    color: var(--clr-white);
}

.section-dark p, .section-dark .subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.section-teal {
    background: var(--clr-teal-dark);
    color: var(--clr-white);
    position: relative;
    overflow: hidden;
}

.section-teal::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: none;
    pointer-events: none;
}

.section-teal h1, .section-teal h2, .section-teal h3, .section-teal h4 {
    color: var(--clr-white);
}

.section-teal p {
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    color: var(--clr-teal);
    border: 1.5px solid rgba(14, 116, 144, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}

.badge-light {
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   BUTTONS — Bold with depth
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.0625rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    text-align: center;
    line-height: 1;
    position: relative;
}

.btn-lg {
    padding: 22px 48px;
    font-size: 1.1875rem;
}

.btn-primary {
    background: var(--clr-navy);
    color: var(--clr-white);
    box-shadow: var(--shadow-md);
}

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

.btn-gold {
    background: var(--clr-accent);
    color: var(--clr-white);
    box-shadow: var(--shadow-md);
}

.btn-gold:hover {
    transform: translateY(-2px);
    background: var(--clr-accent-hover);
    box-shadow: var(--shadow-lg);
}

/* Arrow inside buttons */
.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-arrow-dark {
    color: var(--clr-navy);
}

/* Hero CTA pulse */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 16px rgba(14, 116, 144, 0.35); }
    50% { box-shadow: 0 4px 40px rgba(14, 116, 144, 0.55), 0 0 60px rgba(14, 116, 144, 0.15); }
}

.hero .btn-primary {
    animation: pulse-glow 3s ease-in-out infinite;
}

.hero .btn-primary:hover {
    animation: none;
}

/* ============================================
   CHECKMARKS ROW
   ============================================ */
.checkmarks-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.checkmarks-row span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--clr-text-light);
}

.section-dark .checkmarks-row span,
.cta-banner .checkmarks-row span {
    color: rgba(255, 255, 255, 0.65);
}

.checkmarks-row svg {
    color: var(--clr-teal);
    flex-shrink: 0;
}

.section-dark .checkmarks-row svg,
.cta-banner .checkmarks-row svg {
    color: var(--clr-gold);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    text-align: center;
    padding: 190px 0 140px;
    background-image: 
        linear-gradient(rgba(11, 30, 54, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 30, 54, 0.04) 1px, transparent 1px),
        var(--grad-hero);
    background-size: 24px 24px, 24px 24px, 100% 100%;
    background-repeat: repeat, repeat, no-repeat;
    position: relative;
    overflow: hidden;
}

/* Removed dual radial glows behind hero to maintain a clean structured grid */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: none;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: none;
    pointer-events: none;
    z-index: 0;
}

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

.hero .subtitle {
    margin-bottom: 2.5rem;
}

/* Trust Proof — generous breathing room */
.trust-proof {
    margin-top: 4rem; /* Substantially increased to avoid cramped feel */
}

.trust-stat {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--clr-text) !important;
    margin-bottom: 0;
    letter-spacing: -0.01em;
}

.trust-divider {
    width: 500px;
    max-width: 80%;
    height: 1px;
    background: var(--clr-border);
    margin: 2rem auto;
}

/* Word Rotator — Premium vertical slide-fade transition with dynamic width & underline */
.rotator-container {
    display: inline-block;
    position: relative;
    vertical-align: bottom;
    overflow: hidden;
    height: 1.25em;
    line-height: 1.2;
    padding-bottom: 4px; /* Space for the underline */
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle line animation that stays static at the bottom of the container */
.rotator-container::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    background-color: var(--clr-accent);
    width: 100%;
}

.rotator-text {
    display: inline-block;
    color: var(--clr-accent);
    font-family: var(--font-serif);
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.rotator-text.slide-in {
    opacity: 1;
    transform: translateY(0);
}

.rotator-text.slide-out {
    opacity: 0;
    transform: translateY(-100%);
}

.rotator-text.slide-in-prepare {
    opacity: 0;
    transform: translateY(100%);
    transition: none; /* Instantly shifts it down without animation */
}

/* ============================================
   GRIDS
   ============================================ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

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

/* ============================================
   BEFORE/AFTER RESULT CARDS
   ============================================ */
/* ============================================
   BEFORE/AFTER RESULT CARDS (Alternating Rows)
   ============================================ */
.comparison-rows {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 60px;
}

.comparison-row {
    display: flex;
    gap: 50px;
    align-items: center;
}

.comparison-row:nth-child(even) {
    flex-direction: row-reverse;
}

.comparison-visuals {
    flex: 1.25;
    display: flex;
    gap: 20px;
}

/* Browser Mockup Frame */
.browser-bar {
    height: 38px;
    background: var(--clr-offwhite);
    border-bottom: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: relative;
    z-index: 10;
}

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

.browser-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.browser-dots .red { background: #ef4444; }
.browser-dots .yellow { background: #f59e0b; }
.browser-dots .green { background: #10b981; }

.browser-url {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-white);
    border-radius: 6px;
    font-size: 0.72rem;
    color: var(--clr-text-light);
    padding: 3px 20px;
    font-weight: 500;
    letter-spacing: -0.01em;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    border: 1px solid var(--clr-border);
}

.timeline-card {
    width: 100%;
    background: var(--clr-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.timeline-image-container {
    position: relative;
    width: 100%;
    line-height: 0;
}

.timeline-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.timeline-badge {
    position: absolute;
    left: 16px;
    padding: 6px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.badge-before {
    top: 16px;
    background: #ef4444;
    color: white;
}

.badge-after {
    bottom: 16px;
    background: #10b981;
    color: white;
}



.comparison-details {
    flex: 0.75;
}

.client-name {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--clr-navy);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.client-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clr-teal);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.transformation-box {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.transformation-points {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.point-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.point-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.point-icon.red-cross {
    background: #fee2e2;
    color: #ef4444;
}

.point-icon.green-check {
    background: #d1fae5;
    color: #10b981;
}

.point-text {
    font-size: 0.9375rem;
    color: var(--clr-text);
    line-height: 1.5;
}

.point-text strong {
    color: var(--clr-navy);
}

/* Handwritten Label */
.handwritten-wrapper {
    text-align: left;
    margin-bottom: 2.5rem;
    padding-left: 20px;
}

.handwritten-label {
    font-family: var(--font-hand);
    font-size: 2.5rem;
    color: var(--clr-teal);
    transform: rotate(-3deg);
    display: inline-block;
}

.handwritten-arrow {
    display: block;
    margin-top: -5px;
    margin-left: 30px;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
    text-align: center;
}

.testimonial-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.video-wrapper {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--clr-navy);
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.video-wrapper.placeholder::after {
    content: '[ Video / Photo Placeholder ]';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #64748b;
    font-size: 0.9375rem;
    font-weight: 600;
}

.video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial blockquote {
    font-size: clamp(1.375rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--clr-navy);
    line-height: 1.45;
    margin: 0 0 1.5rem; /* Removed top margin since it's now first */
    font-style: normal;
    letter-spacing: -0.02em;
}

.testimonial-author-wrapper {
    display: flex;
    max-width: max-content;
    margin: 0 auto 2.5rem;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.testimonial-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--clr-accent);
    flex-shrink: 0;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-author-info .author {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--clr-navy);
    margin: 0;
    line-height: 1.2;
}

.testimonial-author-info .role {
    font-size: 0.9375rem;
    color: var(--clr-text-light);
    margin: 0;
    line-height: 1.3;
}

.testimonial.section-dark .testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.testimonial.section-dark blockquote {
    color: var(--clr-white);
}

.testimonial.section-dark .testimonial-author-info .author {
    color: var(--clr-white);
}

.testimonial.section-dark .testimonial-author-info .role {
    color: rgba(255, 255, 255, 0.65);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-container {
    position: relative;
    max-width: 1100px;
    margin: 54px auto 0;
    padding-bottom: 48px; /* Room for desktop vertical stagger */
}

/* Horizontal connector line on desktop */
.steps-container::before {
    content: '';
    position: absolute;
    top: 67px; /* Center of the badges */
    left: 8%;
    right: 8%;
    height: 2px;
    background: var(--clr-border);
    opacity: 0.4;
    z-index: 0;
}

@media (max-width: 768px) {
    .steps-container {
        padding-bottom: 0;
    }
    .steps-container::before {
        top: 32px;
        bottom: 32px;
        left: 56px;
        right: auto;
        width: 2px;
        height: auto;
    }
}

.step-card {
    position: relative;
    padding: 40px 32px;
    background: var(--clr-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    text-align: left;
    border: 1px solid var(--clr-border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    z-index: 1;
    overflow: hidden;
}

/* Slide-out top accent border */
.step-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--clr-accent);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
}

.step-card:hover::after {
    width: 100%;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-accent);
}

/* Staggered offsets for desktop */
@media (min-width: 769px) {
    .steps-grid {
        align-items: start;
    }
    .steps-grid .step-card:nth-child(2) {
        transform: translateY(24px);
    }
    .steps-grid .step-card:nth-child(3) {
        transform: translateY(48px);
    }
    .steps-grid .step-card:nth-child(1):hover {
        transform: translateY(-8px);
    }
    .steps-grid .step-card:nth-child(2):hover {
        transform: translateY(16px); /* -8px float from 24px base */
    }
    .steps-grid .step-card:nth-child(3):hover {
        transform: translateY(40px); /* -8px float from 48px base */
    }
}

/* Large outline watermark numbering */
.step-watermark {
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: var(--font-serif);
    font-size: 5.5rem;
    font-weight: 800;
    color: rgba(11, 30, 54, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.step-badge {
    width: 54px;
    height: 54px;
    background: #FAF4EB;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-accent);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover .step-badge {
    background: var(--clr-white);
    border-color: var(--clr-accent);
    transform: scale(1.08);
}

/* ============================================
   PAIN AGITATION
   ============================================ */
.pain-grid {
    gap: 20px;
}

.pain-card {
    background: rgba(255,255,255,0.03);
    padding: 32px 32px 32px 36px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.06);
    border-left: 4px solid var(--clr-gold);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.pain-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateX(6px);
    border-left-color: var(--clr-gold-light);
}

.pain-number {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--clr-gold);
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.pain-card h4 {
    margin-bottom: 10px;
    font-size: 1.125rem;
}

.pain-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
}

.emphasis-text {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--clr-gold) !important;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

/* ============================================
   SOLUTION (Full-Width Dark)
   ============================================ */
.solution-benefits {
    background: rgba(255, 255, 255, 0.04);
    padding: 48px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.solution-benefits h3 {
    color: var(--clr-white);
    margin-bottom: 28px;
    font-size: 1.5rem;
}

.benefit-list {
    list-style: none;
    margin-bottom: 0;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 1.0625rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

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

/* ============================================
   OFFER BREAKDOWN
   ============================================ */
.offer-card {
    background: var(--clr-white);
    border-radius: var(--radius-xl);
    padding: 52px 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--clr-border);
    position: relative;
}

/* Subtle gradient top border on offer card */
.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background: var(--grad-teal);
    border-radius: 0 0 3px 3px;
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    list-style: none;
    margin-bottom: 40px;
}

.deliverables-grid li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--clr-navy);
}

.check-teal {
    color: var(--clr-teal);
    flex-shrink: 0;
}

hr {
    border: 0;
    height: 1px;
    background: var(--clr-border);
    margin: 36px 0;
}

.guarantee-box p {
    color: var(--clr-text);
    font-size: 1rem;
}

/* ============================================
   CATCH-ALL CTA
   ============================================ */
.cta-banner {
    padding: 140px 0;
}

.cta-banner h2 {
    margin-bottom: 1.25rem;
}

.cta-subtitle {
    font-size: 1.25rem !important;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.accordion {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--clr-border);
}

.accordion-item {
    border-bottom: 1px solid var(--clr-border);
}

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

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 24px 28px;
    background: none;
    border: none;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--clr-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: inherit;
    transition: background-color 0.25s ease;
    line-height: 1.4;
}

.accordion-header:hover {
    background-color: var(--clr-offwhite);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content p {
    padding: 0 28px 22px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
}

.chevron {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--clr-offwhite);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--clr-text-light);
}

.active .chevron {
    transform: rotate(180deg);
    background: var(--clr-teal-light);
    color: var(--clr-teal);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--clr-navy);
    padding: 80px 0 40px;
    position: relative;
}

/* Subtle top border */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.footer-logo .logo-icon {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.footer-logo .logo-text {
    color: var(--clr-white);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.9375rem !important;
    margin-top: 1.25rem;
    max-width: 320px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    transform: translateY(-2px);
}

.footer-links-col h4 {
    color: var(--clr-white);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

.footer-links-col li {
    margin-bottom: 0.75rem;
}

.footer-links-col a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.25s ease;
    font-weight: 500;
}

.footer-links-col a:hover {
    color: var(--clr-white);
}

.footer-bottom {
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8125rem;
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section, header {
        padding: 80px 0;
    }
    
    .hero {
        padding: 130px 0 80px;
    }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .deliverables-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .checkmarks-row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .offer-card {
        padding: 28px 20px;
    }
    
    .solution-benefits {
        padding: 28px 20px;
    }
    
    .handwritten-label {
        font-size: 1.75rem;
    }
    
    .handwritten-wrapper {
        text-align: center;
        padding-left: 0;
    }
    
    .handwritten-arrow {
        margin-left: auto;
        margin-right: auto;
    }
    
    .desktop-only {
        display: none;
    }
    
    /* Mobile Nav */
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--clr-white);
        flex-direction: column;
        padding: 20px 24px;
        gap: 0;
        border-bottom: 1px solid var(--clr-border);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        padding: 14px 0;
        border-bottom: 1px solid var(--clr-border);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .btn-nav {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .comparison-row, .comparison-row:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }
    
    .comparison-visuals {
        width: 100%;
        gap: 12px;
    }
    
    .timeline-badge {
        padding: 4px 8px;
        font-size: 0.65rem;
        left: 10px;
    }
    
    .badge-before {
        top: 10px;
    }
    
    .badge-after {
        bottom: 10px;
    }
    
    .divider-pill {
        padding: 4px 10px;
        font-size: 0.65rem;
    }
    
    .comparison-details {
        width: 100%;
    }
    
    .client-name {
        font-size: 1.5rem;
    }
    
    .transformation-box {
        padding: 16px;
    }
    
    .btn-lg {
        padding: 18px 32px;
        font-size: 1.0625rem;
    }
    
    .cta-banner {
        padding: 80px 0;
    }
    
    .testimonial-card {
        padding: 32px 20px;
    }
}

/* ============================================
   GLOBAL DARK MODE CARD & ELEMENT OVERRIDES
   ============================================ */

/* Handwritten annotations */
.section-dark .handwritten-label {
    color: var(--clr-accent);
}

.section-dark .handwritten-arrow path {
    stroke: var(--clr-accent);
}

/* Before/After Section Dark Mode Cards */
.section-dark .timeline-card,
.section-dark .transformation-box {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    color: var(--clr-white);
}

.section-dark .timeline-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--clr-accent);
}

.section-dark .client-name {
    color: var(--clr-white);
}

.section-dark .client-title {
    color: rgba(255, 255, 255, 0.8);
}

.section-dark .point-text {
    color: rgba(255, 255, 255, 0.8);
}

.section-dark .point-text strong {
    color: var(--clr-white);
}

.section-dark .browser-bar {
    background: rgba(255, 255, 255, 0.05);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.section-dark .browser-url {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* How It Works Section Dark Mode Cards */
.section-dark .step-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    color: var(--clr-white);
}

.section-dark .step-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--clr-accent);
    box-shadow: none;
}

.section-dark .step-card .step-badge {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--clr-accent);
}

.section-dark .step-card:hover .step-badge {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    color: var(--clr-white);
}

/* Offer Breakdown Section Dark Mode Cards */
.section-dark .offer-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    color: var(--clr-white);
}

.section-dark .offer-card::before {
    background: var(--clr-accent);
}

.section-dark .deliverables-grid li {
    color: var(--clr-white);
}

.section-dark .check-teal {
    color: var(--clr-accent);
}

.section-dark .guarantee-box p {
    color: rgba(255, 255, 255, 0.7);
}

/* FAQ Accordion Section Dark Mode Accordion */
.section-dark .accordion {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.section-dark .accordion-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.section-dark .accordion-header {
    color: var(--clr-white);
}

.section-dark .accordion-header:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

.section-dark .accordion-content p {
    color: rgba(255, 255, 255, 0.7);
}

.section-dark .chevron {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
}

.section-dark .active .chevron {
    background: rgba(194, 58, 43, 0.15);
    color: var(--clr-accent);
}

/* ============================================
   WARM SAND / CHAMPAGNE SECTIONS
   ============================================ */
.section-sand {
    background-color: #FAF4EB; /* Premium Warm Sand / Champagne */
    color: var(--clr-text);
}

.section-sand h1, .section-sand h2, .section-sand h3, .section-sand h4 {
    color: var(--clr-navy);
}

.section-sand p, .section-sand .subtitle {
    color: var(--clr-text-light);
}

.section-sand .badge {
    border-color: rgba(11, 30, 54, 0.2);
    color: var(--clr-navy);
}

/* Step Cards in Sand Section */
.section-sand .step-card {
    background: var(--clr-white);
    border-color: var(--clr-border);
    color: var(--clr-text);
    box-shadow: var(--shadow-sm);
}

.section-sand .step-card:hover {
    background: var(--clr-white);
    border-color: var(--clr-accent);
    box-shadow: var(--shadow-lg);
}

.section-sand .step-card .step-badge {
    background: #FAF4EB;
    border-color: var(--clr-border);
    color: var(--clr-accent);
}

.section-sand .step-card:hover .step-badge {
    background: var(--clr-white);
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}

/* Offer Card in Sand Section */
.section-sand .offer-card {
    background: var(--clr-white);
    border-color: var(--clr-border);
    box-shadow: var(--shadow-md);
    color: var(--clr-text);
}

.section-sand .offer-card::before {
    background: var(--grad-teal);
}

.section-sand .deliverables-grid li {
    color: var(--clr-navy);
}

.section-sand .check-teal {
    color: var(--clr-navy);
}

.section-sand .guarantee-box p {
    color: var(--clr-text-light);
}

/* FAQ Accordion in Sand Section */
.section-sand .accordion {
    background: var(--clr-white);
    border-color: var(--clr-border);
    box-shadow: var(--shadow-md);
}

.section-sand .accordion-item {
    border-bottom-color: var(--clr-border);
}

.section-sand .accordion-header {
    color: var(--clr-navy);
}

.section-sand .accordion-header:hover {
    background-color: #FAF4EB;
}

.section-sand .accordion-content p {
    color: var(--clr-text-light);
}

.section-sand .chevron {
    background: #FAF4EB;
    color: var(--clr-text-light);
}

.section-sand .active .chevron {
    background: var(--clr-teal-light);
    color: var(--navy);
}

/* ============================================
   WHAT'S INCLUDED REDESIGN (OPTION 3: TIMELINE)
   ============================================ */

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 54px;
    position: relative;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

/* Vertical line linking the milestones */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 36px;
    width: 2px;
    background: var(--clr-border);
    z-index: 0;
}

@media (max-width: 640px) {
    .process-timeline::before {
        left: 20px;
    }
}

/* Timeline Step Row */
.timeline-step {
    display: flex;
    gap: 32px;
    align-items: start;
    position: relative;
    z-index: 1;
    text-align: left;
}

@media (max-width: 640px) {
    .timeline-step {
        gap: 20px;
    }
}

/* Circle Node Badge */
.timeline-badge-node {
    width: 72px;
    height: 72px;
    background: var(--clr-navy);
    border: 2px solid var(--clr-accent);
    color: var(--clr-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px #FAF4EB; /* matching sand section background color */
}

@media (max-width: 640px) {
    .timeline-badge-node {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
        box-shadow: 0 0 0 4px #FAF4EB;
    }
}

/* Timeline Content Card */
.timeline-content-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    flex-grow: 1;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-content-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-accent);
}

.timeline-step-meta {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.timeline-step-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--clr-navy);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

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

.timeline-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: var(--clr-text-light);
    line-height: 1.5;
}

.timeline-list li svg {
    color: var(--clr-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

/* Timeline Finish/Guarantee Card */
.timeline-finish-card {
    background: var(--clr-navy);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 36px;
    color: var(--clr-white);
    flex-grow: 1;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.timeline-finish-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--clr-accent);
}

@media (max-width: 640px) {
    .timeline-finish-card::before {
        width: auto;
        height: 4px;
        left: 0;
        right: 0;
        top: 0;
        bottom: auto;
    }
}

.timeline-finish-card .guarantee-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--clr-white);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-finish-card .guarantee-title svg {
    color: var(--clr-accent);
}

.timeline-finish-card .guarantee-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}
