:root {
    --navy: #1a294c;
    --navy-rgb: 26, 41, 76;
    --navy-deep: #0d1527;
    --navy-light: #243b6a;
    --cyan: #5b8ec2;
    --cyan-glow: rgba(91, 142, 194, .45);
    --teal: #4d9e94;
    --gold: #c9a84c;
    --white: #e8ecf2;
    --muted: #7b8da6;
    --surface: rgba(26, 41, 76, .35);
    --border: rgba(91, 142, 194, .08);
    --font-d: 'Plus Jakarta Sans', sans-serif;
    --font-b: 'Be Vietnam Pro', sans-serif;
    --r-lg: 20px;
    --r-full: 9999px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --sp: .55s;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-b);
    color: var(--white);
    background: var(--navy-deep);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--navy-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--navy);
    border-radius: var(--r-full);
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--teal));
    z-index: 9999;
    width: 0;
    transition: none;
}

/* Type */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-d);
    font-weight: 700;
    line-height: 1.12;
}

h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.5rem);
    letter-spacing: -.04em;
}

h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    letter-spacing: -.025em;
}

h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

p {
    color: var(--muted);
    font-size: 1rem;
}

.tg {
    background: linear-gradient(135deg, #d0ddef 0%, var(--cyan) 45%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 6rem 0;
    position: relative;
}

.stag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: .6rem;
}

.shdr {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 3.2rem;
}

.shdr p {
    margin-top: .7rem;
}

/* Glass */
.glass {
    background: var(--surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .35);
    position: relative;
    overflow: hidden;
}

/* Base glass transition */
.glass {
    transition: border-color .4s, box-shadow .4s, transform .4s;
}

/* ═══ EFFECT 1: Gradient Border Reveal (Stats) ═══ */
.stat.glass {
    position: relative;
}

.stat.glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--cyan), var(--teal), var(--cyan));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}

.stat.glass:hover::before {
    opacity: 1;
}

.stat.glass:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, .35), 0 0 25px rgba(91, 142, 194, .1);
    transform: translateY(-3px);
}

/* ═══ EFFECT 2: Glassmorphism Depth (Advantages) ═══ */
.adv-card.glass {
    transition: transform .45s var(--ease), box-shadow .45s, border-color .4s, background .4s;
}

.adv-card.glass:hover {
    background: rgba(26, 41, 76, .5);
    border-color: rgba(91, 142, 194, .2);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, .5),
        0 0 30px rgba(91, 142, 194, .06),
        inset 0 1px 0 rgba(255, 255, 255, .06);
    transform: translateY(-8px);
}

/* ═══ EFFECT 3: Border Draw (Process) ═══ */
.step-body.glass {
    position: relative;
    overflow: visible;
}

.step-body.glass::before,
.step-body.glass::after {
    content: '';
    position: absolute;
    pointer-events: none;
    transition: all .45s var(--ease);
}

.step-body.glass::before {
    top: -1px;
    left: -1px;
    width: 0;
    height: 0;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-radius: var(--r-lg) 0 0 0;
}

.step-body.glass::after {
    bottom: -1px;
    right: -1px;
    width: 0;
    height: 0;
    border-bottom: 2px solid transparent;
    border-right: 2px solid transparent;
    border-radius: 0 0 var(--r-lg) 0;
}

.step-body.glass:hover::before {
    width: 100%;
    height: 100%;
    border-top-color: var(--cyan);
    border-left-color: var(--cyan);
}

.step-body.glass:hover::after {
    width: 100%;
    height: 100%;
    border-bottom-color: var(--teal);
    border-right-color: var(--teal);
}

.step-body.glass:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, .35), 0 0 20px rgba(91, 142, 194, .06);
}

/* ═══ EFFECT 4: Tilt + Shine (Commitments — tilt via JS) ═══ */
.commit-card.glass {
    --mx: 50%;
    --my: 50%;
    transition: border-color .4s, box-shadow .4s;
}

