/* =========================================
   aminomecagan — Coming Soon Page
   Dark OLED / Pre-launch
   ========================================= */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #080810;
    color: #F8FAFC;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- Background ambient glow --- */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(220, 38, 38, 0.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* --- Page wrapper --- */
.cs-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* --- Logo --- */
.cs-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: #F8FAFC;
    margin-bottom: 64px;
    letter-spacing: -0.01em;
}

.cs-logo svg {
    width: 28px;
    height: 28px;
    color: #DC2626;
}

/* --- Status badge --- */
.cs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid rgba(220, 38, 38, 0.35);
    background: rgba(220, 38, 38, 0.07);
    color: #F87171;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cs-badge-dot {
    width: 7px;
    height: 7px;
    background: #EF4444;
    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(0.75); }
}

/* --- Headline --- */
.cs-headline {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 9vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    max-width: 760px;
}

.cs-headline span {
    color: #DC2626;
    position: relative;
}

/* --- Subtitle --- */
.cs-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #94A3B8;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 56px;
}

/* --- Email form --- */
.cs-form {
    width: 100%;
    max-width: 480px;
    margin-bottom: 20px;
}

.cs-form-group {
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 6px 6px 6px 20px;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.cs-form-group:focus-within {
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.cs-form-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #F8FAFC;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    min-width: 0;
}

.cs-form-input::placeholder {
    color: #475569;
}

.cs-form-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: #DC2626;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 200ms ease, transform 200ms ease;
}

.cs-form-btn:hover {
    background: #B91C1C;
    transform: translateY(-1px);
}

.cs-form-btn:focus-visible {
    outline: 2px solid #DC2626;
    outline-offset: 2px;
}

.cs-form-btn:disabled {
    background: #374151;
    cursor: not-allowed;
    transform: none;
}

.cs-form-btn svg {
    width: 16px;
    height: 16px;
}

/* --- Success state --- */
.cs-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.25);
    border-radius: 12px;
    color: #4ADE80;
    font-size: 0.9rem;
    font-weight: 500;
}

.cs-success.visible {
    display: flex;
    justify-content: center;
}

.cs-success svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* --- Social links --- */
.cs-social-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 36px;
    margin-bottom: 64px;
}

.cs-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    text-decoration: none;
    transition: color 200ms ease, transform 200ms ease;
    flex-shrink: 0;
}

.cs-social-link svg {
    width: 26px;
    height: 26px;
    display: block;
}

.cs-social-link:hover {
    transform: translateY(-2px);
}

.cs-social-link--instagram:hover { color: #E4405F; }
.cs-social-link--x:hover          { color: #F8FAFC; }
.cs-social-link--tiktok:hover     { color: #F8FAFC; }

/* --- Feature teasers --- */
.cs-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
    width: 100%;
    max-width: 680px;
}

.cs-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 500;
}

.cs-feature svg {
    width: 16px;
    height: 16px;
    color: #DC2626;
    flex-shrink: 0;
}

/* --- Error message --- */
.cs-error {
    font-size: 0.8rem;
    color: #F87171;
    margin-top: 8px;
    display: none;
}

.cs-error.visible {
    display: block;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    .cs-badge-dot { animation: none; }
    .cs-countdown-number, .cs-form-btn { transition: none; }
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .cs-form-group {
        flex-direction: column;
        padding: 12px;
        gap: 10px;
    }
    .cs-form-btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }

}

@media (max-width: 375px) {
    .cs-logo { margin-bottom: 40px; }
    .cs-features { gap: 20px; }
}
