﻿/* =============================================
   Stairio Homepage — Premium Redesign
   Inspired by Stripe, Linear, Vercel, Apple
   ============================================= */

/* Home page uses full-bleed hero — no body padding */
body {
    padding-top: 0;
}

/* =============================================
   REUSABLE UTILITIES
   ============================================= */
.text-gradient {
    background: linear-gradient(135deg, #a78bfa 0%, #818cf8 40%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(167, 139, 250, 0.9);
    margin-bottom: 24px;
}

.section-label-light {
    color: rgba(167, 139, 250, 0.7);
}

/* Scroll-triggered fade-in */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.fade-in-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* =============================================
   HERO SECTION — Reference redesign
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* content anchors to bottom */
    align-items: center;
    text-align: center;
    padding: 0 40px 72px;
    overflow: hidden;
    background: #080a0f;
}

/* ---- Spline canvas — fills entire hero ---- */
#spline-canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    pointer-events: auto;
    /* allow interaction with the 3D scene */
}

/* ---- Loading overlay ---- */
.spline-loader {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #080a0f;
    transition: opacity 0.6s ease;
}

.spline-spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(167, 139, 250, 0.15);
    border-top-color: rgba(167, 139, 250, 0.8);
    animation: spinnerRotate 0.9s linear infinite;
}

@keyframes spinnerRotate {
    to {
        transform: rotate(360deg);
    }
}

/* ---- Gradient overlay — bottom fade for text readability ---- */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom,
            rgba(8, 10, 15, 0.10) 0%,
            rgba(8, 10, 15, 0.0) 30%,
            rgba(8, 10, 15, 0.0) 55%,
            rgba(8, 10, 15, 0.72) 85%,
            rgba(8, 10, 15, 0.92) 100%);
}

/* Mobile-specific stronger overlay is applied via a media query below */

/* ---- Floating chips ---- */
.hero-chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    animation: chipFloat 4s ease-in-out infinite;
}

/* Centered chip inside content flow (above heading) */
.hero-chip--center {
    position: static;
    animation: none;
    margin-bottom: 4px;
}

/* top-right chip */
.hero-chip--tr {
    top: 26%;
    right: 7%;
    animation-delay: 1.4s;
}

/* bottom-left chip */
.hero-chip--bl {
    bottom: 28%;
    left: 5%;
    animation-delay: 2.6s;
}

@keyframes chipFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
    flex-shrink: 0;
    animation: chipDotPulse 2s ease-in-out infinite;
}

@keyframes chipDotPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 14px rgba(34, 197, 94, 0.9);
    }
}

.chip-cursor {
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

/* ---- Hero content — bottom-anchored so robot is visible ---- */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    /* Ensure pointer events pass through to Spline canvas where no element exists */
    pointer-events: none;
}

/* Re-enable pointer events on interactive children */
.hero-content-wrapper a,
.hero-content-wrapper button,
.hero-chip {
    pointer-events: auto;
}

/* Heading */
.hero-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(34px, 4.6vw, 58px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: #f1f5f9;
    margin: 0;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
    animation: fadeUp 0.8s ease-out 0.1s forwards;
    opacity: 0;
}

.hero-title .line {
    display: block;
}

