/* === Design Tokens === */
:root {
    --header-h: 120px; /* room for 100px logo + breathing space */
    --bg: #0b0b10; /* near‑black */
    --bg-2: #101018; /* dark slate */
    --txt: #e9ecf1; /* off‑white */
    --txt-dim: #b6bcc8; /* muted */
    --brand-1: #7c5cff; /* indigo */
    --brand-2: #1cc2ff; /* cyan */
    --brand-3: #ff5fc2; /* magenta */
    --ok: #22c55e;
    --warn: #f59e0b;
    --danger: #ef4444;
    --radius: 20px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --glass: rgba(255, 255, 255, .06);
    --maxw: 1200px;
}

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

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--txt);
    background: radial-gradient(1200px 700px at 20% -10%, rgba(124, 92, 255, .25), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(28, 194, 255, .22), transparent 60%),
    linear-gradient(180deg, #0b0b10, #0b0b10 40%, #0e0e15);
    line-height: 1.55;
    overflow-x: hidden;
}

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

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

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px
}

.section {
    padding: 72px 0
}

/* === Header / Nav === */
header {
    min-height: var(--header-h);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: saturate(140%) blur(8px);
    background: linear-gradient(180deg, rgba(13, 13, 20, .75), rgba(13, 13, 20, .35));
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    min-height: var(--header-h);
    padding: 0; /* the logo height handles spacing */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    letter-spacing: .2px
}

.logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
    box-shadow: var(--shadow)
}

.nav a {
    opacity: .9
}

.nav a:hover {
    opacity: 1
}

.nav-links {
    display: flex;
    gap: 18px
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: #051018;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(28, 194, 255, .25)
}

.cta:hover {
    transform: translateY(-1px)
}

/* mobile nav */
.hamburger {
    display: none
}

@media (max-width: 860px) {
    .nav-links {
        display: none
    }

    .hamburger {
        display: inline-flex;
        gap: 6px;
        flex-direction: column;
        cursor: pointer
    }

    .hamburger span {
        width: 24px;
        height: 2px;
        background: #dbe0ea
    }
}

/* === Hero === */
.hero {
    padding: 80px 0 40px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    align-items: center
}

.eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    background: var(--glass)
}

.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--ok);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, .15)
}

h1 {
    font-size: clamp(32px, 6vw, 56px);
    line-height: 1.05;
    margin: 14px 0 12px
}

.sub {
    font-size: clamp(16px, 2.2vw, 19px);
    color: var(--txt-dim);
    max-width: 58ch
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-top: 22px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    background: #1a1a24;
    border: 1px solid rgba(255, 255, 255, .08)
}

.btn:hover {
    background: #20202b
}

.btn.secondary {
    background: transparent
}

.hero-card {
    position: relative;
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(124, 92, 255, .16), rgba(28, 194, 255, .10));
    padding: 18px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, .10)
}

.grid-2 {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 14px
}

.sample {
    aspect-ratio: 4/3;
    border-radius: 14px;
    overflow: hidden;
    background: #0e0e16;
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aeb6c7;
    font-weight: 600
}

.badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
    color: #041018;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .2px;
    box-shadow: var(--shadow)
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr
    }
}

/* === Pill features === */
.pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px
}

.pill {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .07);
    color: #d5d9e5
}

/* === Feature Cards === */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.card {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow)
}

.card h3 {
    margin: 8px 0 8px;
    font-size: 20px
}

.card p {
    color: var(--txt-dim)
}

.icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    box-shadow: var(--shadow)
}

@media (max-width: 900px) {
    .features {
        grid-template-columns:1fr
    }
}

/* === Steps === */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.step {
    padding: 16px;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px
}

.step .num {
    font-weight: 800;
    color: var(--brand-2)
}

@media (max-width: 1020px) {
    .steps {
        grid-template-columns:repeat(2, 1fr)
    }
}

/* === Gallery ===
.gallery{display:grid; grid-template-columns:repeat(6, 1fr); gap:10px}
.tile{aspect-ratio:1/1; border-radius:14px; overflow:hidden; background:#0f0f18; border:1px solid rgba(255,255,255,.08)}
@media (max-width: 980px){.gallery{grid-template-columns:repeat(3,1fr)}}
*/
.gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.tile {
    aspect-ratio: 1/1;
    border-radius: 14px;
    overflow: hidden;
    background: #0f0f18;
    border: 1px solid rgba(255, 255, 255, .08);
    position: relative; /* Added for better image containment */
}

.tile img, .tile video {
    cursor: pointer;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block
}

@media (max-width: 980px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === Pricing === */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.price {
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(124, 92, 255, .16), rgba(28, 194, 255, .10));
    border: 1px solid rgba(255, 255, 255, .10)
}

.price h4 {
    margin: 6px 0 8px
}

.price ul {
    margin: 10px 0 0;
    padding: 0 0 0 18px;
    color: var(--txt-dim)
}

@media (max-width: 980px) {
    .pricing {
        grid-template-columns:1fr
    }
}

/* === FAQ === */
details {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 14px 16px;
    border-radius: 14px
}

summary {
    cursor: pointer;
    font-weight: 700
}

/* === Footer === */
footer {
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: #0c0c12
}

.footer-grid {
    display: grid;
    grid-template-columns:1.5fr 1fr 1fr;
    gap: 18px
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns:1fr
    }
}

.muted {
    color: var(--txt-dim)
}

/* The actual logo image */
.logo-img {
    height: 100px;
    width: auto;
    display: block;
    border-radius: 8px;
}

/* Keep nav links vertically centered next to tall logo */
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 16px;
}

/* Make CTAs match the taller header nicely */
.cta {
    padding: 12px 18px;
}

/* Mobile: keep the tall header, and show dropdown just below it */
#mobileNav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: calc(var(--header-h) + 14px);
    background: var(--bg-2);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 14px;
    z-index: 20;
    box-shadow: var(--shadow);
}

/* Mobile breakpoint stays the same, just ensure hamburger aligns */
@media (max-width: 860px) {
    .hamburger {
        align-self: center;
    }
}

.tagline {
    background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800
}

/* === Lightbox === */
.fixed {
    position: fixed;
}

.inset-0 {
    inset: 0;
}

.z-50 {
    z-index: 50;
}

.bg-black {
    background-color: #000;
}

.bg-opacity-90 {
    background-color: rgba(0, 0, 0, 0.9);
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.p-4 {
    padding: 1rem;
}

.relative {
    position: relative;
}

.max-w-full {
    max-width: 100%;
}

.max-h-full {
    max-height: 100%;
}

.max-h-\[90vh\] {
    max-height: 90vh;
}

.absolute {
    position: absolute;
}

.top-4 {
    top: 1rem;
}

.right-4 {
    right: 1rem;
}

.text-white {
    color: white;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.hover\:text-blue:hover {
    color: #7c9fd3;
}

/* Video tile play indicator and label */
.tile.video video {
    pointer-events: none;
}

.play-btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .35)
}

.play-btn::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 14px solid #fff;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    margin-left: 2px
}

.play-btn:hover {
    background: rgba(0, 0, 0, .6)
}

.tile .label {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #dbe0ea;
    letter-spacing: .2px
}
