/* ══════════════════════════════════════════════════════════════════
   FlexFly — Redesign layer (2026-04-17)
   Layered ON TOP of style.css + premium.css. Nothing is removed.
   Goal: Modern B2B SaaS × Premium agency. Ambient depth, signature
   grid-with-nodes motif, editorial display type, hero-treatment
   imagery in industries, richer feature cards.
   ══════════════════════════════════════════════════════════════════ */

/* ── Display font: Fraunces (editorial serif for display-only) ── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,600&display=swap');

:root {
    /* Extend the existing token system — don't redefine what style.css already set */
    --ff-font-display: 'Fraunces', 'Plus Jakarta Sans', serif;

    /* Expanded palette — depth layers */
    --ff-ink-deep: #0f0f1e;
    --ff-ink-soft: #252542;
    --ff-purple-deep: #4f3fd5;
    --ff-purple-glow: rgba(108, 92, 231, 0.45);
    --ff-teal-glow: rgba(46, 196, 168, 0.35);
    --ff-section-alt-warm: #f5f2ef;   /* warmer alternating bg for premium agency feel */
    --ff-section-alt-cool: #eef0fb;

    /* Signature grid-nodes tokens */
    --grid-color: rgba(108, 92, 231, 0.07);
    --grid-node: rgba(108, 92, 231, 0.28);
    --grid-size: 48px;

    /* Premium shadows (brand-tinted, more dramatic) */
    --shadow-hero: 0 40px 100px -20px rgba(15, 15, 30, 0.45);
    --shadow-card-rich: 0 2px 4px rgba(15, 15, 30, 0.04), 0 20px 40px -12px rgba(15, 15, 30, 0.12);
    --shadow-card-lift: 0 4px 8px rgba(15, 15, 30, 0.06), 0 32px 64px -16px rgba(108, 92, 231, 0.22);

    /* Editorial spacing */
    --section-padding-xl: clamp(6rem, 10vw, 10rem);
}

/* ── Kill horizontal overflow globally ── */
html, body {
    overflow-x: hidden;
}

.hero,
.section {
    overflow-x: clip;
}

/* ── Fixed navbar (sticky was detaching mid-scroll) ── */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(15, 15, 30, 0.06);
}

/* Hero sits beneath fixed navbar — add top space so content isn't hidden */
body {
    padding-top: 64px;
}

/* On dark hero, navbar stays translucent-light but the content needs
   to read well against it. Keep the frosted-glass feel. */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
}

/* ── Global type upgrades ── */
.display-serif {
    font-family: var(--ff-font-display);
    font-optical-sizing: auto;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.display-serif-italic {
    font-family: var(--ff-font-display);
    font-style: italic;
    font-weight: 600;
    letter-spacing: -0.015em;
}

/* ════════════════════════════════════════════════════════════════
   1. SIGNATURE ELEMENT — Grid-with-nodes ambient background
   Subtle dot grid with occasional brighter nodes, hinting at
   "connected systems" — the product thesis.
   ════════════════════════════════════════════════════════════════ */

.grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 1px 1px, var(--grid-color) 1px, transparent 0);
    background-size: var(--grid-size) var(--grid-size);
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}

.grid-bg--light {
    --grid-color: rgba(108, 92, 231, 0.08);
}

.grid-bg--dark {
    --grid-color: rgba(255, 255, 255, 0.06);
    --grid-node: rgba(133, 126, 255, 0.55);
}

/* Node highlights — cherry-pick a few intersections to glow */
.grid-bg::before,
.grid-bg::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--grid-node);
    box-shadow: 0 0 16px var(--grid-node);
    opacity: 0.9;
}

.grid-bg::before {
    top: 22%;
    left: 18%;
    animation: node-pulse 4s ease-in-out infinite;
}

.grid-bg::after {
    top: 68%;
    right: 22%;
    width: 4px;
    height: 4px;
    animation: node-pulse 5s ease-in-out infinite 1.5s;
}

@keyframes node-pulse {
    0%, 100% { opacity: 0.9; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.4); }
}

