@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --blue-primary: #0052d4;
  --blue-sky: #1a75ff;
  --blue-dark: #071430;
  --blue-card: #0d1f47;
  --mario-red: #e60012;
  --mario-red-dark: #b8000e;
  --coin-gold: #ffcc00;
  --coin-gold-dark: #e6b800;
  --bg-light: #f3f7ff;
  --white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --border-soft: rgba(0, 82, 212, 0.12);
  --shadow-sm: 0 6px 20px rgba(7, 20, 48, 0.06);
  --shadow-lg: 0 18px 40px rgba(0, 82, 212, 0.14);
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 20, 48, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(255, 204, 0, 0.25);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-badge {
  background: linear-gradient(135deg, var(--blue-sky), var(--blue-primary));
  color: var(--coin-gold);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 204, 0, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 14.5px;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--coin-gold);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  border-radius: 999px;
  background: var(--coin-gold);
}

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

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-red {
  background: linear-gradient(135deg, var(--mario-red), var(--mario-red-dark));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(230, 0, 18, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, var(--coin-gold), var(--coin-gold-dark));
  color: var(--blue-dark);
  box-shadow: 0 8px 20px rgba(255, 204, 0, 0.35);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue-sky), var(--blue-primary));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 82, 212, 0.3);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue-primary);
  border: 2px solid var(--blue-primary);
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at top right, #1a75ff 0%, #0052d4 45%, #071430 100%);
  color: var(--white);
  padding: 72px 0 84px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.22), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 204, 0, 0.16);
  border: 1px solid rgba(255, 204, 0, 0.45);
  color: var(--coin-gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--coin-gold);
}

.hero p {
  font-size: 16.5px;
  color: #dbeafe;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-card {
  background: rgba(7, 20, 48, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-size: 20px;
  color: var(--coin-gold);
  font-family: 'Fredoka', sans-serif;
}

.stat-box span {
  font-size: 12px;
  color: #cbd5e1;
}

/* Banner Strip */
.banner-strip {
  margin: 28px auto 0;
  max-width: 720px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 204, 0, 0.5);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-tag {
  display: inline-block;
  background: rgba(0, 82, 212, 0.1);
  color: var(--blue-primary);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 15.5px;
}

/* Cards Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-sky), var(--blue-primary));
  color: var(--coin-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 20px;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* Interactive Work-Mode Tabs */
.tabs-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  justify-content: center;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border-soft);
  background: var(--bg-light);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--blue-sky), var(--blue-primary));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(0, 82, 212, 0.25);
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

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

/* Interactive Simulator / Calculator */
.calc-box {
  background: linear-gradient(145deg, var(--blue-dark), var(--blue-card));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #cbd5e1;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
}

.form-control option {
  color: var(--text-dark);
}

.form-control-light {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border-soft);
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 15px;
  font-family: inherit;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.result-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 204, 0, 0.25);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.result-item span {
  display: block;
  font-size: 12px;
  color: #94a3b8;
}

.result-item strong {
  font-size: 18px;
  color: var(--coin-gold);
}

/* RTP Cards */
.rtp-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}

.rtp-bar-bg {
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin: 10px 0;
}

.rtp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-sky), var(--coin-gold));
  border-radius: 999px;
}

/* FAQ Accordion */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--blue-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 14.5px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Page Sub-Hero */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: #dbeafe;
  max-width: 640px;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  background: var(--blue-dark);
  color: #cbd5e1;
  padding: 56px 0 28px;
  border-top: 3px solid var(--coin-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--coin-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #94a3b8;
}

/* Meta Ads Dedicated Landing Pages */
.ads-body {
  background: radial-gradient(circle at top center, #0d2b6b 0%, #071430 65%);
  color: var(--white);
  min-height: 100vh;
}

.ads-header {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 204, 0, 0.25);
  background: rgba(7, 20, 48, 0.85);
  backdrop-filter: blur(10px);
}

.ads-hero {
  padding: 40px 0 32px;
}

.ads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.ads-banner-1x1 {
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid var(--coin-gold);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  aspect-ratio: 1 / 1;
}

.ads-banner-1x1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ads-cta-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
}

.ads-cta-stack .btn {
  padding: 16px 20px;
  font-size: 16px;
}

.pulse-btn {
  animation: pulseGlow 2.2s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(230, 0, 18, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(230, 0, 18, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 0, 18, 0); }
}

.ads-card-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 22px;
}

.ticker-bar {
  background: rgba(255, 204, 0, 0.12);
  border: 1px solid rgba(255, 204, 0, 0.3);
  color: var(--coin-gold);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 20px;
}

.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(7, 20, 48, 0.96);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--coin-gold);
  padding: 12px 16px;
  z-index: 999;
  gap: 10px;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--blue-dark);
  color: var(--coin-gold);
  border: 1px solid var(--coin-gold);
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 2000;
}

/* Responsive */
@media (max-width: 920px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .tab-panel.active,
  .footer-grid,
  .ads-grid {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    padding: 20px;
    border-bottom: 2px solid var(--coin-gold);
  }

  .mobile-toggle {
    display: inline-block;
  }

  .sticky-mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ads-body {
    padding-bottom: 76px;
  }
}

@media (max-width: 560px) {
  .stat-row,
  .result-grid,
  .ads-cta-stack {
    grid-template-columns: 1fr;
  }
}
