:root {
    --bg: #0a0a0f;
    --surface: #141419;
    --surface-hover: #1c1c24;
    --border: #2a2a35;
    --text: #ffffff;
    --text-secondary: #8b8b9a;
    --accent: #6366f1;
    --accent-hover: #818cf8;
    --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

nav .container {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.hero {
    padding: 160px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

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

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
}

.store-badge {
    display: inline-block;
    transition: transform 0.2s, opacity 0.2s;
}

.store-badge:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.store-badge img {
    height: 56px;
    width: auto;
}

.phone-mockup {
    margin: 80px auto 0;
    max-width: 320px;
}

.phone-mockup img {
    width: 100%;
    border-radius: 36px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.features {
    padding: 100px 0;
    background: var(--surface);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 64px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.gallery {
    padding: 100px 0;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 64px;
}

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

.gallery-grid img {
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.cta-section {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-btn {
    display: inline-block;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 16px 40px;
    border-radius: 100px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

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

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

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .gallery-grid img {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    nav .container {
        height: 64px;
    }
    
    .logo span {
        font-size: 1.25rem;
    }
    
    .logo img {
        width: 36px;
        height: 36px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .phone-mockup {
        max-width: 260px;
        margin-top: 60px;
    }
    
    .features, .gallery, .cta-section {
        padding: 60px 0;
    }
    
    .feature-grid {
        gap: 20px;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
}