.hero-title .line-gradient {
    background: linear-gradient(90deg, #c4b5fd 0%, #93c5fd 50%, #67e8f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA group */
.hero-cta-group {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    animation: fadeUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

/* Primary button — filled blue pill */
.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.55);
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

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

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

/* Secondary button — dark filled pill (matches reference) */
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.85);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 100px;
    transition: all 0.25s ease;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-btn-secondary:hover {
    color: #f1f5f9;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(180deg, rgba(167, 139, 250, 0.45) 0%, transparent 100%);
    animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.6);
        transform-origin: top;
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* =============================================
   LOGO MARQUEE SECTION
   ============================================= */
.marquee-section {
    background: #05060a;
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.marquee-label {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 28px;
}

.marquee-track {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.marquee-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-logo {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
    white-space: nowrap;
    text-transform: uppercase;
    transition: color 0.3s ease;
    user-select: none;
}

.marquee-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

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

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

/* =============================================
   TRUST / ABOUT SECTION
   ============================================= */
.trust-section {
    position: relative;
    background: #0a0a0f;
    padding: 120px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
}

.trust-header {
    text-align: center;
    margin-bottom: 20px;
}

.trust-headline {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.2;
    letter-spacing: -1px;
    max-width: 800px;
    margin: 0 auto;
}

.trust-description {
    text-align: center;
    margin-bottom: 72px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.trust-description p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(226, 232, 240, 0.5);
    font-weight: 400;
}

/* Proof Grid */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.proof-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 32px 24px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.proof-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.proof-card:hover {
    border-color: rgba(139, 92, 246, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(139, 92, 246, 0.1);
}

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

.proof-card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'Space Grotesk', monospace;
    font-size: 13px;
    font-weight: 700;
    color: rgba(139, 92, 246, 0.4);
    letter-spacing: 1px;
    z-index: 1;
}

.proof-card-visual {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.proof-card-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
    background: rgba(10, 10, 15, 0.5);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.proof-card:hover .proof-card-image {
    transform: scale(1.03);
}

.proof-card-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.proof-card-text {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.5);
    font-weight: 400;
    flex-grow: 1;
}

/* =============================================
   METRICS SECTION
   ============================================= */
.metrics-section {
    background: #07080c;
    padding: 80px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.metrics-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.metric-item {
    flex: 1;
    text-align: center;
    padding: 20px 24px;
}

.metric-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: -2px;
    line-height: 1;
}

.metric-suffix {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 600;
    color: rgba(167, 139, 250, 0.7);
    letter-spacing: -1px;
}

.metric-label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.4);
    letter-spacing: 0.5px;
}

.metric-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    flex-shrink: 0;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
    position: relative;
    background: #0a0a0f;
    padding: 120px 40px 140px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.services-container {
    max-width: 1100px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 72px;
}

.services-header h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    color: #f1f5f9;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.8px;
}

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

.service-card {
    position: relative;
    padding: 48px 40px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover {
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(139, 92, 246, 0.08);
}

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

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

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Space Grotesk', monospace;
    color: #f1f5f9;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(96, 165, 250, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.2);
    margin-bottom: 28px;
}

.service-content h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.service-content p {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.5);
    margin-bottom: 24px;
    font-weight: 400;
}

/* Service feature list */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.6);
}

.service-features li svg {
    color: rgba(139, 92, 246, 0.7);
    flex-shrink: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(167, 139, 250, 0.9);
    text-decoration: none;
    transition: all 0.25s ease;
}

.service-link .link-arrow {
    transition: transform 0.25s ease;
    display: inline-block;
}

.service-link:hover {
    color: #c4b5fd;
}

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

.service-link-muted {
    color: rgba(226, 232, 240, 0.35);
}

.service-link-muted:hover {
    color: rgba(226, 232, 240, 0.5);
}

/* =============================================
   STATEMENT SECTION
   ============================================= */
.statement-section {
    background: #07080c;
    padding: 120px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
}

.statement-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.statement-content {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.statement-content h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 500;
    color: #f1f5f9;
    line-height: 1.3;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.statement-content p {
    font-size: 18px;
    color: rgba(226, 232, 240, 0.4);
    line-height: 1.7;
    font-weight: 400;
}

/* =============================================
   WHY STAIRIO SECTION
   ============================================= */
.why-section {
    background: #0a0a0f;
    padding: 120px 40px;
}

.why-container {
    max-width: 1100px;
    margin: 0 auto;
}

.why-header {
    text-align: center;
    margin-bottom: 72px;
}

.why-header h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    color: #f1f5f9;
    letter-spacing: -0.8px;
    line-height: 1.2;
}

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

.why-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.why-card:hover {
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

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

.why-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(96, 165, 250, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: rgba(167, 139, 250, 0.8);
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(96, 165, 250, 0.12));
    border-color: rgba(139, 92, 246, 0.3);
    color: #a78bfa;
}

.why-card h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.why-card p {
    font-size: 14px;
    color: rgba(226, 232, 240, 0.45);
    line-height: 1.7;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    position: relative;
    padding: 140px 40px;
    text-align: center;
    overflow: hidden;
    background: #0a0a0f;
}

