:root {
    --blue: #1e2a40;
    --blue-soft: #4C6FFF;
    --purple: #8B78FF;
    --green: #7FD1AE;
    --bg-dark-top: #050509;
    --bg-dark-mid: #101018;
    --bg-dark-bottom: #181820;
    --white: #ffffff;
    --black: #111111;
}

/* Base */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #1e293b 0, transparent 55%),
                linear-gradient(180deg, var(--bg-dark-top), var(--bg-dark-mid), var(--bg-dark-bottom));
    color: var(--white);
}

/* Glass Nav Wrapper */
.nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 20;
}

/* Glass Nav */
.nav {
    max-width: 1100px;
    margin: 12px auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.65);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-logo {
    font-weight: 800;
    letter-spacing: 0.16em;
    font-size: 16px;
    color: var(--white);
    text-transform: uppercase;
}

.nav-links a {
    margin-left: 18px;
    text-decoration: none;
    font-size: 16px;
    color: rgba(241, 245, 249, 0.85);
    opacity: 0.9;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: #e5e7eb;
    font-weight: 600;
}

/* Hero (Dark + Glow) */
.hero {
    background:
        radial-gradient(circle at top left, rgba(127, 209, 174, 0.20), transparent 55%),
        radial-gradient(circle at top right, rgba(139, 120, 255, 0.28), transparent 55%),
        linear-gradient(160deg, #050509, #101018, #111827);
    padding: 90px 24px 50px;
    color: var(--white);
    border-radius: 0 0 36px 36px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.hero-inner {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding-left: 90px; 
}

/* Horizontal hero layout */
.hero-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;  /* <-- aligns left */
    gap: 100px;  /* slightly bigger logo/text spacing */
}

/* Horizontal logo styling */
.hero-logo-horizontal {
    height: 180px;     /* tweak 100–130px if you want */
    border-radius: 16px;
    box-shadow: 0 0 22px rgba(0, 0, 0, 0.6);
}

/* Hero text */
.hero-text h1 {
    margin: 0 0 10px;
    font-size: 56px;
    font-weight: 800;
}

.hero-text h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 400;
    opacity: 0.96;
}

/* Scroll reveal base state */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    filter: brightness(0.7);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease,
        filter 0.9s ease;
}

/* When revealed (after scrolling into view) */
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
    filter: brightness(1);
}

/* Glass Sections */
.section {
    background: rgba(15, 23, 42, 0.72);
    padding: 42px 9%;
    margin: 32px auto;
    max-width: 1000px;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.35);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        opacity 0.7s ease;
}

/* Hover lift + glow (applies once revealed) */
.section.reveal-visible:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.95);
    border-color: rgba(127, 209, 174, 0.55);
    background: rgba(15, 23, 42, 0.9);
}

.section h3 {
    color: var(--green);
    font-size: 26px;
    margin-bottom: 14px;
}

.section p,
.section li {
    font-size: 17px;
    line-height: 1.7;
    color: #e5e7eb;
}

.section ul {
    padding-left: 20px;
}

/* Footer */
.footer {
    background: #020617;
    color: #e5e7eb;
    text-align: center;
    padding: 22px;
    margin-top: 40px;
    font-size: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
}

/* Small screens */
@media (max-width: 700px) {
    .hero-row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-logo-horizontal {
        height: 160px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text h2 {
        font-size: 16px;
    }

    .nav {
        flex-direction: column;
        gap: 8px;
    }
    
    .nav-links a {
        margin-left: 10px;
        font-size: 13px;
    }
}
