﻿/* ===== CSS CUSTOM PROPERTIES — PREMIUM TIER ===== */
:root {
    /* Brand */
    --yellow: #FFD700;
    --yellow-dark: #F5C200;
    --yellow-light: rgba(255,215,0,0.12);
    --yellow-glow: rgba(255,215,0,0.25);

    /* Teal accent — premium highlight */
    --teal: #2DD4BF;
    --teal-dark: #14B8A6;
    --teal-light: rgba(45,212,191,0.14);
    --teal-glow: rgba(45,212,191,0.32);

    /* Warm-tinted neutrals (never pure #000/#fff) */
    --black: #0B0A07;           /* deeper, richer */
    --black-soft: #161410;
    --black-deep: #050403;       /* abyss for contrast */
    --white: #FFFEF5;
    --cream: #FAF7EC;
    --gray-light: #F4F1E5;
    --gray: #5C5648;
    --gray-mid: #8B8273;
    --gray-border: #DCD6C5;

    /* Premium typography */
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;

    --radius: 14px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    /* Layered premium shadows — subtle gold tint */
    --shadow-sm: 0 2px 8px rgba(11,10,7,0.06), 0 1px 2px rgba(255,215,0,0.03);
    --shadow: 0 8px 30px rgba(11,10,7,0.08), 0 2px 6px rgba(255,215,0,0.04);
    --shadow-hover: 0 24px 60px rgba(11,10,7,0.18), 0 8px 18px rgba(255,215,0,0.10);
    --shadow-glow: 0 0 0 1px rgba(255,215,0,0.20), 0 12px 32px rgba(255,215,0,0.18);
    --shadow-glow-teal: 0 0 0 1px rgba(45,212,191,0.30), 0 12px 32px rgba(45,212,191,0.22);
    --shadow-deep: 0 30px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);

    /* Emil: strong expo ease-out, never default ease-in */
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-expo: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-quint: cubic-bezier(0.83, 0, 0.17, 1);
    --transition: 0.35s var(--ease-smooth);
    --nav-height: 76px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--black); background: var(--white); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; }
img { max-width: 100%; }
ul { list-style: none; }

/* ===== CUSTOM CURSOR ===== */
/* Positioned via JS using transform: translate3d() for GPU-composited movement */
.cursor-dot {
    position: fixed; top: 0; left: 0;
    width: 8px; height: 8px;
    background: var(--yellow); border-radius: 50%;
    pointer-events: none; z-index: 99999;
    will-change: transform;
    transition: opacity 0.3s;
}
.cursor-ring {
    position: fixed; top: 0; left: 0;
    width: 28px; height: 28px;
    border: 2px solid rgba(255,215,0,0.5); border-radius: 50%;
    pointer-events: none; z-index: 99998;
    will-change: transform;
    transition: width 0.25s var(--ease-smooth),
                height 0.25s var(--ease-smooth),
                border-color 0.25s ease;
}
.cursor-ring.hover { width: 44px; height: 44px; border-color: var(--yellow); }
@media (max-width: 768px) { .cursor-dot, .cursor-ring { display: none; } }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease-smooth), transform 0.65s var(--ease-smooth);
}
.visible { opacity: 1 !important; transform: none !important; }

.section-label {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--yellow); background: rgba(255,215,0,0.1);
    padding: 6px 14px; border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,215,0,0.3);
}
.section-label-dark {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--black); background: rgba(0,0,0,0.08);
    padding: 6px 14px; border-radius: 20px;
    margin-bottom: 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 50px;
    font-weight: 600; font-size: 15px;
    transition: transform 0.3s var(--ease-smooth),
                box-shadow 0.3s var(--ease-smooth),
                background 0.3s ease,
                color 0.3s ease;
    cursor: pointer;
}
.btn-primary { background: var(--black); color: var(--yellow); border: 2px solid var(--black); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.btn-outline { background: transparent; color: var(--black); border: 2px solid var(--black); }
.btn-outline:hover { background: var(--black); color: var(--yellow); }
.btn-yellow { background: var(--yellow); color: var(--black); border: 2px solid var(--yellow); font-weight: 700; }
.btn-yellow:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,215,0,0.4); }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    background: var(--black); height: var(--nav-height);
    z-index: 1000;
    transition: box-shadow 0.35s ease, background 0.35s ease, backdrop-filter 0.35s ease;
    border-bottom: 1px solid rgba(255,215,0,0.1);
}
.navbar.scrolled {
    background: rgba(17,17,17,0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 5%;
    height: 100%; display: flex; align-items: center;
    justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 0; }
.nav-logo-img {
    height: 54px;
    width: auto;
    object-fit: contain;
    display: block;
}
.logo-fallback {
    display: none;
    font-family: var(--font-display); font-size: 30px;
    color: var(--yellow); letter-spacing: 1px;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
    color: rgba(255,255,255,0.8); font-weight: 500; font-size: 14px;
    position: relative; transition: color 0.3s ease;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--yellow);
    transition: width 0.3s var(--ease-smooth);
}
.nav-links a:hover { color: var(--yellow); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--yellow); }
.nav-links a.active::after { width: 100%; }
.nav-cta {
    background: var(--yellow); color: var(--black);
    padding: 10px 22px; border-radius: 50px;
    font-weight: 700; font-size: 13px;
    transition: background 0.3s ease, transform 0.3s var(--ease-spring); white-space: nowrap;
}
.nav-cta:hover { background: var(--yellow-dark); transform: scale(1.05); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span {
    width: 24px; height: 2px; background: var(--yellow); border-radius: 2px;
    transition: transform 0.35s var(--ease-smooth), opacity 0.25s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav : uses visibility/opacity for smooth transition (display:flex always) */
.mobile-nav {
    display: flex;
    position: fixed; inset: 0;
    background: rgba(17,17,17,0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    flex-direction: column; align-items: center;
    justify-content: center; gap: 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s var(--ease-smooth),
                visibility 0.35s,
                transform 0.35s var(--ease-smooth);
}
.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mobile-close {
    position: absolute; top: 24px; right: 24px;
    background: none; color: var(--yellow);
    font-size: 24px; cursor: pointer;
    transition: transform 0.3s var(--ease-spring);
}
.mobile-close:hover { transform: rotate(90deg); }
.mobile-nav ul { text-align: center; display: flex; flex-direction: column; gap: 24px; }
.mobile-nav ul a { color: var(--white); font-size: 26px; font-weight: 600; transition: color 0.2s ease; }
.mobile-nav ul a:hover { color: var(--yellow); }
.mobile-cta { background: var(--yellow); color: var(--black); padding: 14px 36px; border-radius: 50px; font-weight: 700; font-size: 16px; transition: background 0.3s ease, transform 0.3s var(--ease-spring); }
.mobile-cta:hover { background: var(--yellow-dark); transform: scale(1.04); }

/* ===== HERO ===== */
.hero {
    margin-top: 0;
    display: grid; grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - var(--nav-height));
}
.hero-left {
    background: var(--yellow); padding: 80px 5%;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
}
.hero-bg-art {
    position: absolute; inset: 0; pointer-events: none;
    opacity: 0.6;
}
.hero-bg-art svg { width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 2; max-width: 520px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(0,0,0,0.1); color: var(--black);
    padding: 7px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
    margin-bottom: 24px; letter-spacing: 0.5px;
}
.hero-slogan {
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 2px;
    color: var(--black);
    margin-top: 4px;
    margin-bottom: 28px;
    line-height: 1;
    border-top: 2px solid rgba(0,0,0,0.15);
    padding-top: 16px;
    display: inline-block;
}
.hero-title {
    font-family: var(--font-display);
    font-size: 58px; line-height: 1.05;
    color: var(--black); margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.hero-subtitle {
    font-size: 18px; font-weight: 600;
    color: rgba(0,0,0,0.75); margin-bottom: 16px;
}
.hero-description {
    font-size: 15px; line-height: 1.7;
    color: rgba(0,0,0,0.65); margin-bottom: 32px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 16px; flex-wrap: wrap; }
.trust-item { font-size: 12px; font-weight: 600; color: rgba(0,0,0,0.6); display: flex; align-items: center; gap: 5px; }
.trust-item i { color: var(--black); font-size: 11px; }

.hero-right {
    background: var(--black); padding: 60px 5%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 36px; position: relative; overflow: hidden;
    isolation: isolate;
}
.hex-bg { position: absolute; inset: 0; opacity: 0.5; }
.hex-svg {
    width: 100%; height: 100%;
    will-change: transform;
    transform: translateZ(0);
}

/* Supply chain visual */
.supply-chain-visual {
    display: flex; align-items: center; gap: 8px;
    position: relative; z-index: 2; flex-wrap: wrap;
    justify-content: center;
}
.chain-node {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    opacity: 0.5;
    transform: scale(0.95);
    transition: opacity 0.45s var(--ease-smooth),
                transform 0.45s var(--ease-spring);
}
.chain-node.active { opacity: 1; transform: scale(1); }
.chain-icon {
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255,215,0,0.1); border: 1.5px solid rgba(255,215,0,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--yellow);
    transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}
.chain-node.active .chain-icon {
    background: rgba(255,215,0,0.2); border-color: var(--yellow);
    box-shadow: 0 0 20px rgba(255,215,0,0.35);
}
.chain-label {
    font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.6); text-align: center;
    transition: color 0.45s ease;
}
.chain-node.active .chain-label { color: rgba(255,255,255,0.9); }
.chain-arrow { color: rgba(255,215,0,0.4); font-size: 14px; }

/* Stats */
.hero-stats {
    display: flex; align-items: center; gap: 0;
    background: rgba(255,215,0,0.05);
    border: 1px solid rgba(255,215,0,0.15);
    border-radius: 12px; padding: 24px 20px;
    position: relative; z-index: 2; width: 100%;
}
.stat-item { flex: 1; text-align: center; padding: 0 12px; }
.stat-number {
    font-family: var(--font-display); font-size: 44px;
    color: var(--yellow); line-height: 1;
    margin-bottom: 6px;
}
.stat-label { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 50px; background: rgba(255,215,0,0.15); flex-shrink: 0; }

/* Countries strip */
.countries-strip {
    position: relative; z-index: 2;
    display: flex; align-items: center; gap: 10px;
    font-size: 12px;
}
.countries-label { color: rgba(255,255,255,0.4); font-weight: 500; white-space: nowrap; }
.flag-row { font-size: 16px; letter-spacing: 3px; }
.countries-tagline { color: var(--yellow); font-weight: 700; font-size: 12px; white-space: nowrap; letter-spacing: 0.02em; }

/* ===== PROBLEM SECTION ===== */
.problem { background: var(--white); padding: 100px 0; }
.problem h2 { font-family: var(--font-display); font-size: 46px; color: var(--black); margin-bottom: 60px; line-height: 1.1; }
.problem-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.problem-card {
    background: var(--white);
    border: 1.5px solid var(--gray-border);
    border-top: 4px solid var(--black);
    padding: 36px 28px; border-radius: var(--radius);
    transition: transform 0.35s var(--ease-smooth),
                box-shadow 0.35s var(--ease-smooth),
                border-top-color 0.35s ease;
    will-change: transform;
}
.problem-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-top-color: var(--yellow); }
.problem-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.problem-num { font-family: var(--font-display); font-size: 48px; color: var(--gray-border); line-height: 1; }
.problem-icon-wrap {
    width: 46px; height: 46px; background: var(--yellow);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 18px; color: var(--black);
}
.problem-card h3 { font-size: 18px; font-weight: 700; color: var(--black); margin-bottom: 12px; }
.problem-card p { font-size: 14px; line-height: 1.7; color: var(--gray); margin-bottom: 20px; }
.problem-visual { opacity: 0.7; }
.problem-visual svg { width: 100%; height: auto; }

