/* ============================================
   Wicflow — World-Class Editorial Design
   Inspired by OneSecondAI + Ostracon blend
   Clean, typographic, premium
   ============================================ */

/* --- CSS Variables --- */
:root {
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --accent-dark: #6d28d9;
    --accent-muted: #ede9fe;
    --accent-glow: rgba(124, 58, 237, 0.12);
    --text-primary: #0a0a0a;
    --text-secondary: #3f3f46;
    --text-muted: #71717a;
    --text-light: #a1a1aa;
    --bg-main: #f5f5f7;
    --bg-white: #ffffff;
    --bg-dark: #0f0f0f;
    --border: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 100px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    background: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--accent-muted);
    color: var(--accent-dark);
}

/* ============================================
   NAVIGATION — Minimal
   ============================================ */
#main-nav {
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#main-nav.scrolled {
    background: rgba(245, 245, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

#main-nav a,
#main-nav button {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 600;
}

#nav-logo-text {
    text-transform: none;
    letter-spacing: -0.02em;
    font-size: 1.5rem;
    font-weight: 700;
}

/* ============================================
   BUTTONS — Pill-shaped, clean
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--text-primary);
    color: white;
    border: 1.5px solid var(--text-primary);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
    transform: translateY(-1px);
}

/* ============================================
   HERO — Centered, single-column with ambient glow
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #050510;
    overflow: hidden;
    padding: 140px 40px 80px;
}

/* Hero background - premium mesh gradient with grid */
.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #050510;
}

/* Mesh gradient layer */
.hero-bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(124, 58, 237, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 75% 20%, rgba(59, 130, 246, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 50% 70% at 50% 80%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 85% 70%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
    animation: heroMesh 12s ease-in-out infinite alternate;
}

/* Subtle dot grid overlay */
.hero-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 30%, transparent 70%);
}

@keyframes heroMesh {
    0% {
        background:
            radial-gradient(ellipse 80% 50% at 20% 40%, rgba(124, 58, 237, 0.25) 0%, transparent 60%),
            radial-gradient(ellipse 60% 60% at 75% 20%, rgba(59, 130, 246, 0.18) 0%, transparent 55%),
            radial-gradient(ellipse 50% 70% at 50% 80%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
            radial-gradient(ellipse 40% 40% at 85% 70%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
    }
    100% {
        background:
            radial-gradient(ellipse 70% 60% at 30% 50%, rgba(124, 58, 237, 0.3) 0%, transparent 60%),
            radial-gradient(ellipse 50% 50% at 65% 30%, rgba(59, 130, 246, 0.22) 0%, transparent 55%),
            radial-gradient(ellipse 60% 50% at 40% 70%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
            radial-gradient(ellipse 50% 50% at 80% 60%, rgba(37, 99, 235, 0.18) 0%, transparent 50%);
    }
}

/* Floating accent line */
.hero-section .hero-content::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.6), transparent);
    border-radius: 2px;
}

/* Dark overlay gradient for text readability */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 16, 0.5) 0%,
        rgba(5, 5, 16, 0.3) 40%,
        rgba(5, 5, 16, 0.4) 70%,
        rgba(5, 5, 16, 0.75) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Subtle vignette for depth */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(5, 5, 16, 0.45) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.hero-headline {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    color: #ffffff;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    text-shadow:
        0 2px 20px rgba(0, 0, 0, 0.45),
        0 4px 40px rgba(0, 0, 0, 0.25),
        0 0 80px rgba(124, 58, 237, 0.15);
}

/* Typewriter subtitle line */
.hero-typewriter-subtitle {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 32px;
    min-height: 2.2em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 4px 40px rgba(0, 0, 0, 0.25);
}

/* Typewriter cursor — ::after so it follows the text, not the box edge */
.typewriter-text {
    display: inline;
    position: relative;
}

.typewriter-text::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 0.9em;
    background: var(--accent);
    margin-left: 3px;
    vertical-align: baseline;
    animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero CTA overrides for dark background */
.hero-section .btn-primary {
    background: #ffffff;
    color: #0a0a0a;
    border-color: #ffffff;
}

.hero-section .btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: #0a0a0a;
}

.hero-section .btn-secondary {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Nav — white text when over dark hero */
#main-nav:not(.scrolled) .nav-link,
#main-nav:not(.scrolled) a.nav-link {
    color: rgba(255, 255, 255, 0.7);
}

