html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

body {
    color: white;
    background-color: #080c18;
}

/* ── Noise texture overlay ─────────────────────────────────── */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.25'/%3E%3C/svg%3E");
    opacity: 0.18;
    z-index: 1;
}

/* ── Aurora blobs ──────────────────────────────────────────── */
body::after {
    display: none;
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;

    background:
        radial-gradient(ellipse 60% 40% at var(--x1) var(--y1),
            rgba(var(--c1), 0.35) 0%, transparent 70%),
        radial-gradient(ellipse 50% 35% at var(--x2) var(--y2),
            rgba(var(--c2), 0.30) 0%, transparent 70%),
        radial-gradient(ellipse 40% 30% at var(--x3) var(--y3),
            rgba(var(--c3), 0.20) 0%, transparent 70%);
}

@keyframes aurora {
    0%   {
        background:
            radial-gradient(ellipse 60% 40% at 20% 60%, rgba(99, 40, 160, 0.35) 0%, transparent 70%),
            radial-gradient(ellipse 50% 35% at 80% 30%, rgba(20, 80, 180, 0.30) 0%, transparent 70%),
            radial-gradient(ellipse 40% 30% at 55% 85%, rgba(180, 30, 90, 0.20) 0%, transparent 70%);
    }
    25%  {
        background:
            radial-gradient(ellipse 55% 45% at 70% 40%, rgba(60, 20, 200, 0.38) 0%, transparent 70%),
            radial-gradient(ellipse 45% 40% at 25% 70%, rgba(10, 120, 160, 0.28) 0%, transparent 70%),
            radial-gradient(ellipse 50% 25% at 80% 80%, rgba(160, 40, 120, 0.22) 0%, transparent 70%);
    }
    50%  {
        background:
            radial-gradient(ellipse 65% 35% at 50% 20%, rgba(80, 10, 180, 0.32) 0%, transparent 70%),
            radial-gradient(ellipse 40% 50% at 15% 55%, rgba(30, 100, 200, 0.26) 0%, transparent 70%),
            radial-gradient(ellipse 45% 35% at 85% 65%, rgba(200, 20, 80, 0.18) 0%, transparent 70%);
    }
    75%  {
        background:
            radial-gradient(ellipse 50% 50% at 30% 30%, rgba(120, 30, 170, 0.36) 0%, transparent 70%),
            radial-gradient(ellipse 55% 30% at 75% 60%, rgba(15, 90, 190, 0.32) 0%, transparent 70%),
            radial-gradient(ellipse 35% 40% at 45% 90%, rgba(170, 50, 100, 0.20) 0%, transparent 70%);
    }
    100% {
        background:
            radial-gradient(ellipse 60% 40% at 60% 70%, rgba(90, 20, 150, 0.34) 0%, transparent 70%),
            radial-gradient(ellipse 50% 40% at 20% 25%, rgba(25, 70, 210, 0.28) 0%, transparent 70%),
            radial-gradient(ellipse 55% 30% at 70% 15%, rgba(190, 30, 70, 0.18) 0%, transparent 70%);
    }
}

#aurora {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    filter: blur(40px) saturate(140%);
}

/* ── Sections ──────────────────────────────────────────────── */
.section {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    background: transparent;
    color: white;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 72px;
    font-weight: bold;
    letter-spacing: -2px;
    line-height: 1;
    /* subtle text shimmer */
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 50%, #fff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

.logo {
    width: 130px;
    height: 130px;
    fill: white;
    /* override gradient clip for SVG */
    -webkit-text-fill-color: unset;
    filter: drop-shadow(0 0 18px rgba(140, 80, 255, 0.35));
    animation: logoGlow 8s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0%   { filter: drop-shadow(0 0 16px rgba(100, 60, 230, 0.40)); }
    33%  { filter: drop-shadow(0 0 22px rgba(30, 100, 220, 0.45)); }
    66%  { filter: drop-shadow(0 0 18px rgba(180, 40, 120, 0.35)); }
    100% { filter: drop-shadow(0 0 20px rgba(120, 50, 200, 0.42)); }
}

#logotext {
    transform: translateY(10px);
    /* SVG sibling has gradient, so text needs its own treatment */
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.80) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    margin-top: 18px;
    opacity: 0.55;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ── Service pillars ───────────────────────────────────────── */
