/* ===================================
   POLYCORD - COMING SOON PAGE
   Modern Anime / Cyber Aesthetic
   =================================== */

/* === CSS RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary-blue: #2E5CFF;
    --white: #FFFFFF;
    --black: #000000;
    
    /* Additional Shades */
    --bg-dark: #0A0B10;
    --bg-darker: #050508;
    --blue-light: #5B7FFF;
    --blue-dark: #1E3FCC;
    --gray: #8B8B9E;
    --gray-light: #C4C4D6;
    
    /* Glow Effects */
    --glow-primary: 0 0 20px rgba(46, 92, 255, 0.3),
                     0 0 40px rgba(46, 92, 255, 0.2),
                     0 0 60px rgba(46, 92, 255, 0.1);
    --glow-strong: 0 0 30px rgba(46, 92, 255, 0.6),
                    0 0 60px rgba(46, 92, 255, 0.4),
                    0 0 90px rgba(46, 92, 255, 0.2);
    
    /* Typography */
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Orbitron', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-darker);
    color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* === ANIMATED BACKGROUND === */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(ellipse at top, #0d1117 0%, #000000 100%);
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-blue), transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--blue-light), transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary-blue), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(46, 92, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 92, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

/* === FLOATING PARTICLES === */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-blue);
    animation: particleFloat 15s infinite ease-in-out;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 40%; left: 80%; animation-delay: -2s; }
.particle:nth-child(3) { top: 60%; left: 20%; animation-delay: -4s; }
.particle:nth-child(4) { top: 80%; left: 70%; animation-delay: -6s; }
.particle:nth-child(5) { top: 30%; left: 50%; animation-delay: -8s; }
.particle:nth-child(6) { top: 70%; left: 90%; animation-delay: -10s; }
.particle:nth-child(7) { top: 50%; left: 30%; animation-delay: -12s; }
.particle:nth-child(8) { top: 90%; left: 40%; animation-delay: -14s; }

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) translateX(20px);
        opacity: 0.8;
    }
}

/* === MAIN CONTAINER === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* === HERO SECTION === */
.hero {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out;
}

/* Logo */
.logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.logo-text {
    background: linear-gradient(135deg, var(--white) 0%, var(--blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(46, 92, 255, 0.3);
}

.logo-accent {
    font-size: 0.7em;
    filter: drop-shadow(0 0 10px rgba(255, 183, 213, 0.5));
    animation: float 3s ease-in-out infinite;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(46, 92, 255, 0.2), transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

/* Tagline */
.tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 30px;
    letter-spacing: -0.01em;
}

/* Description */
.description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--gray-light);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* === FEATURES SECTION === */
.features {
    width: 100%;
    max-width: 900px;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Feature Cards */
.feature-card {
    background: rgba(10, 11, 16, 0.6);
    border: 1px solid rgba(46, 92, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--glow-primary);
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 92, 255, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover .card-glow {
    opacity: 1;
}

/* Card Header */
.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.card-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.card-title {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary-blue);
    text-transform: uppercase;
}

/* Feature List */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--white);
    transition: transform 0.3s ease;
}

.feature-list li:hover {
    transform: translateX(5px);
}

.bullet {
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-blue);
    flex-shrink: 0;
}

/* === CTA SECTION === */
.cta-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* Launch Badge */
.launch-badge {
    position: relative;
    display: inline-block;
}

.badge-text {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary-blue);
    text-transform: uppercase;
    padding: 12px 30px;
    border: 2px solid var(--primary-blue);
    border-radius: 30px;
    display: inline-block;
    position: relative;
    z-index: 1;
    background: rgba(46, 92, 255, 0.05);
}

.badge-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-blue);
    border-radius: 30px;
    animation: pulse 2s ease-out infinite;
}

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

/* CTA Button */
.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    background: var(--primary-blue);
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(46, 92, 255, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-strong);
    background: var(--blue-light);
}

.cta-button:active {
    transform: translateY(-1px);
}

.button-text {
    position: relative;
    z-index: 1;
}

.button-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-icon {
    transform: translateX(5px);
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cta-button:hover .button-glow {
    opacity: 1;
}

/* === FOOTER === */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 20px;
    z-index: 10;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(46, 92, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--gray);
    letter-spacing: 0.02em;
}

.contract-address {
    font-family: monospace;
    color: var(--gray-light);
    letter-spacing: 0.05em;
}

/* === CURSOR GLOW (Optional Enhancement) === */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 92, 255, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
    filter: blur(40px);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }
    
    .hero {
        margin-bottom: 60px;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.3rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 16px 40px;
    }
    
    .footer {
        padding: 20px 15px;
    }
    
    .footer-text {
        font-size: 0.75rem;
    }
    
    /* Hide cursor glow on mobile */
    .cursor-glow {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
        gap: 10px;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .card-title {
        font-size: 0.8rem;
    }
    
    .feature-list li {
        font-size: 1rem;
    }
}

/* === UTILITY CLASSES === */
.text-gradient {
    background: linear-gradient(135deg, var(--white) 0%, var(--blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === LOADING STATE (Optional) === */
body.loading {
    overflow: hidden;
}

body.loading .container {
    opacity: 0;
}
