/* ============================================================
   QRMY SPORT — Landing Page 2026
   Modern glassmorphism + dark gradients + fluid animations
   ============================================================ */

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

:root {
    --bg: #0a0a0f;
    --bg-card: rgba(255,255,255,0.03);
    --bg-glass: rgba(255,255,255,0.05);
    --border: rgba(255,255,255,0.08);
    --text: #e4e4e7;
    --text-muted: #a1a1aa;
    --primary: #6366f1;
    --primary-glow: rgba(99,102,241,0.3);
    --accent: #a855f7;
    --gradient: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    --radius: 16px;
    --radius-sm: 10px;
    --font: 'Inter', system-ui, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.5rem; border-radius: 50px;
    font-weight: 600; font-size: .9rem; text-decoration: none;
    transition: all .3s cubic-bezier(.4,0,.2,1); cursor: pointer; border: none;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 20px var(--primary-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--primary-glow); }
.btn-outline { border: 1px solid var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--primary); color: #fff; background: rgba(99,102,241,.1); }
.btn-ghost { color: var(--text-muted); background: transparent; }
.btn-ghost:hover { color: #fff; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* === NAVBAR === */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1rem 0; transition: all .3s;
}
.navbar.scrolled { background: rgba(10,10,15,.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: #fff; }
.logo-icon { font-size: 1.5rem; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; gap: .75rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* === HERO === */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 8rem 0 4rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-gradient { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,.15) 0%, transparent 60%); }
.hero-grid {
    position: absolute; inset: 0; opacity: .04;
    background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-orb {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: .4;
    animation: float 8s ease-in-out infinite;
}
.hero-orb-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; right: -100px; }
.hero-orb-2 { width: 300px; height: 300px; background: var(--accent); bottom: -50px; left: -100px; animation-delay: -4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content { position: relative; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge {
    display: inline-block; padding: .5rem 1.25rem; border-radius: 50px;
    background: var(--bg-glass); border: 1px solid var(--border);
    font-size: .85rem; color: var(--text-muted); margin-bottom: 2rem;
    animation: fadeInUp .8s both;
}
.hero-title {
    font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem;
    animation: fadeInUp .8s .1s both;
}
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2.5rem; animation: fadeInUp .8s .2s both; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeInUp .8s .3s both; }
.hero-stats { display: flex; gap: 3rem; justify-content: center; margin-top: 4rem; animation: fadeInUp .8s .4s both; }
.hero-stat { text-align: center; }
.hero-stat-num { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; }
.hero-stat-label { font-size: .8rem; color: var(--text-muted); }

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

/* === SECTIONS === */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
    display: inline-block; padding: .35rem 1rem; border-radius: 50px;
    background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.2);
    color: var(--primary); font-size: .8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: .05em; margin-bottom: 1rem;
}
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 1rem; }
.section-desc { color: var(--text-muted); font-size: 1.05rem; max-width: 550px; margin: 0 auto; }

/* === FEATURES === */
.features { padding: 8rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.feature-card {
    padding: 2rem; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
    transition: all .3s; position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; inset: 0; opacity: 0;
    background: radial-gradient(circle at 50% 0%, var(--accent) 0%, transparent 70%);
    transition: opacity .3s;
}
.feature-card:hover { border-color: rgba(99,102,241,.3); transform: translateY(-4px); }
.feature-card:hover::before { opacity: .05; }
.feature-icon {
    width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: rgba(99,102,241,.1); color: var(--accent); font-size: 1.3rem; margin-bottom: 1.25rem;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    color: var(--accent);
}
.feature-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; position: relative; }
.feature-card p { color: var(--text-muted); font-size: .9rem; position: relative; }

