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

:root {
    --primary-color: #007BFF;
    --primary-hover: #0056b3;
    --success-color: #28a745;
    --error-color: #dc3545;
    --text-dark: #333;
    --text-light: #666;
    --background: #ffffff;
    --border-color: #e1e4e8;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Launch Banner */
.launch-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 12px 20px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.launch-icon {
    font-size: 18px;
    margin-right: 8px;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.launch-text {
    display: inline-block;
    letter-spacing: 0.3px;
}

.launch-text strong {
    font-weight: 700;
}

/* Container Utilities */
.container-narrow {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px 100px;
    text-align: center;
    position: relative;
    margin-top: 44px;
}

.hero-section .logo {
    color: white;
    margin-bottom: 12px;
}

.hero-tagline {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 16px 0;
    letter-spacing: 0.3px;
}

.invite-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
}

.hero-container {
    max-width: 700px;
    margin: 0 auto;
}

.hero-headline {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeIn 0.6s ease-in;
}

.hero-subheadline {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeIn 0.8s ease-in;
}

.hero-form {
    max-width: 500px;
    margin: 0 auto 16px;
}

.hero-microtext {
    font-size: 14px;
    opacity: 0.9;
    font-style: italic;
    margin-bottom: 8px;
}

.trust-badge {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 8px;
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Form Styles */
.form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

input[type="email"] {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
}

input[type="email"]:focus {
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    background: white;
}

input[type="email"]::placeholder {
    color: #999;
}

.btn-primary {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    background: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    min-width: 180px;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-primary:focus-visible {
    outline: 3px solid rgba(0, 123, 255, 0.5);
    outline-offset: 2px;
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
    min-width: 220px;
}

/* Enhanced Focus States */
input[type="email"]:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(0, 123, 255, 0.5);
    outline-offset: 2px;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 123, 255, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Messages */
.error-message {
    color: white;
    background: rgba(220, 53, 69, 0.95);
    font-size: 14px;
    text-align: center;
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.success-message {
    color: white;
    background: rgba(40, 167, 69, 0.95);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    animation: slideUp 0.3s ease-out;
}

/* Social Proof Section */
.social-proof {
    background: #f8f9fa;
    padding: 24px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.social-proof-text {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.2px;
}

/* Section Headlines */
.section-headline {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

/* Benefits Section */
.benefits-section {
    padding: 80px 20px;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    animation: slideUp 0.6s ease-out;
}

.benefit-card:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.3s;
}

.benefit-card:nth-child(4) {
    animation-delay: 0.4s;
}

.benefit-card:nth-child(5) {
    animation-delay: 0.5s;
}

.benefit-card:nth-child(6) {
    animation-delay: 0.6s;
}

.benefit-card:hover {
    transform: translateY(-8px);
    background: rgba(102, 126, 234, 0.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

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

.benefit-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 20px;
    background: #f8f9fa;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.work-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.work-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.work-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.work-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 20px;
    background: white;
}

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

.timeline-step {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
    padding-left: 20px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 38px;
    top: 60px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(102, 126, 234, 0.2) 100%);
}

.timeline-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 1;
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.timeline-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    font-family: inherit;
    animation: slideUp 0.4s ease-out;
}

.sticky-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

.sticky-cta:active {
    transform: translateY(-1px);
}

/* Urgency Section */
.urgency-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    text-align: center;
}

.urgency-headline {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.urgency-text {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.urgency-microtext {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 16px;
    font-style: italic;
}

/* Footer Section */
.footer-section {
    padding: 80px 20px 40px;
    background: var(--text-dark);
    color: white;
    text-align: center;
}

.footer-headline {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: white;
}

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

.footer-section .btn-primary:hover {
    background: #f8f9fa;
}

.footer-microtext {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 16px;
    margin-bottom: 40px;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Confirmation Page */
.confirmation-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}

.confirmation-content {
    background: var(--background);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    padding: 60px 40px;
    text-align: center;
    animation: fadeIn 0.6s ease-in;
}

.confirmation-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.confirmation-icon.success::before {
    content: "✓";
    color: var(--success-color);
}

.confirmation-icon.error::before {
    content: "✕";
    color: var(--error-color);
}

#confirmation-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

#confirmation-message {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.back-home {
    display: inline-block;
    padding: 14px 28px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-home:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .launch-banner {
        font-size: 14px;
        padding: 10px 16px;
    }

    .launch-icon {
        font-size: 16px;
    }

    .container-wide {
        padding: 0 24px;
    }

    .hero-section {
        padding: 80px 20px 80px;
        margin-top: 42px;
    }

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

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

    .logo {
        font-size: 28px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .invite-badge {
        font-size: 11px;
        padding: 5px 14px;
    }

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

    .btn-primary {
        width: 100%;
    }

    .section-headline {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .benefits-section,
    .how-it-works,
    .urgency-section,
    .footer-section {
        padding: 60px 20px;
    }

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

    .works-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .urgency-headline,
    .footer-headline {
        font-size: 28px;
    }

    .urgency-text {
        font-size: 16px;
    }

    .timeline-section {
        padding: 60px 20px;
    }

    .timeline-step {
        gap: 20px;
        padding-left: 16px;
    }

    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .timeline-step:not(:last-child)::before {
        left: 34px;
    }

    .sticky-cta {
        bottom: 16px;
        right: 16px;
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .launch-banner {
        font-size: 13px;
        padding: 8px 12px;
    }

    .launch-text {
        display: block;
        line-height: 1.4;
    }

    .hero-section {
        padding: 70px 16px 60px;
        margin-top: 38px;
    }

    .hero-headline {
        font-size: 28px;
    }

    .hero-subheadline {
        font-size: 16px;
    }

    .logo {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .hero-tagline {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .invite-badge {
        font-size: 10px;
        padding: 4px 12px;
        margin-bottom: 20px;
    }

    .hero-microtext {
        font-size: 13px;
    }

    .section-headline {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .benefits-section,
    .how-it-works,
    .urgency-section {
        padding: 50px 16px;
    }

    .footer-section {
        padding: 50px 16px 30px;
    }

    .benefit-icon,
    .work-icon {
        font-size: 40px;
        margin-bottom: 16px;
    }

    .benefit-card h3,
    .work-card h3 {
        font-size: 18px;
    }

    .benefit-card p,
    .work-card p {
        font-size: 15px;
    }

    .work-card {
        padding: 30px 24px;
    }

    .urgency-headline,
    .footer-headline {
        font-size: 24px;
    }

    .urgency-text {
        font-size: 15px;
    }

    .btn-large {
        padding: 16px 36px;
        font-size: 16px;
    }

    .timeline-section {
        padding: 50px 16px;
    }

    .timeline-step {
        gap: 16px;
        padding-left: 12px;
    }

    .timeline-number {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .timeline-step:not(:last-child)::before {
        left: 30px;
    }

    .timeline-content h3 {
        font-size: 18px;
    }

    .timeline-content p {
        font-size: 15px;
    }

    .sticky-cta {
        bottom: 12px;
        right: 12px;
        left: 12px;
        padding: 14px 24px;
        font-size: 15px;
        border-radius: 12px;
        text-align: center;
    }

    .trust-badge {
        font-size: 12px;
        padding: 5px 10px;
    }

    .confirmation-content {
        padding: 40px 24px;
    }

    #confirmation-title {
        font-size: 24px;
    }
}
