/* ===========================
   Variables
   =========================== */
:root {
    --primary: #007AFF;
    --success: #34C759;
    --warning: #FF9500;
    --bg: #000000;
    --card-bg: #1C1C1E;
    --text: #FFFFFF;
    --text-secondary: #8E8E93;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

/* ===========================
   Navigation
   =========================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.95rem;
    transition: color var(--transition);
}

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

/* ===========================
   Hero Section
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
}

.hero-content {
    max-width: 600px;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0, 122, 255, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #8E8E93 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--text);
    color: var(--bg);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition);
}

.app-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.app-store-btn svg {
    width: 24px;
    height: 24px;
}

/* ===========================
   Features Section
   =========================== */
.features {
    padding: 100px 20px;
    background: var(--card-bg);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: transform var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

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

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

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

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

/* ===========================
   Footer
   =========================== */
footer {
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.made-with {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.made-with a {
    color: var(--primary);
    text-decoration: none;
}

.made-with a:hover {
    text-decoration: underline;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .app-icon {
        width: 100px;
        height: 100px;
    }
    
    .nav-links {
        display: none;
    }
    
    .features h2,
    .cta h2 {
        font-size: 2rem;
    }
}
