/* 
  Senior Creative Developer Implementation
  Liquid Amber & Glassmorphism Aesthetic
*/

/* Reset margins and set core typography */
:root {
    --primary: #FA3B00;
    --primary-light: #ffb84d;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.1);
    --blur: 20px;
}


*, *::before, *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    position: relative;
    background-color: #000;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: white;
    overflow-x: hidden;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    display: none;
}


/* 
  1. Liquid Mesh Gradient Background & Animation 
  Creates a vibrant, flowing glass/liquid metal effect.
*/
/*
  FIX: Background is now a simple fixed full-screen element. This ensures a
  CONSISTENT orange appearance at ALL zoom levels (75%, 80%, 100%, 125%).
  Previously the 200%x200% canvas moved with parallax, causing the background
  to show different gradient regions at different zoom levels.
  The parallax effect is now subtle and only moves within a single, consistent gradient.
*/
.mesh-bg {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    z-index: 1;
    /* Single consistent orange gradient — no more zoom-level shifts */
    background-color: #FA3B00;
    background-image:
        radial-gradient(ellipse at 30% 25%, #ffb84d 0%, transparent 40%),
        radial-gradient(ellipse at 70% 25%, #d43b00 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 25%),
        radial-gradient(ellipse at 25% 70%, #d43b00 0%, transparent 40%),
        radial-gradient(ellipse at 75% 70%, #ffb84d 0%, transparent 40%);
    /* Smooth subtle GPU-only parallax via transform */
    transform: translate3d(0, 0, 0);
    transition: transform 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* 
  2. Full-screen Glass Overlay 
  Refracted glass feel over the liquid mesh.
*/
.glass-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
    backdrop-filter: blur(var(--blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transform: translateZ(0); /* Force GPU layer */
}

/* PERF: Disable expensive backdrop-filter on mobile — extremely costly on low-end phones */
@media (max-width: 768px) {
    .glass-overlay {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(0, 0, 0, 0.05);
    }
}

/* 
  3. Typography Style 
  Clean, white text with a subtle drop-shadow for legibility.
*/
.content {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.content h1 {
    font-size: 4rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    letter-spacing: -1px;
}

.content p {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 0 40px 0;
    opacity: 0.9;
}

/* 
  4. Button Design ("Growth" style)
  Pill shape, glassmorphism border, inner solid orange circle for icon.
*/
.growth-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 10px 10px 10px 24px;
    border-radius: 50px;
    background: var(--glass-hover);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-shadow: none;
}

.growth-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.icon-circle {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.5);
    transition: transform 0.3s ease;
}

.growth-button:hover .icon-circle {
    transform: scale(1.05);
}

.icon-circle svg {
    width: 20px;
    height: 20px;
    /* Arrow stroke is handled in inline SVG */
}

/* 
  Animations & Utilities 
*/
@keyframes shine {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.shiny-text {
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 1) 40%,
        rgba(255, 184, 77, 0.8) 50%,
        rgba(255, 255, 255, 1) 60%
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 3s linear infinite;
    text-shadow: none !important; /* Solves text clipping smudgy shadow issues under background-clip: text */
}

/* ── Animated two-line hero headline ─────────────────────────── */
.hero-animated-h1 {
    display: flex;
    flex-direction: row; /* Keep both words on a single line */
    flex-wrap: nowrap;   /* Prevent wrapping on any device */
    align-items: center; /* Center-align children vertically */
    justify-content: center; /* Center-align children horizontally */
    gap: 0.25em;         /* Snippet spacing between We and sliding words */
    line-height: 1;
    text-shadow: none !important;
}

/* Line 1: static "We" */
.hero-static-line {
    display: inline-block;
    text-shadow: none !important;
}

/* Line 2: clipping viewport that reveals exactly one word at a time */
.hero-word-carousel {
    display: inline-block;
    overflow: hidden;
    height: 1.05em; /* matches one line of the h1 font-size */
    position: relative;
    transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1); /* Smoothly animate width as words transition */
    will-change: width;
    text-align: left; /* Left align layout inside the viewport */
}

/* Vertical strip of all words stacked */
.hero-word-track {
    display: flex;
    flex-direction: column;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

/* Each individual word */
.hero-word {
    display: block;
    height: 1.05em;
    line-height: 1.05;
    white-space: nowrap;
    text-align: left; /* Keep the start of all sliding words perfectly aligned in the same horizontal column */
    width: max-content; /* Shrink to exact text width so JS can measure it for dynamic centering */
}

/* ── Hero Section Twin CTAs ─────────────────────────────────── */
.hero-ctas {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
    width: 100%;
}

.hero-btn {
    width: 175px !important; /* Shrunk width on desktop for a sleeker visual balance */
    flex-shrink: 0;
}

@media (max-width: 540px) {
    .hero-ctas {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        width: 100%;
    }
    .hero-btn {
        width: 100% !important; /* Fully responsive stacked width on mobile */
        max-width: 280px;
    }
}

.fade-in-up-base {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/*
  5. Hero Section
*/
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 20px;
    overflow: hidden;
}

#hero-glsl-hills-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Sits above the background liquid-mesh but behind the hero text container (which has z-index: 10) */
    pointer-events: none; /* Allows pointer events/clicks to pass right through to CTA buttons */
    opacity: 0.65; /* Delicate transparency to merge beautifully with the warm orange background */
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Center-align the content container */
    width: 100%;
    max-width: 1200px;
    z-index: 10;
    gap: 40px;
}

.hero-content-left {
    flex: 1;
    text-align: center; /* Center text globally */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center flex children horizontally */
    gap: 30px;
    max-width: 800px; /* Limits width on desktop for perfect readable text balance */
}

.hero-orbit-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    height: 500px;
    overflow: visible;
}

@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        padding-top: 100px;
    }
    .hero-content-left {
        text-align: center;
        align-items: center;
    }
    .hero-orbit-right {
        margin-top: 40px;
        width: 100%;
        justify-content: center;
        height: 400px;
        overflow: hidden;
    }
}

/* Orbit Animation Styles */
.orbit-wrapper {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(10%);
}

@media (max-width: 900px) {
    .orbit-wrapper {
        transform: scale(0.7) translateX(0);
    }
}

.orbit-center {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 20px rgba(250, 59, 0, 0.3);
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    animation: spin linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-ring-1 { width: 220px; height: 220px; animation-duration: 15s; }
.orbit-ring-2 { width: 340px; height: 340px; animation-duration: 25s; }
.orbit-ring-3 { width: 460px; height: 460px; animation-duration: 35s; }

/* GPU-accelerated spin — uses only transform */
@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Disable orbit animation on mobile for performance */
@media (max-width: 768px) {
    .orbit-ring {
        animation-duration: 30s; /* Slow it down significantly on mobile */
    }
}

.orbit-icon {
    position: absolute;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 50%;
    top: 50%;
    margin-left: -22px;
    margin-top: -22px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 0 15px rgba(255, 255, 255, 0.5);
    /* CSS translation logic: 
       Translate out by 50% of the parent ring's radius.
       Then counter-rotate the icon so it doesn't spin upside down.
    */
    transform: rotate(var(--angle)) translateY(-500%) rotate(calc(var(--angle) * -1));
}

.orbit-ring-1 .orbit-icon { transform: rotate(var(--angle)) translateY(calc(-220px / 2)) rotate(calc(var(--angle) * -1)); }
.orbit-ring-2 .orbit-icon { transform: rotate(var(--angle)) translateY(calc(-340px / 2)) rotate(calc(var(--angle) * -1)); }
.orbit-ring-3 .orbit-icon { transform: rotate(var(--angle)) translateY(calc(-460px / 2)) rotate(calc(var(--angle) * -1)); }

.orbit-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.status-badge, .equation-badge, .product-badge, .faq-category {
    font-family: monospace;
    font-size: 0.9rem;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.hero-section h1 {
    font-size: clamp(2.2rem, 8.5vw, 4.5rem); /* Fluid responsive scaling across all viewports */
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.1;
    letter-spacing: -2px;
    text-shadow: none !important; /* Keep heading text-shadow clean */
}

.hero-section p {
    font-size: 1.25rem;
    margin: 0 0 30px 0;
    opacity: 0.9;
    font-weight: 400;
    max-width: 650px; /* Center-balanced conciseness */
}

.equation-badge {
    margin-top: 20px;
    margin-bottom: 40px;
    font-size: 1rem;
    font-weight: 500;
}

.hero-cta {
    margin-top: 30px;
}

/*
  6. Sections Shared Styles
*/
.where-section, .phases-section, .products-section, .faq-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px;
    box-sizing: border-box;
}

.section-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    margin: 0 0 60px 0;
    letter-spacing: -2px;
    text-align: center;
    text-shadow: 0 0 40px rgba(250, 59, 0, 0.35), 0 4px 30px rgba(0,0,0,0.3);
}

/*
  7. Services Grid
  Glassmorphism card design
*/
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
    box-sizing: border-box;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Magic UI Spotlight effect */
.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 184, 77, 0.15),
        transparent 40%
    );
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    border-color: rgba(255, 184, 77, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Flashcard (Flip Card) specific styles */
.flip-card {
    perspective: 1000px;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.flip-card:hover::before {
    display: none; /* Disable spotlight on the wrapper to prevent glitch */
}

.flip-card:hover {
    transform: none; /* Let the inner card handle the transform */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 350px;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.flip-card-front {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.front-content-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255,106,0,0.9) 0%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.4) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 30px;
}

.flip-card-back {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: rotateY(180deg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: var(--glass-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.service-card p {
    font-size: 0.95rem;
    font-weight: 400;
    margin: 0;
    opacity: 0.8;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-list li {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

/* ══ Geometric Process Diagram — Deployment Phases ══════════════ */

.phases-section {
    padding: 80px 40px !important;
    align-items: center !important;
    width: 100%;
    box-sizing: border-box;
}

.pd-container {
    width: 100%;
    max-width: 1140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

/* Header pill */
.pd-header-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 44px;
    border-radius: 999px;
    background: rgba(20,6,0,0.92);
    border: 1px solid rgba(255,140,40,0.2);
    backdrop-filter: blur(12px);
}

.pd-header-pill span {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,170,60,0.9);
    letter-spacing: 0.02em;
}

/* 4-column grid with arrows between */
.pd-columns {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    gap: 0;
}

.pd-col {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 220px;
}

/* Connecting arrows */
.pd-arrow {
    flex-shrink: 0;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 52px; /* align with circle centers */
    color: rgba(255,140,40,0.5);
}

.pd-arrow svg {
    width: 36px;
    height: 20px;
}

/* ── Shared shape primitives ── */
.pd-shape {
    width: 100%;
    position: relative;
}

/* Circle-top (shared by multi-pill, double-circle, inverted) */
.pd-circle-top {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(20,6,0,0.9);
    border: 1px solid rgba(255,130,30,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow:
        0 0 0 6px rgba(255,100,0,0.06),
        0 4px 20px rgba(200,60,0,0.2);
}

.pd-num {
    font-size: 2rem;
    font-weight: 900;
    color: rgba(255,160,40,0.85);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.04em;
}

/* Rectangle-bottom (multi-pill + inverted) */
.pd-rect-bottom {
    background: rgba(20,6,0,0.88);
    border: 1px solid rgba(255,130,30,0.22);
    border-radius: 2.2rem;
    padding: 60px 22px 28px;
    margin-top: -40px; /* overlap into circle */
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 28px rgba(180,50,0,0.15);
}

.pd-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255,200,100,0.9);
    margin: 0 0 12px;
    text-align: center;
    letter-spacing: -0.02em;
}

.pd-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pd-items li {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.48);
    line-height: 1.45;
    text-align: center;
    padding-left: 12px;
    position: relative;
}

.pd-items li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: rgba(255,140,40,0.5);
    font-weight: 700;
}

/* ═══ Variant: Tall Pill (Architecture) ═══ */
.pd-tall-pill {
    background: rgba(20,6,0,0.9);
    border: 1px solid rgba(255,130,30,0.25);
    border-radius: 999px;
    padding: 32px 20px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    min-height: 380px;
    justify-content: space-between;
    box-shadow:
        0 0 0 6px rgba(255,100,0,0.05),
        0 6px 28px rgba(180,50,0,0.18);
}

.pd-tall-pill .pd-num {
    margin-bottom: 8px;
}

.pd-tall-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

/* ═══ Variant: Double Circle (Integration) ═══ */
.pd-double-circle .pd-circle-bottom {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(20,6,0,0.88);
    border: 1px solid rgba(255,130,30,0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: -28px auto 0; /* overlap into top circle → figure-8 */
    position: relative;
    z-index: 1;
    padding: 20px 14px;
    box-shadow: 0 6px 28px rgba(180,50,0,0.15);
}

.pd-double-circle .pd-title {
    font-size: 0.82rem;
    margin-bottom: 8px;
}

.pd-double-circle .pd-items li {
    font-size: 0.65rem;
}

/* ═══ Variant: Inverted / Amber-Light (Autonomy) ═══ */
.pd-inv-circle {
    background: rgba(255,180,60,0.18) !important;
    border-color: rgba(255,160,40,0.4) !important;
    box-shadow:
        0 0 0 6px rgba(255,160,40,0.08),
        0 4px 20px rgba(255,120,0,0.22) !important;
}

.pd-num-dark {
    color: rgba(30,10,0,0.85) !important;
}

.pd-inv-rect {
    background: rgba(255,180,60,0.14) !important;
    border-color: rgba(255,160,40,0.35) !important;
    box-shadow: 0 6px 28px rgba(255,120,0,0.18) !important;
}

.pd-title-dark {
    color: rgba(255,220,140,0.95) !important;
}

.pd-items-dark li {
    color: rgba(255,255,255,0.55) !important;
}

.pd-items-dark li::before {
    color: rgba(255,180,60,0.7) !important;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .pd-columns {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }
    .pd-arrow { display: none; }
    .pd-col { max-width: 200px; min-width: 160px; }
}

@media (max-width: 540px) {
    .phases-section { padding: 48px 20px !important; }
    .pd-columns { flex-direction: column; align-items: center; }
    .pd-col { max-width: 220px; }
}



.phases-wave-container {
    width: 100%;
    max-width: 1100px;
}

.phases-wave-header {
    text-align: center;
    margin-bottom: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.phases-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,140,40,0.75);
}

.phases-wave-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

/* Wave diagram container — maintains SVG aspect ratio */
.phases-wave-body {
    position: relative;
    width: 100%;
    aspect-ratio: 1100 / 320;
    min-height: 220px;
}

.phases-wave-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: visible;
}

/* SVG path layers */
.pw-glow {
    fill: none;
    stroke: rgba(255,120,40,0.28);
    stroke-width: 10;
    stroke-linecap: round;
    filter: blur(7px);
}

.pw-track {
    fill: none;
    stroke: rgba(255,130,30,0.85);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.pw-dash {
    fill: none;
    stroke: rgba(255,130,30,0.35);
    stroke-width: 2;
    stroke-dasharray: 5 8;
    stroke-linecap: round;
}

/* Node wrappers — positioned using % matching SVG coords */
/* viewBox: 0 0 1100 320  →  P1:(60,255) P2:(540,78) P3:(1040,128) */
.pw-node-wrap {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pw-n1 { left: 5.45%;   top: 79.69%; }
.pw-n2 { left: 49.09%;  top: 24.38%; }
.pw-n3 { left: 94.55%;  top: 40%;    }

/* Glowing icon circle */
.pw-node-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,100,20,0.18);
    border: 1.5px solid rgba(255,160,60,0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,210,130,0.95);
    box-shadow:
        0 0 0 7px rgba(255,110,20,0.08),
        0 0 22px rgba(255,100,0,0.22);
    position: relative;
    z-index: 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pw-node-circle:hover {
    transform: scale(1.12);
    box-shadow:
        0 0 0 10px rgba(255,110,20,0.12),
        0 0 36px rgba(255,100,0,0.38);
}

/* Ghost number — large faded digit beside each node */
.pw-ghost {
    position: absolute;
    left: 30px;
    top: -14px;
    font-size: 5.5rem;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    letter-spacing: -0.06em;
    background: linear-gradient(175deg, rgba(255,200,100,0.3) 0%, rgba(255,120,0,0.05) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
}

/* Text labels — absolute, matching reference alternating pattern */
.pw-label {
    position: absolute;
    z-index: 4;
    max-width: 200px;
}

/* Label 1: top-left (node 1 is at bottom-left → text floats above) */
.pw-lbl-1 { left: 0%;  top: 2%; }
/* Label 2: center-bottom (node 2 is at top-center → text below) */
.pw-lbl-2 { left: 36%; top: 46%; }
/* Label 3: right-bottom (node 3 is at right-center → text below) */
.pw-lbl-3 { left: 70%; top: 58%; }

.pw-lbl-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.pw-lbl-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
    margin: 0;
    font-weight: 400;
}

/* Mobile: hide wave, show vertical list */
@media (max-width: 768px) {
    .phases-section { padding: 48px 20px !important; }
    .phases-wave-body {
        aspect-ratio: unset;
        min-height: unset;
        display: flex;
        flex-direction: column;
        gap: 36px;
    }
    .phases-wave-svg { display: none; }
    .pw-node-wrap { position: static; transform: none; display: flex; gap: 16px; }
    .pw-ghost { position: static; font-size: 2.5rem; top: auto; left: auto; }
    .pw-label { position: static; max-width: 100%; }
    .pw-lbl-1, .pw-lbl-2, .pw-lbl-3 { display: flex; align-items: flex-start; gap: 16px; }
}



/* The single large outer card — orange translucent glass */
.phases-bento {
    width: 100%;
    max-width: 1200px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,140,40,0.25);
    box-shadow:
        0 0 0 1px rgba(255,120,0,0.1),
        0 30px 70px rgba(180,60,0,0.25),
        0 0 140px rgba(255,100,0,0.15);
    position: relative;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    z-index: 1;
}

.phases-bento::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: rgba(120,40,0,0.18);
    backdrop-filter: blur(32px) saturate(1.4);
    -webkit-backdrop-filter: blur(32px) saturate(1.4);
    z-index: -1;
    pointer-events: none;
}

/* ── Orange-tinted header band ── */
.phases-bento-header {
    padding: 44px 52px 40px;
    background: linear-gradient(135deg, rgba(100,30,0,0.55) 0%, rgba(60,15,0,0.65) 100%);
    border-bottom: 1px solid rgba(255,130,30,0.18);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phases-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,140,40,0.7);
}

.phases-bento-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

/* ── 4 sub-cards row ── */
/* ── Cards row — padded with gaps, not full-bleed columns ── */
.phases-bento-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 20px 24px 28px;
}

/* Individual sub-card — orange glass tile */
.phase-bento-card {
    position: relative;
    padding: 22px 22px 26px;
    border-radius: 16px;
    border: 1px solid rgba(255,150,50,0.18);
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    background: rgba(180,60,0,0.12);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.phase-bento-card:hover {
    background: rgba(220,80,0,0.2);
    border-color: rgba(255,160,50,0.4);
    box-shadow: 0 0 30px rgba(255,100,0,0.15);
}

/* Top row: icon LEFT, ghost number RIGHT — side by side */
.phase-bc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

/* Small filled circle icon — warm amber tinted */
.phase-bc-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,120,30,0.25);
    border: 1px solid rgba(255,160,60,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,220,160,0.95);
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