/* ===== HOW WE WORK ===== */
.how-we-work { background: var(--black); padding: 100px 0; color: var(--white); }
.how-we-work h2 { font-family: var(--font-display); font-size: 46px; color: var(--white); margin-bottom: 60px; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.how-left p { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.8; margin-bottom: 20px; }

/* Process timeline */
.process-timeline { margin-top: 36px; display: flex; flex-direction: column; gap: 0; }
.process-step { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 24px; position: relative; }
.process-step:not(:last-child)::after {
    content: ''; position: absolute;
    left: 9px; top: 22px;
    width: 2px; height: calc(100% - 10px);
    background: rgba(255,215,0,0.2);
    transition: background 0.3s ease;
}
.process-dot {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--yellow); flex-shrink: 0;
    margin-top: 2px; position: relative; z-index: 1;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.process-step:hover .process-dot {
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(255,215,0,0.5);
}
.process-content { display: flex; flex-direction: column; gap: 2px; }
.process-content strong { color: var(--yellow); font-size: 13px; font-weight: 700; }
.process-content span { color: rgba(255,255,255,0.6); font-size: 13px; }

/* China map */
.china-visual { margin-bottom: 28px; }
.china-map-wrap {
    background: rgba(255,215,0,0.04);
    border: 1px solid rgba(255,215,0,0.15);
    border-radius: var(--radius); padding: 20px;
    text-align: center;
}
.china-map-svg { width: 100%; max-width: 320px; height: auto; }
.map-label { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 8px; letter-spacing: 1px; text-transform: uppercase; }
.city-pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
    0%, 100% { opacity: 0.9; r: 8; }
    50% { opacity: 0.35; r: 6; }
}

.how-checklist { display: flex; flex-direction: column; gap: 14px; }
.how-checklist li {
    display: flex; align-items: center; gap: 12px;
    font-size: 14px; color: rgba(255,255,255,0.85);
    transition: color 0.25s ease;
}
.how-checklist li:hover { color: #fff; }
.check-icon {
    width: 26px; height: 26px; background: var(--yellow);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: var(--black);
    font-size: 11px; font-weight: 700; flex-shrink: 0;
}

/* ===== WHY BEEASY ===== */
.why-beeasy { background: var(--yellow); padding: 100px 0; }
.why-beeasy h2 { font-family: var(--font-display); font-size: 46px; color: var(--black); margin-bottom: 60px; }
.benefits-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.benefit-card {
    background: var(--black); padding: 28px 20px;
    border-radius: var(--radius); text-align: center;
    transition: transform 0.35s var(--ease-smooth),
                box-shadow 0.35s var(--ease-smooth);
    will-change: transform;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.benefit-icon-wrap { display: flex; justify-content: center; margin-bottom: 14px; }
.benefit-card h3 { font-size: 14px; font-weight: 700; color: var(--yellow); margin-bottom: 8px; line-height: 1.3; }
.benefit-card p { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 14px; }
.benefit-bar { height: 3px; background: rgba(255,215,0,0.15); border-radius: 2px; margin-bottom: 6px; overflow: hidden; }
.benefit-bar-fill { height: 100%; background: var(--yellow); border-radius: 2px; }
.benefit-stat { font-size: 11px; color: var(--yellow); font-weight: 600; }

/* ===== OUR SERVICES ===== */
.our-services { background: var(--white); padding: 100px 0; }
.our-services h2 { font-family: var(--font-display); font-size: 46px; color: var(--black); margin-bottom: 28px; }
.services-intro {
    font-size: 17px;
    line-height: 1.75;
    color: #555;
    max-width: 760px;
    margin: 0 0 56px 0;
    font-weight: 400;
    letter-spacing: -0.01em;
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 40px; }
.service-card {
    background: var(--white); padding: 36px 28px;
    border-radius: var(--radius);
    border: 1.5px solid var(--gray-border);
    border-top: 4px solid var(--yellow);
    box-shadow: var(--shadow);
    transition: transform 0.35s var(--ease-smooth),
                box-shadow 0.35s var(--ease-smooth),
                border-top-width 0.2s ease;
    will-change: transform;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-top-width: 6px; }
.service-icon-wrap { margin-bottom: 20px; }
.service-icon-circle {
    width: 56px; height: 56px; background: var(--yellow);
    border-radius: 14px; display: flex; align-items: center;
    justify-content: center; font-size: 22px; color: var(--black);
    transition: transform 0.3s var(--ease-spring);
}
.service-card:hover .service-icon-circle { transform: scale(1.08) rotate(-3deg); }
.service-card h3 { font-size: 18px; font-weight: 700; color: var(--black); margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 20px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    background: var(--gray-light); color: var(--black);
    padding: 5px 12px; border-radius: 20px;
    font-size: 11px; font-weight: 600;
}
.services-cta {
    background: var(--black); border-radius: var(--radius);
    padding: 44px 40px; text-align: center;
}
.services-cta p { color: rgba(255,255,255,0.7); font-size: 17px; margin-bottom: 24px; }

/* ===== ABOUT ===== */
.about { background: var(--black); padding: 100px 0; color: var(--white); }
.about h2 { font-family: var(--font-display); font-size: 46px; color: var(--white); margin-bottom: 60px; line-height: 1.1; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-left p { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.industries-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.industry-pill {
    background: rgba(255,215,0,0.08); color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,215,0,0.2);
    padding: 8px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 500;
    display: flex; align-items: center; gap: 6px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-spring);
}
.industry-pill:hover { background: rgba(255,215,0,0.15); color: var(--yellow); transform: translateY(-2px); }
.industry-pill i { color: var(--yellow); font-size: 11px; }
/* "All Sectors" pill — gold-filled to signal open scope */
.industry-pill--more {
    background: rgba(255,215,0,0.14);
    border-color: rgba(255,215,0,0.45);
    color: var(--yellow);
    font-weight: 600;
}
.industry-pill--more:hover {
    background: rgba(255,215,0,0.22);
    border-color: var(--yellow);
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.about-stat {
    background: rgba(255,215,0,0.07);
    border: 1px solid rgba(255,215,0,0.15);
    padding: 28px 20px; border-radius: var(--radius);
    text-align: center;
    transition: background 0.35s ease, transform 0.35s var(--ease-smooth);
}
.about-stat:hover { background: rgba(255,215,0,0.12); transform: translateY(-2px); }
.about-stat-number { font-family: var(--font-display); font-size: 40px; color: var(--yellow); margin-bottom: 6px; }
.about-stat-label { font-size: 11px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 1px; }

/* Team visual */
.team-visual {
    background: rgba(255,215,0,0.05);
    border: 1px solid rgba(255,215,0,0.1);
    border-radius: var(--radius); padding: 20px;
    text-align: center;
}
.team-visual-inner { display: flex; justify-content: center; margin-bottom: 10px; }
.team-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,215,0,0.15);
    border: 2px solid var(--black);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,215,0,0.6); font-size: 14px;
    margin-left: -8px;
    transition: transform 0.3s var(--ease-spring);
}
.team-avatar:first-child { margin-left: 0; }
.team-visual-inner:hover .team-avatar { transform: translateX(-4px); }
.team-visual-inner:hover .team-avatar:first-child { transform: translateX(0); }
.team-avatar.more { background: var(--yellow); color: var(--black); font-size: 11px; font-weight: 700; }
.team-caption { font-size: 11px; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 1px; }

