:root {
    --primary-color: #000000;
    --secondary-color: #666666;
    --accent-color: #4A90E2;
    --background-color: #ffffff;
    --border-color: #e5e5e5;
    --max-width: 800px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --border-radius: 12px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-md);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-xl);
}

nav {
    display: flex;
    justify-content: flex-start;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo .app-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.tagline {
    color: var(--secondary-color);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

.headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-sm);
}

.subheadline {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

/* Buttons */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 250px;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.apple-logo,
.android-logo {
    width: 20px;
    height: 20px;
}

/* App Showcase Section */
.app-showcase {
    margin-bottom: var(--spacing-xl);
    display: flex;
    justify-content: center;
    padding: var(--spacing-lg) 0;
}

.iphone-mockup {
    position: relative;
    width: 300px;
    height: 650px;
}

.iphone-frame {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000000;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.1);
}

.iphone-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 28px;
    background: #000000;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.iphone-frame::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 35%;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 42px;
    overflow: hidden;
    position: relative;
}

.iphone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Features Section */
.features {
    margin-bottom: var(--spacing-xl);
}

.features h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.feature p {
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* How it Works */
.how-it-works {
    margin-bottom: var(--spacing-xl);
}

.how-it-works h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.step {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

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

/* Benefits */
.benefits {
    margin-bottom: var(--spacing-xl);
}

.benefits h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-width: 500px;
    margin: 0 auto;
}

.benefit {
    font-size: 1.1rem;
    padding: var(--spacing-sm);
    background-color: #f9f9f9;
    border-radius: 8px;
}

/* Waitlist Section */
.waitlist {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
}

.waitlist h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.waitlist p {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.waitlist-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 400px;
    margin: 0 auto;
}

.waitlist-form input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
}

.waitlist-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.waitlist-form button {
    white-space: nowrap;
}

/* Footer */
footer {
    margin-top: auto;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

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

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

.copyright {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Legal Content Pages */
.legal-content {
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: var(--spacing-xl);
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.legal-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
}

.legal-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.legal-content p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
    color: #333;
}

.legal-content ul {
    margin-bottom: var(--spacing-md);
    margin-left: var(--spacing-md);
}

.legal-content ul li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.7;
    color: #333;
}

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

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

.legal-content section {
    margin-bottom: var(--spacing-lg);
}

.last-updated {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.highlight {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: #f0f8ff;
    padding: var(--spacing-sm);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
}

.acknowledgment {
    background-color: #f9f9f9;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-lg);
}

/* Responsive Design */
@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .waitlist-form {
        flex-direction: row;
    }
    
    .iphone-mockup {
        width: 360px;
        height: 740px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: var(--spacing-sm);
    }
    
    .headline {
        font-size: 2rem;
    }
    
    .iphone-mockup {
        width: 280px;
        height: 575px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .waitlist-form {
        flex-direction: column;
    }
    
    .waitlist-form button {
        width: 100%;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
}