/* Huge ghost number — warm orange ghost */
.phase-bc-num {
    font-size: 5.5rem;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    line-height: 0.85;
    letter-spacing: -0.06em;
    background: linear-gradient(
        175deg,
        rgba(255,200,100,0.35) 0%,
        rgba(255,120,0,0.06) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    user-select: none;
    margin-top: -10px;
    margin-right: -6px;
    position: relative;
    z-index: 1;
}

/* Bold heading — LEFT aligned */
.phase-bc-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
    line-height: 1.3;
    position: relative;
    z-index: 2;
    text-align: left;
}

/* Muted description — LEFT aligned */
.phase-bc-body {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.38);
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: left;
}

/* Bottom-left radial glow */
.phase-bc-glow {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(35px);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.phase-bento-card:nth-child(1) .phase-bc-glow { background: radial-gradient(circle, rgba(255,140,40,0.75) 0%, transparent 70%); }
.phase-bento-card:nth-child(2) .phase-bc-glow { background: radial-gradient(circle, rgba(255,80,0,0.65) 0%, transparent 70%); }
.phase-bento-card:nth-child(3) .phase-bc-glow { background: radial-gradient(circle, rgba(255,190,60,0.65) 0%, transparent 70%); }
.phase-bento-card:nth-child(4) .phase-bc-glow { background: radial-gradient(circle, rgba(220,50,0,0.65) 0%, transparent 70%); }

.phase-bento-card:hover .phase-bc-glow { opacity: 0.9; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .phases-bento-cards { grid-template-columns: repeat(2, 1fr); }
    .phase-bc-num { font-size: 4.5rem; }
    .phases-bento-header { padding: 36px 36px 32px; }
}

@media (max-width: 540px) {
    .phases-section { padding: 40px 16px !important; }
    .phases-bento-cards { grid-template-columns: 1fr; padding: 16px; }
    .phases-bento-header { padding: 28px 24px 24px; }
    .phase-bc-num { font-size: 4rem; }
}

/*
  9. Customer Testimonials (Horizontal Slider)
*/
.testimonials-slider-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 0;
    position: relative;
    z-index: 10;
    background: transparent;
    overflow: hidden;
}

.testimonials-slider-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonials-header .section-title {
    margin-bottom: 12px; /* Pull the subtitle closer to the title for visual cohesion */
}

.testimonials-subtitle {
    opacity: 0.65;
    margin: 0;
    font-size: 14.5px;
    max-width: 520px;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.testimonials-slider-mask {
    display: flex;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    max-width: 100%;
    padding: 20px 0; /* Add top/bottom padding to allow scale and translate without cropping */
    margin: -20px 0; /* Negate the padding's vertical space so layout flow is unchanged */
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 20%, black 80%, transparent 95%);
    mask-image: linear-gradient(to left, transparent 0%, black 20%, black 80%, transparent 95%);
}

.testimonials-slider-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: x-slider 30s linear infinite;
}

.testimonials-slider-track:hover {
    animation-play-state: paused;
}

@keyframes x-slider {
    0% { transform: translateX(0%); }
    100% { transform: translateX(calc(-50% - 10px)); }
}

.testi-slide-card {
    border: 1px solid rgba(255, 255, 255, 0.12); /* Sleek, crisp translucent border */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.08); /* Subtle matte translucent glass — just enough to separate from background */
    border-radius: 18px;
    flex-shrink: 0;
    flex-grow: 0;
    width: 360px;
    min-height: 200px;
    padding: 24px;
    box-sizing: border-box;
    gap: 14px;
    backdrop-filter: blur(20px); /* Clean frosted glass blur */
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 16px 40px rgba(130, 35, 0, 0.22), /* Deep warm brand-harmonized shadow */
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.testi-slide-card:hover {
    border-color: rgba(250, 59, 0, 0.5); /* Brand warm glow on hover */
    background: rgba(255, 255, 255, 0.12); /* Slightly more visible on hover */
    transform: translateY(-6px) scale(1.02); /* Seamless premium physical lift */
    box-shadow:
        0 24px 48px rgba(130, 35, 0, 0.3), /* Deep warm brand-harmonized shadow */
        0 8px 30px rgba(250, 59, 0, 0.2), /* Warm branding glow halo */
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}


/* Card header: avatar + name row */
.testi-lc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    text-align: left;
}

.testi-lc-header img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(250, 59, 0, 0.45);
    box-shadow: 0 0 10px rgba(250, 59, 0, 0.2);
    flex-shrink: 0;
}

.testi-lc-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
    text-align: left;
}

.testi-slide-name {
    font-size: 19px;
    font-weight: 700;
    text-align: left;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: -0.015em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); /* Soft shadow for text crispness */
}

.testi-slide-role {
    color: #ffa24d; /* High-contrast golden orange brand tint for maximum visibility */
    font-size: 11.5px;
    text-align: left;
    font-weight: 700; /* Bolder weighting for perfect legibility */
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); /* Soft backing shadow so it never washes out */
}

/* Review text quote */
.testi-slide-text {
    padding: 0;
    font-size: 7.2px; /* −20% from 9px */
    font-weight: 400;
    font-style: italic; /* denotes elegant quote */
    color: rgba(255, 255, 255, 0.88); /* Beautifully clean soft white for high legibility against frosted glass */
    line-height: 1.55;
    text-align: left;
    margin: 0;
    flex: 1;
    text-wrap: pretty; /* denoises and balances text wraps */
}

/* Star rating row */
.testi-lc-stars {
    padding: 0;
    font-size: 13px;
    letter-spacing: 2px;
    color: #ff9f1c; /* high-end premium orange-gold */
    text-shadow: 0 0 10px rgba(255, 159, 28, 0.45);
    text-align: left;
}

