/* CSS for Coming Soon Page */
@import url('https://fonts.googleapis.com/css2?family=TASA+Orbiter:wght@400;500;600;700&display=swap');

:root {
    --primary: 173.13 95.62% 26.86%;
    --primary-100: 173.13deg 20.23% 89.79%;
    --primary-foreground: 240 6.67% 97.06%;
    --background: 0 0% 100%;
    --foreground: 240 10% 23.9%;
    --muted: 240 4.8% 95.9%;
    --muted-foreground: 240 3.8% 56.1%;
    --border: 240 5.9% 90%;
    --radius: 0.75rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'TASA Orbiter', sans-serif;
    background-image: linear-gradient(to bottom, hsl(var(--primary-100)), white);
    color: hsl(var(--foreground));
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

h1,
h2,
h3,
.font-heading {
    font-family: 'TASA Orbiter', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header */
header {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 2rem 0 0;
}

.logo {
    font-family: 'TASA Orbiter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: hsl(var(--foreground));
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid hsl(var(--border));
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--primary));
    margin-bottom: 2rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: hsl(var(--primary));
    border-radius: 50%;
    animation: pulse 2s infinite;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
}

.description {
    font-size: 1.125rem;
    color: hsl(var(--foreground));
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Countdown Timer */
.countdown {
    background: white;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.countdown-item {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    min-width: 120px;
    min-height: 120px;
}

.countdown-item:not(:last-child) {
    border-right: 1px solid hsl(var(--border));
}

.time-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    line-height: 1;
    margin-bottom: 0.5rem;
}

.time-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Form Styles (reused in modal) */
.form-container {
    width: 100%;
}

.input-group {
    margin-bottom: 1rem;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

input,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

button[type="submit"] {
    height: 48px;
}

button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border: none;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

button:hover {
    background-color: hsl(var(--primary) / 0.9);
}

button:active {
    transform: scale(0.98);
}

.cta-button {
    width: auto;
    margin-top: 3rem;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    box-shadow: 0 4px 12px hsl(var(--primary) / 0.3);
}

.cta-button:hover {
    box-shadow: 0 6px 16px hsl(var(--primary) / 0.4);
    transform: translateY(-2px);
}

.cta-desc {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-top: 1rem;
    text-align: center;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    margin-top: -20rem;
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    width: 90%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    border-radius: 50%;
}

.close-btn:hover {
    background-color: hsl(var(--muted));
    color: hsl(var(--foreground));
}

.hidden {
    display: none !important;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    border-top: 1px solid hsl(var(--border));
    background: hsl(var(--background));
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 hsl(var(--primary) / 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px transparent;
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 transparent;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 520px;
        padding: 0 1rem;
    }

    h1 {
        font-size: 2.25rem;
        flex-direction: column;
    }

    h1 br {
        display: none;
    }

    .hero {
        padding: 3rem 0;
    }

    /* Countdown Responsiveness */
    .countdown {
        gap: 0;
        flex-wrap: nowrap;
    }

    .countdown-item {
        flex: 1;
        min-width: 96px;
        min-height: 96px;
    }

    .countdown-item:last-child {
        border-right: none;
    }

    .time-value {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .time-label {
        font-size: 0.75rem;
    }

    /* Modal Responsiveness */
    .modal-content {
        margin-top: 0;
        /* Reset custom offset on mobile */
        padding: 1.5rem;
        width: 95%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.125rem;
    }

    .description {
        font-size: 1rem;
    }

    .countdown-item {
        flex: 1;
        min-width: 72px;
        min-height: 72px;
    }
}