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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent-cyan: #00d4d4;
    --accent-magenta: #d946ef;
    --gradient-start: #00d4d4;
    --gradient-end: #d946ef;
    --border-color: #2a2a2a;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.25rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.125rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 212, 212, 0.3);
}

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

.apple-icon {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-label {
    color: var(--accent-cyan);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.hero-text h1 {
    margin-bottom: 24px;
}

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

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-transformation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-transform-image {
    width: 200px;
    transition: transform 0.3s ease;
}

.hero-transform-image:first-child {
    transform: rotate(-6deg);
}

.hero-transform-image:last-child {
    transform: rotate(6deg);
}

.hero-transform-image:first-child:hover {
    transform: rotate(-3deg) scale(1.05);
}

.hero-transform-image:last-child:hover {
    transform: rotate(3deg) scale(1.05);
}

.hero-transform-image img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.hero-transform-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-transform-arrow svg {
    width: 22px;
    height: 22px;
    color: var(--bg-primary);
}

.hero-gradient {
    position: absolute;
    top: 50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 212, 0.15) 0%, transparent 70%);
    transform: translateY(-50%);
    pointer-events: none;
}

/* Section Styles */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    color: var(--accent-cyan);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

/* Features Section */
.features {
    background: var(--bg-secondary);
}

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

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

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 212, 212, 0.2), rgba(217, 70, 239, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-cyan);
}

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

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

/* How it Works Section */
.steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-primary);
    margin: 0 auto 24px;
}

.step h3 {
    margin-bottom: 12px;
}

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

.step-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    margin-top: 32px;
    opacity: 0.3;
}

/* Transformation Showcase */
.transformation {
    background: var(--bg-primary);
}

.transformation-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.transform-image {
    position: relative;
    max-width: 400px;
    flex: 1;
}

.transform-image img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transform-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.image-label {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.transform-arrow {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transform-arrow svg {
    width: 28px;
    height: 28px;
    color: var(--bg-primary);
}

/* Screenshots Section */
.screenshots {
    background: var(--bg-secondary);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.screenshot-card {
    text-align: center;
}

.screenshot-card img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.screenshot-card:hover img {
    transform: scale(1.02);
}

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

/* CTA Section */
.cta {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 16px;
}

.cta p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 48px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

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

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

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

.copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Waitlist Form */
.waitlist-form {
    max-width: 480px;
}

.waitlist-form-centered {
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 12px;
}

.waitlist-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.waitlist-form input[type="email"]:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 212, 0.1);
}

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

.waitlist-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-note {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 12px;
}

.form-message {
    font-size: 0.9rem;
    margin-top: 12px;
    min-height: 1.4em;
}

.form-message.success {
    color: #10b981;
}

.form-message.error {
    color: #ef4444;
}

/* Honeypot field - hidden from humans */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .step-divider {
        width: 2px;
        height: 40px;
        margin: 0;
    }
}

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

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

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

    .waitlist-form {
        margin: 0 auto;
    }

    .hero-transformation {
        gap: 12px;
    }

    .hero-transform-image {
        width: 140px;
    }

    .hero-transform-arrow {
        width: 36px;
        height: 36px;
    }

    .hero-transform-arrow svg {
        width: 18px;
        height: 18px;
    }

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

    .transformation-showcase {
        flex-direction: column;
        gap: 24px;
    }

    .transform-image {
        max-width: 300px;
    }

    .transform-image img {
        height: 250px;
    }

    .transform-arrow {
        transform: rotate(90deg);
        width: 50px;
        height: 50px;
    }

    .transform-arrow svg {
        width: 24px;
        height: 24px;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    section {
        padding: 80px 0;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 32px;
    }
}

@media (max-width: 480px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }

    .screenshot-card img {
        border-radius: 32px;
    }

    .form-row {
        flex-direction: column;
    }

    .waitlist-form button {
        width: 100%;
    }
}
