/* =====================================================
   TontiGo — Vitrine · BIDNAE SARL · EPSIE
   ===================================================== */

:root {
  --tg-green:       #1B6332;
  --tg-green-mid:   #2E8B57;
  --tg-green-light: #4CAF80;
  --tg-gold:        #C8940A;
  --tg-gold-light:  #F0BF35;
  --tg-dark:        #121212;
  --tg-gray:        #6C757D;
  --tg-cream:       #FAF7F0;
  --tg-border:      rgba(0,0,0,.08);
  --tg-shadow:      0 4px 24px rgba(0,0,0,.07);
  --tg-shadow-lg:   0 12px 48px rgba(0,0,0,.12);
  --radius:         1rem;
  --radius-sm:      .6rem;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--tg-dark);
  background: #fff;
  line-height: 1.65;
}

/* ---- Utilities ---- */
.text-gold   { color: var(--tg-gold) !important; }
.text-green  { color: var(--tg-green) !important; }
.bg-green    { background-color: var(--tg-green) !important; }
.bg-gold     { background-color: var(--tg-gold) !important; }
.bg-cream    { background-color: var(--tg-cream) !important; }

.btn-tg-primary {
  background: var(--tg-green);
  border-color: var(--tg-green);
  color: #fff;
  border-radius: 50px;
  padding: .65rem 1.8rem;
  font-weight: 600;
  transition: all .25s;
}
.btn-tg-primary:hover {
  background: var(--tg-green-mid);
  border-color: var(--tg-green-mid);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27,99,50,.3);
}

.btn-tg-gold {
  background: var(--tg-gold);
  border-color: var(--tg-gold);
  color: #fff;
  border-radius: 50px;
  padding: .65rem 1.8rem;
  font-weight: 600;
  transition: all .25s;
}
.btn-tg-gold:hover {
  background: var(--tg-gold-light);
  border-color: var(--tg-gold-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200,148,10,.35);
}

.btn-tg-outline {
  border: 2px solid var(--tg-green);
  color: var(--tg-green);
  border-radius: 50px;
  padding: .6rem 1.8rem;
  font-weight: 600;
  background: transparent;
  transition: all .25s;
}
.btn-tg-outline:hover {
  background: var(--tg-green);
  color: #fff;
  transform: translateY(-2px);
}

