/* 2026 Homepage Styles - Tokenized, glass-enabled */

/* Layout helpers - Modern, scalable section spacing */
.section {
    padding: var(--space-section-y) 0;
    position: relative;
}

/* Add subtle padding between consecutive sections */
.section + .section {
    margin-top: var(--space-section-between);
}

/* Section spacing variants */
.section-compact {
    padding: var(--space-section-y-compact) 0;
}

.section-large {
    padding: var(--space-section-y-large) 0;
}

/* Visual section dividers for modern separation - optimized */
.section + .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(85%, var(--section-divider-max-width, 1100px));
    height: var(--space-section-divider);
    background: linear-gradient(90deg, transparent, var(--border-color, rgba(0,0,0,0.06)), transparent);
    opacity: 0.6;
    pointer-events: none;
}

/* Hide divider for sections with backgrounds or special styling */
.section.hero-2026 + .section::before,
.section.feature-announcement + .section::before,
.section.testimonial-section + .section::before,
.section.feature-announcement::before,
.section.testimonial-section::before,
.section.hero-2026::before,
.section.stats-hero + .section::before {
    display: none;
}

/* Improved spacing for sections with different backgrounds */
.section.bg-muted + .section::before,
.section[class*="bg-"] + .section::before {
    display: none;
}

/* Mobile: optimized section spacing for better mobile experience */
@media (max-width: 768px) {
    .section {
        padding: clamp(2.5rem, 4.5vw, 3.5rem) 0;
    }
    
    .section-compact {
        padding: clamp(2rem, 3.5vw, 2.75rem) 0;
    }
    
    .section-large {
        padding: clamp(3rem, 5vw, 4rem) 0;
    }
    
    /* Slightly reduced spacing between sections on mobile */
    .section + .section {
        margin-top: clamp(0.375rem, 0.8vw, 0.75rem);
    }
    
    /* Hide dividers on mobile for cleaner look */
    .section + .section::before {
        display: none;
    }
}

/* Tablet: refined spacing for medium screens */
@media (min-width: 769px) and (max-width: 1024px) {
    .section {
        padding: clamp(3rem, 5.5vw, 5rem) 0;
    }
    
    .section-compact {
        padding: clamp(2.25rem, 4vw, 3.5rem) 0;
    }
    
    .section-large {
        padding: clamp(3.75rem, 6.5vw, 6rem) 0;
    }
    
    /* Slightly reduced spacing between sections on tablet */
    .section + .section {
        margin-top: clamp(0.5rem, 0.9vw, 0.875rem);
    }
}

/* Unified, scalable spacing for section headers */
.section .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-header-gap);
    margin: 0 auto var(--space-header-margin);
    text-align: center;
}

