@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* ── Exact Logo Colors ───────────────────────── */
    --primary:        #002A6E;                   /* Logo Blue  — VX letterform  */
    --primary-dark:   #001A4C;                   /* Darker shade for hover      */
    --primary-light:  #1C4EB0;                   /* Lighter shade for gradients */
    --primary-glow:   rgba(0, 42, 110, 0.4);

    --secondary:      #C5970B;                   /* Logo Gold  — arc / swoosh   */
    --secondary-dark: #A37B09;                   /* Deeper gold for text        */
    --secondary-glow: rgba(197, 151, 11, 0.4);

    /* ── Dark Backgrounds ───────────────────────── */
    --bg-dark:   #02050E;
    --bg-card:   #080D1A;
    --bg-header: rgba(2, 5, 14, 0.92);

    /* ── Text ───────────────────────────────────── */
    --text-main:  #EEF3FF;
    --text-muted: #8B99BB;
    --text-dim:   #4A5068;

    /* ── Borders & Glass ────────────────────────── */
    --border-color: rgba(0, 42, 110, 0.28);
    --border-gold:  rgba(197, 151, 11, 0.35);
    --glass:        rgba(0, 8, 30, 0.72);
    --glass-accent: rgba(197, 151, 11, 0.05);

    /* ── Typography ─────────────────────────────── */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body:    'Plus Jakarta Sans', sans-serif;

    /* ── Transitions ────────────────────────────── */
    --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: all 0.3s ease;

    --section-gap: clamp(80px, 12vw, 160px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.15;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* --- Layout --- */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

section, main, footer {
    overflow-x: hidden;
    max-width: 100%;
}

section {
    padding: var(--section-gap) 0;
    position: relative;
}

.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Header --- */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 8px 0;
    transition: var(--transition-base);
}

@media (min-width: 1024px) {
    header {
        padding: 12px 0;
    }
}

header.scrolled {
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--primary);
    margin-right: 4px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-slow);
    gap: 10px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px var(--primary-glow);
    background: var(--primary-light);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--glass-accent);
    border-color: #fff;
    transform: translateY(-3px);
}

/* --- Hero System --- */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: radial-gradient(circle at 80% 20%, rgba(0, 42, 110, 0.2) 0%, transparent 60%),
                radial-gradient(circle at 15% 85%, rgba(197, 151, 11, 0.07) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(180px);
    opacity: 0.1;
    top: -100px;
    right: -100px;
    z-index: -1;
}

.hero-tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 40px;
}

/* --- Content Cards --- */

.section-title {
    margin-bottom: 80px;
    max-width: 800px;
}

.section-title h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.card {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    background: rgba(13, 17, 23, 0.9);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.04), transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 42, 110, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 30px;
    border: 1px solid rgba(197, 151, 11, 0.25);
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* --- Feature List --- */

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 5px;
}

.feature-item h4 {
    margin-bottom: 5px;
    font-size: 1.25rem;
}

/* --- Footer --- */

footer {
    padding: 60px 0 20px;
    background: #020408;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    footer {
        padding: 24px 0 10px;
    }
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* --- Responsive --- */

@media (max-width: 1100px) {
    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   ANIMATION SYSTEM
═══════════════════════════════════════════ */

/* ── Scroll Reveal base ── */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1),
                transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
[data-reveal="left"]  { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px);  }
[data-reveal="scale"] { transform: scale(0.88); opacity:0; }
[data-reveal="fade"]  { transform: translateY(20px); }
[data-reveal].active,
[data-reveal="left"].active,
[data-reveal="right"].active,
[data-reveal="scale"].active,
[data-reveal="fade"].active  {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ── Stagger delays ── */
.stagger-1  { transition-delay: 0.05s !important; }
.stagger-2  { transition-delay: 0.12s !important; }
.stagger-3  { transition-delay: 0.20s !important; }
.stagger-4  { transition-delay: 0.28s !important; }
.stagger-5  { transition-delay: 0.36s !important; }
.stagger-6  { transition-delay: 0.44s !important; }

/* ── Keyframes ── */
@keyframes float-y {
    0%, 100% { transform: translateY(0);    }
    50%       { transform: translateY(-14px); }
}
@keyframes float-y-slow {
    0%, 100% { transform: translateY(0);    }
    50%       { transform: translateY(-8px); }
}
@keyframes pulse-glow-gold {
    0%, 100% { box-shadow: 0 0 0   0   rgba(197,151,11,0);    }
    50%       { box-shadow: 0 0 28px 6px rgba(197,151,11,0.35); }
}
@keyframes pulse-glow-blue {
    0%, 100% { box-shadow: 0 0 0   0   rgba(0,42,110,0);    }
    50%       { box-shadow: 0 0 28px 6px rgba(0,42,110,0.45); }
}
@keyframes shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}
@keyframes spin-slow {
    from { transform: rotate(0deg);   }
    to   { transform: rotate(360deg); }
}
@keyframes gradient-x {
    0%, 100% { background-position: 0% 50%;   }
    50%       { background-position: 100% 50%; }
}
@keyframes slide-up-fade {
    from { opacity:0; transform: translateY(30px); }
    to   { opacity:1; transform: translateY(0);    }
}
@keyframes slide-left-fade {
    from { opacity:0; transform: translateX(30px); }
    to   { opacity:1; transform: translateX(0);    }
}
@keyframes count-up {
    from { opacity:0; transform: translateY(12px) scale(0.9); }
    to   { opacity:1; transform: translateY(0)    scale(1);   }
}
@keyframes border-dance {
    0%,100% { border-color: rgba(197,151,11,0.3); }
    50%      { border-color: rgba(197,151,11,0.9); }
}
@keyframes particle-drift {
    0%   { transform: translateY(0)    translateX(0)   opacity(1); }
    100% { transform: translateY(-80px) translateX(20px); opacity:0; }
}