#main-nav:not(.scrolled) .nav-link:hover {
    color: #ffffff;
}

#main-nav:not(.scrolled) #nav-logo-text {
    color: #ffffff;
}

#main-nav:not(.scrolled) #mobile-menu-btn {
    color: #ffffff;
}

#main-nav:not(.scrolled) #mobile-menu-btn svg {
    stroke: #ffffff;
}

#main-nav:not(.scrolled) .lang-flag {
    opacity: 0.55;
    color: #ffffff;
}

#main-nav:not(.scrolled) .lang-flag.active {
    opacity: 1;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

#main-nav:not(.scrolled) .btn-primary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

#main-nav:not(.scrolled) .btn-primary:hover {
    background: #ffffff;
    color: #0a0a0a;
    border-color: #ffffff;
}

/* Founder mini-card (now in social proof section) */
.hero-founder {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-founder img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-muted);
}

.hero-founder-info {
    display: flex;
    flex-direction: column;
}

.hero-founder-info .name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.hero-founder-info .title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-founder .status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-founder .status .online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

/* ============================================
   SOCIAL PROOF — Logo rail
   ============================================ */
.social-proof-section {
    padding: 48px 40px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-white);
}

.social-proof-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;
}

.social-proof-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    white-space: nowrap;
    line-height: 1.4;
}

/* ============================================
   SECTION HEADER PATTERN — Tag + Large Serif
   ============================================ */
.section-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.section-heading-serif {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

/* ============================================
   TRUST BAR — Scrolling logo carousel
   ============================================ */
.trust-bar {
    background: var(--bg-white);
    padding: 40px 0 20px;
    text-align: center;
    overflow: hidden;
}

.trust-bar-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 28px;
    padding: 0 24px;
}

.trust-bar-track {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.trust-bar-logos {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: trust-scroll 25s linear infinite;
}

.trust-logo {
    height: 28px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(100%) brightness(0.2);
    transition: opacity 0.3s ease, filter 0.3s ease;
    flex-shrink: 0;
}

.trust-logo:hover {
    opacity: 0.85;
    filter: grayscale(0%) brightness(1);
}

.trust-logo-large {
    height: 42px;
    max-width: 140px;
}

.trust-logo-invert {
    filter: grayscale(100%) invert(1) brightness(0.2);
}

.trust-logo-invert:hover {
    filter: invert(0) brightness(1);
}

@keyframes trust-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .trust-bar {
        padding: 32px 0 16px;
    }
    .trust-bar-logos {
        gap: 40px;
    }
    .trust-logo {
        height: 24px;
    }
}

/* ============================================
   WHAT WE BUILD — Service category cards
   ============================================ */
.services-section {
    position: relative;
    overflow: visible;
    padding: 120px 40px;
    background: var(--bg-white);
}

.services-content {
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    margin-bottom: 64px;
}

.services-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.category-card {
    background: var(--bg-main);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(124, 58, 237, 0.2);
}

.category-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.category-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}

.category-num {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.4;
}

.category-card h3 {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
    margin-top: auto;
}

.category-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.category-card .price-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.08);
    color: var(--accent);
    border-radius: var(--radius-xl);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 16px;
    width: fit-content;
}

.category-card .card-example {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 8px;
    line-height: 1.5;
}

/* Card stats row */
.card-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.card-stat {
    display: flex;
    flex-direction: column;
}

.card-stat-value {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
}

.card-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* ============================================
   RESULTS — Social proof case studies
   ============================================ */
.results-section {
    padding: 120px 40px;
    background: var(--bg-main);
    position: relative;
}

