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

:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --secondary-color: #34d399;
    --accent-color: #6ee7b7;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f0fdf4;
    --border-color: #e5e7eb;
    --gradient-1: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.waitlist-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 24px;
    position: relative;
    z-index: 1;
}

/* Logo */
.logo-link {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 60px;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.3));
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Content */
.waitlist-content {
    text-align: center;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 32px;
    border: 1px solid var(--accent-color);
    animation: fadeInDown 0.6s ease-out;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Title */
.waitlist-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.waitlist-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

/* Benefits Grid */
.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: left;
    font-weight: 500;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.benefit-item svg {
    flex-shrink: 0;
}

/* Form */
.waitlist-form {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.form-group {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.form-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-input::placeholder {
    color: var(--text-secondary);
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

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

.form-note {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
}

/* Success Message */
.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    margin-bottom: 40px;
    animation: scaleIn 0.5s ease-out;
}

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

.success-message h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.success-message p {
    font-size: 16px;
    color: var(--text-secondary);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Stats */
.waitlist-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 64px;
    padding: 32px;
    background: white;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    animation: fadeInUp 0.8s ease-out 1s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Background Elements */
.bg-circle {
    position: fixed;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.bg-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.bg-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: float 10s ease-in-out infinite reverse;
}

.bg-circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-slow 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px);
    }
}

@keyframes pulse-slow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

/* Footer */
.waitlist-footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.footer-divider {
    color: var(--border-color);
    user-select: none;
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Responsive */

/* Tablets */
@media (max-width: 768px) {
    .waitlist-container {
        max-width: 100%;
        padding: 32px 24px;
    }

    .waitlist-title {
        font-size: 40px;
    }

    .waitlist-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .benefits-grid {
        margin-bottom: 40px;
    }
}

/* Mobile devices */
@media (max-width: 640px) {
    .waitlist-container {
        padding: 24px 20px;
    }

    /* Logo */
    .logo-link {
        margin-bottom: 40px;
    }

    .logo {
        gap: 10px;
    }

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

    .logo-text {
        font-size: 20px;
    }

    /* Status Badge */
    .status-badge {
        font-size: 13px;
        padding: 8px 16px;
        margin-bottom: 24px;
    }

    .pulse-dot {
        width: 7px;
        height: 7px;
    }

    /* Title */
    .waitlist-title {
        font-size: 32px;
        line-height: 1.15;
        margin-bottom: 20px;
    }

    .waitlist-subtitle {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 36px;
    }

    /* Benefits */
    .benefits-grid {
        gap: 12px;
        margin-bottom: 36px;
    }

    .benefit-item {
        padding: 14px 16px;
        font-size: 14px;
        border-radius: 10px;
    }

    .benefit-item svg {
        width: 20px;
        height: 20px;
    }

    /* Form */
    .form-group {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }

    .form-input {
        width: 100%;
        padding: 14px 16px;
        font-size: 15px;
        border-radius: 10px;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
        border-radius: 10px;
    }

    .form-note {
        font-size: 12px;
        line-height: 1.4;
    }

    /* Success Message */
    .success-message {
        padding: 32px 24px;
        gap: 16px;
        border-radius: 16px;
        margin-bottom: 32px;
    }

    .success-message svg {
        width: 56px;
        height: 56px;
    }

    .success-message h2 {
        font-size: 24px;
    }

    .success-message p {
        font-size: 15px;
        line-height: 1.5;
    }

    /* Footer */
    .waitlist-footer {
        margin-top: 60px;
        padding-top: 32px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 16px;
    }

    .footer-link {
        font-size: 13px;
    }

    .footer-divider {
        display: none;
    }

    .footer-copyright {
        font-size: 12px;
    }

    /* Background circles */
    .bg-circle-1 {
        width: 300px;
        height: 300px;
    }

    .bg-circle-2 {
        width: 250px;
        height: 250px;
    }

    .bg-circle-3 {
        width: 150px;
        height: 150px;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .waitlist-container {
        padding: 20px 16px;
    }

    .logo-link {
        margin-bottom: 32px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .waitlist-title {
        font-size: 28px;
    }

    .waitlist-subtitle {
        font-size: 15px;
    }

    .benefit-item {
        padding: 12px 14px;
        font-size: 13px;
    }

    .form-input {
        padding: 13px 14px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 13px 20px;
        font-size: 14px;
    }

    .success-message {
        padding: 28px 20px;
    }

    .success-message h2 {
        font-size: 22px;
    }

    .success-message p {
        font-size: 14px;
    }
}

/* Landscape mode for small devices */
@media (max-height: 600px) and (orientation: landscape) {
    .waitlist-container {
        padding: 20px;
    }

    .logo-link {
        margin-bottom: 24px;
    }

    .status-badge {
        margin-bottom: 16px;
    }

    .waitlist-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .waitlist-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .benefits-grid {
        margin-bottom: 24px;
    }

    .waitlist-footer {
        margin-top: 40px;
        padding-top: 20px;
    }
}

/* Touch optimization for mobile */
@media (hover: none) and (pointer: coarse) {
    /* Larger tap targets */
    .submit-btn,
    .form-input {
        min-height: 48px;
    }

    .footer-link {
        padding: 8px;
    }

    /* Better touch feedback */
    .submit-btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    .benefit-item:active {
        transform: scale(0.99);
    }

    /* Disable complex animations on touch devices for better performance */
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
