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

html {
    scroll-behavior: smooth;
}

:root {
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #a855f7;
    --text: #352359;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-alt: #faf5ff;
    --border: #e5e7eb;
    --gradient-start: #7ea9f4;
    --gradient-end: #a855f7;
}

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

/* Navigation */
header {
    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);
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo img {
    height: 32px;
}

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

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

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

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.2s;
}

.cta-button:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.cta-button.outline {
    background: transparent;
    color: var(--primary);
}

.cta-button.outline:hover {
    background: var(--primary);
    color: white;
}

.cta-button.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #f5f3ff 0%, #fdf4ff 50%, #faf5ff 100%);
}

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

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-image {
    flex: 1;
    max-width: 400px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(124, 58, 237, 0.25);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--background);
}

.features h2,
.how-it-works h2,
.contact h2,
.cta-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
}

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

.feature-card {
    padding: 2rem;
    background: var(--background-alt);
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 2rem;
    background: var(--background-alt);
}

.how-it-works h2 {
    margin-bottom: 3rem;
}

.steps {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.15);
}

.step.reverse {
    flex-direction: column;
}

.step-image {
    width: 100%;
    padding: 1.5rem 1.5rem 0;
}

.step-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
}

.step-content {
    padding: 1.5rem;
}

.step-number {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--background-alt);
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.step-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-button {
    background: white;
    color: var(--primary);
    border-color: white;
}

.app-store-badge {
    display: inline-block;
    transition: transform 0.2s, opacity 0.2s;
}

.app-store-badge:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.cta-section .cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: var(--background);
    text-align: center;
}

.contact p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-email {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 1rem 2rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    transition: all 0.2s;
}

.contact-email:hover {
    background: var(--primary);
    color: white;
}

/* Footer */
footer {
    padding: 3rem 2rem;
    background: var(--text);
    color: white;
    text-align: center;
}

.footer-logo {
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

footer p {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 7rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image {
        max-width: 320px;
    }

    .steps {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

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

    nav .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

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

    .features h2,
    .how-it-works h2,
    .contact h2,
    .cta-section h2 {
        font-size: 2rem;
    }

    .step-content h3 {
        font-size: 1.5rem;
    }

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