:root {
    --primary: #00FF88;
    --primary-glow: rgba(0, 255, 136, 0.4);
    --secondary: #6366f1;
    --dark-bg: #0A0E27;
    --card-bg: #131735;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Backgrounds */
.bg-gradient {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(10, 14, 39, 0) 70%);
    z-index: -1;
    filter: blur(80px);
}

.bg-mesh {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-download-sm {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Hero */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 60px 5%;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.badge-new {
    display: inline-block;
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.btn-store img {
    height: 50px;
    transition: transform 0.2s;
}

.btn-store img:hover {
    transform: scale(1.05);
}

.live-stats-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Hero Visual & Phone Mockup */
.hero-visual {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #333;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.screen-content {
    background: #1e1e1e;
    height: 100%;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.debate-card {
    background: #2a2a2a;
    border-radius: 16px;
    padding: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.debate-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.option-bar {
    height: 40px;
    background: #333;
    border-radius: 8px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    /* JS will animate */
    opacity: 0.8;
    transition: width 1s ease-out;
}

.option-label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    z-index: 2;
}

.option-percent {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.float-1 {
    top: 20%;
    left: -20px;
    animation-delay: 0s;
}

.float-2 {
    bottom: 20%;
    right: -20px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Features */
.features {
    padding: 80px 5%;
    background: #0f122e;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Live Pulse */
.live-pulse {
    padding: 80px 5%;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.trending-item {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    display: flex;
    gap: 15px;
    align-items: center;
}

.trending-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.trending-content {
    flex: 1;
}

.trending-item h4 {
    margin-bottom: 5px;
}

.trending-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 40px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
}

.socials {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.socials a {
    color: white;
    text-decoration: none;
}