/* Global Reset */
:root {
    --bg-dark: #0f1115;
    --bg-card: #1a1d24;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #3b82f6;
    /* Blue that matches iOS aesthetics */
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
}

/* Navbar */
.navbar {
    padding: 24px 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Spacer for nav */
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 40%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

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

.hero-sub {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 90%;
}

/* App Store Button */
.store-button {
    display: inline-flex;
    align-items: center;
    background: #000;
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #333;
    transition: all 0.2s ease;
    gap: 12px;
}

.store-button:hover {
    transform: translateY(-2px);
    border-color: #555;
    background: #111;
}

.store-button i {
    font-size: 2rem;
}

.store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-text span:first-child {
    font-size: 0.75rem;
}

.store-name {
    font-size: 1.25rem;
    font-weight: 600;
}

.store-button.large {
    padding: 14px 32px;
}

/* App Screenshot */
.app-screenshot {
    max-width: 100%;
    width: 300px;
    /* Optional: Fix width if needed */
    height: auto;
    border-radius: 40px;
    border: 8px solid #222;
    /* Bezel */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.app-screenshot:hover {
    transform: scale(1.02);
}

/* Features Grid */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 50%, var(--bg-dark) 100%);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 20px;
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #60a5fa;
    font-size: 1.25rem;
}

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

.feature-card p {
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1), transparent 60%);
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 40px;
}

/* Footer */
footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-logo {
    font-weight: 700;
    font-size: 1.25rem;
}

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

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

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

.copyright {
    color: #555;
    font-size: 0.8rem;
    margin-top: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
        margin-bottom: 40px;
    }

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

    .store-button {
        display: inline-flex;
        /* Ensure it stays inline-flex */
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}