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

:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a28;
    --text: #e8e8ef;
    --text-muted: #8888a0;
    --accent: #00e676;
    --accent-2: #00c853;
    --gold: #ffd740;
    --red: #ff5252;
    --gradient: linear-gradient(135deg, #00e676, #00bcd4);
    --radius: 16px;
    --radius-sm: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === Navigation === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.85);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 1.15rem;
    flex-direction: column;
    line-height: 1.1;
}

.logo-icon {
    display: none;
}

.logo-text {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 1.1rem;
    font-weight: 800;
    color: #b8c0d4;
}

.logo-subtitle {
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.btn-nav {
    background: var(--gradient) !important;
    color: #0a0a0f !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: opacity 0.2s;
}

.btn-nav:hover {
    opacity: 0.9;
}

/* === Hero === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 520px;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.25);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #0a0a0f;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.15);
}

.btn-primary svg {
    width: 20px;
    height: 24px;
}

/* Phone Frame */
.hero-phone {
    flex-shrink: 0;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: #1a1a28;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 0 0 2px rgba(255,255,255,0.08),
        0 20px 60px rgba(0,0,0,0.5),
        0 0 100px rgba(0, 230, 118, 0.08);
    overflow: hidden;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

/* === Features === */
.features {
    padding: 100px 24px;
    background: linear-gradient(180deg, var(--bg) 0%, #0d0d16 100%);
}

.features-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.features-inner h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 230, 118, 0.15);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* === Gallery === */
.gallery {
    padding: 80px 24px;
}

.gallery-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-inner h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
}

.gallery-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex-shrink: 0;
    width: 260px;
    scroll-snap-align: center;
}

.gallery-item img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.06);
}

/* === CTA === */
.cta {
    padding: 100px 24px;
    text-align: center;
}

.cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 36px;
}

/* === Footer === */
.footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 40px 24px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 24px;
}

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

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

.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
    margin-top: 12px;
}

/* === Responsive === */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        display: flex;
        justify-content: center;
    }

    .phone-frame {
        width: 240px;
        height: 500px;
    }

    .features-inner h2,
    .gallery-inner h2,
    .cta h2 {
        font-size: 2rem;
    }
}

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

    .nav-links a:not(.btn-nav) {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
