:root {
    --bg: #0b0c15;
    --primary: #1f6aa5;
    /* --primary: #6366f1; */
    --text: #ffffff;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --nav-width: 700px;
}

/* --- SMOOTH SCROLL & OFFSET FIX --- */
html {
    scroll-behavior: smooth;
    /* This ensures the fixed nav doesn't cover the section title when scrolling */
    scroll-padding-top: 120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* BACKGROUND */
.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite alternate;
}

.b1 {
    width: 50vw;
    height: 50vw;
    background: var(--primary);
    top: -10%;
    left: -10%;
}

.b2 {
    width: 40vw;
    height: 40vw;
    /* background: #ec4899; */
        background: var(--primary);

    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(20px, 40px);
    }
}

/* UTILITIES */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-pad {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.gradient-text {
    background: linear-gradient(135deg, #1f6aa5, #84b4fc);
    /* background: linear-gradient(135deg, #818cf8, #c084fc); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 165, 241, 0.4);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    color: white;
    background: transparent;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    gap: 8px;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: var(--glass);
}

/* NAVIGATION */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.nav-container {
    background: rgba(15, 17, 25, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 10px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: var(--nav-width);
    max-width: 90%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    z-index: 1002;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.2s;
}

.nav-links a:hover {
    color: white;
}

.btn-sm {
    background: white;
    color: black;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

/* HAMBURGER ANIMATION */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1002;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-cta {
    display: none;
}

/* HERO */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
}

.dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
}

/* HERO IMAGE */
.hero-visual {
    perspective: 1000px;
    position: relative;
}

.tilt-element {
    transition: transform 0.1s;
    transform: rotateY(-10deg) rotateX(5deg);
    position: relative;
}

.hero-img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.6);
}

.float-badge {
    position: absolute;
    bottom: 30px;
    right: 10px;
    background: #1a1a20;
    border: 1px solid var(--glass-border);
    padding: 10px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    animation: bounce 3s infinite ease-in-out;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* FEATURES */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    transition: 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.icon-wrap.blue {
    color: #818cf8;
    background: rgba(99, 102, 241, 0.2);
}

.icon-wrap.purple {
    color: #c084fc;
    background: rgba(192, 132, 252, 0.2);
}

.icon-wrap.green {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.2);
}

.icon-wrap.pink {
    color: #f472b6;
    background: rgba(244, 114, 182, 0.2);
}

.icon-wrap.orange {
    color: #fb923c;
    background: rgba(251, 146, 60, 0.2);
}

.icon-wrap.red {
    color: #f87171;
    background: rgba(248, 113, 113, 0.2);
}

/* GALLERY */
.gallery-scroller {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.gallery-item {
    min-width: 300px;
    flex: 1;
}

.glass-frame {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 10px;
    border-radius: 12px;
    text-align: center;
}

.img-placeholder {
    height: 180px;
    /* background: url(images/wd-prev_.PNG); */
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    /* background: #222; */
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #555;
    font-weight: bold;
}

.img-placeholder.dark {
    background: #111;
    color: #444;
}

caption {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* CTA */
.cta-card {
    background: linear-gradient(135deg, rgba(99, 137, 241, 0.1), rgba(72, 143, 236, 0.1));
    /* background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1)); */
    border: 1px solid var(--glass-border);
    padding: 60px;
    border-radius: 30px;
    text-align: center;
}

.center-btns {
    justify-content: center;
    margin-top: 30px;
}

/* FOOTER */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-img {
        margin-top: 40px;
    }

    .hamburger {
        display: flex;
    }

    .desktop-cta {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1a1a22;
        border: 1px solid var(--glass-border);
        border-radius: 20px;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        margin-top: 10px;
        gap: 20px;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    .mobile-cta {
        display: block;
    }
}





































/* --- MODERN VIEWER (Lightbox) --- */
.viewer-backdrop {
    position: fixed;
    inset: 0; /* Full screen */
    z-index: 3000; /* Above navbar */
    background: rgba(11, 12, 21, 0.85); /* Matches your --bg */
    backdrop-filter: blur(12px); /* The modern frosted glass effect */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Animation Initial State */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.viewer-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.viewer-content {
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    
    /* Zoom Animation Initial State */
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.viewer-backdrop.active .viewer-content {
    transform: scale(1) translateY(0);
}

.viewer-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--glass-border);
}

#viewer-caption {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Add a zoom cursor to the gallery so people know it's clickable */
.gallery-item img {
    cursor: zoom-in;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}
























/* --- UPDATES PAGE STYLES --- */

/* Hero Adjustment for Updates Page */
.page-header {
    padding-top: 150px;
    padding-bottom: 50px;
    text-align: center;
}

.small-container {
    max-width: 800px; /* Narrower for better reading experience */
}

/* Timeline Structure */
.timeline-section {
    padding-bottom: 100px;
    position: relative;
}

/* The Vertical Line */
.timeline-section::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), transparent);
    top: 0;
    opacity: 0.3;
    z-index: -1;
}

@media (max-width: 768px) {
    .timeline-section::before {
        left: 30px; /* Move line to left on mobile */
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .timeline-item {
        justify-content: flex-start;
        padding-left: 60px;
    }
}

/* The Dot on the Line */
.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--bg);
    border: 2px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 15px var(--primary);
    top: 25px;
}

.timeline-marker.main {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border: 2px solid white;
}

@media (max-width: 768px) {
    .timeline-marker {
        left: 30px;
    }
}

/* Date Label */
.timeline-date {
    position: absolute;
    left: calc(50% - 140px);
    top: 25px;
    text-align: right;
    width: 100px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .timeline-date {
        left: 70px;
        top: -25px;
        text-align: left;
    }
}

/* Glass Card for Updates */
.timeline-card {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    margin-left: 40px; /* Offset from center line */
    transition: transform 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .timeline-card {
        margin-left: 0;
        max-width: 100%;
    }
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.card-header h2 {
    font-size: 1.5rem;
    color: white;
}

.version-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.version-tag.stable {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.version-tag.beta {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.version-tag.alpha {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.release-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* List Items */
.changelog-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.changelog-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.changelog-list li i {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Item Colors */
.changelog-list li.new i { color: #60a5fa; } /* Blue */
.changelog-list li.fix i { color: #f87171; } /* Red */
.changelog-list li.improve i { color: #c084fc; } /* Purple */