/* ───────────────────────── Global Styles ───────────────────────── */
:root {
    --bg-color: #0A0A0A;
    --card-color: #141414;
    --card-light: #1A1A1A;
    --border-color: #2E2E2E;
    --accent: #E6FF2A;
    --accent-glow: rgba(230, 255, 42, 0.2);
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --font-family: 'Vazirmatn', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.highlight {
    color: var(--accent);
}

/* ───────────────────────── Buttons ───────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
    background-color: var(--card-color);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--card-light);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* ───────────────────────── Navbar ───────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 20px;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-weight: 600;
    transition: color 0.3s;
}

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

.btn-nav {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-nav:hover {
    background: var(--accent);
    color: #000;
}

/* ───────────────────────── Hero Section ───────────────────────── */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.badge {
    display: inline-block;
    background: var(--accent-glow);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(230, 255, 42, 0.3);
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.stat-item h3 {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent);
}

.stat-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--card-color);
    border-radius: 40px;
    border: 8px solid var(--card-light);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-color);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.glow-effect {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.15;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* ───────────────────────── Features Section ───────────────────────── */
.features {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-color), #0f0f0f);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

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

.feature-card {
    background: var(--card-color);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(230, 255, 42, 0.05);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-glow);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ───────────────────────── Screenshots Section ───────────────────────── */
.screens {
    padding: 100px 0;
    background: #0f0f0f;
    overflow: hidden;
}

.screens-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.screens-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.screen-item {
    flex: 0 0 250px;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    border: 4px solid var(--card-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    scroll-snap-align: center;
    transition: transform 0.3s;
}

.screen-item:hover {
    transform: scale(1.05);
}

.screen-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ───────────────────────── CTA Section ───────────────────────── */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #141414, #0A0A0A);
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta h2 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 16px;
}

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

.cta .hero-buttons {
    justify-content: center;
    margin-bottom: 0;
}

/* ───────────────────────── Footer ───────────────────────── */
footer {
    padding: 40px 0;
    background: var(--bg-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
}

footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 20px;
    font-size: 20px;
}

.social-links a {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent);
}

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 42px;
    }
    
    .hero-text p {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats {
        justify-content: center;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .section-header h2, .cta h2 {
        font-size: 28px;
    }
}