/* ===== PORTFOLIO ===== */
.portfolio { background: var(--gray-light); padding: 100px 0; }
.portfolio h2 { font-family: var(--font-display); font-size: 46px; color: var(--black); margin-bottom: 12px; }
.portfolio-subtitle { font-size: 14px; color: var(--gray-mid); margin-bottom: 60px !important; font-style: italic; }
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.portfolio-card {
    background: var(--white);
    border-left: 4px solid var(--yellow);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.35s var(--ease-smooth),
                box-shadow 0.35s var(--ease-smooth);
    will-change: transform;
}
.portfolio-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

/* Portfolio card visuals */
.portfolio-visual {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 10px 10px 0 0;
}
.portfolio-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
    transform: scale(1.02);
}
.portfolio-card:hover .portfolio-visual img {
    transform: scale(1.07);
}
/* Subtle dark-to-transparent scrim so header text stays readable */
.portfolio-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.08) 0%,
        rgba(0,0,0,0.35) 100%
    );
    pointer-events: none;
}
/* Fallback backgrounds kept for any card without a photo */
.fitness-visual     { background: #1a1a1a; }
.supplement-visual  { background: #0d1b2a; }
.hardware-visual    { background: #1a1a2e; }
.apparel-visual     { background: #1a0a00; }

.portfolio-header {
    display: flex; justify-content: space-between;
    align-items: flex-start; padding: 20px 24px 0;
}
.portfolio-header > div { display: flex; align-items: center; gap: 10px; }
.portfolio-flag { font-size: 22px; }
.portfolio-header h3 { font-size: 16px; font-weight: 700; color: var(--black); }
.portfolio-year {
    background: var(--gray-light); color: var(--gray);
    padding: 3px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 500; white-space: nowrap;
}
.portfolio-body { padding: 16px 24px; display: flex; flex-direction: column; gap: 8px; }
.portfolio-row { font-size: 13px; color: var(--gray); line-height: 1.5; }
.portfolio-row strong { color: var(--black); }
.portfolio-row.challenge { color: #c0392b; }
.portfolio-result {
    background: rgba(255,215,0,0.1); border-left: 3px solid var(--yellow);
    padding: 10px 14px; border-radius: 0 6px 6px 0;
    font-size: 13px; font-weight: 600; color: var(--black);
    display: flex; align-items: center; gap: 8px;
    margin-top: 4px;
}
.portfolio-result i { color: var(--yellow); }
.portfolio-tags { padding: 12px 24px 20px; }
.portfolio-tag {
    background: var(--black); color: var(--yellow);
    padding: 5px 14px; border-radius: 20px;
    font-size: 11px; font-weight: 700;
    display: inline-block;
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--yellow); padding: 100px 0; }
.testimonials h2 { font-family: var(--font-display); font-size: 46px; color: var(--black); margin-bottom: 60px; text-align: center; }
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.testimonial-card {
    background: var(--black); padding: 32px;
    border-radius: var(--radius); position: relative;
    transition: transform 0.35s var(--ease-smooth),
                box-shadow 0.35s var(--ease-smooth);
    will-change: transform;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.testimonial-stars { color: var(--yellow); font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }
.testimonial-quote {
    font-family: Georgia, serif; font-size: 64px; line-height: 0.8;
    color: var(--yellow); opacity: 0.4; margin-bottom: 12px;
}
.testimonial-text { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.8); margin-bottom: 20px; }
.testimonial-footer { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,215,0,0.15); border: 1px solid rgba(255,215,0,0.3);
    display: flex; align-items: center; justify-content: center;
    color: var(--yellow); font-size: 14px; flex-shrink: 0;
}
.testimonial-author { font-size: 13px; font-weight: 700; color: var(--yellow); margin-bottom: 2px; }
.testimonial-company { font-size: 11px; color: rgba(255,255,255,0.4); }

/* ===== FAQ ===== */
.faq { background: var(--white); padding: 100px 0; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.8fr; gap: 80px; align-items: start; }
.faq-left h2 { font-family: var(--font-display); font-size: 52px; color: var(--black); line-height: 1; margin-bottom: 20px; }
.faq-left p { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 28px; }
.faq-left a { color: var(--black); font-weight: 600; text-decoration: underline; }
.faq-items { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--gray-border); }
.faq-question {
    width: 100%; padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center;
    background: none; font-size: 15px; font-weight: 600;
    color: var(--black); text-align: left; gap: 16px;
    transition: color 0.25s ease;
}
.faq-question:hover { color: var(--black); }
.faq-arrow {
    color: var(--yellow); font-size: 13px; flex-shrink: 0;
    transition: transform 0.38s var(--ease-smooth);
}
.faq-item.active .faq-arrow { transform: rotate(180deg); }

/* Grid-rows trick: animates to actual content height : no snap, no delay */
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.38s var(--ease-smooth);
}
.faq-answer > p {
    min-height: 0;
    overflow: hidden;
    font-size: 14px; line-height: 1.8; color: var(--gray); padding-bottom: 20px;
    /* transition for paragraph content fade */
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s var(--ease-smooth) 0.05s,
                transform 0.3s var(--ease-smooth) 0.05s;
}
.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}
.faq-item.active .faq-answer > p {
    opacity: 1;
    transform: translateY(0);
}

/* ===== CONTACT ===== */
.contact { background: var(--black); padding: 100px 0; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.contact-left .section-label { background: rgba(255,215,0,0.1); border-color: rgba(255,215,0,0.3); }
.contact-left h2 { font-family: var(--font-display); font-size: 44px; color: var(--yellow); margin-bottom: 16px; line-height: 1.1; }
.contact-left p { color: rgba(255,255,255,0.6); font-size: 15px; line-height: 1.7; margin-bottom: 32px; }
.contact-info-items { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.7); }
.contact-info-item i { color: var(--yellow); width: 18px; }
.contact-info-item a {
    color: var(--yellow);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: opacity 0.2s ease;
}
.contact-info-item a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -1px;
    width: 0; height: 1px;
    background: var(--yellow);
    transition: width 0.25s ease;
}
.contact-info-item a:hover { opacity: 0.85; }
.contact-info-item a:hover::after { width: 100%; }

.contact-right {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,215,0,0.1);
    border-radius: 14px; padding: 36px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,215,0,0.2);
    color: var(--white); padding: 12px 16px;
    border-radius: 8px; font-family: var(--font-body);
    font-size: 14px;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none; border-color: var(--yellow);
    background: rgba(255,215,0,0.05);
    box-shadow: 0 0 0 3px rgba(255,215,0,0.1);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.3); }
.contact-form select option { background: #1a1a1a; }
.btn-submit {
    background: var(--yellow); color: var(--black);
    padding: 15px 24px; border-radius: 8px;
    font-weight: 700; font-size: 15px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: background 0.3s ease,
                transform 0.3s var(--ease-smooth),
                box-shadow 0.3s ease;
    width: 100%; cursor: pointer;
}
.btn-submit:hover { background: var(--yellow-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,215,0,0.3); }

/* ===== FOOTER ===== */
.footer { background: var(--black); border-top: 2px solid rgba(255,215,0,0.3); }
.footer-content {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px; max-width: 1200px; margin: 0 auto;
    padding: 64px 5%;
}
.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 40px; object-fit: contain; }
.footer-logo-text { display: none; font-family: var(--font-display); font-size: 26px; color: var(--yellow); }
.footer-tagline { color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 500; }
.footer-location { color: rgba(255,255,255,0.35); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.footer-location i { color: var(--yellow); font-size: 11px; }
.footer-col h4 { color: rgba(255,255,255,0.4); font-size: 10px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 4px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 14px; transition: color 0.25s ease; }
.footer-links a:hover { color: var(--yellow); }
.footer-col > a { color: var(--yellow); font-size: 13px; font-weight: 600; }
/* Footer email inside <p> — needs explicit targeting since it's not a direct child */
.footer-col p a {
    color: var(--yellow);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: opacity 0.2s ease;
}
.footer-col p a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -1px;
    width: 0; height: 1px;
    background: var(--yellow);
    transition: width 0.25s ease;
}
.footer-col p a:hover { opacity: 0.8; }
.footer-col p a:hover::after { width: 100%; }
.footer-social { display: flex; gap: 14px; margin-top: 4px; }
.footer-social a {
    color: rgba(255,255,255,0.4); font-size: 18px;
    transition: color 0.25s ease, transform 0.3s var(--ease-spring);
}
.footer-social a:hover { color: var(--yellow); transform: translateY(-5px); }
.footer-bottom {
    text-align: center; padding: 20px 5%;
    border-top: 1px solid rgba(255,215,0,0.08);
    color: rgba(255,255,255,0.2); font-size: 12px;
    max-width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; }
    .hero-left { min-height: 70vh; padding: 80px 6% 60px; }
    .hero-right { min-height: 50vh; padding: 60px 6%; }
    .hero-title { font-size: 44px; }
    .how-grid, .about-grid, .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 48px; }
    .problem-cards, .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hero-title { font-size: 34px; }
    .problem h2, .how-we-work h2, .why-beeasy h2,
    .our-services h2, .about h2, .portfolio h2,
    .testimonials h2, .faq-left h2, .contact-left h2 { font-size: 36px; }
    .hero-buttons { flex-direction: column; }
    .benefits-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .stat-divider { width: 60%; height: 1px; }
    .supply-chain-visual { gap: 4px; }
    .chain-icon { width: 40px; height: 40px; font-size: 16px; }
    .countries-strip { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ====================================================================
   CINEMA VIDEO : above hero — cinematic letterbox + brand HUD
   ==================================================================== */
.cinema-section {
    width: 100vw;
    height: 72vh;
    min-height: 520px;
    max-height: 820px;
    margin-top: var(--nav-height);
    overflow: hidden;
    background: #060708;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    isolation: isolate;
}
.cinema-stage {
    width: 110%;
    height: 110%;
    position: absolute;
    inset: -5%;
    will-change: transform;
    transform: translateZ(0);
    z-index: 1;
}
.cinema-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    outline: none;
    pointer-events: none;
    transform: translateZ(0);
    /* Subtle filmic color grade — gentle warmth + slight contrast lift */
    filter: contrast(1.05) saturate(1.08) brightness(0.96);
}

