/* =========================================
   ROOT VARIABLES & RESET
   ========================================= */
:root {
  --teal:        #0d9488;
  --teal-dark:   #0f766e;
  --teal-light:  #ccfbf1;
  --blue:        #0369a1;
  --blue-dark:   #075985;
  --blue-light:  #e0f2fe;
  --green:       #059669;
  --gradient:    linear-gradient(135deg, #0369a1 0%, #0d9488 50%, #059669 100%);
  --gradient-h:  linear-gradient(90deg,  #0369a1 0%, #0d9488 100%);
  --text:        #0f172a;
  --text-muted:  #64748b;
  --surface:     #f8fafc;
  --white:       #ffffff;
  --border:      #e2e8f0;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.08);
  --shadow-md:   0 4px 20px rgba(3,105,161,.12);
  --shadow-lg:   0 12px 40px rgba(3,105,161,.18);
  --header-h:    68px;
  --max-w:       1160px;
  --transition:  .25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =========================================
   UTILITIES
   ========================================= */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-sub { margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .9375rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-h);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(13,148,136,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(13,148,136,.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

/* =========================================
   STICKY HEADER
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  background: var(--gradient-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-h);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { color: white; }

/* Nav */
.nav { display: flex; align-items: center; gap: 8px; }

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--teal);
  background: var(--teal-light);
}

.nav-cta {
  margin-left: 8px;
  padding: 9px 22px;
  border-radius: 100px;
  background: var(--gradient-h);
  color: var(--white);
  font-weight: 600;
  font-size: .875rem;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(13,148,136,.3);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,148,136,.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.45);
}
.mobile-overlay.open { display: block; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: 280px;
  height: 100%;
  background: var(--white);
  z-index: 1000;
  padding: 24px;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform var(--transition);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu .nav-link {
  display: block;
  font-size: 1rem;
  padding: 12px 16px;
}
.mobile-menu .nav-cta {
  display: block;
  text-align: center;
  margin-top: 8px;
  padding: 13px;
}
.mobile-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* =========================================
   SECTION 1 — HERO
   ========================================= */
.hero {
  background: var(--gradient);
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}

/* Subtle grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 span {
  position: relative;
  display: inline-block;
}
.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 4px;
  background: rgba(255,255,255,.35);
  border-radius: 2px;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}

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

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 48px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-stat {
  flex: 1;
  padding: 20px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.14);
}
.hero-stat:last-child { border-right: none; }
.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
}
.hero-stat span {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 380px;
}
.hero-card-title {
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.bingo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.bingo-cell {
  aspect-ratio: 1;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}
.bingo-cell.marked {
  background: rgba(255,255,255,.9);
  color: var(--teal-dark);
}
.bingo-cell.free {
  background: #4ade80;
  color: #052e16;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.hero-card-footer {
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  text-align: center;
}

/* =========================================
   SECTION 2 — FEATURES
   ========================================= */
.features {
  padding: 100px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--teal);
}
.feature-card:nth-child(2) .feature-icon { background: var(--blue-light); color: var(--blue); }
.feature-card:nth-child(3) .feature-icon { background: #dcfce7; color: var(--green); }
.feature-card:nth-child(4) .feature-icon { background: #fef9c3; color: #b45309; }
.feature-card:nth-child(5) .feature-icon { background: #fce7f3; color: #be185d; }
.feature-card:nth-child(6) .feature-icon { background: #ede9fe; color: #7c3aed; }

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =========================================
   SECTION 3 — HOW IT WORKS
   ========================================= */
.how-it-works {
  padding: 100px 0;
  background: var(--surface);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

/* Connecting line */
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.6% + 20px);
  right: calc(16.6% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--blue) 100%);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 72px;
  height: 72px;
  background: var(--gradient-h);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin: 0 auto 24px;
  box-shadow: 0 6px 20px rgba(13,148,136,.3);
  border: 4px solid var(--white);
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-desc {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =========================================
   SECTION 4 — STATS
   ========================================= */
.stats-section {
  padding: 80px 0;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,.07) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat-item {
  background: rgba(255,255,255,.06);
  padding: 44px 24px;
  text-align: center;
  transition: var(--transition);
}
.stat-item:hover { background: rgba(255,255,255,.12); }

.stat-number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

/* =========================================
   SECTION 5 — TESTIMONIALS
   ========================================= */
.testimonials {
  padding: 100px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}
.star {
  width: 16px; height: 16px;
  color: #f59e0b;
}

.testimonial-text {
  font-size: .9375rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-h);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: .875rem;
  flex-shrink: 0;
}
.author-name {
  font-weight: 700;
  font-size: .9375rem;
}
.author-location {
  font-size: .8125rem;
  color: var(--text-muted);
}

/* =========================================
   SECTION 6 — CTA
   ========================================= */
.cta-section {
  padding: 100px 0;
  background: var(--surface);
}

.cta-box {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 72px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  top: -120px; right: -80px;
  pointer-events: none;
}
.cta-box::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  bottom: -100px; left: -60px;
  pointer-events: none;
}

.cta-box .section-tag {
  background: rgba(255,255,255,.2);
  color: var(--white);
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 100px;
  border: none;
  font-size: .9375rem;
  outline: none;
  background: rgba(255,255,255,.92);
  color: var(--text);
}
.cta-form input::placeholder { color: var(--text-muted); }
.cta-form .btn-primary {
  background: rgba(255,255,255,.95);
  color: var(--teal-dark);
  box-shadow: none;
}
.cta-form .btn-primary:hover {
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: #0c1a2e;
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .logo {
  -webkit-text-fill-color: unset;
  background: none;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand-text {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  max-width: 300px;
  margin-bottom: 24px;
}

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}
.social-link:hover {
  background: var(--teal);
  color: var(--white);
}

.footer-col-title {
  font-weight: 700;
  color: var(--white);
  font-size: .9375rem;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--teal-light); padding-left: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-bottom a:hover { color: var(--teal-light); }

/* =========================================
   INNER PAGES (Privacy / T&C)
   ========================================= */
.page-hero {
  background: var(--gradient);
  padding: 64px 0 52px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
}
.page-hero p {
  color: rgba(255,255,255,.75);
  font-size: 1rem;
}

.page-content {
  padding: 72px 0 100px;
  background: var(--white);
}
.page-content .container { max-width: 780px; }

.page-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin: 44px 0 14px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content p, .page-content li {
  font-size: .9625rem;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 14px;
}
.page-content ul {
  padding-left: 24px;
  list-style: disc;
  margin-bottom: 14px;
}
.page-content a {
  color: var(--teal);
  text-decoration: underline;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner            { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual           { display: none; }
  .steps                 { grid-template-columns: 1fr; gap: 28px; }
  .steps::before         { display: none; }
  .testimonials-grid     { grid-template-columns: 1fr; }
  .footer-grid           { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav    { display: none; }
  .hamburger { display: flex; }

  .features-grid { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }

  .cta-form      { flex-direction: column; }
  .cta-box       { padding: 48px 28px; }

  .footer-grid   { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats    { flex-wrap: wrap; }
  .hero-stat     { flex: 1 0 40%; }
}

@media (max-width: 480px) {
  .stats-grid  { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}

@media (min-width: 769px) {
  .mobile-menu, .mobile-overlay { display: none !important; }
}
