/* ═══════════════════════════════════════════
   CSS VARIABLES & RESET
═══════════════════════════════════════════ */
:root {
    --navy-900: #010c1e;
    --navy-800: #030f24;
    --navy-700: #071630;
    --navy-600: #0b1e42;
    --navy-500: #0f2554;

    --blue-600: #1246cc;
    --blue-500: #1755e6;
    --blue-400: #3a70f4;
    --blue-300: #6690f8;

    --gold: #d4a843;
    --gold-light: #f0c96a;

    --white: #ffffff;
    --gray-100: #eef2f8;
    --gray-300: #c4cedf;
    --gray-500: #7e91ae;
    --gray-700: #3d5070;

    --glass: rgba(255,255,255,0.04);
    --glass-border: rgba(255,255,255,0.08);
    --glass-hover: rgba(255,255,255,0.07);

    --shadow-sm: 0 2px 12px rgba(0,0,0,0.25);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.35);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.45);
    --shadow-blue: 0 8px 30px rgba(23,85,230,0.35);

    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius: 1rem;
    --radius-sm: 0.5rem;
    --radius-full: 999px;

    --transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--navy-900);
    color: var(--gray-100);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ═══════════════════════════════════════════
   CANVAS BACKGROUND
═══════════════════════════════════════════ */
#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   PRELOADER
═══════════════════════════════════════════ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.preloader-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    animation: logoBreathe 1.5s ease-in-out infinite;
}

@keyframes logoBreathe {
    0%,100% { transform: scale(1); filter: drop-shadow(0 0 12px rgba(23,85,230,0.5)); }
    50%      { transform: scale(1.06); filter: drop-shadow(0 0 24px rgba(23,85,230,0.9)); }
}

.preloader-bar {
    width: 160px;
    height: 3px;
    background: var(--glass-border);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
    border-radius: var(--radius-full);
    animation: barFill 1.4s ease-out forwards;
}

@keyframes barFill {
    to { width: 100%; }
}

.preloader-text {
    font-size: 0.8rem;
    color: var(--gray-500);
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════
   PAGE WRAPPER
═══════════════════════════════════════════ */
.page {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    /* initial page fade-in */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}

.page.ready {
    opacity: 1;
    transform: none;
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.nav-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(23,85,230,0.4));
    transition: filter var(--transition);
}

.nav-logo:hover {
    filter: drop-shadow(0 0 16px rgba(23,85,230,0.8));
}

.nav-text {
    display: flex;
    flex-direction: column;
}

.nav-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.2;
}

.nav-tagline {
    font-size: 0.72rem;
    color: var(--gray-500);
    letter-spacing: 0.03em;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    background: var(--blue-500);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-blue);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-cta:hover {
    background: var(--blue-400);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(23,85,230,0.55);
}

/* ═══════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════ */
.hero {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 3rem;
    align-items: center;
    min-height: calc(100vh - 100px);
    padding: 4rem 0;
}

/* — Hero Content Left — */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: fit-content;
    padding: 0.45rem 1rem;
    background: rgba(23,85,230,0.12);
    border: 1px solid rgba(23,85,230,0.3);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blue-300);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #22d3ee;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34,211,238,0.6);
    animation: livePulse 2s infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 rgba(34,211,238,0.7); }
    70%  { box-shadow: 0 0 0 8px rgba(34,211,238,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}

.hero-heading {
    font-family: var(--font-head);
    font-weight: 900;
    line-height: 0.95;
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.hero-heading .line-small {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 600;
    color: var(--gray-300);
}

.hero-heading .line-big {
    font-size: clamp(4.5rem, 10vw, 7.5rem);
    background: linear-gradient(135deg, #ffffff 0%, #93b4ff 50%, #4175fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(65, 117, 252, 0.4));
}

.hero-company {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    letter-spacing: 0.18em;
    color: var(--gold);
    text-transform: uppercase;
}

.hero-sub {
    font-family: var(--font-head);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--gray-300);
    line-height: 1.4;
}

.hero-desc {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.75;
    max-width: 540px;
}

/* — Countdown — */
.countdown {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.75rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    width: fit-content;
}

.cd-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 64px;
}

.cd-val {
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    background: linear-gradient(180deg, #fff 0%, #93b4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cd-lbl {
    font-size: 0.65rem;
    color: var(--blue-300);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.4rem;
    font-weight: 600;
}

.cd-sep {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 1.2rem;
}

/* — Hero Buttons — */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: var(--blue-400);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(23,85,230,0.6);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: var(--glass-hover);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

/* Ripple */
.ripple { position: relative; overflow: hidden; }
.ripple-wave {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transform: scale(0);
    animation: rippleAnim 0.6s linear;
    pointer-events: none;
}
@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}

/* — Contact Row — */
.contact-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    color: var(--gray-300);
    transition: all var(--transition);
}