.pillars {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pillar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1px;
    opacity: 0.85;
    transition: opacity 0.2s, background 0.2s;
}

.pillar:hover {
    opacity: 1;
    background: rgba(255,255,255,0.06);
}

.pillar svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
}

.pillar-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

/* ── CTA row ───────────────────────────────────────────────── */
.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
}

.cta-main {
    padding: 13px 30px;
    border-radius: 12px;
    background: rgba(255,255,255,0.95);
    color: #0a0e1a;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.1px;
    transition: background 0.2s, transform 0.15s;
}

.cta-main:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* ── Scroll down ───────────────────────────────────────────── */
.scroll-down {
    position: absolute;
    bottom: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    opacity: 0.4;
    animation: float 2.4s infinite ease-in-out;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: opacity 0.2s;
}

.scroll-down:hover { opacity: 0.75; }

.scroll-down span {
    font-size: 20px;
    margin-top: 4px;
}

@keyframes float {
    0%   { transform: translateY(0);  opacity: 0.35; }
    50%  { transform: translateY(7px); opacity: 0.65; }
    100% { transform: translateY(0);  opacity: 0.35; }
}

/* ── Menu section ──────────────────────────────────────────── */
.menu-section {
    background: transparent;
    color: white;
    gap: 32px;
}

#greeting {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    opacity: 0.60;
    margin: 0;
}

/* ── Main nav card ─────────────────────────────────────────── */
.nav-main {
    display: flex;
    align-items: center;
    gap: 18px;
    width: min(480px, 90vw);
    padding: 22px 24px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    text-decoration: none;
    color: white;
    transition: background 0.2s, border-color 0.2s, transform 0.18s;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-main:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.28);
    transform: translateY(-3px);
}

.nav-main-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-main-icon svg {
    width: 24px;
    height: 24px;
    stroke: rgba(255,255,255,0.90);
}

.nav-main-text { flex: 1; }

.nav-main-label {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.nav-main-sub {
    font-size: 13px;
    opacity: 0.45;
    margin-top: 3px;
}

.nav-main-arrow {
    font-size: 20px;
    opacity: 0.35;
    transition: opacity 0.2s, transform 0.2s;
}

.nav-main:hover .nav-main-arrow {
    opacity: 0.75;
    transform: translateX(3px);
}

/* ── Secondary links ───────────────────────────────────────── */
.nav-secondary {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-sec-link {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.30);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
    letter-spacing: 0.1px;
}

.nav-sec-link svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    flex-shrink: 0;
    opacity: 0.7;
}

.nav-sec-link:hover {
    color: rgba(255,255,255,0.70);
}

.nav-sec-dot {
    color: rgba(255,255,255,0.15);
    font-size: 18px;
    line-height: 1;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 570px) {
    .logo-row   { font-size: 52px; }
    .logo       { width: 95px; height: 95px; }
    #logotext   { transform: translateY(8px); }
    .tagline    { font-size: 13px; }

    .pillars {
        flex-direction: column;
        gap: 0;
        border-radius: 14px;
    }
    .pillar { padding: 12px 20px; width: 100%; justify-content: center; }
    .pillar-divider { width: 80%; height: 1px; margin: 0 auto; }

    .hero-cta-row { flex-direction: column; gap: 10px; width: 80vw; }
    .cta-main, .cta-ghost { text-align: center; width: 100%; }

    #greeting { font-size: 20px; }

    .nav-main { padding: 18px 18px; gap: 14px; width: min(480px, calc(100% - 40px)); margin: 0 auto; box-sizing: border-box; }
    .nav-main-icon { width: 44px; height: 44px; border-radius: 12px; }
    .nav-main-label { font-size: 15px; }

    .nav-secondary { flex-direction: column; gap: 10px; }
    .nav-sec-dot { display: none; }
}