/* Extra nodes via additional pseudo layer */
.grid-nodes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.grid-nodes span {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--grid-node);
    box-shadow: 0 0 12px var(--grid-node);
    animation: node-pulse 6s ease-in-out infinite;
}

.grid-nodes span:nth-child(1) { top: 15%; left: 42%; animation-delay: 0s; }
.grid-nodes span:nth-child(2) { top: 55%; left: 10%; animation-delay: 2s; width: 4px; height: 4px; }
.grid-nodes span:nth-child(3) { top: 78%; left: 48%; animation-delay: 3.5s; }
.grid-nodes span:nth-child(4) { top: 30%; right: 12%; animation-delay: 1s; width: 3px; height: 3px; }
.grid-nodes span:nth-child(5) { top: 82%; right: 42%; animation-delay: 4s; width: 4px; height: 4px; }

/* ════════════════════════════════════════════════════════════════
   2. HERO — full-bleed ambient, editorial display type,
   layered assistant-in-action composition
   ════════════════════════════════════════════════════════════════ */

.hero {
    /* Layered composition: photo base + brand-tinted gradients + ink wash */
    background:
        linear-gradient(180deg, rgba(15, 15, 30, 0.82) 0%, rgba(15, 15, 30, 0.92) 100%),
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(108, 92, 231, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(46, 196, 168, 0.18) 0%, transparent 60%),
        url('../assets/images/sections/hero-workspace.jpg') center/cover no-repeat,
        linear-gradient(180deg, var(--ff-ink-deep) 0%, var(--ff-ink) 100%);
    padding: clamp(6rem, 10vw, 9rem) 0 clamp(5rem, 8vw, 7rem);
}

.hero-ambient {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Slow-drifting gradient orb — subtle, not showy */
.hero-ambient::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    top: -300px;
    right: -200px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.25) 0%, transparent 60%);
    filter: blur(20px);
    animation: hero-drift-1 24s ease-in-out infinite alternate;
}

.hero-ambient::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    bottom: -200px;
    left: -150px;
    background: radial-gradient(circle, rgba(46, 196, 168, 0.12) 0%, transparent 60%);
    filter: blur(30px);
    animation: hero-drift-2 28s ease-in-out infinite alternate;
}

@keyframes hero-drift-1 {
    from { transform: translate(0, 0); }
    to { transform: translate(-60px, 40px); }
}

@keyframes hero-drift-2 {
    from { transform: translate(0, 0); }
    to { transform: translate(40px, -30px); }
}

.hero .container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 5rem);
}

/* Editorial hero headline — Fraunces display, italic accent */
.hero-title {
    font-family: var(--ff-font-display);
    font-optical-sizing: auto;
    font-size: clamp(2.25rem, 5.5vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.04;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.hero-title .accent {
    font-style: italic;
    font-weight: 600;
    background: linear-gradient(135deg, #9d93ff 0%, var(--ff-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    padding-right: 0.04em;
}

.hero-overline {
    color: var(--ff-teal);
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(46, 196, 168, 0.08);
    border: 1px solid rgba(46, 196, 168, 0.18);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-overline::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ff-teal);
    box-shadow: 0 0 10px var(--ff-teal);
}

.hero-subtitle {
    font-size: 1.1875rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 560px;
}

.hero-proof {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.hero-proof-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-proof-num {
    font-family: var(--ff-font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.01em;
}

.hero-proof-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── Hero visual: layered "assistant in action" composition ── */
.hero-stage {
    position: relative;
    min-height: 480px;
    perspective: 1800px;
}

.stage-card {
    position: absolute;
    background: linear-gradient(180deg, rgba(37, 37, 66, 0.98) 0%, rgba(26, 26, 46, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: var(--shadow-hero);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Card 1 — chat conversation (front-center) */
.stage-chat {
    top: 40px;
    left: 0;
    right: 40px;
    bottom: 40px;
    transform: rotateY(-6deg) rotateX(3deg) translateZ(40px);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.stage-chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 16px;
}

.stage-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ff-purple) 0%, var(--ff-teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-font-mono);
    font-weight: 700;
    font-size: 0.75rem;
    color: white;
    flex-shrink: 0;
}

.stage-chat-meta {
    flex: 1;
    min-width: 0;
}

.stage-chat-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

.stage-chat-sub {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--ff-font-mono);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.stage-chat-sub::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ff-teal);
    box-shadow: 0 0 6px var(--ff-teal);
    animation: pulse 2s ease infinite;
}

.stage-messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.stage-msg {
    max-width: 80%;
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 0.8125rem;
    line-height: 1.45;
    animation: msg-in 0.6s var(--ff-ease) backwards;
}

.stage-msg--user {
    align-self: flex-end;
    background: rgba(108, 92, 231, 0.16);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(108, 92, 231, 0.25);
    border-bottom-right-radius: 4px;
}

.stage-msg--bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom-left-radius: 4px;
}

.stage-msg:nth-child(1) { animation-delay: 0.3s; }
.stage-msg:nth-child(2) { animation-delay: 0.9s; }
.stage-msg:nth-child(3) { animation-delay: 1.5s; }
.stage-msg:nth-child(4) { animation-delay: 2.1s; }

@keyframes msg-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Card 2 — booking confirmation (floating right/back) */
.stage-booking {
    top: -20px;
    right: -30px;
    width: 220px;
    padding: 14px;
    transform: rotateY(-12deg) rotateX(5deg) translateZ(80px);
    z-index: 2;
}

.stage-booking-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.stage-booking-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(46, 196, 168, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ff-teal);
    flex-shrink: 0;
}

.stage-booking-label {
    font-family: var(--ff-font-mono);
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stage-booking-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    line-height: 1.3;
}

.stage-booking-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

.stage-booking-status {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--ff-teal);
    font-weight: 600;
}