/* ── Testimonial Responsive ── */
@media (max-width: 768px) {
    .testimonials-slider-section {
        padding: 48px 0;
        /* FIX: Removed background override that was adding a dark gradient on mobile
           which changed the perceived background color to reddish/pink */
        background: transparent;
    }
    .testimonials-slider-container { padding: 0 20px; }
    .testimonials-header {
        margin-bottom: 20px;
    }
    .testimonials-header .section-title {
        margin-bottom: 8px; /* Compact title-subtitle spacing on mobile */
    }
    .testimonials-subtitle {
        font-size: 13px;
        margin: 0;
    }
    .testi-slide-card {
        width: 260px;
        min-height: 130px;
        border-radius: 14px;
        padding: 16px;
        gap: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        /* PERF: Disable heavy backdrop-filter on mobile cards */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .testi-slide-card:hover {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 0 12px 32px rgba(250, 59, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    .testi-lc-header {
        gap: 10px;
    }
    .testi-lc-header img {
        width: 42px;
        height: 42px;
        border-width: 1.5px;
    }
    .testi-slide-name {
        font-size: 15.5px;
        font-weight: 700;
        letter-spacing: -0.015em;
    }
    .testi-slide-role {
        font-size: 9.5px;
        font-weight: 700;
        letter-spacing: 1px;
    }
    .testi-slide-text {
        font-size: 6.5px; /* −20% from 8px for mobile */
        line-height: 1.4;
        font-style: normal; /* Clean premium upright style */
        color: rgba(255, 255, 255, 0.85);
        text-wrap: pretty;
    }
    .testi-lc-stars {
        font-size: 10px;
        letter-spacing: 2px;
    }
}

@media (max-width: 400px) {
    .testi-slide-card {
        width: 230px;
        min-height: 110px;
        padding: 12px;
        gap: 10px;
    }
    .testi-lc-header img {
        width: 36px;
        height: 36px;
    }
    .testi-slide-name {
        font-size: 14px;
    }
    .testi-slide-role {
        font-size: 9px;
    }
    .testi-slide-text {
        font-size: 6px; /* −20% from 7.5px for extra-small */
        line-height: 1.35;
    }
}

.testi-glass-filter {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    display: block !important;
    pointer-events: none !important;
    opacity: 0 !important;
    overflow: hidden !important;
    z-index: -100 !important;
}

.testi-slide-divider {
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.testi-slide-company {
    max-width: 100%;
    align-self: center;
    padding-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invert-img {
    height: 40px;
    width: auto;
    max-width: 112px;
    padding: 0 8px;
    flex: none;
    filter: invert(1) brightness(100);
}

/*
  10. Products Section (Bento Grid)
*/
.products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

/* Service wrapper and header styling */
.service-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.service-title-above {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
}

.theme-coral .service-title-above {
    background: linear-gradient(135deg, #ffffff 30%, #ff7a00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.theme-blue .service-title-above {
    background: linear-gradient(135deg, #ffffff 30%, #ffb800 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.theme-emerald .service-title-above {
    background: linear-gradient(135deg, #ffffff 30%, #ff9f00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3D Flip Folder Card Styles */
.folder-card {
    perspective: 1500px;
    width: 100%;
    position: relative;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.55));
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stable hover safety net to prevent mouse-out glitches during 3D movements */
.folder-card::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -80px;
    background: transparent;
    z-index: 2; /* Sits behind active sheets but catches hover gaps and keeps clicks working */
    pointer-events: none; /* Inactive by default */
    transition: all 0.2s ease;
}

.folder-card:hover::before,
.folder-card.active-touch::before {
    pointer-events: auto; /* Active to catch cursor during motion */
}

.folder-card:hover,
.folder-card.active-touch {
    transform: translateY(-8px);
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.7));
}

.folder-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 1. Static Back Cover Pocket Wall - forming the sandwich pocket */
.folder-card-inner::before {
    content: '';
    position: absolute;
    top: 36px; /* Align with folder body */
    left: 0;
    width: 100%;
    height: 280px;
    background: #18151b;
    box-shadow: 0px 0px 16px 16px rgba(79, 73, 85, 0.25) inset;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0 20px 20px 20px;
    z-index: 0; /* Behind all active layers */
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: block !important; /* Display pocket wall for the premium look */
}

/* 2. Front Cover pocket container (swinging pocket door) */
.folder-card .folder-card-front {
    z-index: 3; /* Placed in front of document sheets when closed */
    position: relative;
    transform-origin: bottom center;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    transform: translateZ(0); /* Force GPU acceleration */
    filter: none;
    opacity: 1;
}

/* On hover, the front cover swings forward to open the pocket */
.folder-card:hover .folder-card-front,
.folder-card.active-touch .folder-card-front {
    transform: perspective(1000px) rotateX(-15deg);
    z-index: 3; /* Keep in front of tucked-in papers until they slide up */
}

/* Hide tag pills on desktop cover; they will be shown inside on hover instead */
@media (min-width: 769px) {
    .folder-card-front .folder-service-tags {
        display: none !important;
    }
    .folder-tab::after {
        display: none !important; /* Hide indicator text inside the tab */
    }
    .folder-tab::before {
        left: 50% !important;
        transform: translate(-50%, -50%) !important; /* Centered glowing LED dot */
    }
    .services-grid {
        margin-bottom: 120px !important; /* Spacing buffer below grid to accommodate fanned papers */
    }

    /* Cover content now remains static on the tilting front flap */
    .folder-card:hover .folder-card-front .folder-body,
    .folder-card.active-touch .folder-card-front .folder-body {
        overflow: visible !important;
    }
}

/* 3. Sliding and Fanning Document Papers (Pocket contents) */
.folder-paper {
    position: absolute;
    width: 155px;
    height: 235px;
    top: 20px;
    left: calc(50% - 77.5px);
    border-radius: 12px;
    background: #1c1921; /* Beautiful dark slate charcoal glass */
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
    padding: 16px 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0; /* hidden inside pocket by default, top peeks out */
    z-index: 1;
    will-change: transform, opacity;
    transition: transform 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                opacity 0.65s ease,
                box-shadow 0.65s ease;
}

/* Set glowing theme borders and glow variable */
.border-coral {
    border: 1.5px solid rgba(255, 122, 0, 0.45);
    --glow-color: rgba(255, 122, 0, 0.25);
}
.border-blue {
    border: 1.5px solid rgba(255, 184, 0, 0.45);
    --glow-color: rgba(255, 184, 0, 0.25);
}
.border-emerald {
    border: 1.5px solid rgba(255, 159, 0, 0.45);
    --glow-color: rgba(255, 159, 0, 0.25);
}

/* Accent header strip inside papers */
.paper-header-accent {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    margin: -6px auto 6px auto;
    opacity: 0.95;
}

/* Paper content layout */
.paper-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    justify-content: flex-start;
    gap: 8px;
}

.paper-content .service-icon-container {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.paper-content .service-icon-container svg path {
    fill: #ffffff !important; /* Force all icon paths to solid white for perfect readability */
}

.paper-content .service-tag-icon {
    width: 18px;
    height: 18px;
}

.paper-content .service-name {
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff !important; /* Premium bright white */
    margin: 0;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.paper-content .service-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 10.5px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.72) !important; /* Soft white/silver */
    margin: 0;
    line-height: 1.35;
}

/* Glowing solid backgrounds for paper icons and accent bars */
.bg-coral-glow {
    background: #ff7a00 !important;
    box-shadow: 0 0 10px rgba(255, 122, 0, 0.4) !important;
}
.bg-blue-glow {
    background: #ffb800 !important;
    box-shadow: 0 0 10px rgba(255, 184, 0, 0.4) !important;
}
.bg-emerald-glow {
    background: #ff9f00 !important;
    box-shadow: 0 0 10px rgba(255, 159, 0, 0.4) !important;
}

/* --- Initial Closed Tucked States (Behind front cover, top peeking out) --- */
.folder-paper.paper-left {
    transform: translate(-20px, 15px) rotate(-3deg) scale(0.92);
    opacity: 0.85;
    z-index: 1;
}

.folder-paper.paper-middle {
    transform: translate(0px, 8px) rotate(0deg) scale(0.95);
    opacity: 0.9;
    z-index: 2; /* Slightly in front of left/right tucked papers */
}

.folder-paper.paper-right {
    transform: translate(20px, 12px) rotate(3deg) scale(0.92);
    opacity: 0.85;
    z-index: 1;
}

/* --- Hover / Active Touch Fanned States (Slide up & fan out above the cover) --- */
.folder-card:hover .folder-paper.paper-left,
.folder-card.active-touch .folder-paper.paper-left {
    transform: translate(-120px, -75px) rotate(-8deg) scale(1.01);
    opacity: 1;
    z-index: 10; /* Float high in front of cover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.45), 0 0 15px var(--glow-color);
}

.folder-card:hover .folder-paper.paper-middle,
.folder-card.active-touch .folder-paper.paper-middle {
    transform: translate(0px, -100px) rotate(0deg) scale(1.04);
    opacity: 1;
    z-index: 11; /* Center card floats highest, overlapping left/right */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-color);
}

.folder-card:hover .folder-paper.paper-right,
.folder-card.active-touch .folder-paper.paper-right {
    transform: translate(120px, -80px) rotate(8deg) scale(1.01);
    opacity: 1;
    z-index: 10; /* Float high in front of cover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.45), 0 0 15px var(--glow-color);
}

/* ---------------------------------------------------------------- */
/* Redesigned Services HUD Front Cover Styles */
/* ---------------------------------------------------------------- */

.folder-card-front .folder-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.folder-header {
    margin-top: auto;
    margin-bottom: 12px;
}

.folder-category-code {
    font-family: 'Space Mono', monospace, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.folder-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    z-index: 3;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Space Mono', monospace, sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 99px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    cursor: default;
}

.service-tag-icon {
    width: 12px;
    height: 12px;
    stroke-width: 2.2;
    flex-shrink: 0;
}

/* Floating animation for tags to add high-fidelity visual interest */
@keyframes tagFloatOdd {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes tagFloatEven {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(3px) rotate(-0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.service-tag:nth-child(odd) {
    animation: tagFloatOdd 4s infinite ease-in-out;
}

.service-tag:nth-child(even) {
    animation: tagFloatEven 4.5s infinite ease-in-out;
}

/* Specific tag themes matching active color schemes */
.tag-coral {
    background: rgba(255, 122, 0, 0.08);
    border: 1px solid rgba(255, 122, 0, 0.25);
    color: #ffb84d;
}
.folder-container:hover .tag-coral {
    background: rgba(255, 122, 0, 0.16);
    border-color: rgba(255, 122, 0, 0.45);
    box-shadow: 0 0 15px rgba(255, 122, 0, 0.15);
}

.tag-blue {
    background: rgba(255, 184, 0, 0.08);
    border: 1px solid rgba(255, 184, 0, 0.25);
    color: #ffe57f;
}
.folder-container:hover .tag-blue {
    background: rgba(255, 184, 0, 0.16);
    border-color: rgba(255, 184, 0, 0.45);
    box-shadow: 0 0 15px rgba(255, 184, 0, 0.15);
}

.tag-emerald {
    background: rgba(255, 159, 0, 0.08);
    border: 1px solid rgba(255, 159, 0, 0.25);
    color: #ffd180;
}
.folder-container:hover .tag-emerald {
    background: rgba(255, 159, 0, 0.16);
    border-color: rgba(255, 159, 0, 0.45);
    box-shadow: 0 0 15px rgba(255, 159, 0, 0.15);
}

.folder-footer {
    display: none !important;
}

.tap-indicator-hud {
    font-family: 'Space Mono', monospace, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    animation: pulseDotGlow 1.8s infinite ease-in-out;
}

.coral-dot { background-color: #ff7a00; box-shadow: 0 0 8px #ff7a00; }
.blue-dot { background-color: #ffb800; box-shadow: 0 0 8px #ffb800; }
.emerald-dot { background-color: #ff9f00; box-shadow: 0 0 8px #ff9f00; }

@keyframes pulseDotGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}

.folder-container:hover .tap-indicator-hud {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Theme Coral (Synthetic Media) */
.theme-coral .folder-tab::before {
    background: #ff7a00;
    box-shadow: 0 1px 6px rgba(255, 122, 0, 0.6);
}
.theme-coral .folder-tab::after {
    content: "01 / MEDIA";
    color: #ff9f4d;
}

/* Theme Blue (AI Automation) */
.theme-blue .folder-tab::before {
    background: #ffb800;
    box-shadow: 0 1px 6px rgba(255, 184, 0, 0.6);
}
.theme-blue .folder-tab::after {
    content: "02 / AUTO";
    color: #ffc966;
}

/* Theme Emerald (Chatbot Services) */
.theme-emerald .folder-tab::before {
    background: #ff9f00;
    box-shadow: 0 1px 6px rgba(255, 159, 0, 0.6);
}
.theme-emerald .folder-tab::after {
    content: "03 / CHAT";
    color: #ffb333;
}

.folder-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.folder-container:not(.folder-card-front):hover {
    transform: translateY(-10px);
}

.folder-tab {
    width: 125px;
    height: 36px;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    margin-bottom: -1px;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.folder-tab::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 14px;
    border-radius: 3px;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
    transition: all 0.3s ease;
}

.folder-tab::after {
    font-family: 'Space Mono', monospace, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-left: 12px;
    display: inline-block;
    transition: all 0.3s ease;
}

.folder-body {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0 20px 20px 20px;
    position: relative;
    z-index: 2;
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    overflow: hidden;
}

.folder-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.folder-container:hover .folder-bg-img {
    transform: scale(1.05); /* subtle zoom on hover */
}

.folder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.folder-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle internal glow */
.folder-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
    border-radius: inherit;
}

.folder-badge {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 25px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    align-self: flex-start;
}

.folder-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: white;
    line-height: 1.15;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 10%, #ffb84d 60%, #FA3B00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.tap-indicator {
    display: none;
}

@keyframes pulseGlow {
    0% { opacity: 0.45; }
    50% { opacity: 1; text-shadow: 0 0 8px currentColor; }
    100% { opacity: 0.45; }
}

/* Mobile: compact square folders in 2+1 layout */
@media (max-width: 768px) {
    .products-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        margin-top: 30px;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 16px;
    }
    .products-grid .folder-container:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: calc(50% - 7px);
    }
    .folder-container {
        filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    }
    .folder-tab {
        width: 70px;
        height: 22px;
        border-radius: 10px 10px 0 0;
    }
    .folder-body {
        height: auto;
        aspect-ratio: 1;
        border-radius: 0 14px 14px 14px;
        padding: 14px;
        align-items: center;
        text-align: center;
    }
    .folder-badge {
        padding: 3px 10px;
        font-size: 8px;
        margin-bottom: 8px;
        align-self: center;
    }
    .folder-title {
        font-size: 14px;
        letter-spacing: -0.5px;
        line-height: 1.2;
    }
    
    .folder-paper {
        display: none !important;
    }

    /* Service Folder specific overrides to ensure perfect mobile readability */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        max-width: 360px !important;
        margin: 40px auto 0 auto !important;
    }

    .service-title-above {
        font-size: 1.5rem !important; /* Scaled down beautifully for mobile screens */
        margin-bottom: 16px !important;
    }

    .services-grid .folder-card {
        filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35)) !important;
        height: 278px !important; /* Stable static height */
        perspective: 1000px !important;
        position: relative !important;
    }

    .services-grid .folder-card-inner {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        transform-style: preserve-3d !important;
    }

    .services-grid .folder-card-inner::before {
        display: none !important; /* Hide 3D static back wall on mobile for stability */
    }

    .services-grid .folder-card-front {
        z-index: 3 !important;
        height: 278px !important;
        position: relative !important;
        transform: none !important; /* Keep mobile covers completely flat and static */
        opacity: 1 !important;
        pointer-events: auto !important;
    }



    .services-grid .folder-card-front .folder-content {
        display: flex !important; /* Always display pointers (tags) on mobile */
        opacity: 1 !important;
    }

    /* Disable hover/touch animations on mobile to keep them completely flat & static */
    .services-grid .folder-card:hover,
    .services-grid .folder-card.active-touch {
        height: 278px !important;
        transform: none !important;
    }

    .services-grid .folder-card:hover .folder-card-front,
    .services-grid .folder-card.active-touch .folder-card-front {
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Pulse touch indicator styles */
    .services-grid .tap-indicator {
        display: block !important;
        font-family: 'Space Mono', monospace, sans-serif;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 1.5px;
        margin-top: 10px;
        animation: pulseGlow 2s infinite ease-in-out;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    /* Fade out the tap indicator when expanded */
    .services-grid .folder-card:hover .tap-indicator,
    .services-grid .folder-card.active-touch .tap-indicator {
        opacity: 0 !important;
        transform: scale(0.9);
        pointer-events: none;
    }

    .theme-coral .tap-indicator {
        color: #ff9966;
    }
    .theme-blue .tap-indicator {
        color: #66b2ff;
    }
    .theme-emerald .tap-indicator {
        color: #66ffcc;
    }

    /* Specific element resizes for mobile */
    .services-grid .folder-tab {
        width: 100px !important;
        height: 28px !important;
        border-radius: 12px 12px 0 0 !important;
    }
    .services-grid .folder-tab::before {
        left: 10px !important;
        width: 3px !important;
        height: 10px !important;
    }
    .services-grid .folder-tab::after {
        font-size: 8.5px !important;
        margin-left: 8px !important;
    }

    .services-grid .folder-body {
        height: 250px !important;
        border-radius: 0 16px 16px 16px !important;
        padding: 20px !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .services-grid .folder-title {
        font-size: 20px !important;
        letter-spacing: -0.5px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    .services-grid .folder-service-tags {
        margin-top: 10px !important;
        gap: 6px !important;
    }

    .services-grid .service-tag {
        font-size: 9px !important;
        padding: 4px 8px !important;
        gap: 4px !important;
    }

    .services-grid .service-tag-icon {
        width: 10px !important;
        height: 10px !important;
    }

    .services-grid .folder-header-back {
        margin-bottom: 8px !important;
    }

    .services-grid .folder-tagline {
        font-size: 9.5px !important;
    }

    .services-grid .folder-service-details-grid {
        gap: 6px !important;
        margin-top: 2px !important;
    }

    .services-grid .service-detail-item {
        padding: 6px 10px !important;
        gap: 10px !important;
        border-radius: 8px !important;
    }

    .services-grid .service-icon-container {
        width: 24px !important;
        height: 24px !important;
        border-radius: 6px !important;
    }

    .services-grid .service-icon-container svg {
        width: 12px !important;
        height: 12px !important;
    }

    .services-grid .service-name {
        font-size: 11px !important;
    }

    .services-grid .service-desc {
        font-size: 9px !important;
        line-height: 1.3 !important;
    }
}

/*
  11. FAQ / Knowledge Base (Accordion v2)
*/
.faq-accordion-v2 {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item-v2 {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    z-index: 1;
}

.faq-item-v2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
    pointer-events: none;
    transition: background 0.4s ease;
}

.faq-item-v2:last-child {
    margin-bottom: 0;
}

.faq-item-v2.active {
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.02) translate3d(0, 0, 0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-item-v2.active::before {
    background: rgba(255, 255, 255, 0.08);
}

.faq-trigger-v2 {
    padding: 24px 32px 24px 24px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease, padding 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .faq-trigger-v2 {
        padding-left: 56px;
        padding-right: 48px;
    }
}

.faq-trigger-v2::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2.5px solid rgba(255, 255, 255, 0.45);
    border-bottom: 2.5px solid rgba(255, 255, 255, 0.45);
    transform: rotate(45deg);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item-v2.active .faq-trigger-v2::after {
    transform: rotate(-135deg);
    border-color: #FA3B00; /* Glow active brand orange! */
}

.faq-item-v2.active .faq-trigger-v2,
.faq-trigger-v2:hover {
    color: #ffffff;
}

.faq-trigger-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.faq-id {
    font-size: 0.75rem;
    margin: 0;
    font-family: monospace;
    margin-top: 8px;
}

.faq-title {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 500;
    transition: transform 0.3s ease;
    text-shadow: none;
}

@media (min-width: 768px) {
    .faq-title {
        font-size: 2.5rem;
    }
}

.faq-content-v2 {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 0 24px 0 24px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: none;
    opacity: 0;
}

@media (min-width: 768px) {
    .faq-content-v2 {
        padding: 0 80px 0 80px;
    }
}

.faq-item-v2.active .faq-content-v2 {
    max-height: 500px;
    padding-bottom: 30px;
    opacity: 1;
}

.faq-content-v2 p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/*
  12. Contact Section (Bento Grid)
*/
.contact-bento-section {
    padding: 60px 5%;
    width: 100%;
    max-width: 1150px; /* Increased to allow wider left column */
    margin: 0 auto;
    box-sizing: border-box;
}

.contact-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 900px) {
    .contact-bento-grid {
        /* Left column takes remaining space, right column stays fixed to its previous size */
        grid-template-columns: 1fr 320px;
    }
}

.bento-col-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%; /* Pass grid height down to children */
}

.bento-box {
    border-radius: 24px;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Glass Form Box */
.glass-form {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    flex-shrink: 0; /* Prevent the form from being compressed */
    height: fit-content; /* Force it to hug its contents and not stretch */
    flex-grow: 0;
    position: relative;
    z-index: 1;
}

.glass-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
    pointer-events: none;
}

.bento-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.company-tag {
    font-size: 11px;
    font-weight: 300;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-title {
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -1px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 20px;
    width: 16px;
    height: 16px;
    opacity: 0.5;
    stroke-width: 1.5;
}

.input-wrapper input, .input-wrapper select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 16px 20px 16px 45px;
    color: white;
    font-size: 15px;
    font-weight: 400;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 200;
}

.input-wrapper select option {
    background: #222;
    color: white;
}

.input-wrapper input:focus, .input-wrapper select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Fix WebKit autofill white background */
.input-wrapper input:-webkit-autofill,
.input-wrapper input:-webkit-autofill:hover, 
.input-wrapper input:-webkit-autofill:focus, 
.input-wrapper select:-webkit-autofill,
.input-wrapper select:-webkit-autofill:hover,
.input-wrapper select:-webkit-autofill:focus {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: white !important;
}

.dropdown-icon {
    position: absolute;
    right: 20px;
    width: 16px;
    height: 16px;
    opacity: 0.5;
    stroke-width: 1.5;
    pointer-events: none;
}

.form-footer {
    display: flex;
    flex-direction: column;
    margin-top: 0; /* Removed top margin to close the gap */
    gap: 6px;
}

.contact-disclaimer {
    font-size: 9px !important;
    opacity: 0.5;
    line-height: 1.2;
    margin: 0 0 0 10px;
    text-align: left;
    max-width: 80%;
    font-weight: 300;
}

.whatsapp-btn {
    width: 100%;
    background: #111;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px; /* Pull it slightly up if needed, but 0 is good */
}

.whatsapp-btn:hover {
    background: #000;
    transform: translateY(-2px);
}

.btn-arrow {
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-arrow svg {
    width: 12px;
    height: 12px;
}

/* Video Box */
.video-box {
    background: #000;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1; /* Stretch to take remaining column height */
    min-height: 220px; /* Taller minimum to show the hand properly */
    flex-shrink: 0;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.bento-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.8; /* Slight opacity so text stands out better */
}

.video-overlay-content {
    position: relative;
    z-index: 1;
}

.black-title {
    font-size: 28px;
    font-weight: 500;
    margin: 0 0 4px 0;
    letter-spacing: -0.5px;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.black-subtitle {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.9;
    margin: 0;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.discover-text {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}
.discover-text:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Tall Info Box */
.tall-info {
    background: #fdfbf9;
    color: #111;
    height: 100%;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.info-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.dynamic-date {
    font-size: 48px;
    font-weight: 300;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -2px;
    color: #111;
    text-align: left;
}

.status-tag {
    display: block;
    font-size: 10px;
    text-align: right;
    line-height: 1.4;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-center {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto 0;
    padding: 40px 0;
    z-index: 1;
}

.dynamic-location {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    text-align: left;
}

.dynamic-location p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: #333;
}

.dynamic-location #bento-city {
    font-size: 15px;
    font-weight: 400;
    color: rgba(0,0,0,0.6);
}

.weather-graphic {
    position: absolute;
    right: -160px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    height: 320px;
    z-index: -1;
}

.celestial-body {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.celestial-body.sun {
    position: relative;
    overflow: hidden;
    /* Pure orange gradient */
    background: linear-gradient(135deg, #ff7e00, #ff4500);
    box-shadow: 0 0 60px rgba(255, 69, 0, 0.4);
}

.celestial-body.sun::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.45; /* Shader intensity */
    mix-blend-mode: overlay;
    /* SVG Noise / Grain overlay mimicking the React component's grain */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.76' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.celestial-body.moon {
    position: relative;
    overflow: hidden;
    /* Black/Dark gradient for night mode */
    background: linear-gradient(135deg, #222222, #000000);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.4);
}

.celestial-body.moon::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.6; /* Slightly higher opacity for dark mode grain */
    mix-blend-mode: overlay;
    /* SVG Noise / Grain overlay */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.76' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.info-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 1;
}

.bottom-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.bottom-logo svg {
    width: 24px;
    height: 24px;
}

.bottom-logo span {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.8;
}

.linkedin-btn {
    background: #111;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    padding: 8px 14px 8px 16px;
    font-size: 11px;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.linkedin-btn:hover {
    background: #000;
    transform: translateY(-2px);
}

@media (max-width: 540px) {
    .tall-info {
        min-height: 380px;
    }
    .dynamic-date {
        font-size: 36px;
    }
    .weather-graphic {
        width: 240px;
        height: 240px;
        right: -120px;
    }
    .dynamic-location p {
        font-size: 14px;
    }
    .dynamic-location #bento-city {
        font-size: 13px;
    }
}

/*
  12.5 Trusted By & Sparkles
*/
.trusted-sparkles-section {
    width: 100%;
    overflow: hidden;
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: transparent;
    z-index: 2; /* Ensure the brand section sits cleanly on top of the footer overlap to avoid visual seams */
}

.trusted-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.trusted-header {
    text-align: center;
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 300;
}

.trusted-highlight {
    color: var(--primary); /* Brand Orange */
    font-weight: 500;
}

.trusted-white {
    color: white;
}

/* Infinite Logo Marquee */
.trusted-logos-wrapper {
    position: relative;
    width: 100%;
    height: 100px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

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

.logo-item {
    width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.logo-item:hover {
    color: var(--primary);
}

@keyframes scroll-x {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 30px)); }
}

/* Sparkles Area */
.sparkles-area {
    position: relative;
    width: 100%;
    height: 200px;
    margin-top: -100px;
    overflow: hidden;
    -webkit-mask-image: radial-gradient(50% 50%, white, transparent);
    mask-image: radial-gradient(50% 50%, white, transparent);
    z-index: 0;
}

.sparkles-glow-mask {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at bottom center, rgba(250, 59, 0, 0.4), transparent 70%); /* Brand orange */
}

.sparkles-inner-circle {
    display: none;
}

#sparkles-canvas {
    display: none !important; /* Hide and completely deactivate sparkles/bubbles canvas as requested */
    position: absolute;
    inset: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    -webkit-mask-image: radial-gradient(50% 50%, white, transparent 85%);
    mask-image: radial-gradient(50% 50%, white, transparent 85%);
    pointer-events: none;
}

/* --- Sundown Footer Styles --- */
.sundown-footer {
    position: relative;
    background: linear-gradient(to bottom, transparent 0%, #FA3B00 160px, #FA3B00 75%, #000 95%, #000 100%);
    color: #EFEAE3; /* Signature Off-White */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: calc(4vw + 240px) 3vw 1.5vw 3vw;
    min-height: 50vh;
    z-index: 1;
    width: 100%;
    align-self: stretch;
    box-sizing: border-box;
    margin-top: -160px;
    cursor: default;
}

/* Explicit pointer cursors for interactive footer options */
.sundown-footer a,
.sundown-footer button {
    cursor: pointer !important;
}

/* The properly shaped Pitch-Black Blurred 'Hill' */
.sundown-footer::before {
    content: '';
    position: absolute;
    bottom: -35%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background-color: #000; 
    filter: blur(8vw);
    border-radius: 50% 50% 0 0;
    z-index: -1;
    pointer-events: none;
}

/* Top Section: Reorganized Navigation & Actions Grid */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    gap: 40px;
    width: 100%;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col-left {
    flex: 1;
    max-width: 320px;
    gap: 40px;
    align-items: flex-start;
}


.footer-col-right {
    flex: 1;
    max-width: 240px;
    align-items: center;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.footer-nav a {
    color: #EFEAE3;
    text-decoration: none;
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    display: inline-block;
}

/* Anti-gravity lift effect on hover */
.footer-nav a:hover {
    transform: translateY(-8px);
    opacity: 0.9;
}


/* Middle Section: Giant Typography */
.footer-middle {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-grow: 1;
    padding-top: 4vw;
    padding-bottom: 0px;
    position: relative;
    z-index: 2;
}

.footer-middle h1,
.footer-middle .footer-brand-name {
    font-size: 15.5vw; 
    font-weight: 600;
    margin: 0;
    line-height: 0.75;
    letter-spacing: -0.05em; 
    color: #EFEAE3;
    user-select: none;
    white-space: nowrap; 
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Bottom Section: Links & Copyright */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(239, 234, 227, 0.2);
    font-size: 0.85rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
    width: 100%;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom a {
    color: #EFEAE3;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-block;
}

.footer-bottom a:hover {
    transform: translateY(-4px); /* Anti-gravity lift */
    opacity: 0.8;
}

.location {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .sundown-footer {
        min-height: 40vh;
        padding-top: calc(4vw + 240px);
    }
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding: 0 24px 80px 24px;
        box-sizing: border-box;
        position: relative;
    }
    .footer-col {
        width: auto;
        gap: 20px;
    }
    .footer-col-left {
        align-items: flex-start;
        text-align: left;
    }
    .footer-col-right {
        align-items: flex-end;
        text-align: right;
    }
    .footer-nav {
        align-items: flex-start;
        gap: 8px;
    }
    .footer-nav a {
        font-size: 1.5rem;
    }
    .bf-col-ctas {
        max-width: 178px;
        margin: 0;
        align-items: flex-end;
        gap: 8px;
    }
    .footer-col-right .bf-socials-row {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 10px;
        margin: 0;
        z-index: 5;
    }
    .footer-bottom {
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: center;
        text-align: center;
        padding-top: 25px;
    }
    .footer-bottom-links {
        display: flex;
        gap: 20px;
        justify-content: center;
    }
    .location {
        justify-content: center;
    }
    .footer-middle h1,
    .footer-middle .footer-brand-name {
        font-size: 16vw; 
    }
    .sundown-footer::before {
        bottom: -20%;
        width: 200%;
    }
}

/*
  14. Chatbot Interface (Direct Chat Widget)
*/
/* Cartoonish Cloud Speech Bubble Notification */
.chatbot-cloud-bubble {
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: 240px;
    padding: 16px 20px 14px 20px;
    background: #ffffff;
    border: none;
    border-radius: 18px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.13),
        0 2px 8px rgba(250, 59, 0, 0.1),
        0 0 0 1px rgba(0,0,0,0.06);
    z-index: 1000001; /* High z-index to sit on top of the floating header (99999) and hanging media player */
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.7) translateY(16px);
    transform-origin: bottom right;
    transition: 
        opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), 
        visibility 0.35s, 
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.2s ease;
}

/* Clean modern speech bubble tail */
.chatbot-cloud-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    box-shadow: 2px 2px 4px rgba(0,0,0,0.06);
}

.chatbot-cloud-bubble.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.chatbot-cloud-text {
    font-family: 'Inter', 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #111111;
    font-weight: 500;
    text-shadow: none;
    letter-spacing: -0.1px;
    padding-right: 18px;
}

.chatbot-cloud-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #f5f5f5;
    border: none;
    color: #666666;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-cloud-close:hover {
    color: #FA3B00;
    background: rgba(250, 59, 0, 0.1);
    transform: scale(1.1);
}

/* Subtle lift on hover */
.chatbot-cloud-bubble:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 
        0 12px 36px rgba(0, 0, 0, 0.16),
        0 4px 12px rgba(250, 59, 0, 0.12),
        0 0 0 1px rgba(0,0,0,0.06);
}

@keyframes fab-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(250, 59, 0, 0.45), 0 8px 28px rgba(250, 59, 0, 0.35); }
    60%  { box-shadow: 0 0 0 10px rgba(250, 59, 0, 0), 0 8px 28px rgba(250, 59, 0, 0.35); }
    100% { box-shadow: 0 0 0 0 rgba(250, 59, 0, 0), 0 8px 28px rgba(250, 59, 0, 0.35); }
}

.chatbot-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #FF5500 0%, #FA3B00 60%, #cc2800 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 
        0 8px 28px rgba(250, 59, 0, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    cursor: pointer;
    z-index: 1000001; /* High z-index to sit on top of the floating header (99999) and hanging media player */
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity, visibility;
    animation: fab-pulse 2.8s ease-out infinite;
}

.chatbot-fab:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #FF6820 0%, #FA3B00 60%, #e02e00 100%);
    box-shadow: 
        0 14px 36px rgba(250, 59, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: none;
}

.chatbot-fab.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0) rotate(90deg);
    pointer-events: none;
    animation: none;
}

