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

:root {
    /* Color Palette - Final Orbital Refinement */
    --bg-dark: #070b1f;
    --primary: #4f6cff; /* Vivid Blue */
    --secondary: #7f5cff; /* bright Purple */
    --accent: #ff4ecd; /* Hot Pink (for orbs) */
    --orb-cyan: #00cfff;
    --text-main: #ffffff;
    --text-dim: #aaa;
    --nav-bg: rgba(10, 15, 40, 0.5);
    
    /* Effects */
    --gradient-brand: linear-gradient(135deg, var(--primary), var(--secondary));
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- FLOATING ORBS --- */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 12s infinite ease-in-out;
}

.orb1 {
    width: 40vw;
    height: 40vw;
    background: #6c63ff;
    top: -10%;
    left: -10%;
}

.orb2 {
    width: 35vw;
    height: 35vw;
    background: var(--accent);
    bottom: 5%;
    right: -5%;
    animation-delay: -3s;
}

.orb3 {
    width: 30vw;
    height: 30vw;
    background: var(--orb-cyan);
    top: 50%;
    left: 60%;
    animation-delay: -6s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 3.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: var(--nav-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar a {
    color: #ccc;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.navbar a:hover {
    color: white;
}

.cta-nav {
    background: var(--gradient-brand);
    padding: 10px 20px;
    border-radius: 10px;
    color: white;
    box-shadow: 0 0 20px rgba(79, 108, 255, 0.4);
    text-decoration: none;
    font-weight: 600;
}

/* --- HERO --- */
.hero {
    text-align: center;
    padding: 10rem 2rem 6rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #8ea2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-dim);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    margin: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    text-decoration: none;
}

.primary {
    background: var(--gradient-brand);
    color: white;
    box-shadow: 0 0 25px rgba(79, 108, 255, 0.6);
}

.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: scale(1.05) translateY(-2px);
}

/* --- GLASS CARD & MASKED BORDER --- */
.section {
    padding: 6rem 1.25rem;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    width: 280px;
    transition: var(--transition);
    position: relative;
    text-align: center;
}

/* Glowing Border with Mask */
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px; /* The border width */
    background: linear-gradient(135deg, #7f5cff, #ff6ec7);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* --- STATS SECTION --- */
.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    min-width: 220px;
    transition: var(--transition);
}

.stat h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, white, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- TESTIMONIAL --- */
.testimonial {
    max-width: 700px;
    margin: 0 auto;
    padding: 3.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    font-size: 1.4rem;
    font-style: italic;
    color: #e2e8f0;
}

/* --- CTA BOX --- */
.cta-box {
    margin: 4rem auto;
    padding: 6rem 2rem;
    border-radius: 30px;
    max-width: 1100px;
    background: var(--gradient-brand);
    text-align: center;
    box-shadow: 0 0 50px rgba(79, 108, 255, 0.2);
}

.cta-box h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 2rem;
}

/* --- REVEAL ANIMATION --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- FOOTER --- */
.footer {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-dim);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    .navbar .links {
        display: none; /* simple mobile fallback */
    }
    .hero {
        padding: 8rem 1.5rem 4rem;
    }
    .testimonial {
        width: 90%;
        padding: 2.5rem 1.5rem;
        font-size: 1.1rem;
    }
    .cta-box {
        margin: 2rem 1rem;
        padding: 4rem 1.5rem;
    }
}
