:root {
    --bg: #080c12;
    --surface: #0f1520;
    --s2: #141d2b;
    --cyan: #00d4ff;
    --purple: #a09aff;
    --amber: #f5a623;
    --red: #e05a5a;
    --green: #2ecc71;
    --tx: #e8eaf0;
    --tx2: rgba(232,234,240,0.55);
    --tx3: rgba(232,234,240,0.3);
    --b1: rgba(255,255,255,0.06);
    --b2: rgba(255,255,255,0.1);
    
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--tx);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .logo, .num {
    font-family: var(--font-heading);
}

.cyan { color: var(--cyan); }
.purple { color: var(--purple); }
.pos { color: var(--green); }
.neg { color: var(--red); }
.hidden { display: none !important; }

/* Typography */
a {
    color: inherit;
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--cyan);
    color: #000;
}

.btn-primary:hover {
    background-color: #00bce6;
    transform: translateY(-1px);
}

.btn-ghost {
    background-color: transparent;
    color: var(--tx);
    border: 1px solid var(--b2);
}

.btn-ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.btn.lg {
    padding: 12px 24px;
    font-size: 16px;
}

.btn.sm {
    padding: 6px 12px;
    font-size: 12px;
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(8, 12, 18, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 0.5px solid var(--b1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    user-select: none;
}

.nav-center {
    display: flex;
    gap: 32px;
}

.nav-center a {
    color: var(--tx2);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-center a:hover {
    color: var(--tx);
}

@media (max-width: 600px) {
    .nav-center { display: none; }
    nav { padding: 16px; }
}

/* Hero */
.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    text-align: center;
}

.hero-heading {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    max-width: 800px;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 14px;
    color: var(--tx2);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-actions-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 64px;
}

.store-badges {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.store-badge-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.store-badge {
    height: 48px;
    width: auto;
    object-fit: contain;
    user-select: none;
    transition: transform 0.2s;
}

a.store-badge-wrap:hover .store-badge {
    transform: scale(1.05);
}

.store-badge-wrap.disabled .store-badge {
    opacity: 0.4;
    filter: grayscale(100%);
    cursor: not-allowed;
}

.coming-soon-text {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--tx3);
    margin-top: 0px; 
    letter-spacing: 1px;
}

.play-badge {
    height: 68px; /* Google Play badge often has internal padding in the image */
    margin: -10px 0;
}

/* Phone Carousel */
.phone-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.phone-wrap.visible {
    opacity: 1;
    transform: translateY(0);
}

.phone-frame {
    width: 280px;
    height: 600px;
    border-radius: 36px;
    border: 4px solid rgba(0, 212, 255, 0.25);
    background-color: var(--surface);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 40px rgba(0,212,255,0.1);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.placeholder-slide {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--b1);
}

.badge {
    background: var(--amber);
    color: #000;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: bold;
    align-self: flex-start;
}

.stat {
    font-size: 24px;
    font-weight: bold;
}

.leaderboard-mini {
    margin-top: auto;
    font-size: 12px;
    color: var(--tx2);
    background: var(--s2);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.countdown {
    color: var(--red);
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
}

.chart-mock {
    height: 100px;
    background: linear-gradient(90deg, var(--green) 30%, transparent 30%, transparent 40%, var(--red) 40%, var(--red) 70%, transparent 70%);
    opacity: 0.5;
    border-radius: 4px;
}

.lb-mock {
    margin-top: auto;
    background: var(--s2);
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
}

.carousel-indicators {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    margin-bottom: 12px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background-color: var(--tx3);
    transition: all 0.3s ease;
}

.dot.active {
    width: 20px;
    background-color: var(--cyan);
}

.carousel-label {
    font-size: 12px;
    color: var(--tx2);
    transition: opacity 0.3s ease;
    will-change: opacity;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 600px) {
    .phone-frame {
        width: 200px;
        height: 430px;
        border-radius: 28px;
    }
}

/* Ticker */
.ticker {
    width: 100%;
    overflow: hidden;
    background-color: var(--s2);
    border-top: 0.5px solid var(--b1);
    border-bottom: 0.5px solid var(--b1);
    padding: 12px 0;
    white-space: nowrap;
    position: relative;
}

.ticker-track {
    display: inline-block;
    animation: ticker 22s linear infinite;
}

.ticker-item {
    display: inline-block;
    margin-right: 48px;
    font-size: 14px;
}

.ticker-pair {
    color: var(--tx3);
    margin-right: 8px;
}

.ticker-change {
    margin-left: 8px;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
    }
}

/* Proof Band */
.proof-band {
    background-color: var(--surface);
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
    border-bottom: 0.5px solid var(--b1);
}

.proof-stat {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.proof-stat.visible {
    opacity: 1;
    transform: translateY(0);
}

.proof-stat .num {
    color: var(--cyan);
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 4px;
}

.proof-stat .label {
    color: var(--tx3);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features */
.features {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 20px;
}

.eyebrow {
    color: var(--cyan);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-heading {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    max-width: 600px;
}

.section-sub {
    color: var(--tx2);
    font-size: 16px;
    margin-bottom: 64px;
    max-width: 600px;
}

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

.feat-card {
    background-color: var(--surface);
    border: 0.5px solid var(--b1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.feat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feat-card:hover {
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feat-card.featured {
    grid-column: 1 / -1;
}

@media (min-width: 900px) {
    .feat-card.featured {
        grid-column: span 2;
    }
}

.feat-card.featured:hover {
    border-left: 4px solid var(--cyan);
    border-color: rgba(0, 212, 255, 0.2);
}

.feat-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 24px;
}

.feat-tag {
    display: inline-block;
    background-color: rgba(160, 154, 255, 0.15);
    color: var(--purple);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.feat-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.feat-content p {
    color: var(--tx2);
    font-size: 14px;
}

.edge-score-preview {
    margin-top: 24px;
    background: var(--s2);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.score-main {
    font-size: 48px;
    font-weight: 800;
    color: var(--cyan);
}

.score-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
}

.bar-lbl {
    width: 60px;
    color: var(--tx3);
}

.bar-track {
    flex: 1;
    height: 4px;
    background: var(--b1);
    border-radius: 2px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--cyan);
}

.bar-val {
    width: 20px;
    text-align: right;
    font-weight: bold;
}

/* Waitlist */
.waitlist {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    text-align: center;
}

.badge-pill {
    background: rgba(160, 154, 255, 0.15);
    color: var(--purple);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.waitlist-heading {
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 800;
    margin-bottom: 16px;
    max-width: 500px;
}

.waitlist-body {
    font-size: 16px;
    color: var(--tx2);
    max-width: 380px;
    margin-bottom: 24px;
}

.waitlist-warning {
    color: var(--tx3);
    font-size: 14px;
    margin-bottom: 40px;
}

.waitlist-divider {
    width: 100px;
    height: 1px;
    background: var(--b2);
    border: none;
    margin-bottom: 40px;
}

.waitlist-form {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin-bottom: 32px;
}

.waitlist-form input {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--b2);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--tx);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.waitlist-form input:focus {
    border-color: var(--cyan);
}

.waitlist-msg {
    color: var(--purple);
    font-size: 14px;
    font-weight: 500;
    margin-top: -16px;
    margin-bottom: 24px;
}

.waitlist-hints {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.hint-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--tx2);
    font-size: 13px;
}

.dot-prefix {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: var(--purple);
}

@media (max-width: 600px) {
    .waitlist-form {
        flex-direction: column;
    }
    .waitlist-hints {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Footer */
footer {
    border-top: 0.5px solid var(--b1);
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left .logo-img {
    height: 24px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: opacity 0.2s, filter 0.2s;
}

.footer-left .logo-img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.footer-center {
    display: flex;
    gap: 24px;
}

.footer-center a {
    color: var(--tx2);
    font-size: 14px;
}

.footer-center a:hover {
    color: var(--tx);
}

.footer-right {
    color: var(--tx3);
    font-size: 12px;
}

@media (max-width: 600px) {
    footer {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

/* Blog Specific Styles */
.blog-body {
    max-width: 720px;
    margin: 32px auto 64px;
    padding: 0 20px;
    color: var(--tx2);
    font-size: 18px;
    line-height: 1.75;
}

.blog-body h1 {
    color: #fff;
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 800;
}

.blog-body h2 {
    color: #fff;
    font-size: 28px;
    margin-top: 48px;
    margin-bottom: 16px;
    font-weight: 700;
}

.blog-body h3 {
    color: #fff;
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: 600;
}

.blog-body p {
    margin-bottom: 24px;
}

.blog-body strong {
    color: #fff;
    font-weight: 600;
}

.blog-body ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.blog-body li {
    margin-bottom: 12px;
}

.blog-body hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 48px 0;
}

.blog-body a {
    color: var(--cyan);
    text-decoration: none;
}

.blog-body a:hover {
    text-decoration: underline;
}

.blog-body .cta-block {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin-top: 64px;
}

.blog-body .cta-block h3 {
    margin-top: 0;
    color: var(--cyan);
}

.blog-body .cta-block .btn {
    margin-top: 16px;
}

.blog-hero {
    max-width: 720px;
    margin: 80px auto 32px;
    padding: 0 20px;
}

.blog-tag {
    color: var(--cyan);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.blog-title {
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.blog-meta {
    color: var(--tx2);
    font-size: 15px;
}

.blog-divider {
    max-width: 720px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 32px;
    }
}