/* Vignette: soft radial darkening at the edges (cinematic depth) */
.cinema-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 110% 80% at 50% 50%,
            transparent 40%,
            rgba(0,0,0,0.35) 90%,
            rgba(0,0,0,0.6) 100%);
}

/* Letterbox bars: gradient fades that blend into surrounding sections */
.cinema-letterbox {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 3;
    pointer-events: none;
}
.cinema-letterbox-top {
    top: 0;
    height: 80px;
    background: linear-gradient(180deg,
        rgba(6,7,8,0.95) 0%,
        rgba(6,7,8,0.5) 50%,
        rgba(6,7,8,0) 100%);
}
.cinema-letterbox-bottom {
    bottom: 0;
    height: 140px;
    background: linear-gradient(0deg,
        rgba(6,7,8,1) 0%,
        rgba(6,7,8,0.7) 50%,
        rgba(6,7,8,0) 100%);
}

/* Brand HUD overlay : positioned over the video, on top of letterbox */
.cinema-hud {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px clamp(20px, 5vw, 60px);
}
.cinema-hud-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding: 8px 14px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,215,0,0.25);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.92);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.cinema-hud-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 10px var(--yellow);
    animation: cinemaHudPulse 1.8s ease-in-out infinite;
}
@keyframes cinemaHudPulse {
    0%, 100% { opacity: 1;    transform: scale(1);    }
    50%      { opacity: 0.55; transform: scale(1.35); }
}
.cinema-hud-caption {
    align-self: flex-start;
    max-width: 600px;
    color: var(--white);
    text-shadow: 0 2px 14px rgba(0,0,0,0.6);
}
.cinema-hud-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 10px;
}
.cinema-hud-title {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

/* ====================================================================
   HOVER VIDEO : below hero — full-width, hover to play
   ==================================================================== */
.hover-video-section {
    width: 100%;
    margin: 0;
    background: #000;
    overflow: hidden;
    cursor: pointer;
    line-height: 0;
}
.hover-video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transform: translateZ(0);
    filter: contrast(1.05) saturate(1.05) brightness(0.92);
    transition: filter 0.4s ease;
}
.hover-video-section:hover .hover-video {
    filter: contrast(1.08) saturate(1.10) brightness(1.0);
}

/* ====================================================================
   MOBILE — keep videos cinematic but appropriately sized
   ==================================================================== */
@media (max-width: 768px) {
    .cinema-section {
        height: 56vh;
        min-height: 360px;
        max-height: 560px;
        margin-top: var(--nav-height);
    }
    .cinema-hud {
        padding: 22px 22px;
    }
    .cinema-hud-title {
        font-size: clamp(22px, 6vw, 30px);
    }
    .cinema-hud-tag {
        font-size: 9px;
        padding: 6px 12px;
    }
    .cinema-letterbox-bottom { height: 100px; }
    .cinema-letterbox-top    { height: 60px; }
}


/* ===== HERO BEES ===== */
.hero-right { position: relative; overflow: hidden; }

/* ---- MAIN BEE : floats gently in place ---- */
.hero-bee-main {
    position: absolute;
    top: 5%;
    right: 6%;
    width: 170px;
    z-index: 10;
    pointer-events: none;
    animation: beeFloat 4.2s ease-in-out infinite;
    filter: drop-shadow(0 10px 24px rgba(255,215,0,0.3));
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.bee-main-img { width: 100%; height: auto; display: block; }

@keyframes beeFloat {
    0%,100% { transform: translate3d(0px, 0px, 0)   rotate(-3deg) scale(1);    }
    25%      { transform: translate3d(0px, -10px, 0) rotate(-1deg) scale(1.02); }
    50%      { transform: translate3d(0px, -18px, 0) rotate(3deg)  scale(1.03); }
    75%      { transform: translate3d(0px, -8px, 0)  rotate(1deg)  scale(1.01); }
}

/* ---- MINI BEES : fly across panel ---- */
.hero-bee-mini {
    position: absolute;
    pointer-events: none;
    z-index: 4;
    filter: drop-shadow(0 4px 8px rgba(255,215,0,0.2));
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.hero-bee-mini img { width: 100%; height: auto; display: block; }

.bee-mini-1 { width: 48px; top: 22%; opacity: 0.55; animation: flyLR1 8s linear infinite; }
.bee-mini-2 { width: 56px; top: 44%; opacity: 0.45; animation: flyRL1 10s linear infinite; }
.bee-mini-3 { width: 36px; top: 65%; opacity: 0.4;  animation: flyLR2 7s linear infinite; }
.bee-mini-4 { width: 44px; top: 80%; opacity: 0.38; animation: flyRL2 11s linear infinite; }
.bee-mini-5 { width: 40px; top: 33%; opacity: 0.42; animation: flyLR3 9s linear infinite; }

/* LEFT → RIGHT flights */
@keyframes flyLR1 {
    0%   { transform: translate3d(-80px,   0px, 0) rotate(0deg)  scaleX(1); }
    20%  { transform: translate3d(20%,   -8px, 0) rotate(-5deg) scaleX(1); }
    50%  { transform: translate3d(50%,    6px, 0) rotate(3deg)  scaleX(1); }
    80%  { transform: translate3d(80%,   -4px, 0) rotate(-3deg) scaleX(1); }
    100% { transform: translate3d(120%,   0px, 0) rotate(0deg)  scaleX(1); }
}
@keyframes flyLR2 {
    0%   { transform: translate3d(-60px,   0px, 0) rotate(0deg)  scaleX(1); }
    30%  { transform: translate3d(25%,   10px, 0) rotate(4deg)  scaleX(1); }
    60%  { transform: translate3d(60%,   -6px, 0) rotate(-4deg) scaleX(1); }
    100% { transform: translate3d(115%,   0px, 0) rotate(0deg)  scaleX(1); }
}
@keyframes flyLR3 {
    0%   { transform: translate3d(-70px,    0px, 0) rotate(0deg)  scaleX(1); }
    25%  { transform: translate3d(18%,   -10px, 0) rotate(-6deg) scaleX(1); }
    55%  { transform: translate3d(55%,    8px, 0) rotate(4deg)  scaleX(1); }
    100% { transform: translate3d(118%,   0px, 0) rotate(0deg)  scaleX(1); }
}

/* RIGHT → LEFT flights */
@keyframes flyRL1 {
    0%   { transform: translate3d(120%,   0px, 0) rotate(0deg)  scaleX(-1); }
    20%  { transform: translate3d(80%,   -6px, 0) rotate(4deg)  scaleX(-1); }
    50%  { transform: translate3d(45%,   8px, 0) rotate(-3deg) scaleX(-1); }
    80%  { transform: translate3d(15%,  -4px, 0) rotate(4deg)  scaleX(-1); }
    100% { transform: translate3d(-80px,  0px, 0) rotate(0deg)  scaleX(-1); }
}
@keyframes flyRL2 {
    0%   { transform: translate3d(115%,   0px, 0) rotate(0deg)  scaleX(-1); }
    30%  { transform: translate3d(70%,   10px, 0) rotate(-5deg) scaleX(-1); }
    65%  { transform: translate3d(30%,  -8px, 0) rotate(5deg)  scaleX(-1); }
    100% { transform: translate3d(-70px,  0px, 0) rotate(0deg)  scaleX(-1); }
}

/* Stagger so they don't all enter at the same time */
.bee-mini-1 { animation-delay: 0s;    }
.bee-mini-2 { animation-delay: -3.2s; }
.bee-mini-3 { animation-delay: -1.8s; }
.bee-mini-4 { animation-delay: -5.5s; }
.bee-mini-5 { animation-delay: -2.7s; }

/* Mobile : hide mini bees, shrink main bee */
@media (max-width: 900px) {
    .hero-bee-main { width: 100px; top: 3%; right: 3%; }
    .hero-bee-mini { display: none; }
}

/* ===== HEX PAGE TRANSITION ===== */
#hex-transition {
    position: fixed;
    inset: 0;
    z-index: 99991;
    background: #0e0e0e;
    pointer-events: none;
    overflow: hidden;
    will-change: transform;
}
#hex-transition svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: visible;
}
#hex-transition .hex-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    max-width: 50vw;
    height: auto;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 10px 40px rgba(255,215,0,0.5));
    will-change: transform, opacity;
}
#hex-transition .hex-logo-text {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    pointer-events: none;
    font-family: var(--font-display);
    font-size: 100px;
    letter-spacing: 5px;
    color: var(--yellow);
    text-shadow: 0 0 32px rgba(255,215,0,0.45);
    will-change: transform, opacity;
}
@media (max-width: 600px) {
    #hex-transition .hex-logo { width: 220px; }
    #hex-transition .hex-logo-text { font-size: 68px; }
}