.results-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.result-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-card:hover {
    border-color: var(--border-medium);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.result-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.result-card-industry {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 12px;
}

.result-card-metric {
    font-family: 'Sora', 'Inter', system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.result-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .results-section {
        padding: 64px 24px;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ============================================
   HOW WE WORK — Process steps (dark cards)
   ============================================ */
.process-section {
    padding: 100px 40px;
    background: var(--bg-main);
}

.process-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.process-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    transition: all 0.4s ease;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.process-card-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: auto;
}

.process-card-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.process-card-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    background: var(--accent);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-card h4 {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 30px;
}

/* ============================================
   FAQ — Clean accordion
   ============================================ */
.faq-section {
    padding: 100px 40px;
    background: var(--bg-white);
}

.faq-section .section-heading-serif {
    text-align: center;
}

.faq-section .section-tag {
    justify-content: center;
}

.faq-item {
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 0;
    background: var(--bg-main);
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.faq-item:hover {
    border-color: var(--text-light);
}

.faq-item[open] {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    padding: 20px 24px;
}

.faq-item .faq-answer {
    padding: 0 24px 20px;
}

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

.faq-item p:not(.faq-answer) {
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.7;
    font-size: 0.9rem;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

/* Visible FAQ items (GEO-optimized, no accordions) */
.faq-item-visible {
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 24px;
    background: var(--bg-main);
    margin-bottom: 12px;
    transition: border-color 0.3s ease;
}

.faq-item-visible:hover {
    border-color: var(--accent);
}

.faq-question {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.faq-item-visible .faq-answer {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   FOOTER CTA — Full-bleed dark
   ============================================ */
.footer-cta {
    position: relative;
    background: var(--bg-dark);
    overflow: hidden;
}

.footer-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.3;
}

.footer-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(124, 58, 237, 0.4) 0%,
            rgba(15, 15, 15, 0.9) 100%);
}

.footer-cta-content {
    position: relative;
    z-index: 10;
    padding: 120px 40px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.footer-cta-content h2 {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
}

.footer-cta-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 36px;
    line-height: 1.6;
}

/* ============================================
   LOGO CAROUSEL
   ============================================ */
.logo-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    flex: 1;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-carousel {
    display: flex;
    gap: 60px;
    animation: logoScroll 30s linear infinite;
    width: max-content;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    min-width: 100px;
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

.logo-img:hover {
    opacity: 0.7;
    filter: grayscale(100%);
}

@keyframes logoScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger children */
.stagger-children>*:nth-child(1) {
    transition-delay: 0s;
}

.stagger-children>*:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-children>*:nth-child(3) {
    transition-delay: 0.2s;
}

.stagger-children>*:nth-child(4) {
    transition-delay: 0.3s;
}

.stagger-children>*:nth-child(5) {
    transition-delay: 0.4s;
}

.stagger-children>*:nth-child(6) {
    transition-delay: 0.5s;
}

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

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 24px 60px;
        min-height: auto;
    }

    .hero-headline {
        font-size: clamp(2.4rem, 8vw, 3.5rem);
    }

    .hero-typewriter-subtitle {
        font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    }

    .services-section {
        padding: 80px 24px;
    }

    .services-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .process-card {
        min-height: auto;
        padding: 28px 24px;
    }

    .process-card-top {
        margin-bottom: 12px;
    }

    .process-card h4 {
        margin-top: 0;
    }

    .social-proof-inner {
        flex-direction: column;
        gap: 16px;
    }

    .social-proof-section {
        padding: 32px 24px;
    }

    .process-section {
        padding: 80px 24px;
    }

    .logo-carousel {
        gap: 40px;
    }

    .logo-item {
        min-width: 80px;
    }

    .footer-cta-content {
        padding: 80px 24px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-typewriter-subtitle {
        font-size: 1rem;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .hero-founder {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .hero-founder .status {
        margin-left: 0;
    }

    .card-example {
        font-size: 0.8rem;
    }
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1.5px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    opacity: 0.45;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-primary);
    line-height: 1;
}

.lang-flag:hover {
    opacity: 1;
}

.lang-flag.active {
    opacity: 1;
    border-color: var(--accent-light);
    color: var(--accent);
}

/* ============================================
   FOCUS STATES — Keyboard Navigation
   ============================================ */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
a:focus-visible,
button:focus-visible,
details summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ============================================
   EXTRA SMALL DEVICES (320-360px)
   ============================================ */
@media (max-width: 360px) {
    .hero-headline {
        font-size: 1.75rem;
    }

    .hero-typewriter-subtitle {
        font-size: 0.9rem;
    }

    .section-heading-serif {
        font-size: 1.6rem;
    }

    .hero-section {
        padding: 100px 16px 48px;
    }

    .services-section,
    .process-section {
        padding: 60px 16px;
    }

    .footer-cta-content {
        padding: 60px 16px;
    }

    .faq-section {
        padding: 60px 16px;
    }

    .faq-item summary {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .process-card {
        padding: 24px 20px;
    }

    .social-proof-section {
        padding: 24px 16px;
    }
}

/* ============================================
   REDUCED MOTION — Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   MOBILE MENU
   ============================================ */
#mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 49;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}
#mobile-menu.open {
    max-height: 420px;
    opacity: 1;
}
#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
}
#mobile-menu .space-y-4 a.block {
    padding: 12px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
#mobile-menu .space-y-4 a.block:last-of-type {
    border-bottom: none;
}

/* ============================================
   PRINT
   ============================================ */
@media print {
    body {
        background: white;
    }

    .hero-section,
    .footer-cta {
        display: none;
    }

    nav {
        display: none;
    }
}

/* ============================================
   TAILWIND UTILITY REPLACEMENTS
   (Replaces CDN runtime compiler)
   ============================================ */
.flex { display: flex; }
.hidden { display: none; }
.block { display: block; }
.grid { display: grid; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-8 { padding-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mr-2 { margin-right: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-20 { height: 5rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-center { text-align: center; }
.text-zinc-400 { color: #a1a1aa; }
.text-zinc-500 { color: #71717a; }
.text-zinc-600 { color: #52525b; }
.text-zinc-900 { color: #18181b; }
.text-accent-primary { color: #7c3aed; }
.hover\:text-accent-primary:hover { color: #7c3aed; }
.hover\:text-zinc-900:hover { color: #18181b; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.underline { text-decoration: underline; }
.border-t { border-top: 1px solid rgba(0,0,0,0.05); }
.border-black\/5 { border-color: rgba(0,0,0,0.05); }
.transition-colors { transition: color 0.2s ease; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.font-sans { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
.font-display { font-family: 'Sora', 'Inter', system-ui, sans-serif; }
.overflow-hidden { overflow: hidden; }
.scroll-smooth { scroll-behavior: smooth; }
.fixed { position: fixed; }
.relative { position: relative; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-50 { z-index: 50; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.transition-all { transition-property: all; transition-timing-function: ease; transition-duration: 300ms; }
.max-w-\[1200px\] { max-width: 1200px; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.bg-white\/95 { background: rgba(255,255,255,0.95); }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

@media (min-width: 768px) {
    .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .md\:flex-row { flex-direction: row; }
}
@media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
    .lg\:flex-row { flex-direction: row; }
    .lg\:items-end { align-items: flex-end; }
}

/* ============================================
   PERSONAL CTA SECTION (mobile-ready)
   ============================================ */
.personal-cta {
    padding: 80px 24px;
    background: linear-gradient(180deg, #fff 0%, #f5f5f7 100%);
}
.personal-cta-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.personal-cta-photo {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 24px;
    border: 3px solid rgba(124,58,237,0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    display: block;
}
.personal-cta-inner h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 12px;
}
.personal-cta-inner > p {
    font-size: 1.05rem;
    color: #3f3f46;
    line-height: 1.7;
    margin-bottom: 28px;
}
.personal-cta-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.personal-cta-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    text-decoration: none;
    color: #71717a;
    min-height: 44px;
    padding: 8px 4px;
}
.personal-cta-links a.linkedin-link { color: #0a66c2; font-weight: 500; }

@media (max-width: 480px) {
    .personal-cta-links {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .personal-cta-photo {
        width: 96px;
        height: 96px;
    }
    .personal-cta-inner h3 {
        font-size: 1.4rem;
    }
    .personal-cta-inner > p {
        font-size: 0.95rem;
    }
}

/* ============================================
   COMPARISON GRID — Mobile responsive
   ============================================ */
@media (max-width: 520px) {
    .comparison-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   STICKY MOBILE CTA BAR — Always visible booking button
   ============================================ */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
}

.mobile-sticky-cta-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-sticky-cta-text {
    flex: 1;
    font-size: 0.8rem;
    color: #3f3f46;
    font-weight: 500;
    line-height: 1.3;
}

.mobile-sticky-cta-text strong {
    display: block;
    font-size: 0.85rem;
    color: #0a0a0a;
}

.mobile-sticky-cta .btn-primary {
    padding: 10px 20px;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 1023px) {
    .mobile-sticky-cta {
        display: block;
    }
    /* Add bottom padding to body so sticky bar doesn't cover content */
    body {
        padding-bottom: 72px;
    }
}

/* ============================================
   MICRO PROOF — Small trust signals near CTAs
   ============================================ */
.micro-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.micro-proof-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.micro-proof-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
}

@media (max-width: 640px) {
    .micro-proof {
        flex-direction: column;
        gap: 8px;
    }
}