.chatbot-window {
    position: fixed;
    bottom: 30px; /* Aligns exactly with FAB resting point for ideal morphing */
    right: 30px;
    width: 380px; /* Comfortably wider */
    height: 580px; /* Elongated for premium Google-like reading height */
    border: 1.5px solid rgba(250, 59, 0, 0.22);
    border-radius: 50%; /* Start perfectly circular like the FAB for clean morphing */
    padding: 0;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8), 0 0 50px rgba(250, 59, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 1000002; /* Extremely high z-index to sit on top of the welcome bubble (1000001) and dynamic player */
    font-family: 'Inter', sans-serif;
    color: white;
    
    /* Morphing starting state - centered exactly at the FAB coordinates */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.08) translate3d(80px, 80px, 0);
    transform-origin: bottom right;
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity, visibility, border-radius;
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translate3d(0, 0, 0);
    border-radius: 28px; /* Smoothly transitions to Material 3 rounded rectangular window */
}

/* Chat container and layout */
.chatbot-chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(165deg, rgba(28, 14, 6, 0.94) 0%, rgba(10, 10, 14, 0.98) 60%, rgba(32, 16, 6, 0.96) 100%); /* Deep obsidian with premium warm amber/orange undertones */
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border-radius: inherit; /* Inherits the dynamic border radius for morphing animation */
    overflow: hidden;
}

/* Header style - Sleek deep slate base (Kohaku Bot Style) */
.chatbot-chat-header {
    background: rgba(20, 20, 25, 0.45); /* Highly translucent top glass boundary */
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(250, 59, 0, 0.12); /* Subtle warm tinted separator line */
    border-radius: 24px 24px 0 0;
}

/* Circular back arrow button */
.chatbot-back-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 40px; /* increased from 32px */
    height: 40px; /* increased from 32px */
    border-radius: 50%;
    color: #a0a3b1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chatbot-back-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: scale(1.05);
}

.chatbot-back-btn svg {
    width: 20px; /* increased from 16px */
    height: 20px; /* increased from 16px */
    margin-right: 1px; /* Align arrow chemically */
}

/* Central branding */
.header-brand-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.1px;
}

.header-status {
    font-size: 10.5px;
    color: #00b894; /* Premium bright green */
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    font-weight: 600;
}

.status-dot-pulse {
    width: 6px;
    height: 6px;
    background-color: #00b894;
    border-radius: 50%;
    display: inline-block;
    animation: status-pulse 1.8s infinite ease-in-out;
}

@keyframes status-pulse {
    0%, 100% { transform: scale(0.95); opacity: 0.6; }
    50% { transform: scale(1.25); opacity: 1; }
}

/* Circular Header Brand Avatar */
.chatbot-header-avatar {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}

.chatbot-header-avatar svg {
    width: 28px !important;
    height: 28px !important;
}

/* Messages container */
.chatbot-messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
}

/* Custom Scrollbar for Messages */
.chatbot-messages-container::-webkit-scrollbar {
    width: 5px;
}
.chatbot-messages-container::-webkit-scrollbar-track {
    background: transparent;
}
.chatbot-messages-container::-webkit-scrollbar-thumb {
    background: rgba(250, 59, 0, 0.2);
    border-radius: 3px;
}
.chatbot-messages-container::-webkit-scrollbar-thumb:hover {
    background: rgba(250, 59, 0, 0.4);
}

/* Chat Message Bubbles with Premium Bouncy Pop-Up Transition */
.chat-message {
    display: flex;
    gap: 10px;
    max-width: 90%;
    animation: bubble-fade-in 0.48s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; /* Liquid springy bounce pop-up */
}

@keyframes bubble-fade-in {
    from { 
        opacity: 0; 
        transform: scale(0.85) translate3d(0, 16px, 0); 
    }
    to { 
        opacity: 1; 
        transform: scale(1) translate3d(0, 0, 0); 
    }
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%; /* Circular avatars like Google Chat */
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 0 8px rgba(250, 59, 0, 0.05);
}

.bot .message-avatar {
    background: rgba(250, 59, 0, 0.1) !important; /* Premium warm brand glass circle */
    border: 1px solid rgba(250, 59, 0, 0.25) !important;
    box-shadow: 0 0 10px rgba(250, 59, 0, 0.15), inset 0 0 8px rgba(250, 59, 0, 0.2) !important;
}

.message-avatar svg {
    width: 15px;
    height: 15px;
}

.user .message-avatar {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}

.user .message-avatar svg {
    color: #a0a3b1;
}

.message-bubble {
    padding: 12px 16px;
    font-size: 13.5px;
    line-height: 1.5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.bot .message-bubble {
    background: #1c1c24; /* Obsidian charcoal slate bubble matching Kohaku template */
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.95);
    border-radius: 20px 20px 20px 6px; /* Highly rounded Material 3 shape */
}

.user .message-bubble {
    background: linear-gradient(135deg, #FA3B00 0%, #ff9966 100%); /* Warm brand gradient */
    border: 1px solid rgba(250, 59, 0, 0.2);
    color: #000000;
    font-weight: 600;
    border-radius: 20px 20px 6px 20px; /* Highly rounded Material 3 shape */
}

.message-time {
    font-size: 9.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 5px;
    display: block;
}

.user .message-time {
    color: rgba(0, 0, 0, 0.5);
    text-align: right;
}

/* ════════════════════════════════════════════════════════════
   Rich Interactive Brand Services Grid (Kohaku Style)
   ════════════════════════════════════════════════════════════ */
.chat-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 10px 0;
    width: 100%;
}

.chat-service-card {
    height: 130px;
    border-radius: 20px; /* Highly rounded Google Material 3 style cards */
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1.5px solid transparent;
}

