/* Base Styles & Typography */
:root {
    --bg-color: #0d0e15;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --accent-primary: #6366f1;
    --accent-secondary: #ec4899;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s infinite alternate;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-primary), transparent 70%);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-secondary), transparent 70%);
    bottom: -200px;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #3b82f6, transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Glassmorphism Utilities */
.glass-header, .glass-card, .glass-panel, .glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.glass-card {
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    font-size: 0.95rem;
    font-weight: 600;
}

nav a:hover {
    color: var(--accent-secondary);
}

/* Buttons */
.btn-primary, .btn-primary-small {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.btn-primary:hover, .btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Main Sections */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(to right, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    margin-top: -2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    min-height: 80vh;
    gap: 4rem;
    margin-top: 2rem;
}

.hero-content {
    flex: 1;
    padding: 3rem;
    border-radius: 30px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

/* Abstract Mockup */
.hero-visual {
    flex: 1;
}

.mockup {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.mockup-header {
    height: 30px;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 8px;
}

.mockup-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ef4444;
}
.mockup-header span:nth-child(2) { background: #eab308; }
.mockup-header span:nth-child(3) { background: #22c55e; }

.mockup-body {
    display: flex;
    flex: 1;
}

.mockup-sidebar {
    width: 25%;
    background: rgba(255,255,255,0.02);
    border-right: 1px solid var(--glass-border);
}

.mockup-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-item {
    height: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    animation: pulse 2s infinite alternate;
}

.mockup-item:nth-child(2) { animation-delay: 0.5s; }
.mockup-item:nth-child(3) { animation-delay: 1s; }

@keyframes pulse {
    0% { opacity: 0.4; }
    100% { opacity: 0.8; }
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* Features/Problem cards */
.problem-section, .solution-section, .cta-section {
    padding: 6rem 0;
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.problem-card p {
    color: var(--text-secondary);
}

/* Solution section */
.feature-showcase {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-secondary);
    font-weight: bold;
}

.feature-graphic {
    flex: 1;
    height: 350px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.graphic-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px dashed var(--accent-primary);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.graphic-element {
    position: absolute;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.e1 { top: 20%; left: 10%; }
.e2 { top: 50%; right: 10%; }
.e3 { bottom: 20%; left: 30%; }

/* Social Proof */
.social-proof {
    padding: 4rem 0;
}

.social-proof .glass-panel {
    border-radius: 30px;
    padding: 4rem 2rem;
}

.avatars {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    border: 3px solid var(--bg-color);
    margin-left: -15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.avatar:first-child { margin-left: 0; }

/* Portals */
.hover-lift:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
}

.portal-card h3 {
    margin-bottom: 0.5rem;
}

.portal-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding: 2rem 5%;
    display: flex;
    justify-content: center;
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    margin-left: 1.5rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-section, .feature-showcase {
        flex-direction: column;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

/* Countdown Timer */
.countdown-container {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    display: inline-block;
}

.countdown-label {
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-bottom: 0.8rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.pixel-timer {
    display: flex;
    gap: 1.5rem;
    font-family: 'VT323', monospace;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-box span:first-child {
    font-size: 3.5rem;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
}

.time-box span:last-child {
    font-size: 1rem;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--accent-primary);
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from { bottom: -100px; opacity: 0; }
    to { bottom: 2rem; opacity: 1; }
}

.cookie-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.cookie-actions .btn-secondary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 1rem;
        width: 95%;
        padding: 1rem;
    }
    .cookie-actions {
        flex-direction: column;
    }
    .cookie-actions button {
        width: 100%;
    }
}