/* Card 3 — integration stack (floating left/back) */
.stage-tools {
    bottom: -10px;
    left: -20px;
    width: 200px;
    padding: 14px;
    transform: rotateY(8deg) rotateX(4deg) translateZ(60px);
    z-index: 2;
}

.stage-tools-label {
    font-family: var(--ff-font-mono);
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.stage-tools-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stage-tool {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.stage-tool-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ff-teal);
    box-shadow: 0 0 6px var(--ff-teal);
    flex-shrink: 0;
}

/* Connection lines (SVG) between cards — signature ambient */
.stage-wires {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.stage-wires path {
    stroke: rgba(108, 92, 231, 0.3);
    stroke-width: 1;
    fill: none;
    stroke-dasharray: 4 4;
    animation: wire-flow 2s linear infinite;
}

@keyframes wire-flow {
    to { stroke-dashoffset: -16; }
}

/* ════════════════════════════════════════════════════════════════
   3. SECTIONS — enforce editorial rhythm & signature dividers
   ════════════════════════════════════════════════════════════════ */

.section {
    position: relative;
    padding: var(--section-padding-xl) 0;
}

/* Override the flat whites from style.css — give every "light" section
   real atmosphere: soft cream base + ambient color wash + subtle texture */
body .section-light {
    background:
        radial-gradient(ellipse 70% 50% at 0% 0%, rgba(108, 92, 231, 0.05) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(46, 196, 168, 0.05) 0%, transparent 55%),
        linear-gradient(180deg, #fdfcfa 0%, #f7f6f2 100%) !important;
}

.section-alt {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(108, 92, 231, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, #eef0fb 0%, #e8ebf7 100%) !important;
}

.section-alt-warm {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(237, 185, 122, 0.1) 0%, transparent 60%),
        linear-gradient(180deg, #f6f2ec 0%, #efe9df 100%) !important;
}

/* Soft gradient seams between sections — organic transitions */
.section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(108, 92, 231, 0.12) 50%, transparent 100%);
    pointer-events: none;
}

/* Floating blurred orbs inside light sections — adds motion/depth */
.section-light::after,
.section-alt::after,
.section-alt-warm::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.section-light::after {
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
    top: 10%;
    right: -150px;
    animation: orb-drift-a 22s ease-in-out infinite alternate;
}

.section-alt::after {
    background: radial-gradient(circle, rgba(46, 196, 168, 0.2) 0%, transparent 70%);
    bottom: 10%;
    left: -150px;
    animation: orb-drift-b 26s ease-in-out infinite alternate;
}

.section-alt-warm::after {
    background: radial-gradient(circle, rgba(237, 185, 122, 0.18) 0%, transparent 70%);
    top: 20%;
    right: -150px;
    animation: orb-drift-a 28s ease-in-out infinite alternate;
}

@keyframes orb-drift-a {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-80px, 60px) scale(1.1); }
}

