/* Custom Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ─── Global Reset ─────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle page-level noise texture + soft vignette */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(0, 81, 255, 0.05), transparent 36%),
        radial-gradient(circle at 88% 12%, rgba(0, 216, 255, 0.04), transparent 28%);
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    z-index: -1;
}

/* ─── Glassmorphism ────────────────────────────────────────── */
.glass-panel {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

/* ─── Text Gradients ───────────────────────────────────────── */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, #0f172a, #334155);
}

.text-gradient-accent {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, #0051ff, #00d8ff);
}

/* ─── Reveal Animations ────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ─── Custom Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ─── Fade-in ──────────────────────────────────────────────── */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}
.fade-in.active { opacity: 1; }

/* ─── Animations ───────────────────────────────────────────── */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

@keyframes float-soft {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -8px, 0); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 rgba(0, 81, 255, 0.12); }
    50% { box-shadow: 0 0 28px rgba(0, 81, 255, 0.20); }
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(18px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(18px) rotate(-360deg); }
}

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

/* ─── Section Labels ───────────────────────────────────────── */
.section-kicker {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #94a3b8;
}

/* ─── Premium Cards ────────────────────────────────────────── */
.premium-card {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.06),
        0 8px 32px -8px rgba(15, 23, 42, 0.10);
}

.premium-card:hover {
    border-color: rgba(0, 81, 255, 0.22);
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.06),
        0 16px 48px -12px rgba(0, 81, 255, 0.14);
    transform: translateY(-1px);
    transition: all 0.25s ease;
}

/* ─── Fintech Decorative ───────────────────────────────────── */
.fintech-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
    animation: float-soft 8s ease-in-out infinite;
}

.fintech-badge {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 81, 255, 0.14);
    box-shadow: 0 2px 16px rgba(0, 81, 255, 0.08);
    font-size: 0.8125rem;
}

.fintech-stat {
    position: relative;
    overflow: hidden;
}

.fintech-stat::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: translateX(-140%);
    transition: transform 0.75s ease;
}

.fintech-stat:hover::before {
    transform: translateX(140%);
}

/* ─── Marquee ──────────────────────────────────────────────── */
.marquee-track {
    display: flex;
    width: max-content;
    gap: 1rem;
    animation: marquee 28s linear infinite;
}

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

.marquee-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1.1rem;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #ffffff;
    color: #334155;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

/* ─── Tilt Cards ───────────────────────────────────────────── */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    will-change: transform;
}

.tilt-card[data-tilt-ready="true"]:hover {
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.05),
        0 24px 60px -20px rgba(0, 81, 255, 0.12);
}

/* ─── Signal Dot ───────────────────────────────────────────── */
.signal-dot {
    position: relative;
}

.signal-dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 9999px;
    border: 1px solid rgba(0, 81, 255, 0.30);
    animation: pulse-glow 2.6s ease-in-out infinite;
}

/* ─── Orbit ────────────────────────────────────────────────── */
.orbit-node {
    animation: orbit 10s linear infinite;
    transform-origin: center;
}

/* ─── Form Inputs ──────────────────────────────────────────── */
input, textarea, select {
    -webkit-font-smoothing: antialiased;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #0051ff !important;
    box-shadow: 0 0 0 3px rgba(0, 81, 255, 0.10) !important;
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.20);
    text-decoration: none;
}

.btn-primary:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.24);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: #ffffff;
    color: #1e293b;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: scale(0.97);
}

/* ─── Section Divider ──────────────────────────────────────── */
.section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 0;
}

/* ─── Trust Badge ──────────────────────────────────────────── */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    background: rgba(0, 81, 255, 0.06);
    border: 1px solid rgba(0, 81, 255, 0.14);
    font-size: 0.75rem;
    font-weight: 600;
    color: #0051ff;
}

/* ─── Card Hover States ────────────────────────────────────── */
.card-hover {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card-hover:hover {
    border-color: rgba(0, 81, 255, 0.20);
    box-shadow: 0 8px 32px -8px rgba(0, 81, 255, 0.10);
    transform: translateY(-2px);
}

/* ─── Nav Link Active State ────────────────────────────────── */
.nav-link-active {
    color: #0051ff;
    font-weight: 700;
}
