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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #10b981;
    --accent-light: #34d399;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    z-index: 1000;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 4rem 4rem;
    gap: 4rem;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

/* Phone Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--bg-secondary);
    border-radius: 40px;
    padding: 12px;
    border: 3px solid #333;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border-radius: 32px;
    padding: 3rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}

.coupon-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.coupon-discount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-light);
}

.coupon-store {
    font-weight: 500;
    color: var(--text-primary);
}

.coupon-expiry {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Features */
.features {
    padding: 6rem 4rem;
    background: var(--bg-secondary);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

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

/* Footer */
footer {
    padding: 3rem 4rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

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

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Apps List */
.apps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.app-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    transition: border-color 0.2s;
}

.app-card:hover {
    border-color: var(--accent);
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    overflow: hidden;
    flex-shrink: 0;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-info {
    flex: 1;
}

.app-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.app-version,
.app-size {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.btn-install {
    background: var(--accent);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-install:hover {
    background: var(--accent-light);
}

.loading,
.no-apps,
.error {
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem;
}

.error {
    color: #ef4444;
}

.install-instructions {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
}

.install-instructions h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent-light);
}

.install-instructions ol {
    padding-left: 1.25rem;
    color: var(--text-secondary);
}

.install-instructions li {
    margin-bottom: 0.5rem;
}

.install-instructions strong {
    color: var(--text-primary);
}

/* Page Content */
.page-content {
    padding: 8rem 4rem 4rem;
    max-width: 800px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
}

.page-header {
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

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

/* Support Page */
.support-section {
    margin-bottom: 3rem;
}

.support-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-light);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

.contact-info {
    margin-top: 1.5rem;
}

/* Privacy Page */
.policy-content h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--accent-light);
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.policy-content a {
    color: var(--accent-light);
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero {
        flex-direction: column;
        padding: 7rem 1.5rem 3rem;
        text-align: center;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .features {
        padding: 4rem 1.5rem;
    }

    footer {
        padding: 2rem 1.5rem;
    }

    .page-content {
        padding: 6rem 1.5rem 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}
