/* ========================================
   0xShunya — Coming Soon
   Modern Dark Theme with Neon Accents
   ======================================== */

/* CSS Custom Properties */
:root {
    --bg-primary: #050510;
    --bg-secondary: #0a0a1a;
    --bg-card: rgba(15, 15, 35, 0.6);
    --bg-card-hover: rgba(20, 20, 50, 0.8);
    
    --text-primary: #e8e8f0;
    --text-secondary: #8888aa;
    --text-muted: #555577;
    
    --accent-cyan: #00f0ff;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-green: #22c55e;
    --accent-whatsapp: #25D366;
    
    --gradient-primary: linear-gradient(135deg, #00f0ff 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-card: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(139, 92, 246, 0.05));
    --gradient-border: linear-gradient(135deg, rgba(0, 240, 255, 0.3), rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3));
    
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Grid Overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    pointer-events: none;
}

/* Floating Orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15), transparent 70%);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%);
    bottom: -5%;
    left: -5%;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.02); }
}

/* Container */
.container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ======== NAVBAR ======== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeSlideDown 0.8s ease forwards;
    animation-delay: 0.2s;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-symbol {
    color: var(--accent-cyan);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.brand-name {
    color: var(--text-primary);
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 100px;
    backdrop-filter: blur(20px);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); }
    50% { opacity: 0.5; box-shadow: 0 0 16px rgba(34, 197, 94, 0.3); }
}

.status-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

/* ======== HERO ======== */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 0;
    gap: 32px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px 8px 12px;
    background: var(--bg-card);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-purple);
    backdrop-filter: blur(16px);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: revealWord 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-word[data-delay="0"] { animation-delay: 0.6s; }
.title-word[data-delay="1"] { animation-delay: 0.75s; }
.title-word[data-delay="2"] { animation-delay: 0.9s; }

.line-1 .title-word,
.line-3 .title-word {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    color: var(--text-primary);
}

.line-2 .title-word.accent {
    font-size: clamp(3rem, 8vw, 6.5rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cursor-blink {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    color: var(--accent-cyan);
    animation: blink 1s step-end infinite;
    opacity: 0;
    animation-delay: 1.5s;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes revealWord {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    max-width: 560px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 1.1s;
}

.highlight {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* ======== CTA GROUP ======== */
.cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 1.3s;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-whatsapp);
    color: #fff;
    box-shadow: 
        0 0 0 0 rgba(37, 211, 102, 0),
        0 8px 32px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 0 0 4px rgba(37, 211, 102, 0.15),
        0 12px 40px rgba(37, 211, 102, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-icon {
    flex-shrink: 0;
}

.btn-arrow {
    transition: transform var(--transition-fast);
    opacity: 0.7;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* Social Buttons */
.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-smooth);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.social-btn:hover {
    color: #fff;
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 240, 255, 0.15);
}

.social-btn:hover::before {
    opacity: 0.15;
}

.social-btn svg {
    position: relative;
    z-index: 1;
}

/* ======== FEATURES ======== */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px 0 60px;
}

.feature-card {
    position: relative;
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    transition: all var(--transition-smooth);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 240, 255, 0.05);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* Feature card stagger animation */
.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:nth-child(1).visible { transition-delay: 0s; }
.feature-card:nth-child(2).visible { transition-delay: 0.1s; }
.feature-card:nth-child(3).visible { transition-delay: 0.2s; }

/* ======== FOOTER ======== */
.footer {
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-brand {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-divider {
    color: var(--text-muted);
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ======== ANIMATIONS ======== */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .navbar {
        padding: 20px 0;
    }

    .nav-status {
        display: none;
    }

    .hero {
        padding: 40px 0;
        gap: 24px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .btn-primary {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 4px;
    }

    .footer-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 1.2rem;
    }
}

/* ======== SCROLLBAR ======== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 240, 255, 0.4);
}

/* Selection */
::selection {
    background: rgba(0, 240, 255, 0.2);
    color: var(--text-primary);
}
