/* Base */
:root {
  --bg: #06070a;
  --card: #0c0f14;
  --muted: #a6b0c3;
  --text: #e9eefb;
  --accent: #7c5cff;
  --accent-2: #00e1d9;
  --primary: #9b5cff;
  --ring: rgba(124, 92, 255, 0.45);
  --success: #27d17f;
}
/* Bright theme variables */
.theme-bright {
  --bg: #0b1020;
  --card: #131a2b;
  --muted: #c7d2fe;
  --text: #ffffff;
  --accent: #9b5cff;
  --accent-2: #22d3ee;
  --primary: #a78bfa;
  --ring: rgba(167, 139, 250, 0.55);
  --success: #34d399;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 10% -10%, rgba(124,92,255,.15), transparent),
              radial-gradient(1000px 700px at 90% 10%, rgba(0,225,217,.12), transparent),
              var(--bg);
  color: var(--text);
}

/* Subtle animated gradient glow at top/bottom */
.hero::before, .hero::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 92vw);
  height: 140px;
  filter: blur(60px);
  z-index: -1;
  opacity: .45;
  background: conic-gradient(from 90deg at 50% 50%, rgba(124,92,255,.35), rgba(0,225,217,.25), rgba(124,92,255,.35));
  animation: rotate 18s linear infinite;
}
.hero::before { top: -60px; }
.hero::after { bottom: -60px; animation-direction: reverse; }
@keyframes rotate { to { transform: translateX(-50%) rotate(1turn); } }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  background: var(--card);
  padding: 8px 12px;
  border-radius: 8px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(1.2) blur(10px);
  background: rgba(6,7,10,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 50;
}
/* Announcement ribbon */
.announce { position: sticky; top: 0; z-index: 60; background: linear-gradient(90deg, rgba(124,92,255,.25), rgba(0,225,217,.2)); border-bottom: 1px solid rgba(255,255,255,0.08); }
.announce-inner { display: grid; grid-auto-flow: column; align-items: center; justify-content: center; gap: 10px; height: 38px; font-weight: 700; }
.announce .blink { padding: 2px 8px; border-radius: 999px; background: rgba(39,209,127,.18); color: #27d17f; font-size: 12px; animation: pulse 1.8s infinite; }
.announce-close { position: absolute; right: 10px; top: 6px; background: transparent; border: 0; color: var(--text); font-size: 20px; cursor: pointer; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 36px; height: 36px; }
.brand-text { font-weight: 800; letter-spacing: 0.2px; color: var(--text); }
.brand-text span { color: var(--accent); }

.nav { display: none; gap: 18px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--text); }
.nav .lang { padding: 6px 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); font-weight: 700; }

.cta-group { display: none; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.btn-lg { height: 48px; padding: 0 18px; border-radius: 12px; }
.btn-primary { background: #00000000; }
.btn-outline { background: #9b5cff; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.16); }
.btn:focus { outline: 2px solid var(--ring); outline-offset: 2px; }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: transparent; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); display: block; border-radius: 2px; }

.mobile-menu { display: grid; gap: 12px; padding: 12px 20px 20px; border-bottom: 1px solid rgba(255,255,255,0.06); background: rgba(6,7,10,0.8); }
.mobile-menu a { color: var(--text); text-decoration: none; }

@media (min-width: 900px) {
  .nav { display: inline-flex; }
  .cta-group { display: inline-flex; }
  .nav-toggle, .mobile-menu { display: none; }
}

/* Hero */
.hero { position: relative; overflow: clip; }
.hero-inner { display: grid; grid-template-columns: 1fr; align-items: center; gap: 28px; padding: 48px 0 32px; }
.hero-badge { display: inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(124,92,255,.12); color: var(--accent); font-weight: 700; letter-spacing: .2px; margin-bottom: 12px; }
.hero h1 { font-size: 32px; line-height: 1.15; margin: 0 0 12px; }
.hero h1 .accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); margin: 0 0 16px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 10px; }
.stat { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 10px; text-align: center; }
.stat-num { font-size: 22px; font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-size: 12px; }
.hero-highlights { display: flex; gap: 12px; color: var(--muted); padding: 0; margin: 0; list-style: none; }
.hero-highlights li { display: inline-flex; align-items: center; gap: 8px; }
.hero-highlights .icon { width: 18px; height: 18px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.hero-highlights li::before { content: ""; width: 8px; height: 8px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 4px rgba(39,209,127,.15); }

.hero-visual { display: grid; place-items: center; }
.phone-frame { width: 280px; aspect-ratio: 9/19.5; border-radius: 36px; padding: 16px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 60px -30px rgba(0,0,0,.6); }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }

