/* ============================================
   WinLogicPro — style.css
   Phase 1: Landing Page
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #090D1A;
  --bg2:       #0F1525;
  --card:      #121C30;
  --card2:     #19243A;
  --border:    #1E2D45;
  --border2:   #263552;
  --accent:    #00E676;
  --accent2:   #FF5722;
  --accent3:   #2979FF;
  --text:      #E8F0FF;
  --muted:     #7A8FAF;
  --muted2:    #4A5A78;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-body); }

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(9, 13, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-logo span { color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn-ghost {
  padding: 8px 18px;
  border: 1px solid var(--border2);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(0,230,118,0.05); }

.btn-primary {
  padding: 9px 20px;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: #000;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 90px 40px 80px;
  text-align: center;
  overflow: hidden;
}

/* subtle grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.25;
  pointer-events: none;
}
/* radial fade over grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 20%, var(--bg) 80%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,230,118,0.07);
  border: 1px solid rgba(0,230,118,0.22);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 96px);
  line-height: 0.92;
  letter-spacing: 3px;
  margin-bottom: 22px;
  animation: fade-up 0.7s ease both;
}
.hero h1 .hl { color: var(--accent); }
.hero h1 .hl2 { color: var(--accent2); }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 38px;
  font-weight: 300;
  animation: fade-up 0.7s 0.15s ease both;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-up 0.7s 0.25s ease both;
}

.btn-hero-primary {
  padding: 14px 32px;
  background: var(--accent);
  color: #000;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  letter-spacing: 0.3px;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-hero-primary:hover { opacity: 0.88; transform: translateY(-2px); }

.btn-hero-secondary {
  padding: 14px 32px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--border2);
  border-radius: 8px;
  transition: border-color 0.2s;
}
.btn-hero-secondary:hover { border-color: var(--accent); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fade-up 0.7s 0.35s ease both;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--accent);
  letter-spacing: 1px;
  line-height: 1;
}
.hero-stat-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ============================================
   LIVE TICKER
   ============================================ */
.ticker-wrap {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 11px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  animation: ticker-scroll 35s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

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

.tick-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  border-right: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
}

.tick-live {
  background: var(--accent2);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.8px;
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.tick-sport {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.tick-teams { font-weight: 600; }
.tick-score { color: var(--accent); font-weight: 700; font-size: 14px; }
.tick-time  { color: var(--muted); font-size: 12px; }

/* ============================================
   SECTION COMMONS
   ============================================ */
.section { padding: 80px 40px; max-width: 1140px; margin: 0 auto; }
.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: 1.5px;
  line-height: 1;
  margin-bottom: 10px;
}
.section-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 500px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.25s, transform 0.2s;
}
.feat-card:hover {
  border-color: rgba(0,230,118,0.3);
  transform: translateY(-3px);
}

.feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.icon-green  { background: rgba(0,230,118,0.1); }
.icon-orange { background: rgba(255,87,34,0.1); }
.icon-blue   { background: rgba(41,121,255,0.1); }

.feat-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}
.feat-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.step {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-right: none; }

.step-num {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--border2);
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.step-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.step-desc {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}
.step-accent { color: var(--accent); font-weight: 600; }

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.2s;
}
.price-card:hover { border-color: var(--border2); }
.price-card.featured {
  background: var(--card2);
  border-color: var(--accent);
  transform: translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.plan-price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 4px;
}
.plan-currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 8px;
}
.plan-amount {
  font-family: var(--font-display);
  font-size: 56px;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--text);
}
.plan-period {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.plan-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features .check { color: var(--accent); font-weight: 700; font-size: 14px; }
.plan-features .cross { color: var(--muted2); font-size: 14px; }
.plan-features .active-feat { color: var(--text); }

.plan-btn {
  width: 100%;
  padding: 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--text);
  transition: all 0.2s;
}
.plan-btn:hover { border-color: var(--accent); color: var(--accent); }
.price-card.featured .plan-btn {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.price-card.featured .plan-btn:hover { opacity: 0.88; }

/* ============================================
   NEWS SECTION
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
}

.news-main {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}
.news-main:hover { border-color: var(--border2); }

.news-main-thumb {
  height: 200px;
  background: linear-gradient(135deg, #0D1B2E 0%, #0F2848 50%, #0A1F3A 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.news-main-thumb::before {
  content: '⚽';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 72px;
  opacity: 0.08;
}

.news-cat {
  display: inline-block;
  background: var(--accent2);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.news-headline {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.5px;
  line-height: 1.15;
  color: var(--text);
}
.news-body { padding: 16px 20px; }
.news-meta { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.news-excerpt { font-size: 13px; color: var(--muted); font-weight: 300; line-height: 1.6; }

.news-side { display: flex; flex-direction: column; gap: 12px; }

.news-mini {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}
.news-mini:hover { border-color: var(--border2); transform: translateX(3px); }
.nm-cat { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.nm-title { font-size: 13px; font-weight: 500; line-height: 1.45; margin-bottom: 5px; color: var(--text); }
.nm-time { font-size: 11px; color: var(--muted); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--card2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 70px 40px;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.cta-banner h2 span { color: var(--accent); }
.cta-banner p { font-size: 16px; color: var(--muted); margin-bottom: 32px; font-weight: 300; }
.cta-banner .btn-hero-primary { font-size: 16px; padding: 16px 40px; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 48px 40px 28px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 10px;
}
.footer-logo span { color: var(--muted); }
.footer-tagline { font-size: 13px; color: var(--muted); font-weight: 300; line-height: 1.6; }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: var(--muted2); }
.footer-legal { font-size: 11px; color: var(--muted2); text-align: right; max-width: 460px; line-height: 1.5; }

/* ============================================
   MOBILE NAV MENU
 
  ============================================ */
  
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 20px;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--text); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid    { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .news-grid     { grid-template-columns: 1fr; }
  .footer-top    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav { padding: 0 20px; }
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 60px 20px 60px; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .section { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid    { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .footer-top    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal  { text-align: left; }
  .cta-banner    { padding: 50px 20px; }
}
@import url('mobile-fixes.css');
