:root {
    --bg: #0b1020;
    --bg-2: #111834;
    --card: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.12);
    --text: #e7ecf5;
    --muted: #9aa6c4;
    --accent: #7c5cff;
    --accent-2: #21d4fd;
    --glow: 0 0 24px rgba(124, 92, 255, 0.55);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    background: radial-gradient(1200px 800px at 70% -10%, var(--bg-2), var(--bg) 60%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.45;
    will-change: transform;
    transform: translateZ(0);
    animation: float 16s ease-in-out infinite;
}
.orb-1 { width: 420px; height: 420px; background: radial-gradient(circle at 50% 50%, var(--accent) 0%, transparent 70%); top: -120px; left: -80px; }
.orb-2 { width: 360px; height: 360px; background: radial-gradient(circle at 50% 50%, var(--accent-2) 0%, transparent 70%); bottom: -100px; right: -60px; animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle at 50% 50%, #ff5ca8 0%, transparent 70%); top: 40%; left: 55%; animation-delay: -9s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.08); }
}

.hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 90px 20px 70px;
}
.hero-inner { max-width: 800px; margin: 0 auto; }
.logo {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--glow);
    background: var(--card);
    image-rendering: -webkit-optimize-contrast;
    animation: pop 0.8s ease both;
}
h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    margin: 18px 0 8px;
    background: linear-gradient(120deg, #fff, var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.tagline { color: var(--muted); font-size: 1.15rem; margin: 0 0 24px; }
.accent { color: var(--accent-2); font-weight: 600; }

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 20px 0 30px;
}
nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--card);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
nav a:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: var(--glow);
}

.cta {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    box-shadow: var(--glow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta:hover { transform: translateY(-3px) scale(1.03); }

main {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    padding: 32px;
    margin-bottom: 26px;
    opacity: 0;
    transform: translateY(28px);
    will-change: transform, opacity;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.card.in { opacity: 1; transform: translateY(0); }
.card h2 {
    font-family: 'Space Grotesk', sans-serif;
    margin-top: 0;
    font-size: 1.6rem;
}
.card-icon { font-size: 2rem; margin-bottom: 6px; }
.card p { color: var(--muted); line-height: 1.6; }
.card strong { color: var(--text); }

.feature-grid {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin: 18px 0 0;
}
.feature-grid li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    transition: transform 0.2s, border-color 0.2s;
}
.feature-grid li:hover { transform: translateY(-3px); border-color: var(--accent); }
.dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    flex-shrink: 0;
    box-shadow: var(--glow);
}
.feature-grid code, .card code {
    background: rgba(124, 92, 255, 0.18);
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.9em;
    color: #d7ccff;
}

.gallery {
    position: relative;
    margin-top: 18px;
}
.screenshots {
    display: flex;
    gap: 20px;
    padding: 6px 4px 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}
.screenshots::-webkit-scrollbar { height: 8px; }
.screenshots::-webkit-scrollbar-track { background: transparent; }
.screenshots::-webkit-scrollbar-thumb {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    border-radius: 999px;
}
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(11, 16, 32, 0.7);
    color: var(--text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.gallery-btn:hover {
    border-color: var(--accent);
    box-shadow: var(--glow);
    transform: translateY(-50%) scale(1.08);
}
.gallery-btn.prev { left: -8px; }
.gallery-btn.next { right: -8px; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(6, 9, 20, 0.85);
    backdrop-filter: blur(none);
    -webkit-backdrop-filter: blur(none);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), var(--glow);
    transform: scale(0.92);
    transition: transform 0.3s ease;
}
.lightbox.open img { transform: scale(1); }

.social-popup {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(6, 9, 20, 0.85);
    backdrop-filter: blur(none);
    -webkit-backdrop-filter: blur(none);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.social-popup.open { opacity: 1; visibility: visible; }
.social-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), var(--glow);
    padding: 32px 28px;
    text-align: center;
    transform: scale(0.92);
    transition: transform 0.3s ease;
}
.social-popup.open .social-card { transform: scale(1); }
.social-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0 0 20px;
    font-size: 1.4rem;
}
.social-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.social-close:hover { border-color: var(--accent); box-shadow: var(--glow); }
.social-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.social-link {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    color: var(--c, #fff);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.social-link svg { width: 26px; height: 26px; }
.social-link:hover {
    transform: translateY(-4px);
    border-color: var(--c, var(--accent));
    background: color-mix(in srgb, var(--c, #fff) 14%, transparent);
    box-shadow: 0 0 22px color-mix(in srgb, var(--c, #fff) 45%, transparent);
}
.shot {
    flex: 0 0 auto;
    width: clamp(240px, 70%, 340px);
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
    scroll-snap-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.shot img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 24 / 25;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.shot:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--glow);
}
.shot:hover img {
    transform: scale(1.05);
    filter: saturate(1.1) brightness(1.05);
}

.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(120deg, var(--accent), #5b8cff);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary:hover { box-shadow: var(--glow); }
.btn.glow { animation: pulse 2.4s ease-in-out infinite; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}
@keyframes pop {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 26px;
    color: var(--muted);
    border-top: 1px solid var(--border);
}

@media (prefers-reduced-motion: reduce) {
    .orb, .btn.glow, .logo { animation: none; }
    .card { transition: none; }
    .screenshots { scroll-behavior: auto; }
}
html {
    scroll-behavior: smooth;
}
a {
    text-decoration: none;
    color:var(--text)
}