.carousel { width: 100%; max-width: 420px; overflow: hidden; margin-top: 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.carousel-track { display: flex; width: 300%; animation: slide 12s linear infinite; }
.carousel img { width: 100%; object-fit: cover; }
@keyframes slide { 0% { transform: translateX(0); } 33% { transform: translateX(-100%); } 66% { transform: translateX(-200%); } 100% { transform: translateX(-300%); } }

.bg-orb { position: absolute; filter: blur(40px); opacity: .65; animation: float 12s ease-in-out infinite; }
.orb-1 { width: 420px; height: 420px; background: radial-gradient(circle at 30% 30%, #7c5cff, transparent 60%); top: -120px; left: -120px; animation-delay: 0s; }
.orb-2 { width: 480px; height: 480px; background: radial-gradient(circle at 70% 70%, #00e1d9, transparent 60%); bottom: -160px; right: -160px; animation-delay: 2s; }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(20px) } }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 40px; padding: 72px 0 48px; }
  .hero h1 { font-size: 54px; }
  .phone-frame { width: 360px; }
}

/* Sections */
.section { padding: 56px 0; }
.section h2 { margin: 0 0 6px; font-size: 28px; }
.section .section-sub { margin: 0 0 24px; color: var(--muted); }

/* Results */
.results-cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
.result-card { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.10); border-radius: 16px; padding: 14px; }
.result-card header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.result-card h3 { margin: 0; font-size: 16px; }
.result-card .updated { color: var(--muted); font-size: 12px; }
.result-card .pair { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.result-card .label { color: var(--muted); font-size: 12px; }
.result-card .value { font-size: 18px; font-weight: 800; }
@media (min-width: 800px) { .results-cards { grid-template-columns: repeat(3, 1fr); } }

.results-table-wrap { overflow-x: auto; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.02); }
.results-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.results-table th, .results-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.results-table thead th { font-size: 12px; color: var(--muted); }
.results-table tbody td { font-size: 14px; }

/* Results Panel */
.section-results-panel .panel-filters { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 16px; }
.panel-filters label { display: grid; gap: 6px; min-width: 0; }
.panel-filters label span { color: var(--muted); font-size: 12px; }
.panel-filters input, .panel-filters select { width: 100%; min-width: 0; height: 44px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: var(--text); padding: 0 42px 0 12px; font-size: 14px; line-height: 1; }
.panel-filters select { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-color: #ffffff; color: #000000; border-color: rgba(0,0,0,.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.panel-filters select option { color: #000000; background: #ffffff; }
.panel-filters input::-ms-input-placeholder { color: var(--muted); }
.panel-filters input::placeholder { color: var(--muted); }
.panel-filters .btn { height: 44px; padding: 0 14px; }
@media (min-width: 680px) { .section-results-panel .panel-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row; }
  #applyFilters, #resetFilters { justify-self: start; }
}
@media (min-width: 980px) { .section-results-panel .panel-filters { grid-template-columns: 1fr 1fr 1fr auto auto; align-items: end; } }

.panel-chart-wrap { border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.02); padding: 12px; margin-bottom: 16px; }
.panel-chart-wrap canvas { display: block; width: 100%; height: 200px; background: transparent; }

.panel-table-wrap { overflow-x: auto; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.02); margin-bottom: 16px; }
.panel-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.panel-table th, .panel-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.panel-table thead th { font-size: 12px; color: var(--muted); }
.panel-table tbody td { font-size: 14px; }
.panel-pagination { display: flex; align-items: center; gap: 10px; padding: 10px; justify-content: center; }

/* Rates */
.rates-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rate-card { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.10); border-radius: 16px; padding: 18px; box-shadow: 0 10px 30px -20px rgba(0,0,0,.6); transition: transform .25s ease, box-shadow .25s ease; }
.rate-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.7); }
.rate-card .card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rate-card h3 { margin: 0; font-size: 16px; color: var(--muted); font-weight: 700; letter-spacing: .3px; }
.icon { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }
/* Accent glow on highlight cards */
.rate-card.highlight { position: relative; }
.rate-card.highlight::after { content: ""; position: absolute; inset: -1px; border-radius: 16px; pointer-events: none; box-shadow: 0 0 0 1px rgba(124,92,255,.35), 0 0 40px -10px var(--ring) inset; }
.rate-card .ratio { margin: 0; font-size: 22px; }
.rate-card .ratio span { color: var(--muted); }
.icon-inr { width: 16px; height: 16px; vertical-align: -2px; margin-right: 4px; }
.rate-card.highlight { border-color: rgba(124,92,255,.35); box-shadow: 0 10px 40px -22px var(--ring); }