@keyframes orb-drift-b {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(60px, -40px) scale(1.15); }
}

/* Make sure section content sits above the orbs */
.section > .container,
.section > .section-header {
    position: relative;
    z-index: 2;
}

/* Per-section grid-bg instance */
.section .grid-bg {
    opacity: 0.6;
}

/* Signature section dividers — subtle diagonal cut */
.section-divider-top {
    position: relative;
}

.section-divider-top::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: inherit;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
    transform: translateY(-100%);
}

/* Editorial section headers */
.section-header {
    max-width: 720px;
    margin: 0 auto 5rem;
}

.section-title {
    font-family: var(--ff-font-display);
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.section-title .accent {
    font-style: italic;
    background: linear-gradient(135deg, var(--ff-purple) 0%, var(--ff-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    padding-right: 0.04em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--ff-stone);
    line-height: 1.65;
    margin-top: 1.25rem;
}

/* ════════════════════════════════════════════════════════════════
   4. FEATURE CARDS — richer, gradient accents, visual rhythm
   ════════════════════════════════════════════════════════════════ */

.features-grid {
    gap: 20px;
}

body .feature-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.75) 100%);
    border: 1px solid rgba(15, 15, 30, 0.06);
    border-radius: 18px;
    padding: 2rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card-rich);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.45s var(--ff-ease),
                border-color 0.45s var(--ff-ease);
}

/* Subtle per-card accent wash */
body .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: radial-gradient(circle at 20% 0%, rgba(108, 92, 231, 0.08) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s var(--ff-ease);
}

body .feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(108, 92, 231, 0.25);
    box-shadow: var(--shadow-card-lift);
}

body .feature-card:hover::before {
    opacity: 1;
}

body .feature-card h3 {
    font-family: var(--ff-font-display);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    color: var(--ff-ink);
}

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

body .feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.12) 0%, rgba(46, 196, 168, 0.08) 100%);
    border: 1px solid rgba(108, 92, 231, 0.15);
    box-shadow: 0 8px 20px -8px rgba(108, 92, 231, 0.25);
    margin-bottom: 1.5rem;
}

body .feature-card:nth-child(2) .feature-icon,
body .feature-card:nth-child(5) .feature-icon {
    background: linear-gradient(135deg, rgba(46, 196, 168, 0.14) 0%, rgba(108, 92, 231, 0.06) 100%);
    border-color: rgba(46, 196, 168, 0.22);
    color: var(--ff-teal);
}

.feature-more {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin-top: 1rem;
    opacity: 0.6 !important;
    font-weight: 600;
    color: var(--ff-purple);
}

.feature-more::after {
    content: '→';
    transition: transform 0.3s var(--ff-ease);
}

body .feature-card:hover .feature-more {
    opacity: 1 !important;
}

body .feature-card:hover .feature-more::after {
    transform: translateX(4px);
}

/* ════════════════════════════════════════════════════════════════
   5. INDUSTRIES — hero-treatment cards with image overlay
   ════════════════════════════════════════════════════════════════ */

.industries-grid {
    gap: 24px;
}

body .industry-card {
    background: var(--ff-ink);
    border: none;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    padding: 0;
    box-shadow: var(--shadow-card-rich);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.5s var(--ff-ease);
    isolation: isolate;
}

body .industry-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-lift);
    border-color: transparent;
}

body .industry-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s var(--ff-ease);
    filter: saturate(1.1);
}

body .industry-card:hover .industry-img {
    transform: scale(1.06);
    filter: saturate(1.2);
}

/* Dark editorial overlay on image */
body .industry-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(15, 15, 30, 0.2) 0%,
        rgba(15, 15, 30, 0.45) 45%,
        rgba(15, 15, 30, 0.92) 100%);
    z-index: 1;
    transition: opacity 0.5s var(--ff-ease);
}