/* ===========================================================
   SECTION BACKGROUND MOTIONS : "Honeycomb Pulse"
   All animations are transform-only → 120fps on capable displays
   =========================================================== */

/* Sections need to clip backgrounds and stack content above */
.our-services,
.about,
.portfolio,
.faq,
.contact {
    position: relative;
    overflow: hidden;
}
.our-services > .container,
.about        > .container,
.portfolio    > .container,
.faq          > .container,
.contact      > .container {
    position: relative;
    z-index: 1;
}

.section-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* ---------- SERVICES : drifting honeycomb cells ---------- */
.services-bg .drift-hex {
    position: absolute;
    background: rgba(255,215,0,0.05);
    border: 1px solid rgba(255,215,0,0.12);
    clip-path: polygon(0% 50%, 25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%);
    will-change: transform;
    backface-visibility: hidden;
}
.services-bg .drift-hex:nth-child(1) {
    width: 220px; height: 220px;
    top: 8%;  left: -12%;
    animation: driftHex1 26s linear infinite;
}
.services-bg .drift-hex:nth-child(2) {
    width: 320px; height: 320px;
    top: 55%; left: 28%;
    animation: driftHex2 32s linear infinite;
    background: rgba(255,215,0,0.04);
}
.services-bg .drift-hex:nth-child(3) {
    width: 180px; height: 180px;
    top: 25%; right: -8%;
    animation: driftHex3 28s linear infinite;
}
.services-bg .drift-hex:nth-child(4) {
    width: 280px; height: 280px;
    top: 75%; right: 10%;
    animation: driftHex4 36s linear infinite;
    background: rgba(255,215,0,0.03);
}
@keyframes driftHex1 {
    from { transform: translate3d(0, 0, 0)        rotate(0deg);   }
    to   { transform: translate3d(120vw, -60px, 0) rotate(180deg); }
}
@keyframes driftHex2 {
    from { transform: translate3d(0, 0, 0)         rotate(0deg);    }
    to   { transform: translate3d(-40vw, -120px, 0) rotate(-200deg); }
}
@keyframes driftHex3 {
    from { transform: translate3d(0, 0, 0)         rotate(0deg);   }
    to   { transform: translate3d(-110vw, 80px, 0) rotate(220deg); }
}
@keyframes driftHex4 {
    from { transform: translate3d(0, 0, 0)         rotate(0deg);    }
    to   { transform: translate3d(-90vw, -40px, 0) rotate(-180deg); }
}

/* ---------- ABOUT : slow-breathing gold orbs ---------- */
.about-bg .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    will-change: transform;
    backface-visibility: hidden;
}
.about-bg .orb-1 {
    width: 700px; height: 700px;
    top: -15%; left: -10%;
    background: radial-gradient(circle, rgba(255,215,0,0.18) 0%, rgba(255,215,0,0) 70%);
    animation: orbDrift1 32s ease-in-out infinite;
}
.about-bg .orb-2 {
    width: 600px; height: 600px;
    bottom: -15%; right: -8%;
    background: radial-gradient(circle, rgba(255,215,0,0.14) 0%, rgba(255,215,0,0) 70%);
    animation: orbDrift2 38s ease-in-out infinite;
}
@keyframes orbDrift1 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1);    }
    50%      { transform: translate3d(180px, 120px, 0) scale(1.15); }
}
@keyframes orbDrift2 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1);    }
    50%      { transform: translate3d(-160px, -100px, 0) scale(1.1); }
}

/* ---------- PORTFOLIO : drifting diagonal scan lines ---------- */
.portfolio-bg {
    background-image: repeating-linear-gradient(
        45deg,
        transparent 0,
        transparent 80px,
        rgba(0,0,0,0.04) 80px,
        rgba(0,0,0,0.04) 82px,
        transparent 82px,
        transparent 160px
    );
    background-size: 226px 226px; /* sqrt(2) * 160 : full pattern repeat */
    animation: scanLines 24s linear infinite;
    will-change: background-position;
}
@keyframes scanLines {
    from { background-position: 0 0;       }
    to   { background-position: 226px 226px; }
}

/* ---------- FAQ : rising particles ---------- */
.faq-bg .particle {
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,215,0,0.5);
    box-shadow: 0 0 8px rgba(255,215,0,0.4);
    bottom: -20px;
    will-change: transform, opacity;
    backface-visibility: hidden;
    opacity: 0;
}
.faq-bg .particle:nth-child(1) { left:  8%; animation: rise 14s linear infinite;        }
.faq-bg .particle:nth-child(2) { left: 22%; animation: rise 17s linear -3.5s infinite; width: 4px; height: 4px; }
.faq-bg .particle:nth-child(3) { left: 35%; animation: rise 12s linear -7s   infinite;   }
.faq-bg .particle:nth-child(4) { left: 48%; animation: rise 19s linear -2s   infinite; width: 8px; height: 8px; }
.faq-bg .particle:nth-child(5) { left: 62%; animation: rise 15s linear -11s  infinite;  }
.faq-bg .particle:nth-child(6) { left: 75%; animation: rise 13s linear -5.5s infinite; width: 4px; height: 4px; }
.faq-bg .particle:nth-child(7) { left: 86%; animation: rise 18s linear -9s   infinite;  }
.faq-bg .particle:nth-child(8) { left: 94%; animation: rise 16s linear -1.2s infinite;  }
@keyframes rise {
    0%   { transform: translate3d(0, 0, 0)              scale(0.8); opacity: 0;   }
    8%   { opacity: 1; }
    50%  { transform: translate3d(20px, -50vh, 0)       scale(1);   opacity: 0.9; }
    92%  { opacity: 0.4; }
    100% { transform: translate3d(-20px, -110vh, 0)     scale(0.6); opacity: 0;   }
}

/* ---------- CONTACT : radar pulse from corner ---------- */
.contact-bg .signal-dot {
    position: absolute;
    bottom: 60px; right: 60px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 24px rgba(255,215,0,0.7);
    animation: signalBlink 2.4s ease-in-out infinite;
    will-change: opacity;
}
.contact-bg .pulse-ring {
    position: absolute;
    bottom: 60px; right: 60px;
    width: 14px; height: 14px;
    border: 1.5px solid rgba(255,215,0,0.6);
    border-radius: 50%;
    transform-origin: center;
    transform: translate(50%, 50%);
    will-change: transform, opacity;
    backface-visibility: hidden;
}
.contact-bg .pulse-ring:nth-child(1) { animation: pulseRing 4.5s ease-out infinite;        }
.contact-bg .pulse-ring:nth-child(2) { animation: pulseRing 4.5s ease-out -1.5s infinite;  }
.contact-bg .pulse-ring:nth-child(3) { animation: pulseRing 4.5s ease-out -3s   infinite;  }
@keyframes pulseRing {
    0%   { transform: translate(50%, 50%) scale(1);  opacity: 0.7; }
    100% { transform: translate(50%, 50%) scale(60); opacity: 0;   }
}
@keyframes signalBlink {
    0%, 100% { opacity: 1;   }
    50%      { opacity: 0.4; }
}

/* ---------- SECTION FLASH : fires on nav clicks ---------- */
/* Horizontal hex-bordered band sweeps top→bottom (or bottom→top) of viewport */
#section-flash {
    position: fixed;
    left: 0;
    width: 100vw;
    height: 90px;
    top: 0;
    z-index: 99980;
    pointer-events: none;
    transform: translate3d(0, -120%, 0);
    will-change: transform;
    background:
        linear-gradient(180deg,
            transparent 0%,
            rgba(14,14,14,0.92) 20%,
            rgba(14,14,14,0.96) 50%,
            rgba(14,14,14,0.92) 80%,
            transparent 100%);
    border-top:    1.5px solid rgba(255,215,0,0.6);
    border-bottom: 1.5px solid rgba(255,215,0,0.6);
    box-shadow: 0 0 60px rgba(255,215,0,0.35),
                0 0 120px rgba(255,215,0,0.18);
}
#section-flash::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        90deg,
        transparent 0,
        transparent 38px,
        rgba(255,215,0,0.18) 38px,
        rgba(255,215,0,0.18) 39.5px,
        transparent 39.5px,
        transparent 78px
    );
    opacity: 0.85;
}
#section-flash::after {
    /* central glowing edge */
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--yellow) 30%,
        var(--yellow) 70%,
        transparent 100%);
    box-shadow: 0 0 16px var(--yellow), 0 0 32px rgba(255,215,0,0.4);
    transform: translateY(-50%);
}

/* Reduce-motion fallback : kill all the ambient stuff */
@media (prefers-reduced-motion: reduce) {
    .services-bg .drift-hex,
    .about-bg .orb,
    .portfolio-bg,
    .faq-bg .particle,
    .contact-bg .pulse-ring,
    .contact-bg .signal-dot { animation: none !important; }
}

/* ===========================================================
   MODERN INTERACTIVE LAYER : magnetic, spotlight, tilt, scroll
   =========================================================== */