@media (min-width: 700px) { .rates-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1000px) { .rates-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* How to play */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.10); border-radius: 16px; padding: 16px; }
.step .num { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center; font-weight: 800; }
.step .step-body { display: grid; gap: 6px; }
.step .step-head { display: inline-flex; align-items: center; gap: 10px; }
.step h3 { margin: 0; font-size: 16px; }
.step p { margin: 0; color: var(--muted); }

/* Micro-interactions */
.btn:hover { transform: translateY(-1px); transition: transform .2s ease; }
.btn-primary:hover { box-shadow: 0 14px 26px -12px var(--ring); }
.acc-item summary:hover { color: var(--text); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* FAQ */
.accordion { display: grid; gap: 12px; }
.acc-item { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.10); border-radius: 14px; padding: 8px 12px; }
.acc-item[open] { border-color: rgba(124,92,255,.35); box-shadow: 0 10px 30px -20px var(--ring); }
.acc-item summary { list-style: none; cursor: pointer; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-content { color: var(--muted); padding: 6px 4px 10px 0; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 24px 0; background: rgba(6,7,10,0.6); }
.footer-inner { display: grid; gap: 16px; align-items: center; grid-template-columns: 1fr; }
.footer-left { display: grid; gap: 8px; align-items: center; }
.footer-cta { display: grid; gap: 12px; }
.contact-links { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.contact-links a { color: var(--text); text-decoration: none; }
.contact-links .dot { color: rgba(255,255,255,0.2); }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1fr auto; } .footer-cta { justify-items: end; } }

/* Reveal animations */
[data-animate] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
[data-animate].in-view { opacity: 1; transform: translateY(0); }

/* Testimonials */
.section-testimonials .testi-slider { overflow: hidden; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.testi-track { display: flex; width: 300%; animation: slide 16s linear infinite; }
.testi { width: 100%; padding: 18px; }
.testi blockquote { margin: 0 0 8px; font-size: 18px; line-height: 1.4; }
.testi figcaption { color: var(--muted); font-weight: 700; }

/* Sticky download bar */
.sticky-bar { position: sticky; bottom: 0; z-index: 55; background: rgba(6,7,10,0.75); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,0.08); }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; }
.sticky-left { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.sticky-left img { width: 28px; height: 28px; }
.sticky-ctas { display: inline-flex; gap: 10px; }

/* Floating WhatsApp */
.float-wa { position: fixed; right: 18px; bottom: 88px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; box-shadow: 0 20px 40px -20px rgba(37,211,102,.6); animation: bounce 2.8s ease-in-out infinite; z-index: 70; }
.float-wa img { width: 28px; height: 28px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
@keyframes bounce { 0%,100%{ transform: translateY(0) } 50% { transform: translateY(-6px) } }

/* Preloader */
.preloader { position: fixed; inset: 0; background: radial-gradient(800px 600px at 50% -10%, rgba(124,92,255,.18), transparent), var(--bg); display: grid; place-items: center; z-index: 100; transition: opacity .4s ease, visibility .4s ease; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.spinner { width: 92px; height: 92px; border-radius: 20px; background: linear-gradient(135deg, rgba(124,92,255,.18), rgba(0,225,217,.18)); display: grid; place-items: center; animation: spin 1.2s linear infinite; }
.spinner img { width: 54px; height: 54px; }
@keyframes spin { to { transform: rotate(1turn); } }

 .cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 20px;
      border-radius: 999px;
      background: var(--brand);
      color: white;
      text-decoration: none;
      font-weight: 600;
      font-size: 16px;
      line-height: 1;
      border: 0;
      box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
      transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    }
    .cta-btn:hover { transform: translateY(-1px); background: var(--brand-dark); }
    .cta-btn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }
    .wa-icon {
      width: 20px; height: 20px; display: inline-block;
    }
