/* ═══════════════════════════════════════════════════════════════
   99Froggs Academy — Shared Styles
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --teal:        #12A0D7;
  --teal-dark:   #0E87B8;
  --teal-deep:   #0A6E96;
  --teal-light:  #E8F6FC;
  --teal-mid:    #C2E8F7;
  --black:       #1A1A1A;
  --gray-dark:   #3D3D3D;
  --gray:        #6B7280;
  --gray-light:  #F4F4F4;
  --white:       #FFFFFF;
  --cream:       #F7F5F2;
  --border:      #E5E7EB;
  --font:        'Inter', system-ui, sans-serif;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-pill: 100px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.10);
  --shadow-teal: 0 8px 32px rgba(18,160,215,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

/* ── CONTAINER ─────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ── BUTTONS ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-teal);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--gray-light);
  color: var(--gray-dark);
}
.btn-ghost:hover {
  background: var(--border);
}

.btn-white {
  background: var(--white);
  color: var(--teal);
}
.btn-white:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}

/* ── SECTION LABEL ─────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  border: 1px solid var(--teal-mid);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

/* ── NAVIGATION ────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--teal);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.nav-logo-main { font-size: 16px; font-weight: 800; color: var(--black); letter-spacing: -0.02em; display: block; line-height: 1.1; }
.nav-logo-sub  { font-size: 10px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.1em; display: block; }

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo-img {
  height: 30px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.gate-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-dark);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.15s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--teal);
  background: var(--teal-light);
}

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

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 22px;
  color: var(--black);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta .btn { display: none; }
}

/* ── FOOTER ────────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 0 0;
}

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

.footer-brand-name { font-size: 16px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.footer-brand-sub  { font-size: 10px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.1em; }
.footer-tagline    { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; margin: 16px 0 20px; max-width: 280px; }

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.65); transition: color 0.15s; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy  { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.35); transition: color 0.15s; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── TICKER ────────────────────────────────────────────────────── */
.ticker-wrap {
  background: var(--teal-light);
  border-top: 1px solid var(--teal-mid);
  border-bottom: 1px solid var(--teal-mid);
  overflow: hidden;
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  width: max-content;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-deep);
  padding: 0 28px;
  white-space: nowrap;
}

.ticker-dot {
  width: 5px; height: 5px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── STATS BAR ─────────────────────────────────────────────────── */
.stats-bar { background: var(--teal); padding: 28px 0; }

.stats-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; color: var(--white); }
.stat-num  { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.stat-label{ font-size: 12px; font-weight: 500; opacity: 0.8; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* ── FORM ELEMENTS ─────────────────────────────────────────────── */
.form-group  { margin-bottom: 18px; }
.form-label  { display: block; font-size: 13px; font-weight: 600; color: var(--gray-dark); margin-bottom: 7px; letter-spacing: 0.02em; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18,160,215,0.1);
}

.form-textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