.chat-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.chat-service-card.amber-glow-theme {
    background: linear-gradient(135deg, rgba(250, 59, 0, 0.28) 0%, rgba(120, 30, 0, 0.22) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(250, 59, 0, 0.35);
    box-shadow: 0 8px 24px rgba(250, 59, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.chat-service-card.amber-glow-theme:hover {
    background: linear-gradient(135deg, rgba(250, 59, 0, 0.38) 0%, rgba(150, 40, 0, 0.3) 100%);
    border-color: rgba(250, 59, 0, 0.6);
    box-shadow: 0 12px 32px rgba(250, 59, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.chat-service-card.charcoal-glass-theme {
    background: linear-gradient(135deg, rgba(25, 25, 30, 0.55) 0%, rgba(13, 13, 18, 0.75) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.chat-service-card.charcoal-glass-theme:hover {
    border-color: rgba(250, 59, 0, 0.45);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 15px rgba(250, 59, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-card-icon {
    width: 32px;
    height: 32px;
    background: rgba(250, 59, 0, 0.15);
    border: 1px solid rgba(250, 59, 0, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8c00;
    box-shadow: 0 0 10px rgba(250, 59, 0, 0.15);
}

.service-card-icon svg {
    width: 16px;
    height: 16px;
}

.charcoal-glass-theme .service-card-icon {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #a0a3b1;
    box-shadow: none;
}

.service-card-arrow {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    font-weight: 700;
}

.service-card-bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    margin: 0;
}

.service-card-desc {
    font-size: 9.5px;
    color: rgba(255,255,255,0.75);
    line-height: 1.3;
    margin: 0;
}

/* Typing animation bubble */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 6px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    opacity: 0.4;
    animation: typing-blink 1.4s infinite both;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-blink {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Quick Suggestion Tags */
.chatbot-suggestions {
    display: flex;
    gap: 8px;
    padding: 0 20px 12px;
    overflow-x: auto;
    white-space: nowrap;
}

.chatbot-suggestions::-webkit-scrollbar {
    display: none;
}

.suggestion-tag {
    background: rgba(250, 59, 0, 0.08);
    border: 1px solid rgba(250, 59, 0, 0.35);
    color: #ff9966;
    padding: 6px 14px;
    border-radius: 20px; /* Highly rounded Google-style pill tags */
    font-size: 11px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.suggestion-tag:hover {
    background: linear-gradient(135deg, #FA3B00 0%, #ff9966 100%);
    color: #000;
    border-color: transparent;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 10px rgba(250, 59, 0, 0.15);
}

/* Bottom Input Row (Google-style with Plus on Left and Mic/Send inside) */
.chatbot-input-container {
    padding: 14px 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(250, 59, 0, 0.12); /* Subtle warm tinted top separator line */
    background: rgba(13, 13, 18, 0.45); /* Highly translucent input glass base */
}

/* Circular Plus Action Button */
.input-action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #a0a3b1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.input-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: scale(1.05);
}

.input-action-btn svg {
    width: 18px;
    height: 18px;
}

/* Input pill wrapper containing input + mic */
.chatbot-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

#chatbot-chat-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px; /* Highly rounded Gemini/Google-style pill input */
    padding: 12px 18px; /* Perfectly balanced premium text padding */
    color: white;
    font-size: 13px;
    outline: none;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

#chatbot-chat-input:focus {
    border-color: rgba(250, 59, 0, 0.4);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(250, 59, 0, 0.1);
}

/* Input embedded mic button */
.input-mic-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #a0a3b1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s ease;
}

.input-mic-btn:hover {
    color: #ffffff;
}

.input-mic-btn svg {
    width: 16px;
    height: 16px;
}

#chatbot-chat-send-btn {
    background: linear-gradient(135deg, #FA3B00 0%, #ff9966 100%);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%; /* Completely circular Google Messages-style send key */
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

#chatbot-chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(250, 59, 0, 0.3);
}

#chatbot-chat-send-btn svg {
    width: 15px;
    height: 15px;
}



/* ════════════════════════════════════════════════════════════
   Infographic ZigZag Timeline Section (Brand Style)
════════════════════════════════════════════════════════════ */

.ig-brand-timeline {
    width: 100%;
    /* Transparent so it sits on top of the global orange gradient */
    background: transparent; 
    padding: 60px 0 100px;
    color: white;
    font-family: 'Inter', sans-serif;
    position: relative;
    z-index: 10;
}

.ig-timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 40px 20px 0;
}

.ig-header {
    text-align: center;
    margin-bottom: 80px;
}

.ig-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: -1px;
    color: #fff;
}

.ig-header p {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ── SVG Infographic Layout ── */
.ig-infographic {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.ig-svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Desktop timeline track path */
.ig-desktop-path-bg {
    stroke: rgba(255, 255, 255, 0.08);
}

/* Glowing active path for desktop */
.ig-desktop-path-active {
    stroke: #ffffff;
    filter: drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 12px #ff7e00);
    transition: stroke-dashoffset 0.03s linear;
}

/* ── Circles ── */
.ig-brand-circle {
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7e00, #e65c00);
    box-shadow: 0 10px 30px rgba(255, 100, 0, 0.3);
    position: absolute;
    z-index: 3;
}

.ig-circle-large { width: 180px; height: 180px; }
.ig-circle-medium { width: 140px; height: 140px; }
.ig-circle-small { width: 100px; height: 100px; }

/* ── Steps (Absolute positioned over the SVG) ── */
.ig-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.ig-step .ig-brand-circle,
.ig-step .ig-text-block {
    pointer-events: auto;
}

/* Step 1: Circle center SVG (200,150) → 25%, 20% of 800×750 */
.ig-step-1 .ig-brand-circle {
    left: 25%;
    top: 20%;
    transform: translate(-50%, -50%);
}
.ig-step-1 .ig-text-block {
    position: absolute;
    left: 43%;
    top: 16%;
}

/* Step 2: Circle center SVG (600,330) → 75%, 44% */
.ig-step-2 .ig-brand-circle {
    left: 75%;
    top: 44%;
    transform: translate(-50%, -50%);
}
.ig-step-2 .ig-text-block {
    position: absolute;
    right: 43%;
    left: auto;
    top: 39%;
}

/* Step 3: Circle center SVG (200,470) → 25%, 62.7% */
.ig-step-3 .ig-brand-circle {
    left: 25%;
    top: 62.7%;
    transform: translate(-50%, -50%);
}
.ig-step-3 .ig-text-block {
    position: absolute;
    left: 43%;
    top: 59%;
}

/* Step 4: Circle center SVG (600,610) → 75%, 81.3% */
.ig-step-4 .ig-brand-circle {
    left: 75%;
    top: 81.3%;
    transform: translate(-50%, -50%);
}
.ig-step-4 .ig-text-block {
    position: absolute;
    right: 43%;
    left: auto;
    top: 77%;
}

/* ── Text Styling ── */
.ig-text-block {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    z-index: 4;
    text-align: left;
    max-width: 48%;
    box-sizing: border-box;
}

/* ── Responsive Mobile & Tablet View (Premium Interactive Stepper Timeline) ── */
@media (max-width: 768px) {
    .ig-header {
        margin-bottom: 30px !important;
    }
    .ig-infographic {
        display: none !important;
    }
    .ig-mobile-vertical-timeline {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .ig-mobile-vertical-timeline {
        display: none !important;
    }
}

/* ── Creative Mobile Vertical Timeline Styling ── */
.ig-mobile-vertical-timeline {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1.5; /* Increased from 1.35 to 1.5 to make timeline taller and give steps breathing room */
    position: relative;
    margin: 10px auto 0; /* Reduced from 40px auto 0 to pull timeline tight to the header */
    box-sizing: border-box;
}

/* Background winding SVG */
.ig-mobile-svg {
    position: absolute;
    top: -30px; /* Pull SVG up so the path starts directly below the Y of DEPLOY */
    left: 0;
    width: 100%;
    height: calc(100% + 30px); /* Extend height to keep the bottom position constant */
    pointer-events: none;
    z-index: 1;
}

/* Base track path */
.ig-mobile-path-bg {
    display: none;
}

/* Glowing active path */
.ig-mobile-path-active {
    stroke: #ffffff;
    filter: drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 12px #ff7e00);
    stroke-dasharray: 1160;
    stroke-dashoffset: 1160; /* fully hidden initially, handled by JS */
    transition: stroke-dashoffset 0.03s linear;
}

/* Step container (Groups circle and text, absolute positioned) */
.ig-mobile-step {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
    box-sizing: border-box;
    opacity: 0; /* Hidden initially, faded in dynamically by JS on scroll */
    transition: opacity 0.2s ease-out;
}

/* Step positions matching percentage centers */
.ig-mobile-step-1 {
    top: 22%;
    transform: translateY(-50%);
}
.ig-mobile-step-2 {
    top: 45%;
    transform: translateY(-50%);
}
.ig-mobile-step-3 {
    top: 68%;
    transform: translateY(-50%);
}
.ig-mobile-step-4 {
    top: 90%;
    transform: translateY(-50%);
}

/* Interactive glowing circles */
.ig-mobile-circle {
    position: absolute;
    border-radius: 50%;
    background: #e65c00; /* Vibrant solid brand-orange to mask the line behind it */
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
    pointer-events: auto;
    opacity: 0.65; /* Fade inactive node slightly */
}

/* Keep circle perfectly centered on SVG straight path */
.ig-mobile-step .ig-mobile-circle {
    left: 10%;
    top: 50%;
}

/* Responsive mobile circle sizes */
.ig-circle-large-mobile { width: 56px; height: 56px; }
.ig-circle-medium-mobile { width: 50px; height: 50px; }
.ig-circle-small-mobile { width: 44px; height: 44px; }

/* Circle inner step numbers */
.ig-mobile-num {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    transition: color 0.3s ease;
}

/* Inactive Phase badges - Creative Glassmorphic Capsule Badges */
.ig-mobile-text .card-badge {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8); /* Crisp, clean highly visible typography */
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 12px 4px 10px;
    border-radius: 6px;
    font-family: 'Space Mono', monospace;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.ig-mobile-text .card-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    margin-right: 8px;
    transition: all 0.4s ease;
}

/* Cardless step text cards - Spark Style (No containers, text floats directly on background) */
.ig-mobile-text {
    position: absolute;
    top: 50%; /* Center the information vertically */
    width: 72%;
    left: 24%;
    padding: 0 10px;
    background: none;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    opacity: 1; /* Keep container fully visible to allow independent opacity controls on kids */
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(-50%);
    box-sizing: border-box;
    pointer-events: auto;
    cursor: pointer;
    text-align: left;
}

/* Titles inside text cards - Default Inactive Dimmed state */
.ig-mobile-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
    transition: all 0.4s ease;
}

/* Paragraph details - Default Inactive Dimmed state */
.ig-mobile-text p {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
    font-family: 'Inter', sans-serif;
    transition: all 0.4s ease;
}

/* Active and Completed State transitions */
.ig-mobile-step.active .ig-mobile-circle,
.ig-mobile-step.completed .ig-mobile-circle {
    background: #ffffff;
    border-color: #ffffff;
    color: #FA3B00;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22), 0 0 25px rgba(255, 255, 255, 0.8), 0 0 12px rgba(255, 126, 0, 0.6);
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

/* Active and Completed Text State */
.ig-mobile-step.active .ig-mobile-text h3,
.ig-mobile-step.completed .ig-mobile-text h3 {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.ig-mobile-step.active .ig-mobile-text p,
.ig-mobile-step.completed .ig-mobile-text p {
    color: rgba(255, 255, 255, 0.85);
}

/* Active and Completed Phase Badge - Glowing Warm Glassmorphism Pill Container */
.ig-mobile-step.active .ig-mobile-text .card-badge,
.ig-mobile-step.completed .ig-mobile-text .card-badge {
    color: #ffffff;
    background: rgba(255, 126, 0, 0.22);
    border-color: rgba(255, 150, 50, 0.45);
    box-shadow: 0 0 15px rgba(255, 126, 0, 0.25), inset 0 0 8px rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.ig-mobile-step.active .ig-mobile-text .card-badge::before,
.ig-mobile-step.completed .ig-mobile-text .card-badge::before {
    background-color: #ff7e00;
    box-shadow: 0 0 8px #ff7e00, 0 0 15px #ff7e00;
    animation: badge-pulse 1.5s infinite alternate;
}

@keyframes badge-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
        box-shadow: 0 0 4px #ff7e00;
    }
    100% {
        transform: scale(1.3);
        opacity: 1;
        box-shadow: 0 0 10px #ff7e00, 0 0 20px #ff7e00;
    }
}

/* Scale styling for super small phones to prevent overflow */
@media (max-width: 360px) {
    .ig-mobile-vertical-timeline {
        transform: scale(0.9);
        margin-top: 10px;
        margin-bottom: -50px;
    }
}

.ig-step-num {
    font-size: clamp(32px, 3.5vw, 46px);
    font-weight: 800;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: -1.5px;
    flex-shrink: 0;
    font-family: 'Space Mono', monospace;
    transition: text-shadow 0.5s ease, filter 0.5s ease;
}

/* Step number glows bright pure white when the line reaches this circle midpoint */
.ig-step-num.active {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    text-shadow:
        0 0 3px rgba(255, 255, 255, 0.9),
        0 0 9px rgba(255, 255, 255, 0.55),
        0 0 20px rgba(255, 255, 255, 0.25);
    filter: none;
}

/* Step number stays softly lit white once the line has passed its circle */
.ig-step-num.completed {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.88);
    color: rgba(255, 255, 255, 0.88);
    text-shadow:
        0 0 3px rgba(255, 255, 255, 0.55),
        0 0 10px rgba(255, 255, 255, 0.2);
    filter: none;
}

.ig-step-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.ig-step-content h3 {
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-align: left;
}

.ig-step-content p {
    font-size: clamp(13px, 1.1vw, 15px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    max-width: 330px;
    text-align: left;
}

/* ==========================================================================================
   CHATBOT DUAL-VIEW & VOICE AGENT STYLING
   ========================================================================== */

.chatbot-main-view {
    width: 100%;
    height: 100%;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-main-view.slide-out {
    opacity: 0;
    transform: translateY(-20px) scale(0.96);
    pointer-events: none;
}

.chatbot-voice-view {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: radial-gradient(circle at 50% -20%, rgba(250, 59, 0, 0.12), transparent 50%), radial-gradient(circle at -20% 120%, rgba(255, 153, 102, 0.08), transparent 50%), #0d0d0d; /* Luxury warm-glowing dark obsidian background */
    opacity: 0;
    visibility: hidden;
    transform: translateY(25px) scale(0.96);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    z-index: 5;
    overflow: hidden;
}

.chatbot-voice-view.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Voice View Background curves */
.voice-ambient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
}

.voice-ambient-bg svg {
    width: 100%;
    height: 100%;
}

/* Voice Header Buddy Pill */
.voice-header {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5px;
    gap: 8px;
}

.voice-buddy-pill {
    background: linear-gradient(135deg, #FA3B00 0%, #ff9966 100%); /* Signature brand warm gradient */
    color: #ffffff;
    font-weight: 700;
    font-size: 10.5px;
    padding: 6px 18px;
    border-radius: 24px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 0 16px rgba(250, 59, 0, 0.45);
}

.voice-status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #ff9f1c; /* Molten Gold indicator */
    border-radius: 50%;
    box-shadow: 0 0 8px #ff9f1c;
    animation: voiceStatusPulse 1.4s infinite alternate ease-in-out;
}

.status-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 0.5px;
}

@keyframes voiceStatusPulse {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* 3D Liquid Fluid Morphing Orb Container */
.voice-orb-container {
    position: relative;
    width: 170px;
    height: 170px;
    margin: 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.voice-orb-glow {
    position: absolute;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(250, 59, 0, 0.55) 0%, rgba(255, 159, 28, 0.4) 45%, rgba(212, 59, 0, 0.25) 75%, transparent 100%); /* Hot lava glowing backdrop */
    border-radius: 50%;
    filter: blur(28px);
    animation: orbGlowPulse 4s infinite alternate ease-in-out;
}

.voice-orb-fluid {
    position: relative;
    width: 120px;
    height: 120px;
    /* Molten lava/gold fluid 3D orb metallic gradient */
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, #ffe0cc 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, #ff3300 0%, transparent 65%),
                radial-gradient(circle at 50% 50%, #FA3B00 15%, #290800 100%);
    border-radius: 48% 52% 50% 50% / 45% 45% 55% 55%;
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.4),
                0 0 35px rgba(250, 59, 0, 0.55),
                0 0 60px rgba(255, 159, 28, 0.35);
    animation: morphBlob 8s infinite alternate ease-in-out, rotateOrb 22s infinite linear;
}

.orb-highlight {
    position: absolute;
    top: 14px;
    left: 18px;
    width: 36px;
    height: 22px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50% 50% 40% 40% / 60% 60% 30% 30%;
    transform: rotate(-15deg);
    filter: blur(1.5px);
}

/* Faster active morph/pulse states when AI is "thinking" or "speaking" */
.voice-orb-fluid.thinking {
    animation: morphBlob 2.5s infinite alternate ease-in-out, rotateOrb 8s infinite linear, thinkingPulse 1.2s infinite alternate ease-in-out;
}

.voice-orb-fluid.speaking {
    animation: morphBlob 1.8s infinite alternate ease-in-out, rotateOrb 5s infinite linear, speakingPulse 0.8s infinite alternate ease-in-out;
}

@keyframes morphBlob {
    0% { border-radius: 48% 52% 50% 50% / 45% 45% 55% 55%; }
    20% { border-radius: 58% 42% 54% 46% / 50% 40% 60% 50%; }
    40% { border-radius: 46% 54% 38% 62% / 45% 55% 45% 55%; }
    60% { border-radius: 53% 47% 60% 40% / 55% 45% 55% 45%; }
    80% { border-radius: 42% 58% 44% 56% / 40% 50% 50% 60%; }
    100% { border-radius: 50% 50% 52% 48% / 48% 52% 48% 52%; }
}

@keyframes rotateOrb {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes orbGlowPulse {
    0% { transform: scale(0.9); opacity: 0.7; filter: blur(22px); }
    100% { transform: scale(1.2); opacity: 1; filter: blur(34px); }
}

@keyframes thinkingPulse {
    0% { transform: scale(1); filter: brightness(1) saturate(1); }
    100% { transform: scale(1.08); filter: brightness(1.18) saturate(1.2); }
}

@keyframes speakingPulse {
    0% { transform: scale(0.95); filter: brightness(0.9) saturate(0.9); }
    100% { transform: scale(1.15); filter: brightness(1.25) saturate(1.3); }
}

/* Monospace retro-modern transcript */
.voice-transcript-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 105px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 14px 18px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0 15px 0;
    overflow-y: auto;
    scrollbar-width: none; /* Hide default scrollbars */
}

.voice-transcript-wrapper::-webkit-scrollbar {
    display: none;
}

.voice-transcript-content {
    font-family: 'Space Mono', Courier, monospace, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #eaeaea;
    text-align: center;
    width: 100%;
    max-height: 100%;
    word-wrap: break-word;
}

/* Flashing retro cursor */
.voice-transcript-content::after {
    content: '_';
    color: #FA3B00; /* Signature brand orange */
    animation: voiceCursorBlink 0.9s infinite;
    font-weight: bold;
    margin-left: 2px;
}

@keyframes voiceCursorBlink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Bottom Controls */
.voice-controls {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 5px 5px 5px;
    box-sizing: border-box;
}

.voice-btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.voice-btn-icon:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.voice-btn-icon svg {
    width: 18px;
    height: 18px;
}

.voice-btn-close {
    background: rgba(255, 255, 255, 0.04);
}

.voice-btn-close:hover {
    background: rgba(255, 0, 76, 0.12);
    border-color: rgba(255, 0, 76, 0.25);
    color: #ff3b6b;
    box-shadow: 0 4px 12px rgba(255, 0, 76, 0.15);
}

/* Microphone Area & acoustic concentric ripples */
.voice-mic-wrapper {
    position: relative;
    width: 94px;
    height: 94px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-mic-btn {
    position: relative;
    z-index: 3;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FA3B00 0%, #ff9966 100%); /* Warm brand gradient */
    border: none;
    color: #ffffff; /* Premium white icon contrast */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 24px rgba(250, 59, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.voice-mic-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 35px rgba(250, 59, 0, 0.8);
}

.voice-mic-btn svg {
    width: 22px;
    height: 22px;
}

/* Ripple layers */
.acoustic-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    margin-top: -29px;
    margin-left: -29px;
    border-radius: 50%;
    border: 1px solid rgba(250, 59, 0, 0.4); /* Brand orange ripples */
    box-sizing: border-box;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
}

.acoustic-ripple.active {
    animation: acousticWavePulse 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.ripple-1.active {
    animation-delay: 0s;
}

.ripple-2.active {
    animation-delay: 0.6s;
}

.ripple-3.active {
    animation-delay: 1.2s;
}

@keyframes acousticWavePulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
        border-color: rgba(250, 59, 0, 0.6);
    }
    50% {
        border-color: rgba(255, 159, 28, 0.45); /* Shift to molten gold in mid-expansion */
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
        border-color: rgba(250, 59, 0, 0);
    }
}

/* ===================================================================
   Floating Rounded Navigation Header (shadcn/ui Header-2 Port)
   =================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    z-index: 99999;
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}



.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-logo:hover {
    opacity: 0.85;
}

.logo-icon {
    width: 34px;
    height: 34px;
    display: block;
    overflow: visible;
}

.logo-text {
    font-family: 'Space Mono', monospace;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #FA3B00;
    text-shadow: 0 0 10px rgba(250, 59, 0, 0.5), 0 0 20px rgba(250, 59, 0, 0.2);
    background: linear-gradient(135deg, #ffffff 40%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link-item {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13.5px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.nav-link-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 16px;
}

/* CTAs matching button-with-icon style principles */
.nav-btn-secondary {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.nav-btn-secondary:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.02);
}

.nav-btn-primary {
    text-decoration: none;
    color: #ffffff;
    font-size: 15px; /* Sized 15% bigger for attention */
    font-weight: 600;
    padding: 10px 26px; /* Button container scaled 15-20% larger */
    border-radius: 9999px !important; /* Fully rounded capsule shape for standard header navigation button */
    border: none !important;
    background: linear-gradient(325deg, #ff4c00 0%, #ffb800 55%, #ff4c00 90%) !important;
    background-size: 280% auto !important;
    background-position: 0% 50% !important;
    box-shadow: 0px 0px 20px rgba(255,106,0,0.35), 0px 5px 5px -1px rgba(255,76,0,0.2), inset 3px 3px 6px rgba(255,235,210,0.35), inset -3px -3px 6px rgba(180,60,0,0.28) !important;
    transition: background-position 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease, box-shadow 0.3s ease !important;
}

.nav-btn-primary:hover {
    background-position: 100% 0% !important; /* Volumetric shiny moving gradient sweep */
    box-shadow: 0px 0px 25px rgba(255,106,0,0.5), 0px 7px 8px -1px rgba(255,76,0,0.3), inset 3px 3px 6px rgba(255,235,210,0.35), inset -3px -3px 6px rgba(180,60,0,0.28) !important;
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-mobile-toggle:hover {
    opacity: 0.85;
}

.menu-toggle-icon {
    width: 28px;
    height: 28px;
    transition: transform 0.5s ease-in-out;
}

.menu-path-animated {
    transition: all 0.5s ease-in-out;
    stroke-dasharray: 12 63;
}

.menu-path-middle {
    transition: all 0.5s ease-in-out;
}

/* Morphing to X */
.site-header.open .menu-toggle-icon {
    transform: rotate(-45deg);
}

.site-header.open .menu-path-animated {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42px;
}


/* Mobile Dropdown - Redesigned as Drawer from Right */
.nav-mobile-dropdown {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 70%;
    min-width: 270px;
    max-width: 340px;
    background: #000000;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 99998;
    padding: 88px 20px 40px 20px;
    box-sizing: border-box;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
}

.site-header.open .nav-mobile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nav-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 4px 10px 4px;
    width: 100%;
    box-sizing: border-box;
}

/* Individual wrapper for each item in the vertical menu */
.group-nav-mobile {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    position: relative;
    overflow: visible;
    transform: translateX(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, border-bottom-color 0.3s ease;
}

.group-nav-mobile:hover {
    border-bottom-color: rgba(255, 105, 0, 0.4);
}

/* Premium sliding orange right arrow */
.nav-mobile-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transform: translateX(0);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #a1a1aa;
    z-index: 0;
    width: 20px;
    height: 20px;
}

.nav-mobile-arrow svg {
    stroke: #ffffff;
    width: 18px;
    height: 18px;
    transition: stroke 0.3s ease, filter 0.3s ease;
}

/* Link text - matches React's text-4xl font-semibold no-underline */
.nav-mobile-link-text.nav-link-item {
    font-size: 20px !important; /* Elegant size optimized for drawer */
    font-weight: 500 !important;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    transition: color 0.3s ease !important;
}

/* Hover effects */
.group-nav-mobile:hover .nav-mobile-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.group-nav-mobile:hover .nav-mobile-arrow svg {
    stroke: #ff6900;
    filter: drop-shadow(0 0 6px rgba(255, 105, 0, 0.8));
}

.group-nav-mobile:hover .nav-mobile-link-text.nav-link-item {
    color: #ff6900 !important;
    text-shadow: 0 0 10px rgba(255, 105, 0, 0.3);
}

.nav-mobile-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
    width: 100%;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    transition-delay: 0.25s;
}

/* Desktop: Initial expanded state — stretches wide on page load */
@media (min-width: 900px) {
    .site-header {
        top: 0;
        border-radius: 0;
    }

    /* Expanded (page-load) state: full-width pill, visible and prominent */
    .site-header.expanded {
        top: 12px;
        width: calc(100% - 24px);
        max-width: 1180px;
        border-radius: 9999px;
        background: rgba(15, 15, 15, 0.38);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
    }

    .site-header.expanded .site-nav {
        height: 60px;
        padding: 0 26px; /* Symmetrical padding pushing content inside the Dynamic Island curve */
    }
    
    .site-header.scrolled {
        top: 16px;
        width: calc(100% - 32px);
        max-width: 896px; /* max-w-4xl equivalent */
        border-radius: 9999px; /* Floating rounded corners pill shape */
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.02);
        background: rgba(15, 15, 15, 0.45);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .site-header.scrolled .site-nav {
        height: 52px; /* Slimmer header height on scroll */
        padding: 0 22px; /* Snug, symmetrical padding pushing content inside the Dynamic Island curve */
    }
}

@media (max-width: 899px) {
    .site-header {
        --di-inset-top: 12px;
        --di-inset-left: 48px; /* Restored to original */
        --di-inset-right: 48px;
        --di-height: 60px;
        --di-pad-left: 20px; /* Symmetrically insets mobile logo away from curve */
        --di-pad-right: 16px; /* Symmetrically insets mobile toggle / CTAs away from curve */

        position: fixed;
        top: var(--di-inset-top) !important;
        left: var(--di-inset-left) !important;
        right: var(--di-inset-right) !important;
        bottom: calc(100% - var(--di-inset-top) - var(--di-height)) !important; /* Let top+bottom define height for bi-directional expansion */
        transform: none !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        box-sizing: border-box;
        border-radius: calc(var(--di-height) / 2) !important; /* Floating rounded corners pill shape (Dynamic Island) */
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        background: rgba(10, 10, 10, 0.75) !important; /* Sleek deep dark glassmorphic island */
        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(250, 59, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
        overflow: visible !important; /* Allow hanging player pocket to be visible when menu is closed! */
        /* Premium cinematic bi-directional expansion — all 4 edges expand outward simultaneously */
        transition: top 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                    bottom 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                    left 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                    right 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                    border-radius 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                    background-color 0.6s ease,
                    border-color 0.5s ease !important;
        z-index: 999999 !important;
    }

    .site-nav {
        height: var(--di-height) !important; /* Balanced navbar height inside dynamic island on mobile */
        padding: 0 var(--di-pad-right) 0 var(--di-pad-left) !important; /* Snug padding inside the mobile pill */
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        box-sizing: border-box;
        transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                    padding 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                    margin-top 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important; /* padding and margin transition duration matched to left/right for pixel-perfect stationary tracking */
    }

    .site-logo {
        position: relative;
        z-index: 99999;
    }

    .nav-links {
        display: none;
    }
    
    /* Elegant robust CSS-animated Hamburger Button */
    .nav-mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px !important;
        height: 44px !important;
        background: transparent !important;
        border: none !important;
        color: #ffffff !important;
        cursor: pointer;
        padding: 0 !important;
        z-index: 99999;
        position: relative;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .nav-mobile-toggle:hover,
    .nav-mobile-toggle:active {
        background: transparent !important;
        border: none !important;
        opacity: 0.8 !important;
    }


    .site-header.open {
        top: var(--di-inset-top) !important;
        left: 24px !important;
        right: 24px !important;
        bottom: 12px !important;
        width: auto !important;
        height: auto !important;
        border-radius: 30px !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(250, 59, 0, 0.15) !important;
        background: rgba(10, 10, 10, 0.98) !important; /* Solid black-ish base morph */
        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;
        overflow: hidden !important;
    }

    .site-header.open .site-nav {
        margin-top: 0 !important;
        height: var(--di-height) !important; /* Lock nav height to match closed state */
        padding: 0 32px 0 40px !important; /* Aligns hamburger and logo pixel-perfectly with closed state */
        width: 100% !important;
    }



    /* Dropdown menu canvas placed absolutely inside expanding parent pill container */
    .nav-mobile-dropdown {
        display: block !important;
        position: absolute !important;
        top: var(--di-height) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-width: none !important;
        height: calc(100% - var(--di-height)) !important;
        background: transparent !important; /* Let parent background morph beautifully */
        border-left: none !important;
        box-shadow: none !important;
        z-index: 99998;
        padding: 40px 24px 40px 24px !important;
        box-sizing: border-box;
        overflow-y: auto !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: none !important; /* Removed separate translateY for the full canvas */
        transition: opacity 0.4s ease, visibility 0.4s ease !important;
        transition-delay: 0.15s !important; /* Fade in when dynamic island has completed its stretch */
    }

    .site-header.open .nav-mobile-dropdown {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-mobile-links {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 20px 4px 10px 4px;
        width: 100%;
        max-width: 320px; /* Constrained for perfect centering and logo/close alignment */
        margin: 0 auto;
        box-sizing: border-box;
    }

    /* Staggered slide up transitions for vertical links */
    .group-nav-mobile {
        transform: translateY(20px) !important;
        opacity: 0 !important;
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                    opacity 0.5s ease !important;
    }

    .site-header.open .group-nav-mobile {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    .site-header.open .group-nav-mobile:nth-child(1) {
        transition-delay: 0.20s !important;
    }
    .site-header.open .group-nav-mobile:nth-child(2) {
        transition-delay: 0.25s !important;
    }
    .site-header.open .group-nav-mobile:nth-child(3) {
        transition-delay: 0.30s !important;
    }
    .site-header.open .group-nav-mobile:nth-child(4) {
        transition-delay: 0.35s !important;
    }

    .nav-mobile-ctas {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin: 36px auto 0 auto !important;
        width: 100% !important;
        max-width: 200px !important; /* Replicated exact width of the footer CTA buttons */
        box-sizing: border-box;
        transform: translateY(20px) !important;
        opacity: 0 !important;
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                    opacity 0.5s ease !important;
        transition-delay: 0.40s !important;
    }

    .site-header.open .nav-mobile-ctas {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    .nav-mobile-ctas .bf-cta-row {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-decoration: none !important;
        height: 58px !important;
        padding: 4px 66px 4px 24px !important;
        border-radius: 29px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        width: 100% !important;
        background: linear-gradient(325deg, #ff4c00 0%, #ffb800 55%, #ff4c00 90%) !important;
        background-size: 280% auto !important;
        background-position: 0% 50% !important;
        box-shadow: 0px 0px 20px rgba(255,106,0,0.35), 0px 5px 5px -1px rgba(255,76,0,0.2) !important;
        color: white !important;
        cursor: pointer !important;
    }

    .nav-mobile-ctas .bf-cta-row .bf-cta-label {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: white !important;
        line-height: 1 !important;
    }

    .nav-mobile-ctas .bf-cta-row .bf-cta-icon {
        position: absolute !important;
        right: 4px !important;
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ffffff !important;
        color: #ff4c00 !important;
    }

    .nav-mobile-ctas .bf-cta-row .bf-cta-icon svg {
        stroke: #ff4c00 !important;
        width: 14px !important;
        height: 14px !important;
    }

    /* Mobile drawer socials card wrapper themed like footer .bf-card */
    .nav-mobile-socials-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 320px; /* Constrain to match the CTAs alignment */
        margin: 24px auto 0 auto;
        padding: 12px 20px;
        box-sizing: border-box;
        border-radius: 28px;
        background: rgba(10, 10, 10, 0.75) !important;
        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(250, 59, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
        transform: translateY(20px) !important;
        opacity: 0 !important;
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                    opacity 0.5s ease;
        transition-delay: 0.45s !important; /* Staggered slide in after CTAs */
    }

    .site-header.open .nav-mobile-socials-wrapper {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    /* Aggressively strip the default black capsule strip behind the social icons on mobile */
    .nav-mobile-socials-wrapper .bf-socials-row {
        display: flex !important;
        flex-direction: row !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        border-color: transparent !important;
        box-shadow: none !important;
        width: 100% !important;
        justify-content: center !important;
        gap: 12px !important;
        padding: 0 !important;
        margin: 0 !important;
        outline: none !important;
    }

    /* Hide the desktop overlay gradients on mobile */
    .nav-mobile-socials-wrapper .bf-socials-gradient {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* Make touch targets comfortable and spacing perfect on mobile */
    .nav-mobile-socials-wrapper .bf-social-icon-link {
        width: 46px !important;
        height: 46px !important;
        border-radius: 50% !important; /* Fully rounded / circular */
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .nav-mobile-socials-wrapper .bf-social-icon-svg-wrapper {
        color: rgba(255, 255, 255, 0.5) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .nav-mobile-socials-wrapper .bf-social-icon-svg-wrapper svg {
        width: 20px !important;
        height: 20px !important;
    }

    /* Enhanced active/hover state feedback for mobile touch */
    .nav-mobile-socials-wrapper .bf-social-icon-link:active,
    .nav-mobile-socials-wrapper .bf-social-icon-link:hover {
        background: rgba(250, 59, 0, 0.15) !important;
        border-color: rgba(250, 59, 0, 0.4) !important;
        box-shadow: 0 0 12px rgba(250, 59, 0, 0.2) !important;
    }

    .nav-mobile-socials-wrapper .bf-social-icon-link:active .bf-social-icon-svg-wrapper,
    .nav-mobile-socials-wrapper .bf-social-icon-link:hover .bf-social-icon-svg-wrapper {
        color: #FA3B00 !important;
        transform: scale(1.08) !important;
    }

    /* Keep the bottom glow indicator subtle but active */
    .nav-mobile-socials-wrapper .bf-social-bottom-line {
        background: #FA3B00 !important;
    }
}

/* ── Lenis Smooth Scroll Cinematic Inertia ── */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* ───────────────────────────────────────────────────────────────────
   14. Premium Hero Section MP3 Player Giant Centered Layout
   ─────────────────────────────────────────────────────────────────── */

.hero-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: calc(100vh - 140px) !important; /* Visual vertical centered focus subtract header DI */
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 60px 24px !important;
    box-sizing: border-box !important;
}

.hero-content-right {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

/* ── Premium Giant Music Player Card ── */
.music-player-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    width: 100%;
    max-width: 480px; /* Massively upscaled presence */
    padding: 38px 42px 42px 42px; /* Generous breathing paddings */
    border-radius: 28px;
    background: transparent !important; /* Fully transparent background */
    border: none !important; /* Removed borders for lightweight floating look */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important; /* Removed box-shadow entirely */
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    box-sizing: border-box;
}

.music-player-card:hover {
    border: none !important;
    box-shadow: none !important;
}

.music-player-header {
    font-family: 'Space Mono', monospace !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 4px !important;
    text-align: center;
    text-transform: uppercase;
    color: #ff7a00 !important; /* Neon orange branding */
    text-shadow: 0 0 12px rgba(255, 122, 0, 0.5);
    margin: 0 0 6px 0 !important;
    opacity: 0.95;
}

/* CD Disc Rotating Mask */
.music-disc-mask {
    position: relative;
    width: 270px; /* Expanded from 200px */
    height: 270px; /* Expanded from 200px */
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 0 8px rgba(255, 255, 255, 0.03), 0 0 40px rgba(255, 122, 0, 0.2) !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.music-disc-mask:hover {
    transform: scale(1.03) rotate(2deg);
}

.music-disc-mask.is-zoomed {
    transform: scale(1.1);
}

.music-disc-spin {
    position: relative;
    width: 100%;
    height: 100%;
    transform-origin: center;
}

.music-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.music-cover.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.music-cover.cover-exit {
    opacity: 0;
    transform: scale(0.9);
    z-index: 1;
}

.music-disc-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px; /* Expanded from 32px */
    height: 44px; /* Expanded from 32px */
    border-radius: 50%;
    background: #0c0c0c !important;
    border: 4px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.9);
    z-index: 10;
}

.music-disc-hole-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #000;
}

/* Info & Equalizer */
.music-info-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 16px; /* Increased separation */
}

.music-visualizer-scales {
    width: 150px; /* Expanded from 110px */
    height: 38px;
    color: #ff7a00 !important; /* Neon orange visualizer theme */
    fill: currentColor;
    opacity: 0.9;
    filter: drop-shadow(0 2px 10px rgba(255, 122, 0, 0.6));
    transition: all 0.3s ease;
}

.music-visualizer-scales.is-playing .eq-bar {
    /* CSS Fallback animations if JS analyzer is CORS blocked */
    animation: eq-pulse 1.2s ease-in-out infinite alternate;
}

/* Equalizer staggered animations */
.music-visualizer-scales.is-playing .eq-col:nth-child(1) .eq-bar { animation-delay: 0.1s; }
.music-visualizer-scales.is-playing .eq-col:nth-child(2) .eq-bar { animation-delay: 0.3s; animation-duration: 0.8s; }
.music-visualizer-scales.is-playing .eq-col:nth-child(3) .eq-bar { animation-delay: 0.5s; }
.music-visualizer-scales.is-playing .eq-col:nth-child(4) .eq-bar { animation-delay: 0.2s; animation-duration: 0.9s; }
.music-visualizer-scales.is-playing .eq-col:nth-child(5) .eq-bar { animation-delay: 0.7s; }
.music-visualizer-scales.is-playing .eq-col:nth-child(6) .eq-bar { animation-delay: 0.4s; animation-duration: 1s; }
.music-visualizer-scales.is-playing .eq-col:nth-child(7) .eq-bar { animation-delay: 0.6s; }
.music-visualizer-scales.is-playing .eq-col:nth-child(8) .eq-bar { animation-delay: 0.15s; animation-duration: 0.7s; }
.music-visualizer-scales.is-playing .eq-col:nth-child(9) .eq-bar { animation-delay: 0.8s; }
.music-visualizer-scales.is-playing .eq-col:nth-child(10) .eq-bar { animation-delay: 0.35s; animation-duration: 1.1s; }

/* PERF FIX: The eq-pulse animation was animating 'height' and 'y' which are layout-triggering
   properties and cause constant browser repaints. Replaced with scaleY which is GPU-accelerated. */
@keyframes eq-pulse {
    from {
        transform: scaleY(0.2);
        opacity: 0.6;
    }
    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

.music-track-info-slider {
    position: relative;
    width: 100%;
    height: 64px; /* Upscaled from 52px */
    text-align: center;
    overflow: hidden;
}

.music-track-info-layer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: absolute;
    top: 0;
    left: 0;
}

.music-track-info-layer.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.music-artist {
    font-family: 'Space Mono', monospace !important;
    font-size: 11px !important; /* Upscaled */
    font-weight: 700 !important;
    letter-spacing: 3px !important; /* Expanded letter spacing */
    color: #ff9f4d !important;
    margin: 0 !important;
    text-transform: uppercase !important;
}

.music-track {
    font-family: 'Outfit', sans-serif !important;
    font-size: 24px !important; /* Upscaled from 18px */
    font-weight: 500 !important;
    color: #ffffff !important;
    margin: 6px 0 0 0 !important;
}

/* Seeker Progress Bar */
.music-progress-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 14px; /* Increased separation */
}

.music-progress-bar {
    width: 100%;
    height: 5px; /* Upscaled from 4px */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: height 0.2s ease;
}

.music-progress-bar:hover {
    height: 7px;
}

.music-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff7a00, #ffb800) !important;
    border-radius: 99px;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(255, 122, 0, 0.6);
}

.music-time-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-family: 'Space Mono', monospace !important;
    font-size: 11px !important; /* Upscaled */
    color: rgba(255, 255, 255, 0.5) !important;
    margin-top: -6px !important;
}

/* Controls */
.music-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Increased gap */
    width: 100%;
}

.music-ctrl {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.6) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 10px !important; /* Comfort upscaled hit targets */
    border-radius: 50% !important;
    position: relative;
    outline: none !important;
}

.music-ctrl:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.music-ctrl svg {
    width: 16px !important;
    height: 16px !important;
}

.music-ctrl-play {
    width: 54px !important; /* Upscaled from 44px */
    height: 54px !important; /* Upscaled from 44px */
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.music-ctrl-play svg {
    width: 18px !important; /* Upscaled play icon */
    height: 18px !important;
}

.music-ctrl-play:hover {
    background: #ffffff !important;
    color: #121212 !important;
    transform: scale(1.08) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4) !important;
}

.music-ctrl.is-active {
    color: #ff7a00 !important;
    filter: drop-shadow(0 0 8px rgba(255, 122, 0, 0.6)) !important;
}

.music-loop-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 8px;
    font-weight: 900;
    color: #ff7a00;
    display: none;
    background: #000;
    border-radius: 50%;
    width: 12px; /* Upscaled */
    height: 12px;
    line-height: 12px;
    text-align: center;
}

.music-ctrl.mode-one .music-loop-badge {
    display: block !important;
}

@media (max-width: 550px) {
    .music-player-card {
        padding: 24px !important;
        max-width: 90vw !important;
    }
    .music-disc-mask {
        width: 220px !important;
        height: 220px !important;
    }
    .music-visualizer-scales {
        width: 120px !important;
    }
    .music-track {
        font-size: 20px !important;
    }
    .music-ctrl-play {
        width: 48px !important;
        height: 48px !important;
    }
}

/* Chatbot Mobile Responsiveness Overrides */
@media (max-width: 550px) {
    .chatbot-window {
        width: calc(100% - 32px) !important;
        height: calc(100% - 40px) !important; /* Elongated tall sheet fit on phone screen */
        max-height: calc(100vh - 80px) !important;
        right: 16px !important;
        bottom: 20px !important;
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7) !important;
    }
    
    .chatbot-window.active {
        border-radius: 24px !important;
    }

    .chatbot-fab {
        bottom: 16px !important;
        right: 16px !important;
        width: 48px !important;
        height: 48px !important;
    }

    .chatbot-cloud-bubble {
        bottom: 74px !important;
        right: 16px !important;
    }


    
    .chat-services-grid {
        gap: 10px !important;
    }
    
    .chat-service-card {
        height: 120px !important;
        padding: 12px !important;
    }
    
    .chatbot-messages-container {
        padding: 16px !important;
    }
    
    .suggestion-tag {
        padding: 5px 12px !important;
        font-size: 10px !important;
    }
    
    .chatbot-input-container {
        padding: 12px 16px 20px !important;
        gap: 8px !important;
    }
}

/* ════════════════════════════════════════════════════════════
   Giant Dynamic Island Sized Split Console (Hi-Fi Stereo Deck)
   ════════════════════════════════════════════════════════════ */
@media (min-width: 900px) {
    .music-player-card {
        max-width: 896px !important; /* Matches exactly the Dynamic Island scrolled max-width */
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 320px 1fr !important;
        grid-template-rows: auto auto auto auto !important;
        column-gap: 48px !important;
        row-gap: 16px !important;
        padding: 42px 48px !important;
        align-items: center !important;
    }

    .music-player-header {
        grid-column: 1 / -1 !important;
        text-align: left !important;
        margin-bottom: 12px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        padding-bottom: 12px !important;
        width: 100% !important;
    }

    .music-disc-mask {
        grid-column: 1 !important;
        grid-row: 2 / 5 !important; /* Spans across the info, timeline, and controls */
        width: 300px !important;
        height: 300px !important;
        justify-self: center !important;
        margin: 0 !important;
    }

    .music-info {
        grid-column: 2 !important;
        grid-row: 2 !important;
        text-align: left !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        margin: 0 !important;
    }

    .music-visualizer-scales {
        justify-content: flex-start !important;
        margin-bottom: 12px !important;
    }

    .music-track {
        font-size: 28px !important; /* Grand hifi track label */
        margin: 0 0 6px 0 !important;
        text-align: left !important;
    }

    .music-artist {
        text-align: left !important;
        margin: 0 !important;
    }

    .music-timeline-container {
        grid-column: 2 !important;
        grid-row: 3 !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .music-ctrl-console {
        grid-column: 2 !important;
        grid-row: 4 !important;
        width: 100% !important;
        justify-content: flex-start !important;
        margin-top: 10px !important;
        gap: 26px !important;
    }
}

/*
 ── DISC SIZING SYSTEM ──────────────────────────────────────────────────────
 A single CSS custom property --disc-h (disc height) drives all disc sizing.
 The width is always 2× the height (aspect-ratio: 2/1), guaranteeing a
 perfect semi-circle at EVERY viewport size.

 Breakpoints set below. Base (mobile-first) default is overridden per range.
 ────────────────────────────────────────────────────────────────────────────
*/

/* ── DEFAULT (all screens, overridden below) ── */
:root {
    --disc-h: clamp(130px, 38vw, 260px); /* mobile: vw-based, safe for short screens */
}

/* ── 480px+ small phones landscape / large phones ── */
@media (min-width: 480px) {
    :root { --disc-h: clamp(160px, 34vw, 280px); }
}

/* ── 768px+ tablets ── */
@media (min-width: 768px) {
    :root { --disc-h: clamp(220px, 36vh, 340px); }
}

/* ── 900px+ large tablets / small laptops ── */
@media (min-width: 900px) {
    :root { --disc-h: clamp(240px, 38vh, 380px); }
}

/* ── 1024px+ notebooks (13") ── */
@media (min-width: 1024px) {
    :root { --disc-h: clamp(260px, 40vh, 400px); }
}

/* ── 1280px+ 14"/15" notebooks ── */
@media (min-width: 1280px) {
    :root { --disc-h: clamp(280px, 40vh, 420px); }
}

/* ── 1440px+ 15"/16" notebooks & HD monitors ── */
@media (min-width: 1440px) {
    :root { --disc-h: clamp(300px, 40vh, 440px); }
}

/* ── 1920px+ Full HD / 2K monitors ── */
@media (min-width: 1920px) {
    :root { --disc-h: clamp(360px, 38vh, 480px); }
}

/* ── 2560px+ 4K/QHD monitors ── */
@media (min-width: 2560px) {
    :root { --disc-h: clamp(420px, 36vh, 500px); }
}

/* Ensure the standard 29px concentric pill corner radius is preserved */
.nav-mobile-ctas .bf-cta-row,
.bf-outer .bf-cta-row {
    border-radius: 29px !important;
}

/* ===================================================================
   Premium Hanging Dynamic Island Player (OnTops Special)
   =================================================================== */

/* Ensure the navigation bar has a higher stack index so the disc tucks behind it */
/* Ensure the navigation bar has a higher stack index so the pocket doesn't overlap link pointer events */
.site-nav {
    position: relative;
    z-index: 20;
}

.header-player-pocket {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    pointer-events: none;
    /* GPU layer: isolate compositor context so inner elements animate without
       affecting the rest of the page stacking context */
    isolation: isolate;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.5s ease;
    clip-path: inset(0 -600px -1000px -600px);
}

.header-player-pocket.pocket-retracted {
    transform: translate(-50%, -100%) scale(0.8) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Perfect semi-circle sleeve — height via clamp, width mathematically locked to 2× height to guarantee a perfect circle */
.pocket-disc-container {
    height: clamp(180px, 42vh, 450px) !important;
    width: calc(clamp(180px, 42vh, 450px) * 2) !important;
    max-width: 94vw !important;
    aspect-ratio: 2 / 1 !important;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    border: 1.5px solid rgba(250, 59, 0, 0.25);
    border-top: none;
    background: rgba(40, 20, 0, 0.35);
    /* backdrop-filter only on desktop — mobile gets no filter for max fps */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(250, 59, 0, 0.08);
    pointer-events: auto;
    cursor: pointer;
    will-change: transform;
    transform: translateZ(0);
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease,
                transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Shrink record container size dynamically on scroll as originally configured */
.site-header.scrolled .pocket-disc-container {
    height: clamp(160px, 36vh, 400px) !important;
    width: calc(clamp(160px, 36vh, 400px) * 2) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 25px rgba(250, 59, 0, 0.15);
}

.pocket-disc-container:hover {
    background: rgba(28, 25, 33, 0.85);
    border-color: rgba(250, 59, 0, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 30px rgba(250, 59, 0, 0.22);
}

/* Giant Spinning CD/Vinyl Disc mask (Full circle internally, but clipped by parent) */
.pocket-disc-mask {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    border-radius: 50%;
    overflow: hidden;
    /* Removed preserve-3d: it forces a new stacking context and prevents
       GPU layer merging with the parent. 2D transforms perform better here. */
}

/* Slides UP past Dynamic Island edge to physically disappear, taking the shadow/background with it */
.pocket-disc-container.cassette-loading-out {
    transform: translateY(-105%) translateZ(0) !important;
    opacity: 1 !important;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease !important;
}

.pocket-disc-container.retracted {
    /* Snap to retracted: uses CSS transition for a smooth spring animation */
    transform: translateY(-105%) translateZ(0) !important;
    pointer-events: none !important;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pocket-disc-container.cassette-loading-in {
    transform: translateY(-105%) !important;
    opacity: 1 !important;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pocket-disc-spin {
    position: relative;
    width: 100%;
    height: 100%;
    transform-origin: center;
    border-radius: 50%;
    /* Contain paint to avoid triggering parent repaints on rotation */
    contain: paint;
    will-change: transform;
    transition: background 0.6s ease, box-shadow 0.6s ease;
}

/* Theme 0: Glowing Gold-Orange Metallic Conic (Synthetic Media) */
.pocket-disc-spin.plate-theme-0 {
    background: conic-gradient(
        from 0deg,
        #b83000 0deg,
        #FA3B00 35deg,
        #ffaa33 75deg,
        #ffffff 110deg,
        #ffaa33 150deg,
        #FA3B00 190deg,
        #b83000 230deg,
        #FA3B00 265deg,
        #ffffff 300deg,
        #ffaa33 330deg,
        #b83000 360deg
    );
    box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.55), 0 0 15px rgba(250, 59, 0, 0.15);
}

/* Theme 1: Deep Crimson-Orange Flame Conic (AI Automation) */
.pocket-disc-spin.plate-theme-1 {
    background: conic-gradient(
        from 0deg,
        #660000 0deg,
        #d42b00 40deg,
        #FA3B00 80deg,
        #ffe5cc 110deg,
        #FA3B00 140deg,
        #d42b00 190deg,
        #660000 240deg,
        #d42b00 280deg,
        #ffe5cc 315deg,
        #FA3B00 340deg,
        #660000 360deg
    );
    box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(255, 50, 0, 0.2);
}

/* Theme 2: High-Gloss Copper-Bronze Conic (Custom AI Builds) */
.pocket-disc-spin.plate-theme-2 {
    background: conic-gradient(
        from 0deg,
        #3a1a00 0deg,
        #8a4500 45deg,
        #c9731d 85deg,
        #fff0d9 120deg,
        #c9731d 155deg,
        #8a4500 195deg,
        #3a1a00 235deg,
        #8a4500 270deg,
        #fff0d9 305deg,
        #c9731d 335deg,
        #3a1a00 360deg
    );
    box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.5), 0 0 18px rgba(201, 115, 29, 0.22);
}

/* Conical textured micro-grooves to make it look exactly like a real vinyl record! */
.pocket-disc-spin::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background: 
        repeating-radial-gradient(
            circle at center,
            transparent,
            transparent 6px,
            rgba(255, 255, 255, 0.05) 7px,
            rgba(0, 0, 0, 0.12) 8px
        ),
        radial-gradient(circle at center, rgba(250, 59, 0, 0.15) 0%, transparent 80%);
    pointer-events: none;
    z-index: 5;
}

/* Disc Covers */
.pocket-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    mix-blend-mode: overlay; /* Allows the shimmering metallic reflections beneath to shine directly through! */
    font-size: 0; /* Hide alt text to prevent browser text rendering overlays */
    color: transparent; /* Make alt text fully transparent */
}

.pocket-cover.active {
    opacity: 0.75; /* Perfect blend depth so it is never flat black, and metallic beam shines through! */
    transform: scale(1);
    z-index: 2;
}

.pocket-cover.cover-exit {
    opacity: 0;
    transform: scale(0.9);
    z-index: 1;
}

/* Center Logo that spins with the disc */
.pocket-disc-center-logo {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32%;
    height: 32%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
    mix-blend-mode: difference;
}

.disc-logo-svg {
    width: 100%;
    height: 100%;
    mix-blend-mode: difference;
}

.pocket-disc-spin.plate-theme-0 + .pocket-disc-center-logo .disc-logo-svg path,
.pocket-disc-spin.plate-theme-0 + .pocket-disc-center-logo .disc-logo-svg circle,
.pocket-disc-spin.plate-theme-1 + .pocket-disc-center-logo .disc-logo-svg path,
.pocket-disc-spin.plate-theme-1 + .pocket-disc-center-logo .disc-logo-svg circle,
.pocket-disc-spin.plate-theme-2 + .pocket-disc-center-logo .disc-logo-svg path,
.pocket-disc-spin.plate-theme-2 + .pocket-disc-center-logo .disc-logo-svg circle {
    fill: #ffffff;
    filter: none;
    transition: fill 0.6s ease, filter 0.6s ease;
}

/* Vinyl Center Hole (positioned at rotation center - top-middle of the visible container) - Hidden to prioritize center logo */
.pocket-disc-hole {
    display: none !important;
}

.pocket-disc-hole-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #000;
}

/* Expanded Player Drawer Body - Translucent Vibrant Brand Orange Apple-Style Glass Panel */
.pocket-body {
    width: 360px;
    max-width: 90vw;
    margin-top: 12px;
    background: rgba(255, 95, 0, 0.16);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 24px 18px 24px;
    pointer-events: auto;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.3),
        0 0 35px rgba(250, 59, 0, 0.14),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.25);
    z-index: 5;
    max-height: none !important;
    /* GPU pre-promotion for smooth scroll-driven transform/opacity */
    will-change: transform, opacity;
    transform: translateZ(0);
    /* Isolate layout so inner content changes don't affect the page */
    contain: layout;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.pocket-body:hover {
    background: rgba(255, 95, 0, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.4), 
        0 0 45px rgba(250, 59, 0, 0.24),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.35);
}

/* Unified Progress Timeline */
/* 1. Apple Music Lyrics Compartment */
.pocket-lyrics-container {
    width: 100%;
    height: 100px;
    background: rgba(0, 0, 0, 0.22); /* Darker compartment for lyrics depth */
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    
    /* Apple Music fading mask at top and bottom bounds */
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
}

.pocket-lyrics-scroller {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Offset translation states representing active lyric line vertical alignment */
.pocket-lyrics-scroller.state-0 { transform: translateY(28px); }
.pocket-lyrics-scroller.state-1 { transform: translateY(0px); }
.pocket-lyrics-scroller.state-2 { transform: translateY(-28px); }

.pocket-lyrics-line {
    width: 90%;
    text-align: center;
    line-height: 28px;
    height: 28px;
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.35); /* Faded low-contrast states */
    font-weight: 500;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pocket-lyrics-line.active {
    font-size: 18.5px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 2. Track Metadata with Overlapping Rings */
.pocket-meta-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* Centered cover disc */
    margin-bottom: 12px;
    padding: 0 4px;
}

.pocket-meta-album-cover {
    width: 48px; /* Slightly enlarged mini-disc */
    height: 48px;
    position: relative;
    flex-shrink: 0;
}

.meta-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative; /* For pseudo-elements */
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(0, 0, 0, 0.25);
    transition: background 0.6s ease, box-shadow 0.6s ease;
    overflow: hidden;
}

/* Background images for the mini disc ring matching main folder images */
.meta-ring.plate-theme-0 {
    background-image: url("./images/1.jpeg");
    background-size: cover;
    background-position: center;
}

.meta-ring.plate-theme-1 {
    background-image: url("./images/2.jpeg");
    background-size: cover;
    background-position: center;
}

.meta-ring.plate-theme-2 {
    background-image: url("./images/3.jpeg");
    background-size: cover;
    background-position: center;
}

/* Mini Vinyl Logo styling */
.ring-logo-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 75%;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.meta-ring.plate-theme-0 + .ring-logo-svg path,
.meta-ring.plate-theme-0 + .ring-logo-svg circle,
.meta-ring.plate-theme-1 + .ring-logo-svg path,
.meta-ring.plate-theme-1 + .ring-logo-svg circle,
.meta-ring.plate-theme-2 + .ring-logo-svg path,
.meta-ring.plate-theme-2 + .ring-logo-svg circle {
    fill: #ffffff;
}

.pocket-meta-text {
    display: flex !important; /* Make title container visible */
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    overflow: hidden;
    flex-grow: 1;
    margin-left: 14px; /* Space between mini-disc and text */
}

.pocket-meta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.pocket-meta-artist {
    display: none !important; /* Hide subtitle with slash code */
}

.pocket-timeline-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 14px 0 8px 0;
}

.pocket-time {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    min-width: 32px;
}

#pocketCurrentTime {
    text-align: left;
}

#pocketTotalDuration {
    text-align: right;
}