.commit-card.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(300px circle at var(--mx) var(--my), rgba(91, 142, 194, .12), transparent 60%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

.commit-card.glass:hover::before {
    opacity: 1;
}

.commit-card.glass:hover {
    border-color: rgba(91, 142, 194, .25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .4), 0 0 25px rgba(91, 142, 194, .08);
}

/* BG */
#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    width: 100vw;
    height: 100vh;
}

/* Holographic grid background */
.holo-grid {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(91, 142, 194, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 142, 194, .04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    to {
        background-position: 60px 60px;
    }
}

.orbs {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .28;
    animation: drift 30s infinite alternate ease-in-out;
}

.orb-1 {
    width: 50vw;
    height: 50vw;
    background: rgba(91, 142, 194, .15);
    top: -20%;
    left: -15%;
}

.orb-2 {
    width: 35vw;
    height: 35vw;
    background: rgba(77, 158, 148, .1);
    bottom: -10%;
    right: -10%;
    animation-delay: -10s;
}

.orb-3 {
    width: 28vw;
    height: 28vw;
    background: rgba(26, 41, 76, .45);
    top: 50%;
    left: 55%;
    animation-delay: -18s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(6vw, 8vh) scale(1.15);
    }

    100% {
        transform: translate(-5vw, 12vh) scale(.9);
    }
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .018;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency=".7" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23n)"/%3E%3C/svg%3E');
}

/* Cursor */
.cur-dot,
.cur-ring {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transition: opacity .3s;
}

.cur-dot {
    width: 5px;
    height: 5px;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan-glow);
}

.cur-ring {
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(91, 142, 194, .3);
    transition: width .2s, height .2s, background .2s, border-color .2s;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all var(--sp) var(--ease);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.d1 {
    transition-delay: .1s
}

.d2 {
    transition-delay: .2s
}

.d3 {
    transition-delay: .25s
}

.d4 {
    transition-delay: .35s
}

/* Glow separator */
.glow-sep {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    margin: 0 auto;
    opacity: .3;
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 100;
    transition: all .25s;
}

nav.scrolled {
    background: rgba(13, 21, 39, .9);
    backdrop-filter: blur(18px);
    padding: .6rem 0;
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 44px;
    /* Adjust height based on actual logo proportions */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s var(--ease);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--muted);
    font-weight: 500;
    font-size: .88rem;
    position: relative;
    transition: .25s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan-glow);
    transition: width .3s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons — magnetic effect via JS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .78rem 1.7rem;
    border-radius: var(--r-full);
    font-family: var(--font-d);
    font-weight: 600;
    font-size: .92rem;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all .3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    color: var(--navy-deep);
    box-shadow: 0 0 20px var(--cyan-glow), 0 0 60px rgba(91, 142, 194, .15);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
    transform: translateX(-100%);
    transition: .5s;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--cyan-glow), 0 0 80px rgba(91, 142, 194, .2);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(91, 142, 194, .2);
}

.btn-ghost:hover {
    background: rgba(91, 142, 194, .06);
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(91, 142, 194, .1);
}

.btn i {
    margin-left: .45rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-inner {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem 1rem;
    border-radius: var(--r-full);
    background: rgba(91, 142, 194, .06);
    border: 1px solid rgba(91, 142, 194, .15);
    color: var(--cyan);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(91, 142, 194, .08);
}

.hero h1 {
    margin-bottom: 1.15rem;
}

/* Typing cursor blink */
.type-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--cyan);
    margin-left: 4px;
    animation: blink .7s infinite;
    vertical-align: text-bottom;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero p {
    font-size: 1.12rem;
    max-width: 640px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
    margin-top: 3.2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem .75rem;
    position: relative;
}

.stat-val {
    font-family: var(--font-d);
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: .3rem;
}

.stat-label {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 500;
}

/* Glowing top border */
.stat::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: .4;
}

/* Advantages */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.adv-card {
    padding: 2rem;
}

/* adv-card hover is handled by Effect 2 above */

.adv-ic {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(91, 142, 194, .1), rgba(77, 158, 148, .06));
    border: 1px solid rgba(91, 142, 194, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
    font-size: 1.25rem;
    color: var(--cyan);
    box-shadow: 0 0 12px rgba(91, 142, 194, .08);
}

