/* CSS Variables */
:root {
    --primary-red: #EF4E4E;
    --primary-blue: #3B8EF6;
    --gradient: linear-gradient(135deg, #EF4E4E 0%, #3B8EF6 100%);
    --bg-light: #FFFFFF;
    --bg-dark: #0F0F0F;
    --card-light: #F9FAFB;
    --card-dark: #1A1A1A;
    --text-primary-light: #111827;
    --text-primary-dark: #FFFFFF;
    --text-secondary-light: #6B7280;
    --text-secondary-dark: #9CA3AF;
    --border-light: #E5E7EB;
    --border-dark: #374151;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 16px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
}

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

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary-light);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(239, 78, 78, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(239, 78, 78, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--text-primary-light);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

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

.phone-mockup {
    width: 280px;
    height: 580px;
    background: #1A1A1A;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0F0F0F;
    border-radius: 32px;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

.card-preview {
    width: 100%;
    background: #1A1A1A;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    margin: 0 auto 16px;
}

.name-placeholder {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.title-placeholder {
    color: #9CA3AF;
    font-size: 14px;
    margin-bottom: 20px;
}

.info-placeholder {
    height: 12px;
    background: #374151;
    border-radius: 6px;
    margin-bottom: 12px;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 8px;
    margin: 20px auto 0;
}

/* Features Section */
.features {
    padding: 100px 0;
}

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

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

.feature-card {
    background: var(--card-light);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
}

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

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

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
    text-align: center;
}

.download h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

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

.store-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1A1A1A;
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    transition: transform 0.2s, opacity 0.2s;
}

.store-badge:hover {
    transform: translateY(-2px);
}

.store-badge.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.store-badge.disabled:hover {
    transform: none;
}

.store-label {
    display: block;
    font-size: 11px;
    color: #9CA3AF;
}

.store-name {
    display: block;
    font-size: 18px;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #0F0F0F;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand p {
    color: #9CA3AF;
    margin-top: 8px;
}

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

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #9CA3AF;
}

.footer-column a {
    display: block;
    color: white;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
    color: #6B7280;
    font-size: 14px;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
}

.legal-page h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-page .last-updated {
    color: var(--text-secondary-light);
    margin-bottom: 40px;
}

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

.legal-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 16px;
}

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

.legal-content ul {
    color: var(--text-secondary-light);
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--primary-red);
}

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

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

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

    .hero-subtitle {
        margin: 0 auto 32px;
    }

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 36px;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }

    .phone-mockup {
        width: 240px;
        height: 500px;
    }
}