/* === SCREENSHOTS === */
.screenshots { padding: 8rem 0; background: linear-gradient(180deg, transparent, rgba(99,102,241,.03), transparent); }
.screenshots-tabs { display: flex; justify-content: center; gap: .5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.tab-btn {
    padding: .6rem 1.25rem; border-radius: 50px; border: 1px solid var(--border);
    background: transparent; color: var(--text-muted); font-size: .85rem; font-weight: 500; cursor: pointer;
    transition: all .2s;
}
.tab-btn.active, .tab-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.screenshot-frame {
    border-radius: var(--radius); border: 1px solid var(--border);
    background: rgba(20,20,30,.8); overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.screenshot-topbar {
    display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem;
    background: rgba(255,255,255,.03); border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.screenshot-url { margin-left: 1rem; font-size: .75rem; color: var(--text-muted); background: rgba(255,255,255,.05); padding: .25rem .75rem; border-radius: 4px; }

.screenshot-content { min-height: 400px; position: relative; }
.mock-dashboard { display: none; padding: 1.5rem; animation: fadeIn .4s; }
.mock-dashboard.active { display: flex; gap: 1.5rem; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Mock Sidebar */
.mock-sidebar { width: 180px; flex-shrink: 0; }
.mock-logo { font-weight: 700; font-size: .9rem; padding: .75rem; margin-bottom: 1rem; color: var(--primary); }
.mock-menu-item { padding: .5rem .75rem; border-radius: 8px; font-size: .8rem; color: var(--text-muted); display: flex; align-items: center; gap: .5rem; margin-bottom: .25rem; }
.mock-menu-item.active { background: var(--primary); color: #fff; }

/* Mock Main */
.mock-main { flex: 1; }
.mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: 1.5rem; }
.mock-stat-card {
    padding: 1rem; border-radius: 10px; text-align: center;
    background: rgba(255,255,255,.03); border: 1px solid var(--border);
}
.mock-stat-card span { display: block; font-size: 1.5rem; font-weight: 700; color: var(--c); }
.mock-chart { padding: 1.25rem; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--border); }
.mock-chart-title { font-size: .8rem; color: var(--text-muted); margin-bottom: 1rem; }
.mock-bars { display: flex; align-items: flex-end; gap: .5rem; height: 100px; }
.mock-bar { flex: 1; background: var(--gradient); border-radius: 4px 4px 0 0; animation: growBar 1s ease-out both; }
@keyframes growBar { from { height: 0 !important; } }

/* Brackets Mock */
.mock-dashboard[data-screen="brackets"] { display: none; flex-direction: column; padding: 1.5rem; }
.mock-dashboard[data-screen="brackets"].active { display: flex; }
.mock-bracket-title { font-weight: 600; margin-bottom: 1.5rem; font-size: .95rem; }
.mock-bracket-tree { display: flex; gap: 2rem; align-items: center; overflow-x: auto; }
.mock-round { display: flex; flex-direction: column; gap: 1rem; }
.mock-match { background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 8px; padding: .5rem .75rem; font-size: .75rem; min-width: 130px; }
.mock-match span { display: block; padding: .2rem 0; color: var(--text-muted); }
.mock-match span.w { color: #10b981; font-weight: 600; }
.mock-match.final { border-color: var(--primary); }

/* Live Mock */
.mock-dashboard[data-screen="live"] { display: none; flex-direction: column; align-items: center; justify-content: center; padding: 3rem; }
.mock-dashboard[data-screen="live"].active { display: flex; }
.mock-live { text-align: center; width: 100%; }
.mock-live-badge { display: inline-block; padding: .4rem 1rem; border-radius: 50px; background: rgba(239,68,68,.15); color: #ef4444; font-size: .85rem; font-weight: 600; margin-bottom: 2rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }
.mock-live-match { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; }
.mock-fighter-name { font-size: 1.1rem; font-weight: 600; }
.mock-fighter-score { font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.mock-vs { font-size: .9rem; color: var(--text-muted); font-weight: 700; }
.mock-live-info { color: var(--text-muted); font-size: .85rem; margin-bottom: 1rem; }
.mock-live-next { color: var(--text-muted); font-size: .8rem; }

/* Mobile Mock */
.mock-dashboard[data-screen="mobile"] { display: none; align-items: center; justify-content: center; padding: 2rem; }
.mock-dashboard[data-screen="mobile"].active { display: flex; }
.mock-mobile { display: flex; justify-content: center; }
.mock-phone {
    width: 260px; border-radius: 30px; border: 3px solid rgba(255,255,255,.15);
    background: rgba(20,20,30,.9); padding: 1.5rem; text-align: center;
}
.mock-phone-notch { width: 80px; height: 6px; background: rgba(255,255,255,.1); border-radius: 10px; margin: 0 auto 1.5rem; }
.mock-phone-header { font-weight: 600; font-size: .9rem; margin-bottom: 1.5rem; }
.mock-phone-qr { margin-bottom: 1.5rem; }
.mock-qr-box { width: 120px; height: 120px; margin: 0 auto; border: 2px dashed var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: 600; }
.mock-phone-info { font-size: .8rem; color: var(--text-muted); line-height: 1.8; }
.mock-phone-badge { display: inline-block; padding: .2rem .75rem; background: rgba(16,185,129,.15); color: #10b981; border-radius: 20px; font-size: .75rem; margin-top: .5rem; }

/* === PRICING === */
.pricing { padding: 8rem 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; align-items: start; }
.pricing-card {
    padding: 2.5rem 2rem; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
    position: relative; transition: all .3s;
}
.pricing-card.popular { border-color: var(--primary); background: rgba(99,102,241,.05); transform: scale(1.03); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: .3rem 1rem; border-radius: 50px; background: var(--gradient); color: #fff; font-size: .75rem; font-weight: 600; }
.pricing-name { font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; }
.pricing-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; margin-bottom: .25rem; }
.pricing-price span { font-size: .9rem; font-weight: 400; color: var(--text-muted); }
.pricing-desc { color: var(--text-muted); font-size: .85rem; margin-bottom: 1.5rem; }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li { padding: .5rem 0; font-size: .9rem; color: var(--text-muted); display: flex; align-items: center; gap: .5rem; }
.pricing-features i { color: var(--primary); font-size: .85rem; }

/* === CONTACT === */
.contact { padding: 8rem 0; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info .section-title { text-align: left; }
.contact-info p { color: var(--text-muted); margin: 1rem 0 2rem; }
.contact-methods { display: flex; flex-direction: column; gap: 1rem; }
.contact-methods a {
    display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem;
    border-radius: var(--radius-sm); background: var(--bg-glass); border: 1px solid var(--border);
    text-decoration: none; color: var(--text); transition: all .2s;
}
.contact-methods a:hover { border-color: var(--primary); transform: translateX(4px); }
.contact-methods a i { font-size: 1.5rem; }
.contact-whatsapp i { color: #25d366; }
.contact-email i { color: #6366f1; }
.contact-social i { color: #e1306c; }
.contact-methods strong { display: block; font-size: .9rem; }
.contact-methods span { font-size: .8rem; color: var(--text-muted); }

.contact-form-wrap {
    padding: 2rem; border-radius: var(--radius);
    background: var(--bg-glass); border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.contact-form h3 { font-size: 1.1rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm);
    background: rgba(255,255,255,.05); border: 1px solid var(--border);
    color: var(--text); font-size: .9rem; font-family: var(--font); transition: border-color .2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group select option { background: var(--bg); }

/* === FOOTER === */
.footer { padding: 4rem 0 2rem; border-top: 1px solid var(--border); }
.footer-content { display: flex; justify-content: space-between; align-items: start; margin-bottom: 2rem; }
.footer-brand p { color: var(--text-muted); font-size: .85rem; margin-top: .5rem; max-width: 280px; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid var(--border); text-align: center; }
.footer-bottom p { color: var(--text-muted); font-size: .8rem; }

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25d366; color: #fff; font-size: 1.8rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    animation: bounce 2s ease-in-out infinite;
    text-decoration: none; transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(-110%) translateY(-50%) scale(1); }
.whatsapp-tooltip {
    position: absolute; right: 100%; top: 50%; transform: translateX(-110%) translateY(-50%) scale(.8);
    background: #fff; color: #333; padding: .5rem 1rem; border-radius: 8px;
    font-size: .8rem; font-weight: 600; white-space: nowrap;
    opacity: 0; transition: all .3s; pointer-events: none;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
    .pricing-card.popular { transform: none; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0; background: rgba(10,10,15,.98);
        padding: 2rem; border-bottom: 1px solid var(--border);
    }
    .nav-actions.open { display: flex; position: absolute; top: calc(100% + 200px); left: 0; right: 0; padding: 0 2rem 2rem; background: rgba(10,10,15,.98); }
    .hero-stats { gap: 1.5rem; }
    .hero-stat-num { font-size: 1.4rem; }
    .mock-sidebar { display: none; }
    .mock-stats { grid-template-columns: repeat(2, 1fr); }
    .mock-live-match { flex-direction: column; gap: 1rem; }
    .footer-content { flex-direction: column; gap: 2rem; }
    .footer-links { flex-wrap: wrap; gap: 1rem; }
    .screenshots-tabs { gap: .3rem; }
    .tab-btn { font-size: .75rem; padding: .5rem 1rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
}