.adv-card h3 {
    margin-bottom: .5rem;
}

/* Process */
.process {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 44px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--cyan), rgba(77, 158, 148, .3), transparent);
}

.step {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 18px;
    background: var(--navy);
    border: 2px solid var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-d);
    font-size: 1.85rem;
    font-weight: 800;
    box-shadow: 0 0 25px rgba(91, 142, 194, .18);
    position: relative;
}

/* Pulsing glow */
.step-num::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    border: 1px solid rgba(91, 142, 194, .15);
    animation: pulse 3s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: .3;
        transform: scale(1);
    }

    50% {
        opacity: 0;
        transform: scale(1.15);
    }
}

.step-body {
    padding-top: .4rem;
}

.step-body h3 {
    margin-bottom: .35rem;
}

/* Commitments */
.commit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
}

.commit-card {
    padding: 1.75rem;
    text-align: center;
}

/* commit-card hover is handled by Effect 4 above */

.commit-ic {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(91, 142, 194, .1), rgba(77, 158, 148, .06));
    border: 1px solid rgba(91, 142, 194, .12);
    font-size: 1.3rem;
    color: var(--teal);
    box-shadow: 0 0 15px rgba(77, 158, 148, .1);
}

.commit-card h3 {
    margin-bottom: .4rem;
    font-size: 1.1rem;
}

/* Marquee */
.marquee-wrap {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 1.5rem 0;
}

.marquee-wrap::before,
.marquee-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    width: 12%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--navy-deep), transparent);
}

.marquee-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--navy-deep), transparent);
}

.marquee-track {
    display: flex;
    width: fit-content;
    gap: 3rem;
    padding: .6rem 1.25rem;
    animation: slide 34s linear infinite;
}

.marquee-item {
    font-family: var(--font-d);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    opacity: .3;
    white-space: nowrap;
    letter-spacing: .08em;
    transition: all .4s;
}

.marquee-item:hover {
    opacity: 1;
    color: var(--cyan);
    text-shadow: 0 0 12px var(--cyan-glow);
}

@keyframes slide {
    to {
        transform: translateX(-50%);
    }
}

/* Contact */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info h2 {
    margin-bottom: 1.1rem;
}

.contact-info>p {
    margin-bottom: 1.5rem;
}

.c-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.c-method {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.c-method-ic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(91, 142, 194, .06);
    border: 1px solid rgba(91, 142, 194, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: .95rem;
}

.fg {
    margin-bottom: 1rem;
}

.fg label {
    display: block;
    margin-bottom: .3rem;
    font-weight: 500;
    color: var(--muted);
    font-size: .85rem;
}

.fc {
    width: 100%;
    padding: .75rem 1rem;
    background: rgba(91, 142, 194, .03);
    border: 1px solid rgba(91, 142, 194, .08);
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-b);
    font-size: .92rem;
    transition: all .3s;
}

.fc:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(91, 142, 194, .06);
    box-shadow: 0 0 0 3px rgba(91, 142, 194, .06), 0 0 15px rgba(91, 142, 194, .05);
}

textarea.fc {
    resize: vertical;
    min-height: 90px;
}

.btn-block {
    width: 100%;
    margin-top: .2rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 0 1.25rem;
    text-align: center;
}

.foot-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.foot-links a {
    color: var(--muted);
    font-size: .85rem;
    transition: .3s;
}

.foot-links a:hover {
    color: var(--cyan);
}

.foot-copy {
    color: #475569;
    font-size: .8rem;
}

/* Responsive */
@media(max-width:1024px) {

    .adv-grid,
    .commit-grid,
    .contact-split {
        grid-template-columns: 1fr;
    }
}

@media(max-width:768px) {
    .hero {
        padding-top: 6rem;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 2rem;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        gap: .65rem;
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 3.5rem 0;
    }

    .step-num {
        width: 68px;
        height: 68px;
        font-size: 1.5rem;
    }

    .process::before {
        left: 33px;
    }

    .commit-grid {
        grid-template-columns: 1fr;
    }
}