/*
================================================================================
COMING SOON - PROJECT APP PAGE STYLES
================================================================================
File: apps/coming-soon/coming-soon.css
Purpose: Mysterious, futuristic teaser aesthetic
Theme: Dark mode with neon accents, glitch effects

COLOR PALETTE:
- Deep Space: #0a0a0f
- Neon Purple: #a855f7
- Neon Cyan: #06b6d4
- Electric Pink: #ec4899
- Star White: #f8fafc
================================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&display=swap');

:root {
    --cs-dark: #0a0a0f;
    --cs-darker: #050508;
    --cs-purple: #a855f7;
    --cs-cyan: #06b6d4;
    --cs-pink: #ec4899;
    --cs-white: #f8fafc;
    --cs-gray: #94a3b8;
    --font-space: 'Space Grotesk', sans-serif;
}

.coming-soon-page {
    font-family: var(--font-space);
    background-color: var(--cs-dark);
    color: var(--cs-white);
}

.coming-soon-page .site-header {
    background-color: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.coming-soon-page .nav-link::after {
    background: linear-gradient(90deg, var(--cs-purple), var(--cs-cyan));
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.cs-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

/* Background animation */
.cs-bg-animation {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

.floating-shapes span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--cs-cyan);
    border-radius: 50%;
    animation: float 15s infinite;
    opacity: 0.6;
}

.floating-shapes span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.floating-shapes span:nth-child(2) { left: 30%; top: 60%; animation-delay: 2s; }
.floating-shapes span:nth-child(3) { left: 50%; top: 30%; animation-delay: 4s; }
.floating-shapes span:nth-child(4) { left: 70%; top: 70%; animation-delay: 6s; }
.floating-shapes span:nth-child(5) { left: 85%; top: 40%; animation-delay: 8s; }
.floating-shapes span:nth-child(6) { left: 20%; top: 80%; animation-delay: 10s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-100px) scale(1.5); opacity: 1; }
}

/* Content */
.cs-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

/* Badge */
.cs-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--cs-purple);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 40px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--cs-cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.badge-text {
    font-size: 0.9rem;
    color: var(--cs-cyan);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Glitch Title */
.cs-title {
    margin-bottom: 30px;
}

.glitch {
    display: block;
    font-family: var(--font-space);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cs-white);
    position: relative;
    text-shadow: 
        0 0 10px var(--cs-purple),
        0 0 20px var(--cs-purple),
        0 0 40px var(--cs-purple);
}

.glitch:nth-child(2) {
    color: var(--cs-cyan);
    text-shadow: 
        0 0 10px var(--cs-cyan),
        0 0 20px var(--cs-cyan),
        0 0 40px var(--cs-cyan);
}

/* Tagline */
.cs-tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--cs-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cs-tagline .highlight {
    color: var(--cs-pink);
    font-weight: 600;
}

/* Description */
.cs-description {
    font-size: 1.1rem;
    color: var(--cs-gray);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* Hint Cards */
.hint-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.hint-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 15px 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hint-card:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: var(--cs-purple);
    transform: translateY(-3px);
}

.hint-card.locked {
    opacity: 0.5;
    border-style: dashed;
}

.hint-icon {
    font-size: 1.5rem;
}

.hint-text {
    font-size: 0.95rem;
    color: var(--cs-white);
}

/* ============================================================================
   SIGNUP SECTION
   ============================================================================ */

.cs-signup {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cs-dark) 0%, var(--cs-darker) 100%);
    border-top: 1px solid rgba(168, 85, 247, 0.1);
}

.cs-section-title {
    font-family: var(--font-space);
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--cs-purple), var(--cs-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cs-section-subtitle {
    text-align: center;
    color: var(--cs-gray);
    margin-bottom: 50px;
}

/* Form */
.signup-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .form-group {
        flex-direction: column;
    }
}

.form-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 15px 20px;
    border-radius: 10px;
    color: var(--cs-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--cs-purple);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.form-input::placeholder {
    color: var(--cs-gray);
}

.btn-cs-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, var(--cs-purple), var(--cs-cyan));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-family: var(--font-space);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cs-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-cs-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--cs-gray);
}

/* ============================================================================
   COMPARE SECTION
   ============================================================================ */

.cs-compare {
    padding: 100px 0;
    background-color: var(--cs-dark);
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .compare-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .compare-vs {
        order: -1;
    }
}

.compare-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.compare-old {
    border-color: rgba(239, 68, 68, 0.3);
}

.compare-old h3 {
    color: #ef4444;
    margin-bottom: 25px;
}

.compare-new {
    position: relative;
    border-color: rgba(168, 85, 247, 0.5);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
}

.new-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(90deg, var(--cs-purple), var(--cs-cyan));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.compare-new h3 {
    color: var(--cs-cyan);
    margin-bottom: 25px;
}

.compare-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compare-card li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.1rem;
}

.compare-card li:last-child {
    border-bottom: none;
}

.compare-vs {
    font-family: var(--font-space);
    font-size: 2rem;
    font-weight: 700;
    color: var(--cs-gray);
}

.compare-vs span {
    display: block;
    padding: 20px;
    border: 2px solid var(--cs-gray);
    border-radius: 50%;
}

/* ============================================================================
   FOOTER OVERRIDE
   ============================================================================ */

.cs-footer {
    background-color: var(--cs-darker);
    border-top: 1px solid rgba(168, 85, 247, 0.1);
}

/* ============================================================================
   VISUALLY HIDDEN (for accessibility)
   ============================================================================ */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