/* ---------- Scroll progress bar ---------- */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--yellow-dark) 0%, var(--yellow) 100%);
    box-shadow: 0 0 14px rgba(255,215,0,0.6),
                0 0 28px rgba(255,215,0,0.3);
    z-index: 99997;
    pointer-events: none;
    transform-origin: left center;
    will-change: width;
}

/* ---------- Spotlight cards (cursor-aware glow) ---------- */
.spotlight {
    position: relative;
    isolation: isolate;
}
.spotlight::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        320px circle at var(--mx, 50%) var(--my, 50%),
        rgba(255,215,0,0.14),
        transparent 65%
    );
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
    pointer-events: none;
    z-index: 0;
}
.spotlight:hover::before { opacity: 1; }
.spotlight > * {
    position: relative;
    z-index: 1;
}
/* Brighter glow on dark cards */
.benefit-card.spotlight::before,
.testimonial-card.spotlight::before {
    background: radial-gradient(
        320px circle at var(--mx, 50%) var(--my, 50%),
        rgba(255,215,0,0.22),
        transparent 65%
    );
}

/* ---------- 3D tilt prep : portfolio cards need perspective ---------- */
.portfolio-grid {
    perspective: 1200px;
}
.portfolio-card {
    transform-style: preserve-3d;
    will-change: transform;
}

/* ---------- Magnetic buttons ---------- */
.btn,
.nav-cta,
.btn-submit,
.mobile-cta {
    will-change: transform;
}

/* ---------- Cursor : text mode (over inputs) ---------- */
.cursor-ring.text-mode {
    width: 64px;
    height: 64px;
    border-color: rgba(255,215,0,0.85);
    background: rgba(255,215,0,0.06);
    border-width: 1.5px;
}

/* ---------- Form input lift on focus ---------- */
.contact-form input,
.contact-form select,
.contact-form textarea {
    transform: translateY(0);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    transform: translateY(-1px);
}

/* ---------- Reduce-motion: kill the cursor-aware extras too ---------- */
@media (prefers-reduced-motion: reduce) {
    #scroll-progress { display: none; }
    .spotlight::before { display: none; }
}

/* ===========================================================
   MOBILE / TOUCH UX
   - Prevents iOS zoom on input focus
   - Bigger tap targets (Apple HIG: 44px min)
   - Real :active press feedback
   - Tones down expensive ambients on phone GPUs
   - Keyboard focus visibility
   =========================================================== */

/* ---------- Prevent iOS auto-zoom: form fields ≥16px font-size ---------- */
@media (max-width: 768px) {
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px;  /* iOS Safari only zooms in on inputs <16px */
    }
}

/* ---------- Touch press feedback (replaces what hover gives mouse users) ---------- */
@media (hover: none) {
    .btn:active,
    .nav-cta:active,
    .btn-submit:active,
    .mobile-cta:active {
        transform: scale(0.96);
        transition: transform 0.1s ease;
    }
    .problem-card:active,
    .service-card:active,
    .portfolio-card:active,
    .testimonial-card:active,
    .benefit-card:active {
        transform: scale(0.99);
        transition: transform 0.15s ease;
    }
    .industry-pill:active,
    .tag:active,
    .portfolio-tag:active {
        transform: scale(0.94);
    }
    .faq-question:active {
        background: rgba(255,215,0,0.04);
    }
    .footer-social a:active,
    .footer-links a:active,
    .nav-links a:active,
    .mobile-nav ul a:active {
        opacity: 0.6;
    }
}

/* ---------- Bigger tap targets on touch devices ---------- */
@media (hover: none) {
    .nav-links a {
        padding: 8px 0;
    }
    .footer-social a {
        padding: 6px;
        margin: -6px;  /* keep visual gap, expand tappable */
    }
    .footer-links a {
        padding: 8px 0;
        display: inline-block;
    }
    .faq-question {
        padding: 24px 0;
        min-height: 56px;
    }
    .industry-pill {
        padding: 10px 16px;
    }
    .tag {
        padding: 7px 14px;
    }
    .mobile-nav ul a {
        padding: 14px 36px;
        border-radius: 12px;
        display: inline-block;
    }
    .contact-info-item a {
        padding: 6px 0;
        display: inline-block;
    }
    .hamburger {
        padding: 12px;
        margin: -12px;
    }
}

/* ---------- Tone down expensive ambient motion on phones ---------- */
@media (max-width: 768px) {
    /* Smaller, lighter-blur orbs (60px → 36px blur saves significant GPU) */
    .about-bg .orb-1 {
        width: 420px; height: 420px;
        filter: blur(36px);
    }
    .about-bg .orb-2 {
        width: 360px; height: 360px;
        filter: blur(36px);
    }
    /* Half the drifting hexes : keep 1 + 3, drop 2 + 4 */
    .services-bg .drift-hex:nth-child(2),
    .services-bg .drift-hex:nth-child(4) {
        display: none;
    }
    /* Half the FAQ particles : keep first 4 */
    .faq-bg .particle:nth-child(n+5) {
        display: none;
    }
    /* Slow down expensive scaling pulse rings */
    .contact-bg .pulse-ring {
        animation-duration: 5.5s;
    }
    /* Slow scanline pattern (cheaper redraws) */
    .portfolio-bg {
        animation-duration: 30s;
    }
}

/* ---------- Lighter scroll/transition UI on small screens ---------- */
@media (max-width: 600px) {
    #scroll-progress {
        height: 2px;
    }
    #section-flash {
        height: 60px;
    }
}

/* ---------- Keyboard focus-visible (a11y) ---------- */
*:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 3px;
    border-radius: 4px;
}
.btn:focus-visible,
.nav-cta:focus-visible,
.btn-submit:focus-visible,
.mobile-cta:focus-visible {
    outline-offset: 4px;
}
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
    outline: none;  /* keep the existing yellow border ring instead */
}

