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

/* Global Styles */
body {
    background-color: #ffffff;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(13, 148, 136, 0.08), transparent 32%),
        radial-gradient(circle at 85% 15%, rgba(6, 182, 212, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.7));
    z-index: -2;
}

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

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

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

/* Text Gradients */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #0F172A, #334155);
}

.text-gradient-accent {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #0d9488, #06b6d4);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Hide elements for dynamic reveals */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in;
}
.fade-in.active {
    opacity: 1;
}

/* Subtle floating animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.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(13, 148, 136, 0.15); }
    50% { box-shadow: 0 0 30px rgba(13, 148, 136, 0.18); }
}

@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-kicker {
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.premium-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 24px 80px -42px rgba(15, 23, 42, 0.45);
}

.premium-card:hover {
    border-color: rgba(13, 148, 136, 0.28);
    box-shadow: 0 28px 90px -42px rgba(15, 23, 42, 0.52);
}

.fintech-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(14px);
    opacity: 0.5;
    pointer-events: none;
    animation: float-soft 7s ease-in-out infinite;
}

.fintech-badge {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 15px 40px -28px rgba(15, 23, 42, 0.5);
}

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

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

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

.marquee-track {
    display: flex;
    width: max-content;
    gap: 1rem;
    animation: marquee 20s linear infinite;
}

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

.marquee-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1.15rem;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.92);
    color: #334155;
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 16px 35px -28px rgba(15, 23, 42, 0.42);
}

.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    will-change: transform;
}

.tilt-card[data-tilt-ready="true"]:hover {
    box-shadow: 0 22px 60px -30px rgba(15, 23, 42, 0.45);
}

.signal-dot {
    position: relative;
}

.signal-dot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 9999px;
    border: 1px solid rgba(13, 148, 136, 0.35);
    animation: pulse-glow 2.8s ease-in-out infinite;
}

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

/* Base input highlights */
input:focus, textarea:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}
