@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #050B14;
  --bg-card: #0A111F;
  --bg-card-hover: #0F1829;
  --text-main: #ffffff;
  --text-muted: #A0ABC0;
  --accent-cyan: #D4AF37;
  --accent-purple: #4DA8DA;
  --gradient-main: linear-gradient(90deg, #D4AF37, #E5C158);
  --border-color: rgba(255, 255, 255, 0.08);
  --font-family: 'Inter', sans-serif;
  --border-radius: 12px;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center top;
}

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

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 18px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--gradient-main);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav a:hover { color: var(--text-main); }

.lang-switch {
  font-weight: 700;
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s;
}
.lang-switch:hover { border-color: var(--accent-cyan); color: var(--accent-cyan) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: #0A111F;
  border-top: 1px solid var(--border-color);
  padding: 10px 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 14px 20px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { background: rgba(255,255,255,0.04); color: #fff; }
.mobile-menu .mobile-download {
  background: var(--gradient-main);
  color: #050B14 !important;
  font-weight: 700;
  margin: 10px 20px;
  border-radius: 10px;
  text-align: center;
  border-bottom: none;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer; border: none; gap: 10px;
}
.btn-primary {
  background: var(--gradient-main);
  color: #050B14;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.05); }

/* Text Gradient */
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Typography */
h1 { font-size: 56px; line-height: 1.1; font-weight: 800; margin-bottom: 20px; letter-spacing: -1px; }
h2 { font-size: 42px; font-weight: 800; margin-bottom: 20px; text-align: center; letter-spacing: -0.5px; }
.subtitle { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; max-width: 600px; }

/* ========== HERO ========== */
.hero {
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-content { max-width: 550px; }
.badge {
  display: inline-flex;
  align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 13px; font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  flex-shrink: 0;
}
.hero-buttons { display: flex; gap: 15px; margin-bottom: 50px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; }
.stat-item h3 { font-size: 32px; font-weight: 800; color: var(--accent-cyan); margin-bottom: 5px; }
.stat-item p { font-size: 13px; color: var(--text-muted); }

.hero-visual {
  position: relative;
  width: 440px; height: 480px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.glow-sphere {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
}

/* ========== FEATURES ========== */
.features { padding: 80px 0; background: var(--bg-card); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 35px 28px;
  transition: all 0.3s ease;
}
.feature-card:hover { background: var(--bg-card-hover); transform: translateY(-5px); }
.feature-icon {
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}

/* ========== REVIEWS ========== */
.reviews { padding: 80px 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 28px;
}
.review-stars { color: #D4AF37; font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }
.review-text { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: #050B14;
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 14px; }
.review-meta { font-size: 12px; color: var(--text-muted); }

/* ========== LOCATIONS ========== */
.locations { padding: 80px 0; background: var(--bg-card); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.locations-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.location-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px 14px;
  display: flex; align-items: center; gap: 12px;
  transition: all 0.3s;
}
.location-card:hover { border-color: rgba(212,175,55,0.4); transform: translateY(-2px); }
.location-flag { font-size: 24px; }
.location-name { font-size: 13px; font-weight: 500; }
.location-ping { font-size: 11px; color: #4CAF50; }

/* ========== DOWNLOAD ========== */
.download-section { padding: 80px 0; }
.download-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.download-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.store-btn {
  display: flex;
  align-items: center; gap: 12px;
  padding: 12px 22px;
  background: #fff;
  color: #000;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
  min-width: 160px;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,255,255,0.15); }
.store-btn-text { line-height: 1.2; }
.store-btn-label { font-size: 10px; text-transform: uppercase; color: #555; display: block; }
.store-btn-name { font-size: 17px; font-weight: 800; }

.qr-box {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.qr-code-wrap {
  width: 180px; height: 180px;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
}
.qr-code-wrap img { width: 100%; height: 100%; border-radius: 8px; }

/* ========== FAQ ========== */
.faq-section { padding: 80px 0; }
.faq-body { display: none; }
.faq-item.active .faq-body { display: block; }
.faq-item.active .faq-header span { transform: rotate(45deg); }
.faq-header span { transition: transform 0.3s ease; display: inline-block; flex-shrink: 0; }

/* ========== FOOTER ========== */
.footer {
  background: #080F1C;
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }

/* ========== MODALS ========== */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: all 0.3s ease; z-index: 999;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--bg-color); border: 1px solid var(--border-color);
  border-radius: 16px; padding: 40px; width: 100%; max-width: 450px;
  text-align: center; transform: translateY(20px); transition: all 0.3s ease;
  margin: 20px;
}
.modal-overlay.active .modal { transform: translateY(0); }

/* ========== SCROLL REVEAL ========== */
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease-out; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

/* ================================================
   MOBILE RESPONSIVE — @media queries
   ================================================ */

/* Tablets (≤ 1024px) */
@media (max-width: 1024px) {
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  .hero { gap: 30px; }
  .hero-visual { width: 350px; height: 380px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(4, 1fr); }
  .download-inner { gap: 30px; }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  /* Header */
  .nav { display: none; }
  .header-download-btn { display: none !important; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { flex-direction: column; padding: 50px 0 40px; gap: 40px; }
  .hero-content { max-width: 100%; text-align: center; }
  h1 { font-size: 36px; letter-spacing: -0.5px; }
  .subtitle { font-size: 16px; max-width: 100%; margin-left: auto; margin-right: auto; }
  .badge { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-buttons .btn { flex: 1; min-width: 140px; max-width: 200px; justify-content: center; }
  .hero-stats { justify-content: center; gap: 24px; }
  .stat-item h3 { font-size: 26px; }
  .hero-visual { width: 100% !important; height: auto !important; min-height: 240px !important; margin: 0 auto; }
  #globeViz { width: 240px !important; height: 240px !important; min-height: 240px !important; margin: 0 auto; }

  /* IP Widget Mobile Fix */
  #ipWidget {
    flex-direction: row !important;
    gap: 8px !important;
    padding: 10px 14px !important;
    text-align: left;
    max-width: 95% !important;
    margin: -15px auto 40px !important;
  }
  #ipWidget > div:nth-child(3) {
    width: 1px !important;
    height: 20px !important;
    margin: 0 6px !important;
  }
  #userIP, #ipStatus { font-size: 12px !important; }

  /* Phone Mockup — smaller on mobile */
  .phone-mockup { width: 200px !important; height: 380px !important; }

  /* Sections */
  .features { padding: 50px 0; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 24px 20px; }

  .reviews { padding: 50px 0; }
  .reviews-grid { grid-template-columns: 1fr; gap: 16px; }

  .locations { padding: 50px 0; }
  .locations-grid { grid-template-columns: 1fr; gap: 12px; }
  .location-card { padding: 12px 14px; }

  /* Download Section */
  .download-section { padding: 50px 0; }
  .download-inner { flex-direction: column; align-items: flex-start; }
  .download-buttons { width: 100%; }
  .store-btn { flex: 1; min-width: 140px; justify-content: center; }
  .qr-box { display: none; } /* Hide QR on mobile - not useful */

  /* FAQ */
  .faq-section { padding: 50px 0; }
  h2 { font-size: 28px; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

/* Small Mobile (≤ 480px) */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .subtitle { font-size: 15px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { max-width: 100%; text-align: center; justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-item { min-width: 90px; text-align: center; }
  .locations-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .store-btn { flex-direction: column; text-align: center; gap: 4px; }
  .btn { padding: 13px 20px; font-size: 14px; }
}
