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

:root {
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #60A5FA;
    --bg-dark: #0A0E27;
    --bg-card: #1A1F3A;
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --border: #2D3548;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
header {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-light);
}

/* Hero Section */
.hero {
    padding: 80px 0 120px;
    background: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

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

.hero-text h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #FFFFFF 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

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

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

.free-badge {
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 500;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: #1A1F3A;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: var(--bg-dark);
    border-radius: 0 0 20px 20px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1E3A8A 0%, #0F172A 100%);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.screen-content {
    padding: 60px 20px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.screen-header {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 40px;
}

.screen-timer {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
}

.screen-controls {
    display: flex;
    gap: 20px;
}

.control-icon {
    font-size: 36px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-dark);
}

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

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

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

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

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

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.download-content {
    text-align: center;
}

.download-content h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

.download-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Footer */
footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--primary-light);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

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

.footer-section a:hover {
    color: var(--primary-light);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    text-align: center;
    color: var(--text-secondary);
}

/* Legal Pages */
.legal-page {
    padding: 60px 0 100px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 42px;
    margin-bottom: 12px;
}

.last-updated {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 14px;
}

.legal-content section {
    margin-bottom: 48px;
}

.legal-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.legal-content h3 {
    font-size: 20px;
    margin: 24px 0 12px;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.legal-content li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.8;
}

.legal-content a {
    color: var(--primary-light);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.legal-content a:hover {
    border-bottom-color: var(--primary-light);
}

.contact-info {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
}

.contact-info p {
    margin-bottom: 8px;
}

.permissions-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.permissions-table th,
.permissions-table td {
    padding: 16px;
    text-align: left;
    border: 1px solid var(--border);
}

.permissions-table th {
    background: var(--bg-card);
    color: var(--primary-light);
    font-weight: 600;
}

.permissions-table td {
    color: var(--text-secondary);
}

.back-link {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.back-link a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-link a:hover {
    gap: 12px;
}

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

    .hero-text h1 {
        font-size: 42px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }

    .phone-mockup {
        margin-top: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav-links {
        gap: 16px;
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 40px 0 60px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .features h2,
    .download-content h2,
    .legal-content h1 {
        font-size: 32px;
    }

    .features {
        padding: 60px 0;
    }

    .download {
        padding: 60px 0;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-buttons .btn {
        width: 100%;
    }

    .phone-frame {
        width: 260px;
        height: 520px;
    }

    .screen-timer {
        font-size: 36px;
    }

    .nav-links {
        display: none;
    }
}