﻿/* ==========================================
   LUMIA - Landing Page Styles
   ========================================== */

/* -- Reset & Custom Properties -- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-deep:        #07060f;
    --bg-card:        #0f0d1e;
    --bg-card-hover:  #151228;
    --bg-alt:         rgba(10, 8, 22, 0.6);
    --cyan:           #38d8f5;
    --purple:         #9b5de5;
    --magenta:        #e040b0;
    --orange:         #f07830;
    --text:           #e8e4f8;
    --text-muted:     #8880aa;
    --border:         rgba(150, 100, 240, 0.18);
    --glow-cyan:      0 0 32px rgba(56, 216, 245, 0.25);
    --glow-purple:    0 0 48px rgba(155, 93, 229, 0.20);
    --radius:         16px;
    --font:           'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
body::before {
    width: 600px; height: 600px;
    top: -200px; left: -150px;
    background: radial-gradient(circle, rgba(56, 216, 245, 0.12), transparent 70%);
}
body::after {
    width: 700px; height: 700px;
    bottom: -250px; right: -200px;
    background: radial-gradient(circle, rgba(224, 64, 176, 0.10), transparent 70%);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ==========================================
   NAV
   ========================================== */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 6, 15, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-logo img { width: 36px; height: 36px; border-radius: 50%; }
.nav-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    background: linear-gradient(90deg, var(--cyan), var(--purple), var(--magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }

/* ==========================================
   HERO
   ========================================== */
.hero { text-align: center; padding: 110px 24px 80px; }
.hero-logo {
    width: 256px;
    height: 256px;
    border-radius: 50%;
    margin: 0 auto 32px;
    display: block;
    box-shadow: 0 0 60px rgba(56, 216, 245, 0.30), 0 0 120px rgba(155, 93, 229, 0.20);
}
.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 45%, var(--magenta) 80%, var(--orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}
.hero-sub { max-width: 640px; margin: 0 auto 36px; font-size: 1.1rem; color: var(--text-muted); }
.hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

.badge {
    background: rgba(56, 216, 245, 0.08);
    border: 1px solid rgba(56, 216, 245, 0.22);
    color: var(--cyan);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.badge.purple { background: rgba(155, 93, 229, 0.08); border-color: rgba(155, 93, 229, 0.28); color: var(--purple); }
.badge.orange  { background: rgba(240, 120, 48, 0.08);  border-color: rgba(240, 120, 48, 0.28);  color: var(--orange); }

.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
    cursor: pointer;
    border: none;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-primary  { background: linear-gradient(135deg, var(--cyan), var(--purple)); color: #fff; box-shadow: 0 4px 24px rgba(56, 216, 245, 0.28); }
.btn-secondary { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-secondary:hover { border-color: var(--purple); color: var(--purple); }

/* ==========================================
   SECTIONS
   ========================================== */
section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-label { text-align: center; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.section-title { text-align: center; font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 14px; }
.section-sub   { text-align: center; color: var(--text-muted); max-width: 560px; margin: 0 auto 52px; font-size: 1rem; }
.divider       { border: none; border-top: 1px solid var(--border); margin: 0; }
.center-row    { text-align: center; margin-top: 36px; }

/* ==========================================
   FEATURE GRID
   ========================================== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: background 0.2s, box-shadow 0.2s;
}
.feature-card:hover { background: var(--bg-card-hover); box-shadow: var(--glow-purple); }
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: 0.9rem; color: var(--text-muted); }

/* ==========================================
   GALLERY
   ========================================== */
.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gallery-track-outer {
    overflow: hidden;
    flex: 1;
    border-radius: var(--radius);
    position: relative;
}

.gallery-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide {
    flex: 0 0 calc(33.333% - 11px);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-slide:hover { transform: translateY(-3px); box-shadow: var(--glow-cyan); }
.gallery-slide img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.gallery-slide-caption {
    padding: 10px 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* -- Prev / Next buttons -- */
.gallery-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.gallery-btn:hover { background: var(--bg-card-hover); border-color: var(--purple); color: var(--cyan); }
.gallery-btn:disabled { opacity: 0.25; cursor: default; }

/* -- Dot indicators -- */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.gallery-dot.active { background: var(--cyan); transform: scale(1.3); }

/* ==========================================
   LIGHTBOX
   ========================================== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(4, 3, 10, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-img {
    max-width: 90vw;
    max-height: 78vh;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    object-fit: contain;
    box-shadow: 0 0 80px rgba(56, 216, 245, 0.15);
}
.lightbox-caption {
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.1rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, color 0.2s;
}
.lightbox-close:hover { border-color: var(--magenta); color: var(--magenta); }
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.lightbox-nav:hover { background: var(--bg-card-hover); border-color: var(--cyan); color: var(--cyan); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ==========================================
   VIDEO GRID
   ========================================== */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--glow-cyan); }
.video-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #110f22; }
.video-thumb-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #0d0b1e, #1a1235);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--purple);
    opacity: 0.6;
}
.video-info { padding: 16px 18px 18px; }
.video-info h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.video-info p  { font-size: 0.82rem; color: var(--text-muted); }
.video-tag {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(56, 216, 245, 0.08);
    border-radius: 100px;
    padding: 2px 10px;
}

/* ==========================================
   DOC GRID
   ========================================== */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.doc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s, box-shadow 0.2s;
}
.doc-card:hover { background: var(--bg-card-hover); box-shadow: 0 0 32px rgba(240, 120, 48, 0.14); }
.doc-icon { font-size: 2rem; flex-shrink: 0; margin-top: 2px; }
.doc-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.doc-card p  { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.doc-pill {
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(240, 120, 48, 0.10);
    border: 1px solid rgba(240, 120, 48, 0.22);
    border-radius: 100px;
    padding: 2px 10px;
}

/* ==========================================
   CTA
   ========================================== */
.cta { text-align: center; padding: 100px 24px; position: relative; }
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(155, 93, 229, 0.10) 0%, transparent 70%);
    pointer-events: none;
}
.cta h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    border-top: 1px solid var(--border);
    padding: 36px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}
footer a { color: var(--purple); text-decoration: none; }
footer a:hover { color: var(--cyan); }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 16px; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .gallery-slide { flex: 0 0 calc(50% - 8px); }
}
@media (max-width: 500px) {
    .nav-links { display: none; }
    .hero { padding: 80px 16px 60px; }
    .gallery-slide { flex: 0 0 100%; }
}

#gallery + .divider,
#gallery + * {
    position: relative;
    z-index: 2;
}