@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: 'Space Grotesk', sans-serif; }

/* ── Palette tokens ── */
:root {
    --gold: #F0C040;
    --gold-dark: #D4A830;
    --gold-light: #F5D060;
    --black: #111111;
    --black-soft: #1A1A1A;
    --black-card: #222222;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-700: #404040;
    --white: #FFFFFF;
}

/* ── Splash screen ── */
.splash {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: var(--white); cursor: pointer;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}
.splash.fade-out { opacity: 0; pointer-events: none; visibility: hidden; }

@keyframes logoIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ── Navbar ── */
.nav-shrink { padding-top: 0.4rem !important; padding-bottom: 0.4rem !important; box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-link-bar {
    position: relative;
    transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-link-bar:hover,
.nav-link-bar.active {
    color: var(--black);
    background: var(--gold);
}

/* ── Scroll reveal ── */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ── Steps connector ── */
@media (min-width: 768px) {
    .step-item { position: relative; }
    .step-item:not(:last-child)::after {
        content: '';
        position: absolute; top: 20px;
        left: calc(50% + 28px); right: -28px;
        border-top: 2px dashed var(--gray-200);
    }
}

/* ── Card hover ── */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* ── Icon box hover ── */
.icon-morph { transition: background 0.3s ease, transform 0.3s ease; }
.card-lift:hover .icon-morph {
    transform: scale(1.1);
}

/* ── Swipe carousel (mobile) ── */
.swipe-track {
    display: flex; gap: 1rem;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 1rem 0.5rem;
    scrollbar-width: none;
}
.swipe-track::-webkit-scrollbar { display: none; }
.swipe-card {
    scroll-snap-align: center;
    flex-shrink: 0;
    width: calc(100vw - 48px);
}

/* ── Marquee (tech logos / partners) ── */
.marquee-track {
    display: flex; width: max-content;
    animation: marquee 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── WhatsApp float ── */
.wpp-float {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 100;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: white;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wpp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.45); }
.wpp-float::before {
    content: ''; position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid #25D366; animation: wpp-ring 2s ease-out infinite;
}
@keyframes wpp-ring {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ── Counter ── */
.counter-val { font-variant-numeric: tabular-nums; }

/* ── Print ── */
@media print {
    .splash, nav, .wpp-float, footer { display: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
}