.cta-gradient-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 80%, rgba(139, 92, 246, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 80% 40% at 50% 100%, rgba(96, 165, 250, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.15;
}

.cta-subtitle {
    font-size: 17px;
    color: rgba(226, 232, 240, 0.45);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.35), 0 0 0 1px rgba(139, 92, 246, 0.1);
}

.cta-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 44px rgba(139, 92, 246, 0.5), 0 0 0 1px rgba(139, 92, 246, 0.2);
}

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

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

.cta-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.7);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.cta-secondary-btn:hover {
    color: #f1f5f9;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

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

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

    .proof-grid .proof-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

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

/* Mobile */
@media (max-width: 768px) {

    /* ── Hide floating side chips — they overlap hero text on small screens */
    .hero-chip--tr,
    .hero-chip--bl {
        display: none;
    }

    /* ── Center chip compact */
    .hero-chip--center {
        font-size: 11.5px;
        padding: 6px 13px;
        gap: 6px;
    }

    .hero {
        padding: 0 20px 56px;
        min-height: 100svh;
        /* Ensure enough bottom padding so the robot is visible above text */
        justify-content: flex-end;
    }

    /* On mobile: allow natural scrolling on canvas */
    #spline-canvas {
        touch-action: pan-y;
        pointer-events: none;
        /* disable canvas interaction on mobile to allow scroll */
    }

    /* Stronger overlay on mobile for better text legibility over the 3D canvas */
    .hero-overlay {
        background: linear-gradient(to bottom,
                rgba(8, 10, 15, 0.15) 0%,
                rgba(8, 10, 15, 0.05) 25%,
                rgba(8, 10, 15, 0.25) 50%,
                rgba(8, 10, 15, 0.80) 72%,
                rgba(8, 10, 15, 0.97) 100%);
    }

    .hero-content-wrapper {
        max-width: 100%;
        gap: 16px;
    }

    .hero-title {
        font-size: clamp(28px, 9vw, 44px);
        letter-spacing: -0.9px;
        text-shadow: 0 4px 32px rgba(0, 0, 0, 0.8);
    }

    .hero-badge {
        font-size: 12px;
        padding: 7px 16px 7px 12px;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        padding: 0 8px;
        gap: 10px;
        align-items: stretch;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }

    .marquee-section {
        padding: 32px 0;
    }

    .marquee-label {
        font-size: 11px;
        margin-bottom: 20px;
    }

    .trust-section {
        padding: 80px 20px;
    }

    .trust-headline {
        font-size: clamp(24px, 7vw, 36px);
    }

    .trust-description {
        margin-bottom: 48px;
    }

    .trust-description p {
        font-size: 15px;
    }

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

    .proof-grid .proof-card:last-child {
        max-width: 100%;
    }

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

    .proof-card-image {
        height: 180px;
    }

    .metrics-section {
        padding: 60px 20px;
    }

    .metrics-container {
        flex-wrap: wrap;
        gap: 0;
    }

    .metric-item {
        flex: 0 0 50%;
        padding: 20px 16px;
    }

    .metric-divider {
        display: none;
    }

    .metric-value {
        font-size: 36px;
    }

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

    .services-header {
        margin: 0 auto 48px;
    }

    .service-card {
        padding: 36px 28px;
    }

    .service-content h3 {
        font-size: 22px;
    }

    .statement-section {
        padding: 80px 20px;
    }

    .statement-content h2 {
        font-size: clamp(24px, 6vw, 36px);
    }

    .statement-content p {
        font-size: 16px;
    }

    .why-section {
        padding: 80px 20px;
    }

    .why-header {
        margin-bottom: 48px;
    }

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

    .why-card {
        padding: 32px 24px;
    }

    .cta-section {
        padding: 80px 20px;
    }

    .cta-content h2 {
        font-size: clamp(28px, 7vw, 40px);
    }

    .cta-subtitle {
        font-size: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 12px;
    }

    .cta-primary-btn,
    .cta-secondary-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Small mobile */
@media (max-width: 400px) {
    .hero {
        padding: 0 16px 48px;
    }

    .hero-title {
        font-size: 34px;
    }

    .metric-item {
        flex: 0 0 100%;
    }
}