:root {
    --navy: #0B1F3B;
    --cyan: #00C1D4;
    --cyan2: #33D0E3;
    --white: #ffffff;
    --grey: #F5F7FA;
    --radius: 20px;
    --max: 1240px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.light-mode {
    --navy: #ffffff;
    --cyan: #008ba3;
    --white: #0B1F3B;
    --grey: #f0f0f0;
}

.light-mode body {
    background: linear-gradient(160deg, #f0f4f8 0%, #e0f7fa 100%);
    color: #0B1F3B
}

.light-mode .card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05)
}

.light-mode header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05)
}

.light-mode .hamburger span {
    background: #0B1F3B
}

.light-mode nav a:hover {
    color: var(--cyan)
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font)
}

body {
    background: linear-gradient(160deg, var(--navy) 60%, var(--cyan) 180%);
    color: var(--white);
    overflow-x: hidden
}

h1,
h2,
h3 {
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.5px
}

p {
    opacity: .85
}

a {
    text-decoration: none;
    color: inherit
}

img,
svg {
    max-width: 100%;
    display: block
}

.btn {
    display: inline-block;
    background: var(--cyan);
    color: var(--navy);
    padding: 16px 36px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.05rem;
    transition: .25s;
    box-shadow: 0 8px 24px rgba(0, 193, 212, .35)
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 193, 212, .5)
}

section {
    padding: 100px 20px
}

.wrap {
    max-width: var(--max);
    margin: auto
}

.center {
    text-align: center
}

.grid3 {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))
}

.card {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: 40px 32px;
    transform: translateY(40px);
    opacity: 0;
    animation: fadeUp .8s ease forwards
}

@keyframes fadeUp {
    to {
        transform: translateY(0);
        opacity: 1
    }
}

/* ---------- header ---------- */
/* ---------- header ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 31, 59, .75);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: padding .3s
}

header.shrink {
    padding: 0
}

header.shrink .logo {
    font-size: 20px
}

header.shrink .logo svg {
    width: 32px;
    height: 32px
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800
}

.logo svg {
    width: 42px;
    height: 42px
}

nav a {
    margin-left: 32px;
    font-weight: 500;
    transition: .2s
}

nav a:hover {
    color: var(--cyan)
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    transition: .3s
}

@media(max-width:768px) {
    .hamburger {
        display: block
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(11, 31, 59, .98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: .3s
    }

    .nav-links.active {
        right: 0
    }

    .nav-links a {
        margin: 20px 0;
        font-size: 1.5rem
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px)
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px)
    }
}

/* ---------- hero ---------- */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
    padding-top: 140px
}

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    margin-bottom: 24px
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 640px
}

.mock {
    flex: 1 1 460px;
    max-width: 500px;
    position: relative;
    height: 320px;
    transform-style: preserve-3d;
    perspective: 1200px
}

.mock .screen {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 40px 60px rgba(0, 0, 0, .25);
    transform: rotateX(-10deg) rotateY(20deg);
    overflow: hidden
}

.screen::before {
    content: "";
    position: absolute;
    inset: 24px;
    background: linear-gradient(120deg, var(--cyan) 0%, var(--navy) 100%);
    border-radius: 12px
}

/* ---------- stats ---------- */
.stats {
    background: rgba(0, 0, 0, .18)
}

.stats h3 {
    font-size: 2.6rem;
    color: var(--cyan)
}

/* ---------- team ---------- */
.team img {
    border-radius: 50%;
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, .15);
    padding: 6px
}

/* ---------- footer ---------- */
/* ---------- footer ---------- */
footer {
    text-align: center;
    padding: 48px 20px 36px;
    font-size: .9rem;
    opacity: .6
}

footer a {
    text-decoration: underline
}

/* ---------- new sections ---------- */
.step {
    position: relative;
    overflow: hidden
}

.step-num {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    font-weight: 900;
    opacity: .05;
    color: var(--cyan)
}

.accordion-btn {
    background: rgba(255, 255, 255, .05);
    color: var(--white);
    cursor: pointer;
    padding: 24px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: .4s;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.accordion-btn:after {
    content: '+';
    font-size: 1.5rem;
    color: var(--cyan)
}

.accordion-btn.active:after {
    content: '-'
}

.accordion-btn.active,
.accordion-btn:hover {
    background: rgba(255, 255, 255, .1)
}

.panel {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-out;
    opacity: .9
}

.panel p {
    margin-bottom: 24px
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(11, 31, 59, .95);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin: auto;
    transform: translateY(150%);
    transition: .5s
}

.cookie-banner.show {
    transform: translateY(0)
}

/* Phase 2 UI */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 1002;
    background: transparent
}

.progress-bar {
    height: 100%;
    background: var(--cyan);
    width: 0%
}

.floating-btn {
    position: fixed;
    z-index: 990;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center
}

.floating-btn:hover {
    transform: scale(1.1)
}

.theme-btn {
    bottom: 20px;
    left: 20px;
    background: var(--navy);
    color: var(--white);
    border: 1px solid var(--cyan)
}

.top-btn {
    bottom: 20px;
    right: 20px;
    background: var(--cyan);
    color: var(--navy);
    opacity: 0;
    pointer-events: none
}

.top-btn.show {
    opacity: 1;
    pointer-events: all
}

.lang-switch {
    position: fixed;
    bottom: 80px;
    left: 20px;
    z-index: 990;
    display: flex;
    flex-direction: column;
    gap: 5px
}

.lang-switch button {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: .2s
}

.lang-switch button.active,
.lang-switch button:hover {
    background: var(--cyan);
    color: var(--navy)
}