:root {
    --bg: #0b0f1a;
    --surface: #131928;
    --surface2: #1a2235;
    --border: rgba(255,255,255,0.06);
    --accent: #00e5c3;
    --accent2: #ff6b6b;
    --accent3: #7c6ff7;
    --text: #e8edf5;
    --muted: #6b7a99;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 2px; }

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 2rem;
    height: 68px;
    display: flex;
    align-items: center;
    transition: background .3s, border-color .3s;
}

.navbar.scrolled {
    background: rgba(11,15,26,.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -.02em;
    color: var(--text);
    text-decoration: none;
}

.brand span {
    color: var(--accent);
}

.btn-nav-login {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--accent);
    color: #0b0f1a;
    border: none;
    border-radius: 10px;
    padding: .5rem 1.1rem;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: .82rem;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
}

.btn-nav-login:hover {
    opacity: .85;
    transform: translateY(-1px);
    color: #0b0f1a;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 5rem;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .18;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    right: -150px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent3);
    bottom: -100px;
    left: -100px;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent2);
    top: 40%;
    left: 40%;
    opacity: .08;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(0,229,195,.08);
    border: 1px solid rgba(0,229,195,.18);
    border-radius: 40px;
    padding: .35rem 1rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.75rem;
    animation: fadeDown .6s ease both;
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 1.4rem;
    animation: fadeDown .6s .1s ease both;
}

.title-accent {
    color: var(--accent);
    position: relative;
}

.title-accent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 3px;
    background: var(--accent);
    opacity: .35;
    border-radius: 2px;
}

.hero-desc {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2.25rem;
    animation: fadeDown .6s .2s ease both;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeDown .6s .3s ease both;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--accent);
    color: #0b0f1a;
    text-decoration: none;
    border-radius: 12px;
    padding: .85rem 1.75rem;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: .92rem;
    transition: opacity .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 0 32px rgba(0,229,195,.15);
}

.btn-cta-primary:hover {
    opacity: .88;
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0,229,195,.25);
    color: #0b0f1a;
}

.btn-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--muted);
    text-decoration: none;
    border-radius: 12px;
    padding: .85rem 1.5rem;
    border: 1px solid var(--border);
    font-size: .9rem;
    font-weight: 500;
    transition: all .2s;
}

.btn-cta-ghost:hover {
    color: var(--text);
    border-color: rgba(255,255,255,.15);
    background: var(--surface);
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.1rem 2rem;
    animation: fadeDown .6s .4s ease both;
}

.hero-stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text);
    line-height: 1;
}

.stat-lbl {
    display: block;
    font-size: .72rem;
    color: var(--muted);
    margin-top: .25rem;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--muted);
    font-size: 1rem;
    animation: bounce 2s infinite;
    z-index: 1;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.gallery {
    padding: 6rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--accent);
    margin-bottom: .9rem;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
    color: var(--text);
}

.section-title em {
    font-style: normal;
    color: var(--accent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity .55s ease,
        transform .55s ease,
        border-color .2s;
    transition-delay: var(--delay, 0s);
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover {
    border-color: rgba(0,229,195,.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
    filter: brightness(.75) saturate(.8);
}

.gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(.6) saturate(1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,15,26,.92) 0%, rgba(11,15,26,.3) 55%, transparent 100%);
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background .3s;
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(11,15,26,.97) 0%, rgba(11,15,26,.5) 60%, transparent 100%);
}

.overlay-tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(0,229,195,.12);
    border: 1px solid rgba(0,229,195,.2);
    color: var(--accent);
    font-size: .68rem;
    font-weight: 700;
    padding: .22em .7em;
    border-radius: 20px;
    margin-bottom: .6rem;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.overlay-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: .3rem;
    line-height: 1.2;
}

.overlay-desc {
    font-size: .78rem;
    color: rgba(232,237,245,.65);
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, opacity .35s ease;
    opacity: 0;
}

.gallery-item:hover .overlay-desc {
    max-height: 60px;
    opacity: 1;
}

.item-large {
    grid-column: span 2;
    grid-row: span 1;
}

.item-wide {
    grid-column: span 2;
}

.features-strip {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.4rem 2rem;
    overflow: hidden;
}

.strip-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
}

.strip-item i {
    color: var(--accent);
    font-size: .9rem;
}

.strip-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
}

.cta-section {
    position: relative;
    padding: 7rem 2rem;
    text-align: center;
    overflow: hidden;
}

.cta-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--accent);
    filter: blur(140px);
    opacity: .07;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.cta-inner.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 1rem;
}

.cta-title span {
    color: var(--accent);
}

.cta-desc {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.75;
    margin-bottom: 2.25rem;
}

.btn-cta-large {
    font-size: 1rem;
    padding: 1rem 2.25rem;
    border-radius: 14px;
}

.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 1.75rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: .78rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-links a {
    font-size: .78rem;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--accent);
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
    .item-large { grid-column: span 2; }
    .item-wide { grid-column: span 2; }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .item-large, .item-wide { grid-column: span 1; }
    .hero-stats { gap: 1.25rem; padding: .9rem 1.25rem; }
    .stat-divider { display: none; }
    .footer-inner { flex-direction: column; text-align: center; }
    .strip-dot { display: none; }
    .strip-inner { gap: .9rem; }
}