/* ---------- Mobile mobile-nav UX polish ---------- */
.mobile-nav ul a {
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

/* ---------- Disable text selection on UI chrome (cursor, transition, flash) ---------- */
.cursor-dot,
.cursor-ring,
#hex-transition,
#section-flash,
#scroll-progress,
.section-bg {
    user-select: none;
    -webkit-user-select: none;
}

/* ---------- Smooth tap highlights (remove default blue iOS) ---------- */
* {
    -webkit-tap-highlight-color: transparent;
}

/* ===================================================================
   SKILL UPGRADES : impeccable + emil-design-eng + redesign + high-end
   =================================================================== */

/* ---------- text-wrap: balance on all headlines (redesign P2 : prevents orphans) ---------- */
h1, h2, h3 {
    text-wrap: balance;
}

/* ---------- Body copy max line length (impeccable: 65–75ch) ---------- */
.hero-description,
.services-intro,
.about-text p,
.how-left p,
.contact-intro p {
    max-width: 68ch;
}

/* ---------- Emil: desktop :active press feedback on all buttons ----------
   Emil: "Add transform: scale(0.97) on :active. This gives instant feedback."
   Previously only on hover:none (touch). Now on all devices. */
@media (hover: hover) {
    .btn:active,
    .nav-cta:active,
    .btn-submit:active,
    .mobile-cta:active {
        transform: scale(0.97) !important;
        transition: transform 0.1s var(--ease-out) !important;
    }
}

/* ---------- Emil: stagger entry for card grids (30–80ms per item) ---------- */
/* Problem cards */
.problem-cards .problem-card:nth-child(1) { transition-delay: 0ms; }
.problem-cards .problem-card:nth-child(2) { transition-delay: 60ms; }
.problem-cards .problem-card:nth-child(3) { transition-delay: 120ms; }

/* Service cards */
.services-grid .service-card:nth-child(1) { transition-delay: 0ms; }
.services-grid .service-card:nth-child(2) { transition-delay: 70ms; }
.services-grid .service-card:nth-child(3) { transition-delay: 140ms; }

/* GSAP stagger targets for problem + service cards on scroll */
.problem-card.fade-in,
.service-card.fade-in {
    will-change: opacity, transform;
}

/* ---------- high-end-visual-design: section label eyebrow refinement ---------- */
.section-label {
    letter-spacing: 0.18em;
    font-size: 11px;
}

/* ---------- Impeccable: tighten display headline letter-spacing ---------- */
h2 {
    letter-spacing: -0.01em;
}
.hero-headline {
    letter-spacing: -0.02em;
}

/* ---------- Emil: stronger ease-out on hero and section entry animations ---------- */
.fade-in {
    transition: opacity 0.55s var(--ease-expo),
                transform 0.55s var(--ease-expo);
}

/* ---------- Redesign: active nav link indicator ---------- */
.nav-links a.active {
    color: var(--yellow);
    font-weight: 600;
}
.nav-links a.active::after {
    width: 100%;
}

/* ---------- Impeccable: consistent focus outline using brand yellow ---------- */
:focus-visible {
    outline: 2px solid var(--yellow) !important;
    outline-offset: 3px !important;
}

/* ====================================================================
   ░░░░░░░░░░  PREMIUM TIER UPGRADE  ░░░░░░░░░░
   Space Grotesk + Plus Jakarta Sans + Teal accent + 3D depth
   Goal: world-class B2B startup energy. Apple-tier interactivity.
   ==================================================================== */

/* ---- Global font cascade now uses new premium pair ---- */
body {
    font-family: var(--font-body);
    font-feature-settings: 'cv02','cv03','cv04','cv11';
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---- Display headlines: Space Grotesk geometric weight ---- */
h1, h2, h3, h4,
.hero-title, .hero-headline,
.problem h2, .how-we-work h2,
.our-services h2, .why-beeasy h2,
.about h2, .portfolio h2, .testimonials h2,
.faq-left h2, .contact h2,
.problem-num, .stat-num,
.logo-fallback {
    font-family: var(--font-display) !important;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-rendering: optimizeLegibility;
}

/* ---- Recalibrate sizes for Space Grotesk (wider than Bebas Neue) ---- */
.hero-title {
    font-size: clamp(36px, 5.5vw, 62px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.035em;
    text-transform: none;
    font-weight: 700;
}
.problem h2,
.how-we-work h2,
.our-services h2,
.why-beeasy h2,
.about h2,
.portfolio h2,
.testimonials h2,
.faq-left h2,
.contact h2 {
    font-size: clamp(32px, 4.2vw, 52px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em;
    font-weight: 700;
}
.faq-left h2 {
    font-size: clamp(40px, 5.5vw, 64px) !important;
    line-height: 0.98 !important;
}

.hero-headline { letter-spacing: -0.035em; font-weight: 700; }
.hero-slogan { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.problem-num,
.stat-num {
    font-weight: 600;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

/* ---- Body refinement ---- */
.hero-description,
.services-intro,
p {
    font-feature-settings: 'kern','liga','calt';
    letter-spacing: -0.005em;
}
.section-label,
.section-label-dark {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 10.5px;
    letter-spacing: 0.22em;
}

/* ====================================================================
   PREMIUM BUTTON SYSTEM — magnetic, glowing, pressable
   ==================================================================== */
.btn {
    border-radius: var(--radius-pill);
    padding: 15px 30px;
    font-weight: 600;
    letter-spacing: -0.005em;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform 0.4s var(--ease-expo),
        box-shadow 0.4s var(--ease-expo),
        background 0.3s ease,
        color 0.3s ease;
}
.btn::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
                rgba(255,255,255,0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    pointer-events: none;
}
.btn:hover::before { opacity: 1; }

.btn-primary { background: var(--black); color: var(--yellow); border: 1.5px solid var(--black); box-shadow: var(--shadow-sm); }
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(11,10,7,0.32),
                0 0 0 1px rgba(255,215,0,0.35),
                0 0 24px var(--yellow-glow);
}
.btn-outline {
    background: transparent;
    color: var(--black);
    border: 1.5px solid var(--black);
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    background: var(--black);
    color: var(--yellow);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(11,10,7,0.28);
}
.btn-yellow {
    background: linear-gradient(135deg, #FFE055 0%, var(--yellow) 50%, var(--yellow-dark) 100%);
    color: var(--black);
    border: 1.5px solid var(--yellow);
    font-weight: 700;
    box-shadow: 0 4px 20px var(--yellow-glow);
}
.btn-yellow:hover {
    transform: translateY(-3px) scale(1.015);
    box-shadow: 0 18px 44px rgba(255,215,0,0.50),
                0 0 0 1px rgba(255,215,0,0.4),
                0 0 32px rgba(255,215,0,0.4);
}

/* ====================================================================
   PREMIUM CARD SYSTEM — glow, depth, 3D tilt
   ==================================================================== */
.problem-card,
.service-card,
.benefit-card,
.testimonial-card,
.portfolio-card {
    position: relative;
    isolation: isolate;
    transition:
        transform 0.5s var(--ease-expo),
        box-shadow 0.5s var(--ease-expo),
        border-color 0.4s ease;
    will-change: transform;
}

/* Glow ring on hover (desktop only) */
@media (hover: hover) and (pointer: fine) {
    .problem-card::before,
    .service-card::before,
    .benefit-card::before,
    .portfolio-card::before {
        content: '';
        position: absolute;
        inset: -1px;
        border-radius: inherit;
        background: linear-gradient(135deg,
            rgba(255,215,0,0) 0%,
            rgba(255,215,0,0.5) 50%,
            rgba(45,212,191,0.5) 100%);
        opacity: 0;
        transition: opacity 0.5s ease;
        z-index: -1;
        filter: blur(8px);
    }
    .problem-card:hover::before,
    .service-card:hover::before,
    .benefit-card:hover::before,
    .portfolio-card:hover::before {
        opacity: 0.6;
    }

    .service-card:hover {
        transform: translateY(-10px) scale(1.005);
        box-shadow:
            0 24px 64px rgba(11,10,7,0.16),
            0 8px 20px rgba(255,215,0,0.10),
            0 0 0 1px rgba(255,215,0,0.20);
    }
    .problem-card:hover {
        transform: translateY(-6px);
        box-shadow:
            0 20px 50px rgba(11,10,7,0.14),
            0 0 0 1px rgba(255,215,0,0.18);
    }
    .testimonial-card:hover {
        transform: translateY(-6px);
        box-shadow:
            0 24px 50px rgba(0,0,0,0.5),
            0 0 0 1px rgba(255,215,0,0.20);
    }
}

/* 3D tilt scaffolding for service cards */
.services-grid {
    perspective: 1400px;
    transform-style: preserve-3d;
}
.service-card {
    transform-style: preserve-3d;
    transition:
        transform 0.5s var(--ease-expo),
        box-shadow 0.5s var(--ease-expo),
        border-top-width 0.3s ease;
}
.service-card > * {
    transform: translateZ(0);
}
.service-card .service-icon-wrap {
    transform: translateZ(20px);
}
.service-card h3 {
    transform: translateZ(14px);
}

/* ====================================================================
   PREMIUM DARK SECTIONS — depth, mesh gradient, ambient glow
   ==================================================================== */
/* Dark sections only — premium mesh gradient depth */
.contact {
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%,
            rgba(255,215,0,0.08) 0%,
            transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 100%,
            rgba(45,212,191,0.06) 0%,
            transparent 50%),
        var(--black) !important;
    position: relative;
}
.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 30%, rgba(255,215,0,0.05) 0%, transparent 40%),
        radial-gradient(circle at 75% 70%, rgba(45,212,191,0.04) 0%, transparent 40%);
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 0;
}
.contact > * { position: relative; z-index: 1; }

/* Yellow sections (testimonials) — subtle gold-on-gold sheen */
.testimonials {
    background:
        radial-gradient(ellipse 70% 40% at 50% 0%,
            rgba(255,255,255,0.18) 0%,
            transparent 60%),
        var(--yellow) !important;
}

/* Hero-right dark panel — animated hex pulse */
.hero-right {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 70% at 50% 50%,
            rgba(255,215,0,0.06) 0%,
            transparent 70%),
        var(--black);
}
.hero-right::before {
    content: '';
    position: absolute;
    inset: -10%;
    background-image:
        radial-gradient(circle, rgba(45,212,191,0.16) 1px, transparent 1.5px);
    background-size: 48px 48px;
    opacity: 0.18;
    animation: dotDrift 28s linear infinite;
    pointer-events: none;
    z-index: 0;
}
@keyframes dotDrift {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(48px, 48px); }
}

/* ====================================================================
   TEAL ACCENT — strategic highlights
   ==================================================================== */
.section-label::before {
    content: '';
    display: inline-block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--teal);
    margin-right: 8px;
    box-shadow: 0 0 8px var(--teal-glow);
    vertical-align: middle;
    animation: tealPulse 2.4s var(--ease-smooth) infinite;
}
@keyframes tealPulse {
    0%,100% { opacity: 0.6; transform: scale(1); }
    50%     { opacity: 1;   transform: scale(1.4); }
}

/* Tag pills get teal hover */
.tag,
.portfolio-tag,
.industry-pill {
    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s var(--ease-spring),
        box-shadow 0.3s ease;
}
.tag:hover,
.portfolio-tag:hover,
.industry-pill:hover {
    border-color: var(--teal) !important;
    color: var(--teal-dark) !important;
    box-shadow: 0 4px 14px var(--teal-light);
    transform: translateY(-2px);
}

/* Form inputs get teal focus glow */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--yellow) !important;
    box-shadow:
        0 0 0 3px var(--yellow-light),
        0 0 18px var(--teal-light) !important;
}

/* Process timeline dots get teal pulse */
.process-dot {
    box-shadow: 0 0 0 3px rgba(45,212,191,0.18), 0 0 12px var(--teal-glow);
}

/* Footer social hover teal */
.footer-social a {
    transition: transform 0.3s var(--ease-spring), color 0.3s ease, box-shadow 0.3s ease;
}
.footer-social a:hover {
    color: var(--teal);
    transform: translateY(-3px) scale(1.1);
    text-shadow: 0 0 16px var(--teal-glow);
}

/* ====================================================================
   ENHANCED BEE FLOATING — premium ambient
   ==================================================================== */
.bee-main-img {
    filter: drop-shadow(0 18px 32px rgba(0,0,0,0.45))
            drop-shadow(0 0 24px rgba(255,215,0,0.18));
    animation: beeFloat 6s ease-in-out infinite,
               beeGlow 4s ease-in-out infinite;
}
@keyframes beeFloat {
    0%,100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    25%     { transform: translate3d(8px, -16px, 0) rotate(2deg); }
    50%     { transform: translate3d(0, -22px, 0) rotate(0deg); }
    75%     { transform: translate3d(-8px, -16px, 0) rotate(-2deg); }
}
@keyframes beeGlow {
    0%,100% { filter: drop-shadow(0 18px 32px rgba(0,0,0,0.45))
                      drop-shadow(0 0 24px rgba(255,215,0,0.18)); }
    50%     { filter: drop-shadow(0 22px 40px rgba(0,0,0,0.55))
                      drop-shadow(0 0 36px rgba(255,215,0,0.32)); }
}