/* Brand-tinted accent corner */
body .industry-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse at top right, rgba(108, 92, 231, 0.4) 0%, transparent 60%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s var(--ff-ease);
    mix-blend-mode: screen;
}

body .industry-card:hover::after {
    opacity: 1;
}

body .industry-card-body {
    position: relative;
    z-index: 2;
    padding: 2rem 2rem 2.25rem;
    color: white;
    width: 100%;
}

body .industry-icon {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: white;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    margin-bottom: 1.25rem;
    transition: background 0.3s var(--ff-ease);
}

body .industry-card:hover .industry-icon {
    background: rgba(108, 92, 231, 0.35);
    border-color: rgba(133, 126, 255, 0.4);
}

body .industry-card h3 {
    font-family: var(--ff-font-display);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    color: white;
    margin-bottom: 10px;
}

body .industry-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    max-width: 95%;
}

.industry-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1.25rem;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--ff-font-mono);
    letter-spacing: 0.02em;
}

.industry-tag::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ff-teal);
    box-shadow: 0 0 8px var(--ff-teal);
}

/* ════════════════════════════════════════════════════════════════
   6. VALUE PROPS / WHY IT WORKS — photo background with warm wash
   ════════════════════════════════════════════════════════════════ */

.section--why {
    background:
        linear-gradient(180deg, rgba(245, 242, 239, 0.94) 0%, rgba(238, 240, 251, 0.96) 100%),
        url('../assets/images/sections/why-workspace.jpg') center/cover no-repeat;
    position: relative;
}

.section--why::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(108, 92, 231, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.section--why > * {
    position: relative;
    z-index: 1;
}

.reviews-showcase {
    gap: 24px;
}

body .review-platform {
    background: white;
    border: 1px solid rgba(15, 15, 30, 0.06);
    border-radius: 18px;
    padding: 2.25rem 2rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card-rich);
}

body .review-platform::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--ff-purple) 0%, var(--ff-teal) 100%);
    opacity: 0.5;
    transition: opacity 0.4s var(--ff-ease);
}

body .review-platform:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-lift);
    border-color: rgba(108, 92, 231, 0.2);
}

body .review-platform:hover::before {
    opacity: 1;
}

body .review-platform .feature-icon {
    margin-bottom: 1.5rem !important;
}

body .review-platform h3 {
    font-family: var(--ff-font-display) !important;
    font-weight: 600 !important;
    font-size: 1.1875rem !important;
    letter-spacing: -0.01em !important;
    line-height: 1.25 !important;
    color: var(--ff-ink) !important;
}

body .review-platform .review-quote {
    color: var(--ff-slate);
    font-style: normal !important;
    line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════════
   7. PROCESS STEPS — connected with animated line
   ════════════════════════════════════════════════════════════════ */

.process-grid {
    position: relative;
}

.process-grid::before {
    top: 34px !important;
    left: 12% !important;
    right: 12% !important;
    height: 2px !important;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(108, 92, 231, 0.3) 15%,
        rgba(108, 92, 231, 0.5) 50%,
        rgba(46, 196, 168, 0.5) 85%,
        transparent 100%) !important;
}

.process-grid::after {
    content: '';
    position: absolute;
    top: 34px;
    left: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--ff-purple), var(--ff-teal));
    width: 0;
    box-shadow: 0 0 12px var(--ff-purple-glow);
    animation: process-line-in 2s var(--ff-ease) forwards;
    animation-delay: 0.4s;
}

@keyframes process-line-in {
    to { width: 76%; }
}

.step-number {
    position: relative;
    background: linear-gradient(135deg, var(--ff-purple) 0%, var(--ff-purple-deep) 100%) !important;
    box-shadow: 0 8px 24px -4px var(--ff-purple-glow) !important;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(108, 92, 231, 0.3);
    opacity: 0;
    transition: opacity 0.3s var(--ff-ease);
}

.step:hover .step-number::before {
    opacity: 1;
}

.step h3 {
    font-family: var(--ff-font-display);
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: -0.01em;
}

/* ════════════════════════════════════════════════════════════════
   8. PRICING — elevated cards, editorial headers
   ════════════════════════════════════════════════════════════════ */