/* ---- Gradient helpers ---- */
.gradient-green {
  background: linear-gradient(135deg, var(--tg-green) 0%, var(--tg-green-mid) 100%);
}
.gradient-gold {
  background: linear-gradient(135deg, var(--tg-gold) 0%, var(--tg-gold-light) 100%);
}
.gradient-hero {
  background: linear-gradient(150deg, #0F3D20 0%, var(--tg-green) 55%, #2A7A3B 100%);
}

/* ---- Navbar ---- */
.tg-navbar {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  padding: .9rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.tg-navbar .navbar-brand img { height: 42px; }
.tg-navbar .nav-link {
  font-weight: 500;
  color: var(--tg-dark);
  padding: .4rem .9rem;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.tg-navbar .nav-link:hover,
.tg-navbar .nav-link.active { color: var(--tg-green); background: rgba(27,99,50,.06); }

/* ---- Hero ---- */
.hero-section {
  background: var(--gradient-hero, linear-gradient(150deg, #0F3D20 0%, var(--tg-green) 55%, #2A7A3B 100%));
  background: linear-gradient(150deg, #0F3D20 0%, var(--tg-green) 55%, #2A7A3B 100%);
  color: #fff;
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(200,148,10,.15) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 10% 80%, rgba(255,255,255,.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .35rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 1.2rem;
  color: var(--tg-gold-light);
}
.hero-section h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero-section .lead { font-size: 1.1rem; opacity: .88; margin-bottom: 2rem; }

.phone-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.phone-mockup-wrap img {
  max-height: 560px;
  width: auto;
  border-radius: 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
}
.phone-mockup-wrap .phone-secondary {
  position: absolute;
  bottom: 20px;
  right: 0;
  max-height: 380px;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  transform: rotate(4deg);
}

/* ---- Stats bar ---- */
.stats-bar {
  background: #fff;
  box-shadow: var(--tg-shadow-lg);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}
.stat-item { text-align: center; }
.stat-item .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--tg-green);
  line-height: 1;
}
.stat-item .stat-label { font-size: .82rem; color: var(--tg-gray); margin-top: .25rem; }
.stat-divider { width: 1px; background: var(--tg-border); }

/* ---- Section titles ---- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tg-gold);
  margin-bottom: .75rem;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--tg-gold);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--tg-dark);
  line-height: 1.2;
}

/* ---- Feature cards ---- */
.feature-card {
  background: #fff;
  border: 1px solid var(--tg-border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: all .3s;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tg-shadow-lg);
  border-color: rgba(27,99,50,.15);
}
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
.feature-icon.green  { background: rgba(27,99,50,.1);  color: var(--tg-green); }
.feature-icon.gold   { background: rgba(200,148,10,.1); color: var(--tg-gold); }
.feature-icon.teal   { background: rgba(0,150,136,.1);  color: #00897B; }
.feature-icon.blue   { background: rgba(30,136,229,.1); color: #1E88E5; }
.feature-icon.purple { background: rgba(142,36,170,.1); color: #8E24AA; }
.feature-icon.red    { background: rgba(229,57,53,.1);  color: #E53935; }

.feature-card h5 { font-weight: 700; margin-bottom: .5rem; }
.feature-card p  { color: var(--tg-gray); font-size: .9rem; margin: 0; }

/* ---- How it works ---- */
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tg-green), var(--tg-green-mid));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 8px 20px rgba(27,99,50,.3);
}
.step-arrow {
  color: var(--tg-gold);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
}

/* ---- Screenshots section ---- */
.screenshots-section { background: var(--tg-cream); }
.screenshot-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--tg-shadow-lg);
  transition: transform .3s;
}
.screenshot-frame:hover { transform: scale(1.02); }
.screenshot-frame img { width: 100%; display: block; }

/* ---- Payment section ---- */
.payment-logo {
  height: 40px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter .2s;
}
.payment-logo:hover { filter: none; }

.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  border: 1px solid var(--tg-border);
  border-radius: 50px;
  padding: .55rem 1.2rem;
  font-weight: 600;
  font-size: .9rem;
  box-shadow: var(--tg-shadow);
}

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, #0F3D20 0%, var(--tg-green) 60%, #2A7A3B 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 85% 50%, rgba(200,148,10,.18) 0%, transparent 70%);
  pointer-events: none;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 14px;
  padding: .8rem 1.4rem;
  color: #fff;
  text-decoration: none;
  transition: all .25s;
}
.store-btn:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.5);
  color: #fff;
  transform: translateY(-2px);
}
.store-btn .store-icon { font-size: 1.8rem; }
.store-btn .store-text { line-height: 1.2; }
.store-btn .store-text small { font-size: .7rem; opacity: .8; display: block; }
.store-btn .store-text span { font-weight: 700; font-size: 1rem; }

/* ---- Page header (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, #0F3D20 0%, var(--tg-green) 60%, #2A7A3B 100%);
  color: #fff;
  padding: 5rem 0 4rem;
}
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; }

/* ---- Content cards (legal pages) ---- */
.content-card {
  background: #fff;
  border: 1px solid var(--tg-border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--tg-shadow);
}
.content-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tg-green);
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--tg-gold);
  margin-bottom: 1.2rem;
}
.content-section h4 { font-size: 1rem; font-weight: 700; color: var(--tg-dark); }

.list-tg { list-style: none; padding: 0; margin: 0; }
.list-tg li {
  padding: .4rem 0 .4rem 1.6rem;
  position: relative;
  font-size: .93rem;
}
.list-tg li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tg-green);
}

/* ---- Footer ---- */
.tg-footer {
  background: #0A2714;
  color: rgba(255,255,255,.75);
  padding: 4rem 0 2rem;
}
.tg-footer .footer-logo img { height: 44px; margin-bottom: 1rem; }
.tg-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; letter-spacing: .5px; }
.tg-footer a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.tg-footer a:hover { color: var(--tg-gold-light); }
.tg-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; margin-top: 2.5rem; }
.tg-footer .footer-bottom p { font-size: .82rem; margin: 0; color: rgba(255,255,255,.4); }

/* ---- Misc ---- */
.divider-gold {
  width: 50px;
  height: 3px;
  background: var(--tg-gold);
  border-radius: 2px;
  margin: 1rem 0;
}

.badge-coming {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(200,148,10,.12);
  border: 1px solid rgba(200,148,10,.3);
  color: var(--tg-gold);
  border-radius: 50px;
  padding: .3rem .9rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hero-section { min-height: auto; padding: 5rem 0 8rem; }
  .phone-mockup-wrap { margin-top: 3rem; }
  .phone-mockup-wrap .phone-secondary { display: none; }
  .stats-bar { margin-top: 0; border-radius: 0; }
  .step-arrow { display: none; }
}
@media (max-width: 576px) {
  .hero-section h1 { font-size: 2rem; }
  .content-card { padding: 1.25rem; }
}