/* ====================================================================
   NAV LINK PREMIUM UNDERLINE
   ==================================================================== */
.nav-links a::after {
    background: linear-gradient(90deg, var(--yellow), var(--teal));
    height: 2px;
    border-radius: 1px;
    box-shadow: 0 0 8px var(--yellow-glow);
}

/* ====================================================================
   FAQ ACCORDION — smooth, premium
   ==================================================================== */
.faq-question {
    transition:
        background 0.35s ease,
        color 0.35s ease,
        padding 0.35s ease;
}
.faq-question:hover {
    color: var(--yellow);
}
.faq-arrow {
    transition: transform 0.45s var(--ease-expo), color 0.3s ease;
}
.faq-item.active .faq-question {
    color: var(--yellow);
}
.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--teal);
}
.faq-answer p {
    line-height: 1.75;
    color: var(--gray);
}

/* ====================================================================
   SCROLL PROGRESS BAR — gold→teal gradient
   ==================================================================== */
#scroll-progress {
    background: linear-gradient(90deg,
        var(--yellow) 0%,
        var(--yellow-dark) 50%,
        var(--teal) 100%) !important;
    box-shadow: 0 0 12px var(--yellow-glow);
}

/* ====================================================================
   SECTION FLASH — premium gradient sweep
   ==================================================================== */
#section-flash {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,215,0,0.06) 25%,
        rgba(45,212,191,0.10) 50%,
        rgba(255,215,0,0.06) 75%,
        transparent 100%) !important;
    box-shadow: 0 0 40px var(--yellow-glow);
}

/* ====================================================================
   BADGES & TAGS — premium materiality
   ==================================================================== */
.hero-badge {
    background: linear-gradient(135deg, rgba(255,215,0,0.18), rgba(45,212,191,0.10));
    border: 1px solid rgba(255,215,0,0.30);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px rgba(255,215,0,0.10),
                inset 0 1px 0 rgba(255,255,255,0.30);
}

/* ====================================================================
   FOOTER PREMIUM
   ==================================================================== */
.footer {
    background:
        radial-gradient(ellipse 100% 80% at 50% 0%,
            rgba(255,215,0,0.06) 0%,
            transparent 60%),
        var(--black-deep);
    border-top: 1px solid rgba(255,215,0,0.12);
}

/* ====================================================================
   MOBILE PREMIUM POLISH
   ==================================================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(32px, 9vw, 44px) !important;
        letter-spacing: -0.035em;
    }
    h2 {
        font-size: clamp(28px, 7vw, 38px) !important;
    }
    .faq-left h2 {
        font-size: clamp(36px, 10vw, 48px) !important;
    }
    .btn {
        padding: 14px 26px;
        font-size: 15px;
    }
    .section-label {
        font-size: 10px;
        letter-spacing: 0.18em;
    }
    /* Disable expensive 3D tilt on mobile */
    .service-card {
        transform: none !important;
    }
    .service-card .service-icon-wrap,
    .service-card h3 {
        transform: none;
    }
    /* Disable mesh gradients (perf) */
    .contact::before {
        display: none;
    }
    /* Reduce dot drift density */
    .hero-right::before {
        background-size: 28px 28px;
        opacity: 0.2;
    }
}

/* Disable bee glow animation on reduced motion (perf + a11y) */
@media (prefers-reduced-motion: reduce) {
    .bee-main-img {
        animation: none;
    }
    .hero-right::before {
        animation: none;
    }
    .section-label::before {
        animation: none;
    }
}

/* =====================================================
   LANGUAGE SWITCHER
   ===================================================== */

.lang-switcher {
    position: relative;
    margin-right: 12px;
}

.lang-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 999px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1;
}

.lang-current:hover {
    background: rgba(255, 215, 0, 0.18);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-1px);
}

.lang-current .lang-flag {
    font-size: 16px;
    line-height: 1;
}

.lang-current .lang-code {
    letter-spacing: 0.6px;
}

.lang-current .lang-chev {
    font-size: 10px;
    opacity: 0.7;
    transition: transform 0.25s ease;
}

.lang-switcher.open .lang-current .lang-chev {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 170px;
    list-style: none;
    margin: 0;
    padding: 6px;
    background: rgba(20, 20, 20, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 215, 0, 0.22);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1100;
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-dropdown li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    color: #f1f1f1;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.lang-dropdown li:hover {
    background: rgba(255, 215, 0, 0.14);
    color: #ffd700;
}

.lang-dropdown li.active {
    background: rgba(255, 215, 0, 0.18);
    color: #ffd700;
    font-weight: 600;
}

.lang-dropdown li .lang-flag {
    font-size: 18px;
    line-height: 1;
}

/* Mobile language switcher */
.lang-switcher-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 14px 0 6px;
    margin: 8px auto 4px;
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    width: 80%;
}

.lang-switcher-mobile button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.22);
    border-radius: 999px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s ease;
}

.lang-switcher-mobile button:hover,
.lang-switcher-mobile button.active {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.55);
    color: #ffd700;
}

@media (max-width: 992px) {
    .lang-switcher {
        display: none;
    }
}

/* =====================================================
   ARABIC / RTL SUPPORT
   ===================================================== */

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', 'Tajawal', 'Plus Jakarta Sans', sans-serif;
}

html[dir="rtl"] .hero-title,
html[dir="rtl"] .cinema-hud-title,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
    font-family: 'Cairo', 'Tajawal', 'Space Grotesk', sans-serif;
    letter-spacing: 0;
}

html[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

html[dir="rtl"] .hero {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .hero-left,
html[dir="rtl"] .hero-right,
html[dir="rtl"] .about-left,
html[dir="rtl"] .about-right,
html[dir="rtl"] .faq-left,
html[dir="rtl"] .faq-right,
html[dir="rtl"] .contact-left,
html[dir="rtl"] .contact-right {
    text-align: right;
}

html[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-trust {
    justify-content: flex-end;
}

html[dir="rtl"] .trust-item {
    flex-direction: row-reverse;
}

html[dir="rtl"] .btn,
html[dir="rtl"] .nav-cta,
html[dir="rtl"] .mobile-cta,
html[dir="rtl"] .btn-submit {
    flex-direction: row-reverse;
}

html[dir="rtl"] .btn .fa-arrow-right,
html[dir="rtl"] .chain-arrow .fa-arrow-right {
    transform: scaleX(-1);
}

html[dir="rtl"] .supply-chain-visual {
    flex-direction: row-reverse;
}

html[dir="rtl"] .countries-strip {
    text-align: right;
}

html[dir="rtl"] .flag-row {
    direction: ltr;
    display: inline-block;
}

html[dir="rtl"] .problem-cards,
html[dir="rtl"] .services-grid,
html[dir="rtl"] .portfolio-grid,
html[dir="rtl"] .testimonials-grid,
html[dir="rtl"] .about-grid {
    direction: rtl;
}

html[dir="rtl"] .problem-card,
html[dir="rtl"] .service-card,
html[dir="rtl"] .portfolio-card,
html[dir="rtl"] .testimonial-card,
html[dir="rtl"] .faq-item {
    text-align: right;
}

html[dir="rtl"] .problem-card-top,
html[dir="rtl"] .portfolio-header,
html[dir="rtl"] .testimonial-footer {
    flex-direction: row-reverse;
}

html[dir="rtl"] .industries-grid {
    direction: rtl;
}

html[dir="rtl"] .industry-pill {
    flex-direction: row-reverse;
}

html[dir="rtl"] .contact-info-item {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .contact-info-items {
    text-align: right;
}

html[dir="rtl"] .form-row {
    flex-direction: row-reverse;
}

html[dir="rtl"] .form-group label {
    text-align: right;
    display: block;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="tel"] {
    direction: ltr;
    text-align: right;
}

html[dir="rtl"] .footer-content {
    direction: rtl;
}

html[dir="rtl"] .footer-col {
    text-align: right;
}

html[dir="rtl"] .footer-logo {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

html[dir="rtl"] .footer-location {
    flex-direction: row-reverse;
    justify-content: flex-end;
    display: flex;
    gap: 8px;
}

html[dir="rtl"] .footer-links {
    padding-right: 0;
    padding-left: 0;
}

html[dir="rtl"] .faq-question {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .faq-arrow {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .testimonial-quote {
    text-align: right;
}

html[dir="rtl"] .stat-divider {
    transform: scaleX(-1);
}

html[dir="rtl"] .mobile-nav,
html[dir="rtl"] .mobile-nav ul {
    text-align: center;
}

html[dir="rtl"] .mobile-close {
    right: auto;
    left: 20px;
}

html[dir="rtl"] .lang-switcher {
    margin-right: 0;
    margin-left: 12px;
}

html[dir="rtl"] .portfolio-tag,
html[dir="rtl"] .tag {
    direction: rtl;
}

html[dir="rtl"] .countries-label,
html[dir="rtl"] .countries-tagline {
    display: block;
    text-align: right;
}

html[dir="rtl"] .cinema-hud {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .cinema-hud-tag {
    flex-direction: row-reverse;
}

html[dir="rtl"] .service-tags {
    justify-content: flex-end;
}

html[dir="rtl"] .portfolio-result {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-badge {
    direction: rtl;
}

html[dir="rtl"] .section-label,
html[dir="rtl"] .section-label-dark {
    direction: rtl;
}