/* ── Utility animation classes ── */
.animate-float        { animation: float-y      3s ease-in-out infinite; }
.animate-float-slow   { animation: float-y-slow 5s ease-in-out infinite; }
.animate-float-delay  { animation: float-y      3s ease-in-out infinite; animation-delay: 1.2s; }
.animate-pulse-gold   { animation: pulse-glow-gold 2.5s ease-in-out infinite; }
.animate-pulse-blue   { animation: pulse-glow-blue 2.5s ease-in-out infinite; }
.animate-spin-slow    { animation: spin-slow    12s linear infinite; }
.animate-gradient-x   {
    background-size: 200% 200%;
    animation: gradient-x 4s ease infinite;
}
.animate-border-dance { animation: border-dance 2s ease-in-out infinite; }

/* ── Shimmer effect (skeleton / card highlight) ── */
.shimmer-card {
    position: relative;
    overflow: hidden;
}
.shimmer-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255,255,255,0.07) 50%,
        transparent 60%
    );
    background-size: 600px 100%;
    animation: shimmer 2.8s infinite linear;
    pointer-events: none;
}

/* ── Card 3D tilt (JS-driven via inline style) ── */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.12s ease-out, box-shadow 0.3s ease;
}
.tilt-card:hover {
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.tilt-card .tilt-inner {
    transform: translateZ(20px);
}

/* ── Gold glow border on hover ── */
.gold-border-hover {
    border: 1.5px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.gold-border-hover:hover {
    border-color: rgba(197,151,11,0.6);
    box-shadow: 0 0 18px rgba(197,151,11,0.15);
}

/* ── Gradient animated text ── */
.gradient-text-animate {
    background: linear-gradient(90deg, #C5970B, #ffffff, #C5970B);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-x 3s linear infinite;
}

/* ── Hero entry animations ── */
.hero-line-1 { animation: slide-up-fade 0.7s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.1s; }
.hero-line-2 { animation: slide-up-fade 0.7s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.25s; }
.hero-line-3 { animation: slide-up-fade 0.7s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.4s; }
.hero-line-4 { animation: slide-up-fade 0.7s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.55s; }
.hero-line-5 { animation: slide-up-fade 0.7s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.7s; }
.hero-img-in { animation: slide-left-fade 0.9s cubic-bezier(0.16,1,0.3,1) both; animation-delay: 0.3s; }

/* ── Counter number pop ── */
.counter-val { animation: count-up 0.6s cubic-bezier(0.16,1,0.3,1) both; }

/* ── Floating badge wiggle ── */
.float-badge-1 { animation: float-y      3.5s ease-in-out infinite; }
.float-badge-2 { animation: float-y-slow 4.2s ease-in-out infinite; animation-delay: 0.8s; }
.float-badge-3 { animation: float-y      3.0s ease-in-out infinite; animation-delay: 1.5s; }

/* ── Disable content animations on mobile devices (< 1024px) ── */
@media (max-width: 1023px) {
    /* Stop all CSS animations and transitions globally on mobile */
    *,
    *::before,
    *::after {
        transition-duration: 0s !important;
        animation-duration: 0s !important;
        animation-delay: 0s !important;
        transition-delay: 0s !important;
    }

    /* Reset scroll reveal elements to be static and fully visible */
    .reveal-on-scroll,
    .reveal-fade-in,
    .reveal-slide-left,
    .reveal-slide-right,
    .reveal-scale-up,
    [data-reveal],
    [data-reveal="left"],
    [data-reveal="right"],
    [data-reveal="scale"],
    [data-reveal="fade"] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
    
    /* Disable card hover effect and 3D tilts */
    .tilt-card {
        transform: none !important;
        transition: none !important;
    }
    .tilt-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    .tilt-card .tilt-inner {
        transform: none !important;
    }
    .shimmer-card::after {
        display: none !important;
    }
    
    /* Disable other card/border transitions on hover */
    .gold-border-hover {
        transition: none !important;
    }
    .gold-border-hover:hover {
        box-shadow: none !important;
        border-color: transparent !important;
    }
    .group:hover .group-hover\:-translate-y-1,
    .hover\:-translate-y-1:hover {
        transform: none !important;
    }
}