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

:root {
    /* Light, friendly color palette */
    --primary: #E789F5;
    --primary-dark: #D665E8;
    --secondary: #A8E6CF;
    --accent: #FFB6D9;
    --bg-light: #FDFCFE;
    --bg-cream: #FFF9F5;
    --text-dark: #2D2D2D;
    --text-medium: #5A5A5A;
    --text-light: #8A8A8A;
    --white: #FFFFFF;
    --border: #F0EDF5;
    --shadow: rgba(231, 137, 245, 0.1);
    --shadow-strong: rgba(231, 137, 245, 0.2);
}

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

h1, h2, h3 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

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

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

.logo {
    font-size: 24px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

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

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

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-strong);
}

.btn-secondary {
    padding: 10px 24px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.2s;
}

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

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-cream) 100%);
}

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

.hero-content {
    max-width: 560px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(231, 137, 245, 0.15) 0%, rgba(255, 182, 217, 0.15) 100%);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-description {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 32px;
    line-height: 1.6;
}

.waitlist-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.waitlist-form input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.2s;
    background: var(--white);
}

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

.trust-line {
    color: var(--text-light);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.phone-mockup {
    width: 320px;
    height: 640px;
    background: var(--white);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: var(--white);
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
    border-radius: 32px;
    overflow: hidden;
    padding: 40px 20px 20px;
}

.dm-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dm-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.brand-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: 50%;
}

.brand-info {
    flex: 1;
}

.brand-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.brand-status {
    font-size: 12px;
    color: var(--text-light);
}

.dm-message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.dm-message.sent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: #F0F0F0;
    border-radius: 18px;
    width: fit-content;
    border-bottom-left-radius: 4px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--text-light);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

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

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

.section-header h2 {
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 20px;
    color: var(--text-medium);
}

/* How it Works */
.how-it-works {
    background: var(--white);
}

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

.step {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-cream);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-8px);
}

.step-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.step-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Benefits */
.benefits {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

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

.benefit-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px var(--shadow);
    transform: translateY(-4px);
}

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

.benefit-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Problem/Solution */
.problem-solution {
    background: linear-gradient(135deg, rgba(231, 137, 245, 0.08) 0%, rgba(168, 230, 207, 0.08) 100%);
}

.problem-solution-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.problem, .solution {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--border);
}

.icon-sad, .icon-happy {
    font-size: 48px;
    margin-bottom: 16px;
}

.problem h3, .solution h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.problem ul, .solution ul {
    list-style: none;
}

.problem ul li, .solution ul li {
    padding: 12px 0;
    color: var(--text-medium);
    position: relative;
    padding-left: 32px;
}

.problem ul li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #FF6B6B;
    font-weight: 600;
}

.solution ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 600;
}

.arrow {
    font-size: 48px;
    color: var(--primary);
    font-weight: 600;
}

/* Social Proof */
.social-proof {
    background: var(--bg-cream);
}

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

.testimonial {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    border: 2px solid var(--border);
}

.quote {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 24px;
}

.author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 50%;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.author-role {
    font-size: 14px;
    color: var(--text-light);
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    text-align: center;
}

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

.final-cta h2 {
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--white);
}

.final-cta p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.waitlist-form.large input {
    padding: 18px 24px;
}

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

.waitlist-form.large .btn-primary:hover {
    background: var(--bg-cream);
}

.privacy-note {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 16px;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-brand p {
    color: var(--text-light);
    margin-top: 8px;
}

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

.footer-links a {
    text-decoration: none;
    color: var(--text-medium);
    transition: color 0.2s;
}

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

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

.footer-bottom p {
    color: var(--text-light);
    font-size: 14px;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 100px;
    right: 24px;
    background: var(--white);
    padding: 20px 32px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--secondary);
    display: none;
    animation: slideIn 0.3s ease;
    z-index: 1000;
}

.success-message.show {
    display: block;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        /* Remove order: -1 to keep phone below headline */
        margin-top: 20px;
    }

    .phone-mockup {
        width: 280px;
        height: 560px;
    }

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

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

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

    .problem-solution-content {
        grid-template-columns: 1fr;
    }

    .arrow {
        transform: rotate(90deg);
        text-align: center;
    }

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

    .section-header h2 {
        font-size: 32px;
    }

    .final-cta h2 {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .header {
        padding: 16px 0;
    }

    .hero {
        padding: 40px 0 60px;
    }

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

    .hero-description {
        font-size: 18px;
    }

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

    .nav {
        gap: 16px;
    }

    .nav a:not(.btn-secondary) {
        display: none;
    }

    section {
        padding: 60px 0;
    }

    /* Hide phone mockup on very small screens for cleaner mobile experience */
    .hero-visual {
        display: none;
    }
}