.pocket-progress-bar {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.3s ease;
}

.pocket-progress-bar:hover {
    background: rgba(255, 255, 255, 0.15);
}

.pocket-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #FA3B00, #ff8c00);
    border-radius: 99px;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: 0 0 8px rgba(250, 59, 0, 0.6);
    transition: width 0.1s linear;
}

/* Button active states */
.pocket-btn.btn-shuffle.is-active,
.pocket-btn.btn-loop.is-active {
    color: #FA3B00 !important;
    text-shadow: 0 0 8px rgba(250, 59, 0, 0.5);
}

.pocket-btn.btn-loop {
    position: relative;
}

.pocket-loop-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #FA3B00;
    color: #fff;
    font-size: 8px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 99px;
    display: none;
    box-shadow: 0 0 5px rgba(250, 59, 0, 0.6);
    line-height: 1;
}

.pocket-btn.btn-loop.is-active.mode-one .pocket-loop-badge {
    display: inline-block;
}

/* Track details */
.pocket-track-info {
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
}

.pocket-track-code {
    font-family: 'Space Mono', monospace;
    font-size: 9.5px;
    font-weight: 700;
    color: rgba(250, 59, 0, 0.7);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.pocket-track-title {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.pocket-track-subcategories {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin-top: 4px;
    position: relative;
    /* Soft edge masking for dynamic marquee text fade out */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.pocket-track-subcategories-marquee {
    display: inline-flex;
    white-space: nowrap;
    gap: 40px;
    animation: pocket-marquee-scroll 14s linear infinite;
}

.pocket-track-subcategories-marquee span {
    font-size: 10px;
    font-family: 'Space Mono', monospace;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(250, 59, 0, 0.08);
    border: 1px solid rgba(250, 59, 0, 0.16);
    padding: 3px 12px;
    border-radius: 99px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.pocket-track-subcategories-marquee span:hover {
    color: #FA3B00;
    background: rgba(250, 59, 0, 0.18);
    border-color: rgba(250, 59, 0, 0.4);
    box-shadow: 0 0 10px rgba(250, 59, 0, 0.15);
}

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

/* Procedural Wavy Waveform - Always Animating for Fluid Vibe */
.pocket-wave-container {
    width: 100%;
    height: 20px;
    overflow: hidden;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85; /* Always visible */
    transition: opacity 0.3s ease;
}

.pocket-wave-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.pocket-wave-path {
    stroke: #FA3B00;
    filter: drop-shadow(0 0 4px rgba(250, 59, 0, 0.6));
    transform: translateX(0);
    animation: wave-scroll 1.4s linear infinite; /* Endless background ripple */
}

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

/* Pocket Playback Controls */
.pocket-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px; /* Slightly wider spacing since we now only have 3 premium buttons */
    width: 100%;
    margin-top: 4px;
}

#pocketBtnShuffle, #pocketBtnLoop {
    display: none !important;
}

.pocket-btn {
    background: none;
    border: none;
    padding: 8px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 50%;
}

.pocket-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.pocket-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.pocket-btn:active svg {
    transform: scale(0.9);
}

.pocket-btn.btn-play-pause {
    width: 46px;
    height: 46px;
    background: #ffffff !important;
    color: #FA3B00 !important; /* Vibrant brand orange icon color! */
    box-shadow: 
        0 4px 15px rgba(250, 59, 0, 0.35), 
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pocket-btn.btn-play-pause:hover {
    background: #ffffff !important;
    transform: scale(1.08);
    box-shadow: 
        0 6px 20px rgba(250, 59, 0, 0.5), 
        0 0 0 6px rgba(250, 59, 0, 0.1);
}

.pocket-btn.btn-play-pause svg {
    width: 16px;
    height: 16px;
}

/* Mobile Navigation Drawer Open Overlay Protection */
.site-header.open .header-player-pocket {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}



/* PERF: Remove disc container backdrop-filter on mobile — heaviest scroll-time GPU cost */
@media (max-width: 768px) {
    .pocket-disc-container {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(30, 15, 0, 0.65) !important; /* Slightly more opaque to compensate for no blur */
    }
}

/* Premium Mobile Responsive Optimization for Hanging Player Pocket (Screens <= 768px) */
@media (max-width: 768px) {
    .header-player-pocket {
        display: flex !important; /* Override any display-none and keep hanging player active! */
    }

    /* Mobile (≤768px): use vw-based sizing — vh is unreliable on mobile browsers
       due to dynamic toolbars. vw always maps to physical screen width. Mathematically locked to perfect circles. */
    .pocket-disc-container {
        height: clamp(120px, 38vw, 240px) !important;
        width: calc(clamp(120px, 38vw, 240px) * 2) !important;
        max-width: 92vw !important;
    }

    .site-header.scrolled .pocket-disc-container {
        height: clamp(100px, 32vw, 200px) !important;
        width: calc(clamp(100px, 32vw, 200px) * 2) !important;
        max-width: 80vw !important;
    }



    /* Constrain the expanded music player drawer for phone screens - Always open and glassmorphic */
    .pocket-body {
        width: calc(100% - 16px) !important;
        max-width: 290px !important;
        padding: 14px 16px 10px 16px !important;
        border-radius: 16px !important;
        margin-top: 90px !important; /* increased by 50% from 60px to bring the player blur card further down */
        background: rgba(255, 255, 255, 0.05) !important;
        backdrop-filter: blur(35px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(35px) saturate(180%) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        box-shadow: 
            0 15px 35px rgba(0, 0, 0, 0.25), 
            0 0 25px rgba(250, 59, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
        max-height: none !important;
    }

    /* Scale track info */
    .pocket-track-info {
        margin-bottom: 6px;
    }

    .pocket-track-code {
        font-size: 8.5px;
        margin-bottom: 2px;
    }

    .pocket-track-title {
        font-size: 14px;
        margin-bottom: 3px;
        letter-spacing: -0.2px;
    }

    .pocket-track-subcategories-marquee span {
        font-size: 8.5px !important;
        padding: 2px 8px !important;
    }

    /* Scale visualizer wave */
    .pocket-wave-container {
        height: 14px;
        margin: 6px 0;
    }

    /* Scale timeline and time text */
    .pocket-timeline-container {
        margin: 6px 0 4px 0;
        gap: 8px;
    }

    .pocket-time {
        font-size: 9px;
        min-width: 26px;
    }

    .pocket-progress-bar {
        height: 4px;
    }

    /* Scale playback console controls */
    .pocket-controls {
        gap: 12px;
        margin-top: 2px;
    }

    .pocket-btn {
        padding: 6px;
    }

    .pocket-btn svg {
        width: 13px;
        height: 13px;
    }

    .pocket-btn.btn-play-pause {
        width: 38px;
        height: 38px;
        background: #ffffff !important;
        color: #FA3B00 !important;
        box-shadow: 0 3px 10px rgba(250, 59, 0, 0.35) !important;
    }

    .pocket-btn.btn-play-pause svg {
        width: 13px;
        height: 13px;
    }
}

/* ══════════════════════════════════════════════
   Redesigned Services Section — Premium Layout
   ══════════════════════════════════════════════ */
.where-section {
    position: relative;
    overflow: hidden;
    padding: 60px 0 80px;
    /* FIX: was overriding background — now uses transparent to let global orange through */
    background: transparent;
}

#services .section-title {
    margin-bottom: 24px;
}

.services-layout-container {
    display: flex;
    align-items: stretch;
    position: relative;
    width: 100%;
    max-width: 1680px; /* increased from 1600px to expand card width */
    margin: 10px auto 0 auto;
    box-sizing: border-box;
    min-height: 1310px !important; /* adjusted to accommodate the 420px height cards */
    padding-right: 60px;
}

/* ── Left Zone: Vinyl Disc + Connectors ── */
.services-left-zone {
    position: relative;
    width: 320px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* ── Hero-style Vinyl Disc (Double Size: 1200px) ── */
.services-left-disc {
    position: absolute;
    left: -900px;   /* 1200px disc, center is at -300px (off-screen) */
    top: 50%;
    transform: translateY(-50%);
    width: 1200px;
    height: 1200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 0 70px rgba(250, 59, 0, 0.25),
        0 0 120px rgba(250, 59, 0, 0.1),
        inset 0 0 60px rgba(0, 0, 0, 0.5);
    z-index: 3;
    pointer-events: none;
}

/* Spinning conic vinyl plate */
.svc-disc-spin {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    transform-origin: center;
    transition: transform 1.5s cubic-bezier(0.1, 0.4, 0.1, 1);
    background: conic-gradient(
        from 0deg,
        #b83000 0deg,
        #FA3B00 35deg,
        #ffaa33 75deg,
        #ffffff 110deg,
        #ffaa33 150deg,
        #FA3B00 190deg,
        #b83000 230deg,
        #FA3B00 265deg,
        #ffffff 300deg,
        #ffaa33 330deg,
        #b83000 360deg
    );
}

/* Vinyl groove rings */
.svc-disc-grooves {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        repeating-radial-gradient(
            circle at center,
            transparent,
            transparent 9px,
            rgba(255, 255, 255, 0.04) 10px,
            rgba(0, 0, 0, 0.14) 11px
        ),
        radial-gradient(circle at center, rgba(250, 59, 0, 0.12) 0%, transparent 80%);
    pointer-events: none;
}

@keyframes servicesDiscRotate {
    from { transform: translateY(-50%) rotate(0deg); }
    to   { transform: translateY(-50%) rotate(360deg); }
}

/* Connector lines SVG */
.services-connectors-svg {
    position: absolute;
    left: 0;       /* Align perfectly with the left edge of the section layout */
    top: 50%;
    transform: translateY(-50%);
    width: 334px;  /* Span exactly to the edge where the cards sit horizontally (334px) */
    height: 1398px; /* exactly matches new giant stack height (450px * 3 + 24px * 2) */
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.connector-line-bg {
    stroke: rgba(255, 255, 255, 0.08); /* subtle translucent white, exactly like project steps bg path */
    stroke-width: 1.5px;
    stroke-linecap: round;
    opacity: 1; /* always active track */
    transition: opacity 0.3s ease;
}

.connector-line-pulse {
    stroke: #ffffff; /* white core, exactly like project steps active path */
    stroke-width: 2px;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.04s linear, stroke-width 0.2s ease, filter 0.2s ease;
}

.coral-glow   { filter: drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 12px #ff7e00); }
.blue-glow    { filter: drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 12px #ff7e00); }
.emerald-glow { filter: drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 12px #ff7e00); }

/* ── Hover Glow Relationships via Modern CSS :has() ── */
.services-layout-container:has(.service-pill-row.theme-coral:hover) .connector-line-pulse.coral-glow {
    stroke-width: 3.5px;
    filter: drop-shadow(0 0 8px #ffffff) drop-shadow(0 0 20px #ff7e00);
}
.services-layout-container:has(.service-pill-row.theme-coral:hover) .connector-line-bg.coral-line-bg {
    opacity: 0.8;
    stroke-width: 1.5px;
}
.services-layout-container:has(.service-pill-row.theme-coral:hover) .connector-line-bg:not(.coral-line-bg) {
    opacity: 0.15; /* dim other connection paths */
}

.services-layout-container:has(.service-pill-row.theme-blue:hover) .connector-line-pulse.blue-glow {
    stroke-width: 3.5px;
    filter: drop-shadow(0 0 8px #ffffff) drop-shadow(0 0 20px #ff7e00);
}
.services-layout-container:has(.service-pill-row.theme-blue:hover) .connector-line-bg.blue-line-bg {
    opacity: 0.8;
    stroke-width: 1.5px;
}
.services-layout-container:has(.service-pill-row.theme-blue:hover) .connector-line-bg:not(.blue-line-bg) {
    opacity: 0.15;
}

.services-layout-container:has(.service-pill-row.theme-emerald:hover) .connector-line-pulse.emerald-glow {
    stroke-width: 3.5px;
    filter: drop-shadow(0 0 8px #ffffff) drop-shadow(0 0 20px #ff7e00);
}
.services-layout-container:has(.service-pill-row.theme-emerald:hover) .connector-line-bg.emerald-line-bg {
    opacity: 0.8;
    stroke-width: 1.5px;
}
.services-layout-container:has(.service-pill-row.theme-emerald:hover) .connector-line-bg:not(.emerald-line-bg) {
    opacity: 0.15;
}

/* ── Active Scroll-Glow Card States (Glows as lines draw in) ── */
.service-pill-row.scroll-glow::before {
    opacity: 1 !important;
}
.service-pill-row.theme-coral.scroll-glow {
    border-color: rgba(250, 59, 0, 0.5) !important;
    box-shadow: 0 10px 45px rgba(250, 59, 0, 0.12), 0 0 0 1px rgba(250, 59, 0, 0.15) inset !important;
}
.service-pill-row.theme-blue.scroll-glow {
    border-color: rgba(250, 59, 0, 0.5) !important;
    box-shadow: 0 10px 45px rgba(250, 59, 0, 0.12), 0 0 0 1px rgba(250, 59, 0, 0.15) inset !important;
}
.service-pill-row.theme-emerald.scroll-glow {
    border-color: rgba(250, 59, 0, 0.5) !important;
    box-shadow: 0 10px 45px rgba(250, 59, 0, 0.12), 0 0 0 1px rgba(250, 59, 0, 0.15) inset !important;
}

/* ══════════════════════════════════════════════
   Right Pills Stack
   ══════════════════════════════════════════════ */
.services-pills-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    position: relative;
    z-index: 2;
    min-width: 0;
}

/* Horizontal Service Pill Card (Enlarged to 450px Breadth/Height) */
.service-pill-row {
    display: flex;
    align-items: center;
    background: rgba(15, 10, 5, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 225px; /* maintained capsule shape for 450px height */
    padding: 24px 60px 24px 24px; /* roomy padding to handle scaled children */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 450px; /* increased breadth by 50% from original 300px base */
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    gap: 24px;
}

/* Subtle left-side glow sweep on hover */
.service-pill-row::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.service-pill-row.theme-coral::before  { background: linear-gradient(90deg, rgba(255,106,0,0.1) 0%, transparent 45%); }
.service-pill-row.theme-blue::before   { background: linear-gradient(90deg, rgba(255,106,0,0.1) 0%, transparent 45%); }
.service-pill-row.theme-emerald::before{ background: linear-gradient(90deg, rgba(255,106,0,0.1) 0%, transparent 45%); }
.service-pill-row:hover::before { opacity: 1; }

/* ── Scroll-Reveal Initial State via CSS Custom Properties ── */
/* Cards start invisible and offset — driven continuously by JS setting --reveal-progress from 0 to 1 */
.service-pill-row {
    --reveal-progress: 0;
    opacity: var(--reveal-progress);
    transition:
        opacity 0.15s ease-out,
        transform 0.15s ease-out,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.service-pill-row:hover {
    transition:
        opacity 0.2s ease-out,
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

/* Curved spacing following the vinyl disc radius */
.service-pill-row.theme-coral   { transform: translateX(calc(-100px + (1 - var(--reveal-progress)) * 180px)); border-color: rgba(250, 59, 0, 0.18); }
.service-pill-row.theme-blue    { transform: translateX(calc(0px - (1 - var(--reveal-progress)) * 120px)); border-color: rgba(250, 59, 0, 0.18); }
.service-pill-row.theme-emerald { transform: translateX(calc(-100px + (1 - var(--reveal-progress)) * 180px)); border-color: rgba(250, 59, 0, 0.18); }

/* Hover state overrides relative to their custom curved alignments */
.service-pill-row.theme-coral:hover   { border-color: rgba(250, 59, 0, 0.5);  transform: translateX(-92px) scale(1.008); box-shadow: 0 10px 45px rgba(250, 59, 0, 0.12), 0 0 0 1px rgba(250, 59, 0, 0.15) inset; }
.service-pill-row.theme-blue:hover    { border-color: rgba(250, 59, 0, 0.5);  transform: translateX(8px) scale(1.008); box-shadow: 0 10px 45px rgba(250, 59, 0, 0.12),  0 0 0 1px rgba(250, 59, 0, 0.15) inset; }
.service-pill-row.theme-emerald:hover { border-color: rgba(250, 59, 0, 0.5);  transform: translateX(-92px) scale(1.008); box-shadow: 0 10px 45px rgba(250, 59, 0, 0.12),  0 0 0 1px rgba(250, 59, 0, 0.15) inset; }

/* ── Image Circle (Enlarged to 370px to fit 450px breadth) ── */
.pill-circle-container {
    width: 370px;
    height: 370px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid rgba(255, 255, 255, 0.08); /* Inactive subtle border: exactly like timeline steps path before scroll! */
    box-shadow: none;
}

.pill-circle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-pill-row:hover .pill-circle-image { transform: scale(1.12); }

/* Circle Ignites in Vibrant Orange/Coral on Active Scroll-Glow or Hover for ALL cards! */
.service-pill-row:hover .pill-circle-container,
.service-pill-row.scroll-glow .pill-circle-container {
    border: 3px solid #FA3B00 !important;
    box-shadow: 0 0 30px rgba(250, 59, 0, 0.65) !important;
}

/* ── Center Title — Left-aligned, fluid spacing ── */
.pill-center-content {
    flex: 1;
    min-width: 0;
    max-width: 540px;
    padding: 0 30px 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pill-service-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 68px; /* premium size representing 50% breadth increase */
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.15;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    white-space: normal;
}

.service-pill-row.theme-coral:hover   .pill-service-title { color: #ff8833; text-shadow: 0 0 18px rgba(255,106,0,0.4); }
.service-pill-row.theme-blue:hover    .pill-service-title { color: #ff8833; text-shadow: 0 0 18px rgba(255,106,0,0.4); }
.service-pill-row.theme-emerald:hover .pill-service-title { color: #ff8833; text-shadow: 0 0 18px rgba(255,106,0,0.4); }

/* ── Right Capsule — Vertically Stacked Glowing Pointers ── */
.pill-cylinder-capsule {
    flex: none; /* keep exact width and push right */
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    margin-left: auto; /* push to the right edge of the card */
    margin-right: 60px; /* pull inside to prevent curved edge text clip */
    box-sizing: border-box;
    background: transparent;
    border: none;
}

/* ── Circle Curved Text Overlay for AI Automation card ── */
.circle-curved-text-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45); /* overlay tint to make white text pop */
    transition: opacity 0.4s ease;
}

.circle-text-svg {
    width: 100%;
    height: 100%;
}

.straight-text-ai {
    fill: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px; /* Huge and bold straight text */
    font-weight: 800;
    letter-spacing: 2px;
}

.curved-text-lettering {
    fill: rgba(255, 255, 255, 0.9);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 8px; /* Compact readable curved text */
    font-weight: 700;
    letter-spacing: 2px;
}

/* Premium Monospace Vertical bulleted item list */
.pill-sub-item {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px; /* Enlarged to fit giant colossal breadth */
    color: rgba(255, 255, 255, 0.65);
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 500;
    letter-spacing: -0.2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: normal;
    cursor: default;
}

.service-pill-row:hover .pill-sub-item { 
    color: rgba(255, 255, 255, 1); 
    transform: translateX(6px);
}

/* Animated Breathing Neon Orange Bullet Points */
.pill-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    background: #FA3B00 !important; /* Unified brand orange for all bullets! */
    box-shadow: 0 0 10px rgba(250, 59, 0, 0.8), 0 0 20px rgba(250, 59, 0, 0.4);
    animation: pulseBullet 2s infinite ease-in-out;
}

.pill-bullet.bg-coral,
.pill-bullet.bg-blue,
.pill-bullet.bg-emerald {
    background: #FA3B00 !important;
}

@keyframes pulseBullet {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(250, 59, 0, 0.8), 0 0 20px rgba(250, 59, 0, 0.4);
    }
    50% {
        transform: scale(1.3);
        box-shadow: 0 0 16px rgba(250, 59, 0, 1), 0 0 28px rgba(250, 59, 0, 0.7);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(250, 59, 0, 0.8), 0 0 20px rgba(250, 59, 0, 0.4);
    }
}

/* ── Responsive ≤ 1600px — Laptop & Tablet Layout ── */
@media (max-width: 1600px) {
    .services-layout-container {
        padding-right: 30px;
        min-height: 1310px !important;
    }

    .service-pill-row {
        height: 400px;
        border-radius: 200px;
        padding: 20px 40px 20px 20px;
    }

    .pill-circle-container {
        width: 320px;
        height: 320px;
    }

    .pill-center-content {
        flex: 1;
        min-width: 0;
        max-width: 420px;
        padding: 0 24px;
    }

    .pill-service-title {
        font-size: 54px;
    }
    
    .pill-cylinder-capsule {
        margin-left: auto;
        margin-right: 40px; /* pull inside curved border */
        gap: 12px;
    }
    
    .pill-sub-item {
        font-size: 18px;
    }
}

/* ══════════════════════════════════════════════
   Responsive ≤ 900px — Mobile stack
   ══════════════════════════════════════════════ */
@media (max-width: 900px) {
    .where-section {
        padding: 60px 0;
        /* FIX: ensure background stays transparent on mobile */
        background: transparent !important;
    }

    .services-layout-container {
        flex-direction: column;
        align-items: center;
        margin-top: 24px;
        min-height: auto !important;
        padding: 0 20px;
    }

    .services-left-zone {
        display: none;
    }

    .services-pills-stack {
        width: 100%;
        max-width: 520px;
        gap: 16px;
    }

    .service-pill-row {
        flex-direction: row !important;
        height: 180px !important;
        border-radius: 9999px !important;
        padding: 16px 6px 16px 12px !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: clamp(8px, 2.2vw, 14px) !important;
        text-align: left !important;
        /* FIX: Use rgba background that doesn't fight with orange theme */
        background: rgba(20, 10, 0, 0.55) !important;
        border: 1.5px solid rgba(250, 59, 0, 0.22) !important;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35) !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        opacity: var(--reveal-progress) !important;
        /* PERF: Disable expensive backdrop-filter on mobile pill rows */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transition: opacity 0.15s ease-out, transform 0.15s ease-out, border-color 0.4s ease, box-shadow 0.4s ease !important;
    }

    .service-pill-row:hover {
        background: rgba(65, 48, 36, 0.85) !important;
    }

    /* Mobile scroll-reveal slide-in translations */
    .service-pill-row.theme-coral {
        transform: translateX(calc(-60px + var(--reveal-progress) * 60px)) !important;
    }
    .service-pill-row.theme-blue {
        transform: translateX(calc(60px - var(--reveal-progress) * 60px)) !important;
    }
    .service-pill-row.theme-emerald {
        transform: translateX(calc(-60px + var(--reveal-progress) * 60px)) !important;
    }

    .pill-circle-container {
        width: 100px !important; /* Optimally sized circle to allow generous space for title and bullets */
        height: 100px !important;
        margin-bottom: 0 !important; /* Clear vertical stack offset */
        flex-shrink: 0 !important;
        border: 2px solid rgba(250, 59, 0, 0.4) !important;
        box-shadow: 0 0 15px rgba(250, 59, 0, 0.25) !important;
    }

    .pill-center-content {
        width: auto !important;
        flex: 1 1 auto !important;
        min-width: 0 !important; /* Critical to enable content wrapping and prevent flex overlap */
        max-width: clamp(90px, 28vw, 125px) !important; /* Expanded horizontal boundary to support larger typography */
        padding: 0 !important; /* Let standard fluid gap handle horizontal padding cleanly */
        margin-left: clamp(2px, 1.2vw, 6px) !important; /* Crisp, perfectly balanced gap next to circle */
        margin-bottom: 0 !important;
        text-align: left !important;
    }

    .pill-service-title {
        font-size: clamp(20px, 5.5vw, 26px) !important; /* Highly prominent, premium category font size */
        font-weight: 700 !important;
        white-space: normal !important;
        line-height: 1.15 !important;
        color: #ffffff !important;
        letter-spacing: -0.2px !important;
    }

    .pill-cylinder-capsule {
        flex: 0 1 auto !important;
        width: auto !important; /* wrap content naturellement */
        max-width: clamp(100px, 30vw, 125px) !important; /* Protects bullet area from overflow */
        height: auto !important;
        padding: 0 !important; /* strip box padding */
        border-radius: 0 !important; /* strip capsule shape */
        background: transparent !important; /* strip box background */
        border: none !important; /* strip box border */
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        gap: clamp(4px, 1.5vw, 8px) !important; /* fluid bullet item vertical spacing */
        margin-left: auto !important; /* pushes capsule to the right edge */
        margin-right: 2px !important; /* Pulled closer to the right edge to shift pointers rightward */
        box-sizing: border-box !important;
    }

    /* Scaling for SVG overlay curved text on mobile (AI Automation) */
    .straight-text-ai {
        font-size: 20px !important; /* Scaled to fit 100px circle container */
    }
    .curved-text-lettering {
        font-size: 7.5px !important;
        letter-spacing: 1.5px !important;
    }

    .pill-sub-item {
        width: auto !important;
        justify-content: flex-start !important;
        padding: 0 !important;
        font-size: clamp(10.5px, 2.9vw, 12.5px) !important; /* Extremely readable mobile bullet text size */
        gap: clamp(4px, 1.5vw, 8px) !important; /* Dynamic item gap */
        font-weight: 500 !important;
        white-space: normal !important; /* Enable wrapping for multi-word bullet items */
        line-height: 1.25 !important;
    }

    .pill-bullet {
        width: 6px !important; /* Scaled bullet size */
        height: 6px !important;
    }

    /* Shift 'AI Automation' card title leftwards on mobile to prevent overlapping the wrapped bullet point dot */
    .theme-blue .pill-center-content {
        margin-left: -8px !important;
        max-width: 95px !important; /* Keep it slightly narrower to clear list items */
    }
}

/* Screen reader only helper for semantic SEO heading structures */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Restored Mobile & Footer Button/Social styles ── */
.bf-col-ctas {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 200px;
}

.bf-cta-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    height: 58px !important;
    padding: 4px 66px 4px 24px !important;
    border-radius: 29px !important;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    cursor: pointer;
    width: 100%;
}

.bf-cta-row:hover {
    padding: 4px 24px 4px 66px !important;
    transform: translateY(-1px);
}

.bf-cta-text {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bf-cta-label {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1;
}

.bf-cta-icon {
    position: absolute;
    right: 4px;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.bf-cta-row:hover .bf-cta-icon {
    right: calc(100% - 54px) !important;
    transform: rotate(45deg);
}

.bf-cta-row.bf-btn-primary {
    border: none !important;
    background: linear-gradient(325deg, #ff4c00 0%, #ffb800 55%, #ff4c00 90%) !important;
    background-size: 280% auto !important;
    background-position: 0% 50% !important;
    box-shadow: 0px 0px 20px rgba(255,106,0,0.35), 0px 5px 5px -1px rgba(255,76,0,0.2), inset 3px 3px 6px rgba(255,235,210,0.35), inset -3px -3px 6px rgba(180,60,0,0.28) !important;
    transition: background-position 0.7s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease !important;
}

.bf-cta-row.bf-btn-primary:hover {
    background-position: 100% 0% !important;
    box-shadow: 0px 0px 25px rgba(255,106,0,0.5), 0px 7px 8px -1px rgba(255,76,0,0.3), inset 3px 3px 6px rgba(255,235,210,0.35), inset -3px -3px 6px rgba(180,60,0,0.28) !important;
}

.bf-cta-row.bf-btn-primary .bf-cta-icon {
    background: #ffffff;
    color: #ff4c00;
}

.bf-cta-row.bf-btn-primary .bf-cta-icon svg {
    stroke: #ff4c00 !important;
}

.bf-cta-row.bf-btn-secondary {
    border-radius: 29px !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 140, 40, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.bf-cta-row.bf-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 160, 60, 0.45);
}

.bf-cta-row.bf-btn-secondary .bf-cta-icon {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.bf-cta-row.bf-btn-secondary .bf-cta-icon svg {
    stroke: #ffffff !important;
}

.bf-socials-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 6px;
    border-radius: 28px;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(250, 59, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    box-sizing: border-box;
    width: fit-content;
    max-width: none;
    justify-content: flex-start;
}

.footer-col-right .bf-socials-row {
    margin-top: 20px;
}

.bf-socials-gradient {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.bf-social-icon-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    z-index: 2;
    box-sizing: border-box;
}

.bf-social-bg-highlight {
    position: absolute;
    inset: 4px;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    pointer-events: none;
}

.bf-social-icon-link:hover .bf-social-bg-highlight {
    opacity: 1;
    transform: scale(1);
}

.bf-social-icon-svg-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #737373;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bf-social-icon-svg-wrapper svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
}

.bf-social-icon-link:hover .bf-social-icon-svg-wrapper {
    color: #ffffff;
    transform: scale(1.1);
}

.bf-social-bottom-line {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    border-radius: 9999px;
    background: #ffffff;
    width: 0;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

.bf-social-icon-link:hover .bf-social-bottom-line {
    width: 12px;
    opacity: 1;
}

.bf-social-tooltip-new {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translate(-50%, 4px);
    padding: 4px 10px;
    border-radius: 8px;
    background: #ffffff;
    color: #0a0a0a;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.bf-social-tooltip-arrow {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: #ffffff;
    pointer-events: none;
}

.bf-social-icon-link:hover .bf-social-tooltip-new {
    opacity: 1;
    transform: translate(-50%, 0);
}

.footer-ctas-socials {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