.contact-chip:hover {
    background: var(--glass-hover);
    color: var(--white);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.contact-chip i {
    color: var(--blue-400);
    font-size: 0.85rem;
}

/* — Hero Visual Right — */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.mascot-stage {
    position: relative;
    width: 460px;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.mascot-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 120px;
    background: radial-gradient(ellipse at center, rgba(23,85,230,0.4) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

.mascot-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(23,85,230,0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    animation: ringPulse 4s ease-in-out infinite;
}

.ring-1 { width: 320px; height: 320px; animation-delay: 0s; }
.ring-2 { width: 420px; height: 420px; animation-delay: 0.8s; border-color: rgba(23,85,230,0.12); }
.ring-3 { width: 520px; height: 520px; animation-delay: 1.6s; border-color: rgba(23,85,230,0.06); }

@keyframes ringPulse {
    0%, 100% { transform: translate(-50%, -40%) scale(1); opacity: 0.5; }
    50%       { transform: translate(-50%, -40%) scale(1.04); opacity: 1; }
}

.mascot-img {
    position: relative;
    z-index: 2;
    width: 420px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.7));
    animation: mascotFloat 5s ease-in-out infinite;
    transform-origin: bottom center;
}

@keyframes mascotFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}

.mascot-badge-float {
    position: absolute;
    top: 15%;
    right: -20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    background: rgba(10, 22, 50, 0.85);
    border: 1px solid rgba(23,85,230,0.4);
    border-radius: var(--radius-full);
    backdrop-filter: blur(12px);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    white-space: nowrap;
    animation: badgeFloat 5s ease-in-out infinite;
    animation-delay: 1s;
}

.mascot-badge-float i {
    color: #22d3ee;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-6px); }
}

/* ═══════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════ */
.services-section {
    padding: 6rem 0 4rem;
    text-align: center;
}

.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--blue-400);
    margin-bottom: 0.75rem;
}

.section-heading {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.svc-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    text-align: left;
    transition: all var(--transition);
    overflow: hidden;
}

.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 0%, rgba(23,85,230,0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}

.svc-card:hover {
    transform: translateY(-8px);
    border-color: rgba(23,85,230,0.35);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}

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

.svc-icon {
    width: 52px;
    height: 52px;
    background: rgba(23,85,230,0.12);
    border: 1px solid rgba(23,85,230,0.2);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all var(--transition);
}

.svc-card:hover .svc-icon {
    background: var(--blue-500);
    border-color: var(--blue-500);
    transform: scale(1.1);
}

.svc-icon i {
    font-size: 1.3rem;
    color: var(--blue-300);
    transition: color var(--transition);
}

.svc-card:hover .svc-icon i { color: var(--white); }

.svc-card h3 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.svc-card p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.svc-line {
    height: 2px;
    width: 32px;
    background: var(--blue-500);
    border-radius: var(--radius-full);
    transition: width var(--transition);
}

.svc-card:hover .svc-line { width: 60px; }

/* ═══════════════════════════════════════════
   TRUST BANNER
═══════════════════════════════════════════ */
.trust-section {
    padding: 2rem 0;
}

.trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 2rem 3rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-300);
    transition: color var(--transition), transform var(--transition);
    cursor: default;
}

.trust-item:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.trust-item i {
    color: #22d3ee;
    font-size: 0.9rem;
}

.trust-divider {
    width: 1px;
    height: 24px;
    background: var(--glass-border);
}

/* ═══════════════════════════════════════════
   CLIENTS SECTION
═══════════════════════════════════════════ */
.clients-section {
    padding: 5rem 0 4rem;
    text-align: center;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.client-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-300);
    backdrop-filter: blur(8px);
    transition: all var(--transition);
}

.client-chip:hover {
    background: rgba(23,85,230,0.15);
    border-color: rgba(23,85,230,0.35);
    color: var(--white);
    transform: translateY(-3px);
}

.client-chip i {
    color: var(--blue-400);
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
    padding: 4rem 0 3rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(23,85,230,0.4));
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-300);
    letter-spacing: 0.04em;
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--gray-500);
}

.footer-domain {
    font-size: 0.78rem;
    color: var(--blue-400);
    letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL & REVEAL ANIMATIONS
═══════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: revealUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--d, 0s);
}

@keyframes revealUp {
    to { opacity: 1; transform: none; }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--sd, 0s),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--sd, 0s);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: none;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr 380px;
        gap: 2rem;
    }
    .mascot-img { width: 360px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
    .page { padding: 0 1.25rem; }

    .navbar { flex-wrap: wrap; gap: 1rem; }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 2rem 0 0;
        gap: 0;
    }

    .hero-visual {
        order: -1;
        margin-bottom: -2rem;
    }

    .mascot-img { width: 260px; }
    .mascot-stage { width: 280px; }
    .mascot-badge-float { display: none; }
    .ring-1 { width: 220px; height: 220px; }
    .ring-2 { width: 290px; height: 290px; }
    .ring-3 { display: none; }

    .hero-heading .line-big { font-size: 4rem; }

    .countdown {
        gap: 0.5rem;
        padding: 1rem;
        flex-wrap: wrap;
    }

    .cd-val { font-size: 1.8rem; }
    .cd-box { min-width: 52px; }

    .services-grid { grid-template-columns: 1fr 1fr; }

    .trust-inner {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    .trust-divider { display: none; }

    .contact-row { flex-direction: column; }
}

@media (max-width: 500px) {
    .services-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .btn { justify-content: center; }
}