.section .section-subtitle {
    margin: 0 auto var(--space-subtitle-margin);
    max-width: 880px;
    color: var(--text-primary, #000000) !important;
}

/* Hero */
.hero-2026 {
    position: relative;
    background: linear-gradient(135deg, #f8f8f8 0%, #fafafa 50%, #f5f5f5 100%);
    padding-top: clamp(var(--space-2), 2.5vw, var(--space-6));
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Cinematic background layers */
.hero-2026::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, color-mix(in srgb, var(--brand, #F55722) 8%, transparent) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, color-mix(in srgb, var(--brand, #F55722) 5%, transparent) 0%, transparent 50%),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    pointer-events: none;
    animation: cinematicGlow 8s ease-in-out infinite, parallaxShift 15s ease-in-out infinite;
    z-index: 0;
}

.hero-2026::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Animated background orbs */
.hero-2026 .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
}

.hero-2026 .orb-1 {
    width: 300px;
    height: 300px;
    background: color-mix(in srgb, var(--brand, #F55722) 12%, transparent);
    top: 10%;
    left: -100px;
    animation: float 20s ease-in-out infinite, pulse 4s ease-in-out infinite;
}

.hero-2026 .orb-2 {
    width: 250px;
    height: 250px;
    background: color-mix(in srgb, var(--brand, #F55722) 8%, transparent);
    bottom: 10%;
    right: -50px;
    animation: float 15s ease-in-out infinite reverse, pulse 3.5s ease-in-out infinite reverse;
}

/* Particle effects */
.hero-2026::before {
    animation: cinematicGlow 8s ease-in-out infinite, parallaxShift 15s ease-in-out infinite;
}

.container-xl {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-content-gap);
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr; /* mobile-first */
    gap: var(--space-card-gap);
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid { grid-template-columns: 1fr 1fr; }
}

.hero-content-col {
    color: #1a1a1a;
    animation: slideInLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-2026 .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--brand, #F55722);
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand, #F55722) 8%, transparent);
    color: var(--brand, #F55722);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-6);
    animation: fadeInDown 0.6s ease-out, pulse 2s ease-in-out 0.6s infinite;
    position: relative;
}

.hero-2026 .eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, transparent, var(--brand, #F55722), transparent);
    animation: scanline 2s ease-in-out infinite;
}

.hero-2026 .display {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 900;
    margin-bottom: var(--space-6);
    color: #1a1a1a;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    animation: slideInLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
    position: relative;
}

.hero-2026 .display::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--brand, #F55722), transparent);
    animation: slideRight 1s ease-out 0.5s;
}

.hero-2026 .display .accent {
    color: var(--brand, #F55722);
    font-style: italic;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.hero-2026 .display .accent::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand, #F55722);
    animation: expandWidth 0.6s ease-out 0.3s both;
}

.hero-2026 .display .accent:hover {
    text-shadow: 0 0 20px color-mix(in srgb, var(--brand, #F55722) 30%, transparent);
    letter-spacing: 0.05em;
}

.hero-2026 .lead {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--space-8);
    color: rgba(26, 26, 26, 0.85);
    animation: slideInLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
    position: relative;
}

/* Remove subtext highlight box in hero */
.hero-2026 .lead::before { display: none !important; }

.hero-actions {
    display: flex;
    gap: var(--space-3);
    animation: slideInLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
    flex-wrap: wrap;
}

/* Remove box/border/shadow around hero CTA buttons */
.hero-actions .btn-2026 { box-shadow: none !important; border: none !important; background-clip: padding-box; }
.hero-actions .btn-2026.primary { box-shadow: none !important; }
.hero-actions .btn-2026.ghost { background: transparent !important; border: none !important; }
/* Disable shimmer overlay */
.hero-actions .btn-2026::before { display: none !important; }

.hero-actions .btn-2026:hover::before {
    left: 100%;
}

.hero-cards-grid {
    display: grid;
    grid-template-columns: 1fr; /* mobile-first */
    gap: var(--space-4);
    animation: slideInRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

@media (min-width: 600px) {
    .hero-cards-grid { grid-template-columns: 1fr 1fr; }
}

/* Hero cards */
.feature-card-hero {
    background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(255, 249, 246, 0.88) 80%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    padding: var(--space-6) var(--space-card-padding);
    text-align: center;
    color: #1a1a1a;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

/* Hover state for gradient cards */
.feature-card-hero:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,250,255,0.96) 100%);
    transform: translateY(-8px) scale(1.02);
    border-color: color-mix(in srgb, var(--brand, #F55722) 35%, transparent);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.feature-card-hero:nth-child(1) {
    animation-delay: 0.4s;
}

.feature-card-hero:nth-child(2) {
    animation-delay: 0.5s;
}

.feature-card-hero:nth-child(3) {
    animation-delay: 0.6s;
}

.feature-card-hero:nth-child(4) {
    animation-delay: 0.7s;
}

.feature-card-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand, #F55722) 15%, transparent), transparent);
    transition: left 0.6s ease;
}

.feature-card-hero:hover::before {
    left: 100%;
}

.feature-card-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, color-mix(in srgb, var(--brand, #F55722) 8%, transparent) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card-hero:hover::after {
    opacity: 1;
}

.feature-icon-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--brand, #F55722);
    border-radius: var(--radius-sm);
    margin: 0 auto var(--space-4);
    font-size: 28px;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.feature-icon-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.feature-card-hero:hover .feature-icon-hero::before {
    width: 80px;
    height: 80px;
}

.feature-card-hero:hover .feature-icon-hero {
    transform: scale(1.15) rotateZ(8deg);
    box-shadow: 0 15px 35px color-mix(in srgb, var(--brand, #F55722) 40%, transparent);
}

.feature-card-hero h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
    position: relative;
    z-index: 2;
    animation: fadeIn 0.6s ease-out 0.8s both;
    color: #1a1a1a;
}

.feature-card-hero p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
    position: relative;
    z-index: 2;
    animation: fadeIn 0.6s ease-out 0.9s both;
    color: rgba(26, 26, 26, 0.75);
}

/* Animations */
@keyframes cinematicGlow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

@keyframes parallaxShift {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-30px) translateX(20px);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scanline {
    0%, 100% {
        height: 0;
    }
    50% {
        height: 20px;
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-2026 .eyebrow,
    .hero-2026 .display,
    .hero-2026 .lead,
    .hero-actions,
    .hero-cards-grid,
    .feature-card-hero,
    .hero-orb {
        animation: none !important;
    }
}

/* Stats Section - Performance Optimized */
.stats-hero {
    background: #ffffff;
    padding: var(--space-section-y) 0;
    position: relative;
    border-top: 1px solid color-mix(in srgb, var(--brand, #F55722) 15%, transparent);
    content-visibility: auto;
    contain-intrinsic-size: auto 200px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr; /* mobile-first */
    gap: var(--space-grid-gap);
    align-items: stretch;
    contain: layout;
}

.stat-card {
    text-align: center;
    padding: var(--space-card-padding);
    background: var(--stat-bg, color-mix(in srgb, var(--brand, #F55722) 4%, transparent));
    border: 1px solid var(--stat-border, color-mix(in srgb, var(--brand, #F55722) 12%, transparent));
    border-radius: var(--radius-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto auto auto;
    grid-auto-flow: row;
    justify-items: center;
    contain: layout style paint;
    will-change: transform;
}

/* Soft radial highlight for depth */
.stat-card::after {
    content: '';
    position: absolute;
    inset: -30% -30% auto -30%;
    height: 140%;
    background: radial-gradient(120% 60% at 50% -10%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.24) 28%, rgba(255,255,255,0.06) 60%, transparent 70%);
    pointer-events: none;
    mix-blend-mode: screen;
}

.stat-card:nth-child(1) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.3s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.4s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.5s;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--stat-topbar, linear-gradient(90deg, transparent, var(--brand, #F55722), transparent));
    animation: expandWidth 0.6s ease-out;
    animation-delay: 0.5s;
}

.stat-card:hover {
    background: var(--stat-bg-hover, color-mix(in srgb, var(--brand, #F55722) 8%, transparent));
    border-color: var(--stat-border-hover, color-mix(in srgb, var(--brand, #F55722) 25%, transparent));
    transform: translate3d(0, -6px, 0);
    box-shadow: var(--stat-glow, 0 12px 40px rgba(0, 0, 0, 0.08));
}

.stat-card:focus,
.stat-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1), var(--stat-glow, 0 12px 40px rgba(0,0,0,0.08));
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Fallback solid */
    background: var(--stat-color, var(--brand, #F55722));
    /* Rich gradient similar to spotlight icons */
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--stat-color, #F55722) 88%, #ffffff 12%) 0%,
        color-mix(in srgb, var(--stat-color, #F55722) 70%, #f50950 30%) 100%
    );
    border: none;
    margin-bottom: var(--space-2);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.stat-icon i {
    color: #ffffff !important;
    font-size: 1.125rem;
}

/* Per-card brand colors for stats */
.stats-hero .stat-card:nth-child(1) { --stat-color: var(--brand, #F55722); }
.stats-hero .stat-card:nth-child(2) { --stat-color: #22a06b; }
.stats-hero .stat-card:nth-child(3) { --stat-color: #7a5cff; }
.stats-hero .stat-card:nth-child(4) { --stat-color: #2196F3; }

.stat-value {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--stat-value-color, var(--brand, #F55722));
    margin-bottom: var(--space-2);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: var(--stat-label-color, rgba(26, 26, 26, 0.8));
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Gradient Variants */
.stat-card[data-variant="clean"] {
    --stat-bg: var(--surface, #ffffff);
    --stat-bg-hover: var(--surface, #ffffff);
    --stat-border: var(--border-color, rgba(0,0,0,0.08));
    --stat-border-hover: rgba(0,0,0,0.16);
    --stat-topbar: linear-gradient(90deg, transparent, var(--brand, #F55722), transparent);
    --stat-icon-bg: linear-gradient(135deg, rgba(0,0,0,0.04), rgba(0,0,0,0.02));
    --stat-icon-border: rgba(0,0,0,0.06);
    --stat-icon-color: var(--brand, #F55722);
    --stat-value-color: var(--text-primary, #000000);
    --stat-label-color: rgba(0,0,0,0.66);
    --stat-glow: 0 10px 28px rgba(0, 0, 0, 0.10);
}

.stat-card[data-variant="sunset"] {
    /* Brand-forward orange with deep charcoal for contrast */
    --stat-bg: linear-gradient(135deg, rgba(245,87,34,0.6) 0%, rgba(0,0,0,0.6) 100%);
    --stat-bg-hover: linear-gradient(135deg, rgba(245,87,34,0.7) 0%, rgba(0,0,0,0.7) 100%);
    --stat-border: rgba(245, 87, 34, 0.55);
    --stat-border-hover: rgba(245, 87, 34, 0.75);
    --stat-topbar: linear-gradient(90deg, transparent, #F55722, #000000, transparent);
    --stat-icon-bg: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.15));
    --stat-icon-border: rgba(255,255,255,0.4);
    --stat-icon-color: #ffffff;
    --stat-value-color: #ffffff;
    --stat-label-color: rgba(255,255,255,0.95);
    --stat-glow: 0 16px 48px rgba(245, 87, 34, 0.35);
}

.stat-card[data-variant="lava"] {
    --stat-bg: linear-gradient(135deg, rgba(245,87,34,0.6) 0%, rgba(0,0,0,0.6) 50%, rgba(245,87,34,0.6) 100%);
    --stat-bg-hover: linear-gradient(135deg, rgba(245,87,34,0.7) 0%, rgba(0,0,0,0.7) 50%, rgba(245,87,34,0.7) 100%);
    --stat-border: rgba(245, 87, 34, 0.5);
    --stat-border-hover: rgba(245, 87, 34, 0.7);
    --stat-topbar: linear-gradient(90deg, transparent, #F55722, #000000, #F55722, transparent);
    --stat-icon-bg: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.12));
    --stat-icon-border: rgba(255,255,255,0.35);
    --stat-icon-color: #ffffff;
    --stat-value-color: #ffffff;
    --stat-label-color: rgba(255,255,255,0.92);
    --stat-glow: 0 16px 48px rgba(255, 0, 110, 0.35);
}

.stat-card[data-variant="ocean"] {
    --stat-bg: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(245,87,34,0.6) 100%);
    --stat-bg-hover: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(245,87,34,0.7) 100%);
    --stat-border: rgba(0, 0, 0, 0.45);
    --stat-border-hover: rgba(0, 0, 0, 0.6);
    --stat-topbar: linear-gradient(90deg, transparent, #000000, #F55722, transparent);
    --stat-icon-bg: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.12));
    --stat-icon-border: rgba(255,255,255,0.35);
    --stat-icon-color: #ffffff;
    --stat-value-color: #ffffff;
    --stat-label-color: rgba(255,255,255,0.95);
    --stat-glow: 0 16px 48px rgba(0, 168, 255, 0.35);
}

.stat-card[data-variant="aurora"] {
    --stat-bg: linear-gradient(135deg, rgba(245,87,34,0.6) 0%, rgba(0,0,0,0.6) 50%, rgba(245,87,34,0.6) 100%);
    --stat-bg-hover: linear-gradient(135deg, rgba(245,87,34,0.7) 0%, rgba(0,0,0,0.7) 50%, rgba(245,87,34,0.7) 100%);
    --stat-border: rgba(245,87,34,0.55);
    --stat-border-hover: rgba(245,87,34,0.75);
    --stat-topbar: linear-gradient(90deg, transparent, #F55722, #000000, #F55722, transparent);
    --stat-icon-bg: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.12));
    --stat-icon-border: rgba(255,255,255,0.35);
    --stat-icon-color: #ffffff;
    --stat-value-color: #ffffff;
    --stat-label-color: rgba(255,255,255,0.95);
    --stat-glow: 0 16px 48px rgba(122, 92, 255, 0.35);
}

/* Ensure text remains legible on high-contrast variants */
.stat-card[data-variant="lava"] .stat-label,
.stat-card[data-variant="ocean"] .stat-label,
.stat-card[data-variant="aurora"] .stat-label {
    mix-blend-mode: normal;
}
/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .stat-card { 
        animation: none !important; 
        transition: none !important; 
        will-change: auto;
    }
    .stat-card::before { animation: none !important; }
}

/* Mobile performance optimizations */
@media (max-width: 768px) {
    .stats-hero {
        contain-intrinsic-size: auto 150px;
    }
    
    .stat-card {
        will-change: auto;
    }
    
    .testimonial-section {
        contain-intrinsic-size: auto 400px;
    }
    
    .testimonial-card,
    .product-card {
        will-change: auto;
    }
}

/* Canva-like hero search */
.hero-search { margin-top: var(--space-4); }
.hero-search .search-field {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-2) var(--space-2) var(--space-3);
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: var(--elev-1);
    max-width: 560px;
}
.hero-search .search-field i { color: #888; }
.hero-search input[type="search"] {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
}
.hero-search .btn-2026.primary { border-radius: 999px; padding: var(--space-2) var(--space-4); }
.hero-search .search-chips { display: flex; gap: var(--space-2); margin-top: var(--space-2); flex-wrap: wrap; }
.hero-search .chip { cursor: pointer; }

.btn-2026 {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: 1px solid var(--border-color, rgba(0,0,0,0.08));
    background: var(--surface, #fff);
    color: var(--text-primary, #000);
}

.btn-2026.primary { 
    background: var(--brand-gradient, linear-gradient(135deg, #F55722 0%, #FF7A45 60%, #FF9F6E 100%));
    color: #fff; 
    border-color: transparent; 
}
@media (prefers-reduced-motion: no-preference) {
    .btn-2026.primary { transition: transform .2s ease, box-shadow .2s ease; }
    .btn-2026.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px color-mix(in srgb, var(--brand, #F55722) 30%, transparent); }
}
.btn-2026.ghost { background: transparent; border-color: rgba(0,0,0,0.12); }

/* Hero emphasis for Find CTA when primary */
.hero-actions .btn-2026.cta-find.primary {
    background: var(--brand-gradient, linear-gradient(135deg, #F55722 0%, #FF7A45 60%, #FF9F6E 100%));
}

.device-stack {
    position: relative;
    aspect-ratio: 4 / 3;
}

.device-card {
    position: absolute;
    inset: 0;
    transform: rotate(-2deg) translateY(6px);
    border-radius: var(--radius-lg, 22px);
    animation: deviceDrift 10s ease-in-out infinite;
}

.device-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.device-card:nth-child(1) { animation-delay: 0s; }
.device-card:nth-child(2) { animation-delay: 1.2s; }

@keyframes deviceDrift {
    0%, 100% { transform: rotate(-2deg) translateY(6px); }
    50% { transform: rotate(-1deg) translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
    .device-card { animation: none; }
}

/* Canva-like hero visual card */
.hero-visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-4) 0;
    box-shadow: var(--elev-2);
}
.hero-visual-card .browser-top { display: flex; gap: var(--space-2); align-items: center; padding-bottom: var(--space-2); }
.hero-visual-card .browser-top span { width: 10px; height: 10px; border-radius: 50%; background: rgba(0,0,0,0.12); display: inline-block; }
.hero-visual-card .device-stack { border-radius: var(--radius-md); overflow: hidden; }

/* Hero video container */
.hero-video { position: relative; border-radius: var(--radius-md); overflow: hidden; }
.hero-video video { width: 100%; height: auto; display: block; }
.hero-video-credit { position: absolute; right: var(--space-2); bottom: var(--space-2); background: rgba(0,0,0,0.55); color: #fff; padding: var(--space-2) var(--space-2); border-radius: 999px; font-size: 12px; text-decoration: none; }

/* Hero video background */
.hero-2026 { position: relative; overflow: hidden; }
.hero-2026 .hero-video-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-2026 .hero-video-bg video { width: 100%; height: 100%; object-fit: cover; filter: saturate(105%) contrast(105%); }


.glass-surface-strong {
    background-color: rgba(255,255,255,0.6);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: var(--elev-2);
}

/* Partners */
/* Modern Partners Section */
.partners-2026 {
    position: relative;
    background: linear-gradient(180deg, var(--surface, #fff) 0%, rgba(247, 247, 248, 0.5) 100%);
    padding: var(--space-section-y) 0;
}

.partners-2026::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.06), transparent);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    margin-top: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.partner-card {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 32px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 140px;
    gap: 12px;
}

.partner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(245, 87, 34, 0.1), rgba(245, 87, 34, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(245, 87, 34, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

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

.partner-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.partner-logo {
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 48px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.partner-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.6);
    text-align: center;
    line-height: 1.4;
    margin-top: auto;
    transition: color 0.3s ease;
}

.partner-card:hover .partner-name {
    color: rgba(0, 0, 0, 0.85);
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(3, minmax(140px, 1fr));
        gap: 20px;
    }
    
    .partner-card {
        padding: 28px 20px 18px;
        min-height: 120px;
    }
    
    .partner-name {
        font-size: 0.8rem;
    }
    
    .partner-logo {
        max-height: 40px;
    }
}

@media (max-width: 600px) {
    .partners-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 16px;
    }
    
    .partner-card {
        padding: 24px 16px 16px;
        min-height: 110px;
    }
    
    .partner-name {
        font-size: 0.75rem;
    }
    
    .partner-logo {
        max-height: 36px;
    }
}

/* Platform Spotlight (after stats) */
.platform-spotlight {
    background: linear-gradient(180deg, var(--surface, #fff) 0%, var(--surface-muted, #f7f7f8) 100%);
    position: relative;
    overflow: hidden;
}

.platform-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(1px, 0.1vw, 2px);
    background: linear-gradient(90deg, transparent, var(--border-color, rgba(0,0,0,0.08)), transparent);
    opacity: 0.6;
}

.platform-spotlight::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: clamp(400px, 50vw, 600px);
    height: clamp(400px, 50vw, 600px);
    background: radial-gradient(circle, color-mix(in srgb, var(--brand, #F55722) 6%, transparent) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.platform-spotlight .container-xl {
    position: relative;
    z-index: 1;
}

.platform-spotlight .kicker {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--brand, #F55722);
    background: color-mix(in srgb, var(--brand, #F55722) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--brand, #F55722) 30%, transparent);
    padding: clamp(var(--space-2), 0.8vw, var(--space-3)) clamp(var(--space-3), 1.2vw, var(--space-5));
    border-radius: 999px;
    font-weight: 700;
    font-size: clamp(0.75rem, 0.9vw, 0.875rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-header-margin);
    box-shadow: 0 2px 8px color-mix(in srgb, var(--brand, #F55722) 8%, transparent);
    transition: all var(--motion-duration-medium) var(--motion-ease-out-2);
}

.platform-spotlight .kicker:hover {
    background: color-mix(in srgb, var(--brand, #F55722) 15%, transparent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--brand, #F55722) 12%, transparent);
}

.display-spotlight {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    margin-bottom: var(--space-title-margin);
    color: var(--text-primary, #000);
    line-height: var(--lh-tight, 1.2);
}

.accent-gradient {
    background: linear-gradient(90deg, var(--brand, #F55722) 0%, #ff7ab5 50%, #7a5cff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Unified section header style (homepage) */
.kicker, .section .kicker {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--brand, #F55722);
    background: color-mix(in srgb, var(--brand, #F55722) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--brand, #F55722) 25%, transparent);
    padding: var(--space-2) var(--space-3);
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 auto var(--space-header-gap);
    width: -moz-fit-content;
    width: fit-content;
}

.section-title, .section .section-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-title-margin);
    color: var(--text-primary, #000);
    text-align: center;
}

.display-spotlight { text-align: center; margin-bottom: var(--space-title-margin); }
.section-header { text-align: center; }

/* Remove underline decoration from global main.css for homepage */
.section .section-title::after { content: none !important; }

.platform-spotlight .section-subtitle {
    font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
    color: var(--text-secondary, #555);
    max-width: min(880px, 100%);
    margin-bottom: var(--space-subtitle-margin);
    line-height: var(--lh-normal, 1.6);
}

.spotlight-card {
    display: grid;
    grid-template-columns: 1fr; /* mobile-first */
    gap: clamp(var(--space-6), 4vw, var(--space-10));
    padding: clamp(var(--space-6), 4vw, var(--space-10));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color, rgba(0,0,0,0.08));
    background: var(--surface, #fff);
    box-shadow: var(--elev-1);
    transform: translateY(24px);
    opacity: 0;
    transition: all var(--motion-duration-medium) var(--motion-ease-out-2);
    position: relative;
    overflow: hidden;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(3px, 0.4vw, 4px);
    background: linear-gradient(90deg, 
        color-mix(in srgb, var(--pill-color, var(--brand, #F55722)) 100%, transparent) 0%,
        color-mix(in srgb, var(--pill-color, var(--brand, #F55722)) 60%, transparent) 50%,
        transparent 100%
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--motion-duration-medium) var(--motion-ease-out-2);
}

.spotlight-card:hover::before {
    transform: scaleX(1);
}

.spotlight-card + .spotlight-card { 
    margin-top: clamp(var(--space-8), 5vw, var(--space-12)); 
}

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

.spotlight-card:hover {
    transform: translateY(calc(var(--space-2) * -1));
    box-shadow: var(--elev-2), 0 0 0 clamp(1px, 0.1vw, 2px) color-mix(in srgb, var(--pill-color, var(--brand, #F55722)) 15%, transparent);
    border-color: color-mix(in srgb, var(--pill-color, var(--brand, #F55722)) 25%, transparent);
}

/* subtle parallax for media on hover and reveal */
.spotlight-card .spotlight-media { 
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.spotlight-card .spotlight-media img { 
    transition: transform var(--motion-duration-slow) var(--motion-ease-out-2), filter var(--motion-duration-medium) ease; 
}

.spotlight-card.is-visible .spotlight-media img { 
    transform: scale(1.02); 
}

.spotlight-card:hover .spotlight-media img { 
    transform: scale(1.08); 
    filter: saturate(1.1) contrast(1.05) brightness(1.02); 
}

@media (prefers-reduced-motion: reduce) {
    .spotlight-card { transform: none; opacity: 1; transition: none; }
    .spotlight-card .spotlight-media img { transition: none; }
}

/* Spotlight reverse layout (becomes two-columns at larger screens via media query below) */
.spotlight-reverse .spotlight-media { order: 2; }
.spotlight-reverse .spotlight-content { order: 1; }

.spotlight-media {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16 / 9; /* stabilize layout for media */
}
.spotlight-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.spotlight-content { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    gap: var(--space-4);
}

.spotlight-meta { 
    display: flex; 
    align-items: center; 
    gap: clamp(var(--space-3), 1.5vw, var(--space-4)); 
    margin-bottom: var(--space-2);
    flex-wrap: wrap;
}

.spotlight-step {
    font-weight: 900;
    font-size: clamp(2rem, 2.5vw, 3rem);
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--pill-color, var(--brand, #F55722)) 100%, transparent) 0%,
        color-mix(in srgb, var(--pill-color, var(--brand, #F55722)) 70%, transparent) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: -0.03em;
    transition: transform var(--motion-duration-medium) var(--motion-ease-out-2);
}

.spotlight-card:hover .spotlight-step {
    transform: scale(1.05);
}

.pill { 
    display: inline-flex; 
    align-items: center; 
    gap: var(--space-2); 
    padding: clamp(var(--space-2), 0.8vw, var(--space-3)) clamp(var(--space-3), 1.2vw, var(--space-4)); 
    border-radius: 999px; 
    font-weight: 700; 
    font-size: clamp(0.75rem, 0.9vw, 0.875rem);
    letter-spacing: 0.05em;
    transition: all var(--motion-duration-medium) var(--motion-ease-out-2);
}

.pill-soft { 
    background: color-mix(in srgb, var(--pill-color, var(--brand, #F55722)) 12%, transparent); 
    color: var(--pill-color, var(--brand, #F55722)); 
    border: 1px solid color-mix(in srgb, var(--pill-color, var(--brand, #F55722)) 35%, transparent);
    box-shadow: 0 2px 6px color-mix(in srgb, var(--pill-color, var(--brand, #F55722)) 8%, transparent);
}

.spotlight-card:hover .pill-soft {
    background: color-mix(in srgb, var(--pill-color, var(--brand, #F55722)) 18%, transparent);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px color-mix(in srgb, var(--pill-color, var(--brand, #F55722)) 12%, transparent);
}

.spotlight-icon {
    width: clamp(36px, 4.5vw, 44px);
    height: clamp(36px, 4.5vw, 44px);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--pill-color, var(--brand, #F55722)) 90%, #ffffff 10%) 0%,
        color-mix(in srgb, var(--pill-color, var(--brand, #F55722)) 75%, #f50950 25%) 100%
    );
    color: #fff;
    opacity: 1 !important;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--pill-color, var(--brand, #F55722)) 25%, transparent);
    transition: all var(--motion-duration-medium) var(--motion-ease-out-2);
}

.spotlight-card:hover .spotlight-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--pill-color, var(--brand, #F55722)) 35%, transparent);
}

.spotlight-icon i { 
    opacity: 1 !important; 
    font-size: clamp(1rem, 1.2vw, 1.125rem);
}

.spotlight-heading { 
    font-size: clamp(1.5rem, 2.5vw, 2rem); 
    margin: 0 0 var(--space-2); 
    font-weight: 900; 
    letter-spacing: -0.02em;
    line-height: var(--lh-tight, 1.2);
    color: var(--text-primary, #000);
}

.spotlight-subtext { 
    font-size: clamp(0.9375rem, 1.1vw, 1.0625rem); 
    color: var(--pill-color, var(--brand, #F55722)); 
    font-weight: 700; 
    margin: 0 0 var(--space-3); 
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.spotlight-copy { 
    color: var(--text-secondary, #555); 
    font-size: clamp(1rem, 1.2vw, 1.125rem); 
    line-height: var(--lh-normal, 1.6); 
    margin-bottom: 0;
}

.spotlight-cta { 
    margin-top: var(--space-4); 
    display: flex; 
    gap: var(--space-3); 
    flex-wrap: wrap; 
}
.btn-2026.outline {
    background: transparent;
    color: var(--text-primary, #000);
    border: 1.5px solid var(--border-color, rgba(0,0,0,0.18));
    border-radius: var(--radius-sm);
}
.btn-2026.outline:hover { border-color: rgba(0,0,0,0.32); box-shadow: 0 4px 14px rgba(0,0,0,0.06); }

/* Variant mapping for spotlight cards */
.spotlight-card[data-variant="connect"] { --pill-color: var(--brand, #F55722); }
.spotlight-card[data-variant="booking"] { --pill-color: #F55722; }
.spotlight-card[data-variant="operate"] { --pill-color: #22a06b; }
.spotlight-card[data-variant="ai"] { --pill-color: #7a5cff; }

@media (max-width: 992px) {
    .spotlight-card { grid-template-columns: 1fr; }
}

@media (min-width: 992px) {
    .spotlight-card { grid-template-columns: 1fr 1.2fr; }
    .spotlight-reverse { grid-template-columns: 1.2fr 1fr; }
}

/* Ghost button refinement to match design language */
.btn-2026.ghost {
    background: transparent;
    color: var(--text-primary, #000);
    border: 1px solid var(--border-color, rgba(0,0,0,0.18));
    border-radius: var(--radius-md);
    padding: var(--space-3) var(--space-5);
}
.btn-2026.ghost:hover {
    border-color: rgba(0,0,0,0.28);
    background: rgba(0,0,0,0.03);
}

.logos img { filter: grayscale(1); opacity: 0.8; max-height: 32px; }

/* Pillars */
.pillars-2026 .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-grid-gap);
}

.pillar-card {
    padding: var(--space-5);
    border-radius: var(--radius-md);
}

.pillar-card h3 { margin: var(--space-2) 0 var(--space-2); font-weight: 800; letter-spacing: -0.01em; }
.pillar-card p { color: var(--text-secondary, #333); line-height: 1.6; }

/* Pillars: icon + variants + actions */
.pillar-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(0,0,0,0.04);
    margin-bottom: var(--space-2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.pillar-icon i { font-size: 1.25rem; color: var(--text-primary, #000); }

.pillar-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.pillar-actions .btn-2026 { border-radius: var(--radius-sm); }

/* Variant theming driven by data-variant */
.pillar-card[data-variant="connect"] .pillar-icon {
    background: color-mix(in srgb, var(--brand, #F55722) 12%, transparent);
}
.pillar-card[data-variant="connect"] .pillar-icon i {
    color: var(--brand, #F55722);
}

.pillar-card[data-variant="operate"] .pillar-icon {
    background: rgba(34, 160, 107, 0.12);
}
.pillar-card[data-variant="operate"] .pillar-icon i { color: #22a06b; }

.pillar-card[data-variant="ai"] .pillar-icon {
    background: rgba(122, 92, 255, 0.12);
}
.pillar-card[data-variant="ai"] .pillar-icon i { color: #7a5cff; }

/* Hover refinement */
.pillars-2026 .pillar-card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.pillars-2026 .pillar-card:hover { transform: translateY(-6px); box-shadow: var(--elev-2, 0 10px 40px rgba(0,0,0,0.16)); }

@media (max-width: 992px) {
    .pillars-2026 .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .pillars-2026 .grid { grid-template-columns: 1fr; }
}

/* Testimonials */
.testimonials-2026 .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-grid-gap);
}

/* Scalable testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-grid-gap); }
.testimonial-card { border-radius: var(--radius-md); padding: var(--space-5); transition: transform .25s ease, box-shadow .25s ease; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--elev-2, 0 10px 40px rgba(0,0,0,0.16)); }

.testimonial-header { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #555; }
.person { display: flex; flex-direction: column; line-height: 1.2; }
.person strong { color: var(--text-primary, #000); font-weight: 700; }
.person span { color: #666; font-size: 0.9rem; }
.rating { margin-left: auto; color: #f59e0b; display: inline-flex; gap: var(--space-1); }
.rating i { font-size: 0.9rem; }
.testimonial-card blockquote { margin: 0; }
.testimonial-card blockquote p { color: var(--text-secondary, #333); font-style: italic; line-height: 1.6; }

/* Variants */
.testimonial-card[data-variant="player"] .avatar { background: color-mix(in srgb, var(--brand, #F55722) 12%, transparent); color: var(--brand, #F55722); }
.testimonial-card[data-variant="venue"] .avatar { background: rgba(34, 160, 107, 0.12); color: #22a06b; }
.testimonial-card[data-variant="organizer"] .avatar { background: rgba(122, 92, 255, 0.12); color: #7a5cff; }

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

/* CTA */
.cta-2026 {
    text-align: center;
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand, #F55722) 6%, transparent), color-mix(in srgb, #FFAF7B 6%, transparent));
    border-radius: var(--radius-lg);
    padding: var(--space-12) var(--space-6);
}

.cta-2026 .btn-2026 { padding: var(--space-3) var(--space-5); }

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    
    .hero-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .partners-2026 .logos { grid-template-columns: repeat(3, 1fr); }
    .pillars-2026 .grid { grid-template-columns: 1fr 1fr; }
    .testimonials-2026 .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .device-card { transform: none; }
}

/* Ticker */
.ticker {
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}
.ticker-inner { display: flex; gap: var(--space-10); padding: var(--space-3) 0; animation: tickerMove 35s linear infinite; }
.ticker-item { color: #fff; opacity: 0.9; white-space: nowrap; font-weight: 700; letter-spacing: 0.06em; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-inner { animation: none; } }

/* Editorial mosaic */
.mosaic {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-grid-gap);
}
.mosaic .tile { position: relative; border-radius: var(--radius-md); overflow: hidden; outline: none; }
.mosaic .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mosaic .caption { position: absolute; left: var(--space-4); bottom: var(--space-4); right: var(--space-4); color: #fff; transition: transform 0.35s ease, opacity 0.35s ease; }
.mosaic .caption .kicker { opacity: 0.9; }
.mosaic .caption h3 { margin: var(--space-2) 0 0; font-size: clamp(1.2rem, 1.6vw, 1.6rem); }
.mosaic .glass { background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%); }
.mosaic .col { display: grid; gap: var(--space-grid-gap); }

/* Mosaic interactions */
.mosaic .tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.55) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mosaic .tile:hover img,
.mosaic .tile:focus img { transform: scale(1.04); transition: transform 0.5s ease; }

.mosaic .tile:hover::after,
.mosaic .tile:focus::after { opacity: 1; }

.mosaic .tile:hover .caption,
.mosaic .tile:focus .caption { transform: translateY(-6px); opacity: 1; }

.mosaic .tile:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand, #F55722) 60%, transparent); }

@media (prefers-reduced-motion: reduce) {
    .mosaic .tile img { transition: none; }
    .mosaic .caption { transition: none; }
}

/* Cards hover refinement */
.pillars-2026 .pillar-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.pillars-2026 .pillar-card:hover { transform: translateY(-6px); box-shadow: var(--elev-2, 0 10px 40px rgba(0,0,0,0.16)); }

.testimonials-2026 .quote-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.testimonials-2026 .quote-card:hover { transform: translateY(-4px); box-shadow: var(--elev-2, 0 10px 40px rgba(0,0,0,0.16)); }

/* Simplify hero interactions: neutralize hover effects */
.feature-card-hero:hover { transform: none; box-shadow: none; background: rgba(255, 255, 255, 0.9); border-color: color-mix(in srgb, var(--brand, #F55722) 25%, transparent); }
.feature-card-hero:hover::before { left: -100%; }
.feature-card-hero:hover::after { opacity: 0; }
.feature-card-hero:hover .feature-icon-hero { transform: none; box-shadow: none; }
.hero-actions .btn-2026:hover::before { left: -100%; }
.chip-entity:hover { transform: none; box-shadow: none; border-color: rgba(0,0,0,0.08); }
.global-ticker:hover .ticker-track { animation-play-state: running; }

/* Hero theme contrast overrides */
.hero-2026.theme-dark .display { color: #ffffff; }
.hero-2026.theme-dark .lead { color: rgba(255,255,255,0.95); }
.hero-2026.theme-dark .eyebrow { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.14); color: #fff; }
.hero-2026.theme-dark .hero-actions .btn-2026.ghost { color: #ffffff; border-color: rgba(255,255,255,0.4); }

.hero-2026.theme-light .display { color: #1a1a1a; }
.hero-2026.theme-light .lead { color: rgba(26,26,26,0.85); }
.hero-2026.theme-light .eyebrow { border-color: var(--brand, #F55722); background: color-mix(in srgb, var(--brand, #F55722) 8%, transparent); color: var(--brand, #F55722); }

/* Hero scrim overlay to improve contrast */
.hero-2026 .hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0.60) 0%, rgba(255,255,255,0.60) 40%, rgba(0,0,0,0.60) 80%, rgba(0,0,0,0.60) 100%);
    mix-blend-mode: multiply;
}

/* Stronger scrim when theme-dark is active */
.hero-2026.theme-dark .hero-scrim {
    background: linear-gradient(90deg, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.60) 40%, rgba(0,0,0,0.60) 100%);
}

/* Scrim tuning for video */
.hero-2026.has-video .hero-scrim { background: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.6) 100%); }
@media (max-width: 992px) { .hero-2026.has-video .hero-scrim { background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.5) 100%); } }

@media (max-width: 992px) {
    .hero-2026 .hero-scrim {
        background: linear-gradient(180deg, rgba(255,255,255,0.60) 0%, rgba(255,255,255,0.60) 40%, rgba(0,0,0,0.60) 100%);
    }
    .hero-2026.theme-dark .hero-scrim {
        background: linear-gradient(180deg, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.60) 75%, rgba(0,0,0,0.60) 100%);
    }
}

/* Vibrant gradients for hero cards */
.hero-cards-grid .feature-card-hero { color: #ffffff; border-color: transparent; }
.hero-cards-grid .feature-card-hero h3 { color: #ffffff; }
.hero-cards-grid .feature-card-hero p { color: rgba(255,255,255,0.92); }

.hero-cards-grid .feature-card-hero:nth-child(1) {
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand, #F55722) 70%, transparent) 0%, rgba(255,122,69,0.7) 60%, rgba(255,159,110,0.7) 100%);
}
.hero-cards-grid .feature-card-hero:nth-child(2) {
    background: linear-gradient(135deg, rgba(21, 145, 73, 0.7) 0%, rgba(30, 231, 107, 0.7) 100%);
}
.hero-cards-grid .feature-card-hero:nth-child(3) {
    background: linear-gradient(135deg, rgba(236,72,153,0.7) 0%, rgba(245,158,11,0.7) 100%);
}
.hero-cards-grid .feature-card-hero:nth-child(4) {
    background: linear-gradient(135deg, rgba(124,58,237,0.7) 0%, rgba(59,130,246,0.7) 100%);
}

/* Icons on vibrant backgrounds */
.hero-cards-grid .feature-icon-hero { background: #ffffff; color: var(--brand, #F55722); box-shadow: 0 6px 18px rgba(0,0,0,0.12); }

@media (max-width: 600px) {
    /* Global mobile spacing tuning via tokens (no hardcoded values) */
    :root {
        --space-section-y: var(--space-12);
        --space-header-margin: var(--space-3);
        --space-title-margin: var(--space-2);
        --space-subtitle-margin: var(--space-3);
        --space-grid-gap: var(--space-3);
        --space-card-gap: var(--space-3);
        --space-content-gap: var(--space-3);
    }

    .container-xl { padding: 0 var(--space-4); }
    .hero-grid { grid-template-columns: 1fr; gap: var(--space-4); }
    .hero-2026 .eyebrow { margin-bottom: var(--space-4); padding: var(--space-2) var(--space-3); font-size: 0.75rem; }
    .hero-2026 { min-height: auto; padding-top: var(--space-5); padding-bottom: var(--space-5); }
    .hero-2026 .display { font-size: clamp(1.8rem, 8vw, 2.2rem); line-height: 1.15; }
    .hero-2026 .lead { font-size: 0.95rem; }
    .hero-2026 .eyebrow { margin-inline: auto; }
    .hero-2026 .display::before { display: none; }
    .hero-actions { flex-direction: column; gap: var(--space-2); }
    /* Ensure hero content block is centered within grid */
    .hero-grid .hero-content-col { justify-self: center; width: 100%; }
    /* Center key text blocks with auto margins and alignment */
    .hero-2026 .display,
    .hero-2026 .lead,
    .hero-2026 .hero-actions { margin-left: auto; margin-right: auto; text-align: center; display: block; }
    .hero-actions .btn-2026 { width: 100%; justify-content: center; padding: var(--space-3) var(--space-4); }
    /* Hide hero feature cards on mobile for a compact hero */
    .hero-cards-grid { display: none; }
    .feature-card-hero { padding: var(--space-5) var(--space-4); border-radius: var(--radius-md); }

    /* Mobile stacking for newsletter (no hardcoding, token-driven) */
    .newsletter-section .container-xl { overflow: hidden; }
    .newsletter-section .newsletter-card { padding: var(--space-5) var(--space-4); max-width: 100%; box-sizing: border-box; }
    .newsletter-section .newsletter-form { width: 100%; }
    .newsletter-section .newsletter-form .form-group {
        display: flex;
        flex-direction: column;
        gap: var(--space-2);
        border-radius: var(--radius-md);
        overflow: visible;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        align-items: center;
    }
    .newsletter-section .newsletter-form input[type="email"] {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        border-radius: var(--radius-md);
        min-width: 0;
        text-align: center;
    }
    .newsletter-section .newsletter-form button {
        width: auto;
        border-radius: var(--radius-pill, 999px);
        white-space: nowrap;
        padding: var(--space-3) var(--space-6);
    }

    /* Center-align key sections for improved mobile UX */
    .hero-2026 .hero-content-col { text-align: center; }
    .hero-2026 .hero-actions { justify-content: center; }
    .platform-spotlight .spotlight-content { 
        text-align: center; 
        align-items: center;
    }
    .platform-spotlight .spotlight-cta { 
        justify-content: center; 
        width: 100%;
    }
    .platform-spotlight .spotlight-cta .btn-2026 {
        flex: 1;
        min-width: min(200px, 100%);
        justify-content: center;
    }
    .platform-spotlight .spotlight-meta { 
        justify-content: center; 
    }
    .platform-spotlight .spotlight-step { 
        margin: 0; 
    }
    .platform-spotlight .pill { 
        justify-content: center; 
    }
    .platform-spotlight .spotlight-icon { 
        margin-left: 0; 
    }
    .platform-spotlight .spotlight-card {
        padding: clamp(var(--space-5), 3vw, var(--space-8));
    }
    .platform-spotlight .spotlight-card + .spotlight-card {
        margin-top: clamp(var(--space-6), 4vw, var(--space-10));
    }
    .partners-2026 .section-header, 
    .testimonials-2026 .section-header, 
    .faq-section .section-header { text-align: center; }
}

/* color-mix fallbacks for older browsers */
@supports not (color: color-mix(in srgb, #000 50%, transparent)) {
    .hero-2026::before {
        background:
            radial-gradient(circle at 20% 50%, rgba(245, 87, 34, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(245, 87, 34, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    }
    .platform-spotlight .kicker {
        background: rgba(245, 87, 34, 0.08);
        border-color: rgba(245, 87, 34, 0.25);
    }
    .stat-card {
        background: rgba(245, 87, 34, 0.04);
        border-color: rgba(0, 0, 0, 0.08);
    }
    .accent-gradient {
        background: none;
        -webkit-text-fill-color: initial;
        color: var(--brand, #F55722);
    }
}

/* FAQ Section */
.faq-section .section-subtitle {
    color: var(--text-primary, #000000) !important; /* ensure override over accessibility.css */
}

/* Responsive Lab overlay */
.responsive-lab-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.responsive-lab { width: 95vw; height: 90vh; background: #111; border-radius: var(--radius-sm); display: flex; flex-direction: column; overflow: hidden; }
.rlab-toolbar { display: flex; align-items: center; justify-content: space-between; padding: var(--space-2) var(--space-2); background: #1c1c1c; color: #fff; }
.rlab-sizes { display: flex; gap: var(--space-2); }
.rlab-size { background: #2a2a2a; color: #fff; border: 1px solid #333; border-radius: var(--space-2); padding: var(--space-2) var(--space-2); cursor: pointer; }
.rlab-stage { flex: 1; background: #000; display: flex; align-items: center; justify-content: center; }
.rlab-frame { width: 360px; height: 100%; border: none; background: #fff; }
.rlab-close { background: transparent; border: none; color: #fff; font-size: 22px; cursor: pointer; }


