/* =======================================================================
   SyteSpace - Coming Soon Page Styles
   Follows the main site design language
   ======================================================================= */

/* ===== CSS Variables (inherited from main) ===== */
:root {
    --brand-primary: #6C63FF;
    --brand-primary-light: #8B83FF;
    --brand-primary-dark: #5a52e0;
    --brand-accent: #EBEAFF;

    --bg-body: #1a1a2e;
    --bg-section: #16162a;
    --bg-card: #1e1e38;
    --bg-card-hover: #252550;
    --bg-input: #12122a;

    --text-white: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #b8b8d0;
    --text-muted: #7a7a95;

    --border-color: rgba(108, 99, 255, 0.15);
    --border-hover: rgba(108, 99, 255, 0.4);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(108, 99, 255, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color var(--transition);
}

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

/* ===== Floating Particles Background ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--brand-primary);
    border-radius: 50%;
    opacity: 0.15;
    animation: float-particle 20s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 25s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-delay: -5s; animation-duration: 20s; }
.particle:nth-child(3) { left: 60%; top: 10%; animation-delay: -10s; animation-duration: 28s; }
.particle:nth-child(4) { left: 80%; top: 50%; animation-delay: -15s; animation-duration: 22s; }
.particle:nth-child(5) { left: 30%; top: 60%; animation-delay: -7s; animation-duration: 26s; }
.particle:nth-child(6) { left: 70%; top: 90%; animation-delay: -12s; animation-duration: 24s; }
.particle:nth-child(7) { left: 90%; top: 30%; animation-delay: -3s; animation-duration: 21s; }
.particle:nth-child(8) { left: 50%; top: 40%; animation-delay: -18s; animation-duration: 27s; }
.particle:nth-child(9) { left: 15%; top: 45%; animation-delay: -9s; animation-duration: 23s; }
.particle:nth-child(10) { left: 85%; top: 75%; animation-delay: -14s; animation-duration: 19s; }

@keyframes float-particle {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.15; }
    25% { transform: translate(30px, -30px) scale(1.2); opacity: 0.25; }
    50% { transform: translate(-20px, 20px) scale(0.8); opacity: 0.1; }
    75% { transform: translate(40px, 10px) scale(1.1); opacity: 0.2; }
}

/* ===== Background Gradient Orbs ===== */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--brand-primary);
    top: -200px;
    right: -200px;
    animation: pulse-orb 8s ease-in-out infinite;
}

.bg-orb-2 {
    width: 400px;
    height: 400px;
    background: #4a3aff;
    bottom: -150px;
    left: -100px;
    animation: pulse-orb 10s ease-in-out infinite reverse;
}

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

/* ===== Main Container ===== */
.coming-soon-container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px;
    max-width: 700px;
    width: 100%;
}

/* ===== Logo ===== */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 40px;
    text-decoration: none;
}

.logo-icon {
    color: var(--brand-primary);
    font-size: 2.5rem;
    filter: drop-shadow(0 0 20px rgba(108, 99, 255, 0.5));
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(108, 99, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 40px rgba(108, 99, 255, 0.8)); }
}

/* ===== Main Heading ===== */
.coming-soon-title {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.coming-soon-title span {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Subtitle ===== */
.coming-soon-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Countdown Timer ===== */
.countdown {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    min-width: 100px;
    transition: all var(--transition);
}

.countdown-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.countdown-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
    margin-bottom: 8px;
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== Email Signup Form ===== */
.notify-form {
    display: flex;
    gap: 12px;
    max-width: 450px;
    margin: 0 auto 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.notify-input {
    flex: 1;
    min-width: 250px;
    padding: 16px 24px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition);
}

.notify-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.15);
}

.notify-input::placeholder {
    color: var(--text-muted);
}

.notify-btn {
    padding: 16px 32px;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.notify-btn:hover {
    background: var(--brand-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

/* ===== Features Preview ===== */
.features-preview {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-item i {
    color: var(--brand-primary);
    font-size: 1.25rem;
}

/* ===== Social Links ===== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* ===== Status Indicator ===== */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(39, 202, 64, 0.1);
    border: 1px solid rgba(39, 202, 64, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: #27ca40;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #27ca40;
    border-radius: 50%;
    animation: status-pulse 2s ease-in-out infinite;
}

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

/* ===== Footer Text ===== */
.coming-soon-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.coming-soon-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.coming-soon-footer a {
    color: var(--brand-primary);
}

.coming-soon-footer a:hover {
    text-decoration: underline;
}

/* ===== Progress Bar ===== */
.progress-section {
    margin-bottom: 48px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.progress-label span:first-child {
    color: var(--text-secondary);
}

.progress-label span:last-child {
    color: var(--brand-primary);
    font-weight: 600;
}

.progress-bar {
    height: 8px;
    background: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    border-radius: 4px;
    transition: width 1s ease-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== Back Link ===== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 24px;
    transition: all var(--transition);
}

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

.back-link i {
    transition: transform var(--transition);
}

.back-link:hover i {
    transform: translateX(-4px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .coming-soon-container {
        padding: 24px;
    }

    .coming-soon-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .countdown {
        gap: 16px;
    }

    .countdown-item {
        padding: 20px 24px;
        min-width: 80px;
    }

    .countdown-value {
        font-size: 2rem;
    }

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

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

    .notify-input {
        min-width: 100%;
    }

    .notify-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    .logo-icon {
        font-size: 2rem;
    }

    .countdown-item {
        padding: 16px 20px;
    }

    .countdown-value {
        font-size: 1.75rem;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }
}