.pricing-card {
    border-radius: 20px !important;
    box-shadow: var(--shadow-card-rich) !important;
}

.pricing-card:hover {
    box-shadow: var(--shadow-card-lift) !important;
}

.pricing-card--popular {
    background: linear-gradient(180deg, #ffffff 0%, rgba(246, 245, 255, 0.8) 100%) !important;
    border: 2px solid var(--ff-purple) !important;
    transform: translateY(-8px);
}

.pricing-card--popular:hover {
    transform: translateY(-12px);
}

.pricing-tier-name {
    font-family: var(--ff-font-display) !important;
    font-weight: 600 !important;
    font-size: 1.25rem !important;
    letter-spacing: -0.01em !important;
}

.pricing-amount {
    font-family: var(--ff-font-display) !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em !important;
}

/* ════════════════════════════════════════════════════════════════
   9. FAQ — editorial type, hover polish
   ════════════════════════════════════════════════════════════════ */

.faq-question {
    font-family: var(--ff-font-display);
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: -0.01em;
}

.faq-item {
    transition: background 0.3s var(--ff-ease);
    padding: 0 1.25rem;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    border-radius: 12px;
}

.faq-item:hover {
    background: rgba(108, 92, 231, 0.03);
}

/* ════════════════════════════════════════════════════════════════
   10. CTA SECTION — editorial closer
   ════════════════════════════════════════════════════════════════ */

.cta-section {
    background:
        linear-gradient(180deg, rgba(15, 15, 30, 0.88) 0%, rgba(15, 15, 30, 0.94) 100%),
        radial-gradient(ellipse 60% 50% at 30% 30%, rgba(108, 92, 231, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 70% 70%, rgba(46, 196, 168, 0.14) 0%, transparent 60%),
        url('../assets/images/sections/cta-office.jpg') center/cover no-repeat,
        linear-gradient(180deg, var(--ff-ink-deep) 0%, var(--ff-ink) 100%) !important;
    position: relative;
    overflow: hidden;
}

.cta-section .section-title {
    color: white !important;
}

.cta-section .section-title .accent {
    background: linear-gradient(135deg, #9d93ff 0%, var(--ff-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ════════════════════════════════════════════════════════════════
   11. PROOF STRIP — refined
   ════════════════════════════════════════════════════════════════ */

.proof-strip {
    background:
        radial-gradient(ellipse 60% 100% at 50% 0%, rgba(108, 92, 231, 0.06) 0%, transparent 70%),
        linear-gradient(180deg, #fdfcfa 0%, #f7f6f2 100%) !important;
    border-bottom: 1px solid rgba(15, 15, 30, 0.05);
    padding: 40px 0 !important;
    position: relative;
}

.proof-stat .number {
    font-family: var(--ff-font-display);
    font-size: 1.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--ff-ink) 0%, var(--ff-purple-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

/* ════════════════════════════════════════════════════════════════
   12. RESPONSIVE ADJUSTMENTS
   ════════════════════════════════════════════════════════════════ */

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

    .hero-stage {
        min-height: 420px;
        margin-top: 2rem;
    }

    .stage-booking {
        right: 0;
    }

    .stage-tools {
        left: 0;
    }

    body .industry-card {
        min-height: 280px;
    }

    .process-grid::before,
    .process-grid::after {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: clamp(1.9rem, 7.5vw, 2.5rem);
        line-height: 1.12;
    }

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

    .hero-proof {
        gap: 1rem 1.5rem;
    }

    .hero-proof-num {
        font-size: 1.1rem;
    }

    .hero-overline {
        font-size: 0.65rem;
        padding: 5px 10px;
        letter-spacing: 0.08em;
        max-width: 100%;
    }

    body .industry-card {
        min-height: 260px;
    }

    body .industry-card h3 {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }
}

/* Reduced motion — kill drift/pulse */
@media (prefers-reduced-motion: reduce) {
    .hero-ambient::before,
    .hero-ambient::after,
    .stage-msg,
    .grid-bg::before,
    .grid-bg::after,
    .grid-nodes span,
    .process-grid::after,
    .stage-wires path {
        animation: none !important;
    }
}
