/* ===========================================================
   ThinkThenBuild Academy — Stylesheet
   Design concept: "Blueprint → Build"
   A sketch/blueprint aesthetic (Think) that resolves into a
   structured code interface (Build). Deep ink navy base with
   a warm amber "idea" accent and an electric cyan "build" accent.
   =========================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --ink-950: #070d18;
  --ink-900: #0b1220;
  --ink-800: #101b2e;
  --ink-700: #16233a;
  --ink-600: #1e2f4a;
  --line: #223353;

  --amber: #ffb454;
  --amber-soft: #ffd8a3;
  --cyan: #33e0c8;
  --cyan-soft: #9df3e6;

  --text-hi: #eef2f9;
  --text-mid: #b7c2d6;
  --text-low: #7e8bab;

  --success: #33e0c8;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--amber) 0%, #ff8a5c 45%, var(--cyan) 100%);
  --grad-panel: linear-gradient(160deg, var(--ink-800) 0%, var(--ink-900) 100%);

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-lift: 0 20px 60px -20px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 10px 30px -12px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--ink-900);
  color: var(--text-mid);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img, svg { display: block; max-width: 100%; }

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

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Safety net: flex/grid items default to min-width:auto, which stops them
   shrinking below their content's natural width (e.g. the code block or
   long headings) and can force the whole page to overflow horizontally
   on small screens even though the grid/flex columns stack correctly. */
.hero-inner > *,
.about-inner > *,
.contact-inner > *,
.header-inner > *,
.tb-panel,
.tb-face,
.code-window,
.code-body {
  min-width: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-hi);
  font-weight: 600;
  line-height: 1.15;
}

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin-bottom: 16px;
  max-width: 720px;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-mid);
  max-width: 560px;
}

.section-head { text-align: left; margin-bottom: 48px; }

/* ---------- Scroll Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-brand);
  color: var(--ink-950);
  box-shadow: 0 10px 30px -8px rgba(255, 138, 92, 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(255, 138, 92, 0.6); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-hi);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan-soft); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 13, 24, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}

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

.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--grad-brand);
  color: var(--ink-950);
  font-size: 0.95rem;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-hi);
}
.brand-accent { color: var(--cyan); }

.main-nav ul { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.main-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--grad-brand);
  transition: width 0.25s ease;
}
.main-nav a:hover { color: var(--text-hi); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.nav-toggle span {
  height: 2px;
  background: var(--text-hi);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Blueprint grid background ---------- */
.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
  pointer-events: none;
}
.blueprint-grid--dark { opacity: 0.22; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 110px;
  overflow: hidden;
  background: radial-gradient(ellipse 100% 60% at 50% -10%, #14203a 0%, var(--ink-900) 60%);
}

.hero-glow {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.28;
  pointer-events: none;
}
.hero-glow--amber { top: -80px; left: -100px; background: var(--amber); }
.hero-glow--cyan { bottom: -140px; right: -100px; background: var(--cyan); }

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

.hero-title {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats { display: flex; gap: 40px; }
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-hi);
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-low);
  font-family: var(--font-mono);
}

/* ---------- Hero signature visual: Think/Build panel ---------- */
.hero-visual { position: relative; perspective: 1200px; }

.tb-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.tb-face {
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}

.tb-face--think {
  background: var(--grad-panel);
  margin-bottom: -60px;
  position: relative;
  z-index: 1;
  transform: rotate(-2deg);
  animation: floatY 6s ease-in-out infinite;
}

.tb-face--build {
  background: linear-gradient(160deg, #0d1526 0%, #060a13 100%);
  position: relative;
  z-index: 2;
  margin-left: min(44px, 8vw);
  transform: rotate(1.5deg);
  animation: floatY 6s ease-in-out infinite 0.4s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--r, 0deg)); }
}
.tb-face--think { --r: -2deg; }
.tb-face--build { --r: 1.5deg; }

.tb-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 180, 84, 0.1);
  border: 1px solid rgba(255, 180, 84, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.tb-face--build .tb-tag {
  color: var(--cyan-soft);
  background: rgba(51, 224, 200, 0.1);
  border-color: rgba(51, 224, 200, 0.28);
}

.sketch-svg { width: 100%; height: auto; }
.sketch-frame { stroke: var(--line); stroke-width: 1.5; }
.sketch-line {
  fill: none;
  stroke: var(--amber-soft);
  stroke-width: 2.4;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw 2.4s ease forwards;
  opacity: 0.85;
}
circle.sketch-line { fill: none; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.4s; }
.d3 { animation-delay: 0.7s; }
.d4 { animation-delay: 0.9s; }
.d5 { animation-delay: 1.1s; }
.d6 { animation-delay: 1.3s; stroke: var(--cyan-soft); }

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.code-window {
  background: #060a13;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  overflow: hidden;
}
.code-dots {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.code-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink-600);
}
.code-dots span:nth-child(1) { background: #ff6b6b; }
.code-dots span:nth-child(2) { background: #ffd166; }
.code-dots span:nth-child(3) { background: #33e0c8; }

.code-body {
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-mid);
  overflow-x: auto;
}
.tok-kw { color: #ff8fb3; }
.tok-fn { color: var(--cyan-soft); }
.tok-str { color: var(--amber-soft); }

/* ---------- About ---------- */
.about { padding: clamp(64px, 9vw, 110px) 0; background: var(--ink-900); }

.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin-top: 28px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-hi);
  font-weight: 500;
  font-size: 0.96rem;
}
.check-list i { color: var(--cyan); font-size: 1.05rem; }

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-card {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.about-card:hover { transform: translateX(6px); border-color: var(--cyan); }
.about-card i {
  font-size: 1.3rem;
  color: var(--ink-950);
  background: var(--grad-brand);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  flex-shrink: 0;
}
.about-card p { color: var(--text-hi); font-weight: 500; }
.about-card--2 { margin-left: min(30px, 6vw); }
.about-card--3 { margin-left: min(60px, 10vw); }

/* ---------- Courses ---------- */
.courses { padding: clamp(64px, 9vw, 110px) 0; background: var(--ink-950); position: relative; }

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

.course-card {
  background: var(--grad-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.course-card:hover {
  transform: translateY(-8px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-lift);
}

.course-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(51, 224, 200, 0.1);
  border: 1px solid rgba(51, 224, 200, 0.25);
  color: var(--cyan);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.course-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.course-card p { font-size: 0.92rem; color: var(--text-mid); }

.courses-note {
  margin-top: 36px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--amber-soft);
  background: rgba(255, 180, 84, 0.07);
  border: 1px dashed rgba(255, 180, 84, 0.3);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* ---------- Why Us ---------- */
.why-us { padding: clamp(64px, 9vw, 110px) 0; background: var(--ink-900); }
.why-us .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.why-us .section-title { margin-left: auto; margin-right: auto; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--amber); }
.feature-card i {
  font-size: 1.5rem;
  color: var(--amber);
  margin-bottom: 16px;
  display: block;
}
.feature-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  padding: clamp(64px, 9vw, 110px) 0;
  background: linear-gradient(180deg, var(--ink-950) 0%, #050810 100%);
  overflow: hidden;
}

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

.contact-info { margin-top: 34px; display: flex; flex-direction: column; gap: 16px; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-hi);
  font-weight: 500;
}
.contact-info-item i {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(51, 224, 200, 0.1);
  color: var(--cyan);
}

.enquiry-form {
  background: rgba(16, 27, 46, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lift);
}
.enquiry-form h3 {
  font-size: 1.3rem;
  margin-bottom: 22px;
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.form-group input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  background: var(--ink-950);
  border: 1px solid var(--line);
  color: var(--text-hi);
  font-size: 0.94rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input::placeholder { color: var(--text-low); }
.form-group input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(51, 224, 200, 0.15);
  outline: none;
}

.form-hint {
  margin-top: 14px;
  font-size: 0.8rem;
  text-align: center;
  color: var(--text-low);
}

/* ---------- Floating WhatsApp Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.6);
  z-index: 90;
  animation: pulse 2.6s ease-in-out infinite;
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.9), 0 0 0 10px rgba(37, 211, 102, 0.08); }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-950);
  border-top: 1px solid var(--line);
  padding-top: 70px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: var(--text-hi);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-low);
  transition: color 0.2s ease;
}
.footer-col ul a:hover { color: var(--cyan); }

.footer-brand p {
  margin: 14px 0 20px;
  font-size: 0.9rem;
  max-width: 320px;
}

.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text-mid);
  transition: all 0.25s ease;
}
.social-icons a:hover {
  background: var(--grad-brand);
  color: var(--ink-950);
  border-color: transparent;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-low);
}
.footer-contact i { color: var(--cyan); width: 16px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 24px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-low);
}

/* ===========================================================
   Responsive
   Breakpoints: 1024 (small desktop/tablet-landscape),
   880 (nav switches to hamburger), 700 (tablet-portrait/
   large phone), 480 (phone), 380 (small phone)
   =========================================================== */

/* ---- Small desktop / tablet landscape ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; width: 100%; margin: 0 auto 20px; }
  .about-inner { grid-template-columns: 1fr; gap: 44px; }
  .about-visual { order: -1; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 44px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ---- Tablet portrait: switch to hamburger nav ---- */
@media (max-width: 880px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .main-nav {
    display: block;
    position: absolute;
    top: 76px; left: 0; right: 0;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    background: var(--ink-900);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px;
  }
  .site-header.nav-open .main-nav ul { flex-direction: column; gap: 18px; }

  .header-actions { gap: 12px; }
  .header-actions .btn-sm { padding: 9px 16px; font-size: 0.84rem; }
}

/* ---- Large phone / tablet portrait content tuning ---- */
@media (max-width: 700px) {
  .hero { padding: 122px 0 64px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-cta { margin-bottom: 40px; }

  .course-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }

  .about-card--2, .about-card--3 { margin-left: 0; }
  .tb-face--build { margin-left: 0; }
  .tb-face--think { margin-bottom: -40px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; text-align: left; }

  .enquiry-form { padding: 28px 22px; }

  .whatsapp-float { width: 52px; height: 52px; font-size: 1.5rem; bottom: 18px; right: 18px; }
}

/* ---- Header never overflows, even on the smallest phones ---- */
@media (max-width: 560px) {
  .header-actions .btn-sm { display: none; }
  .brand-text { font-size: 0.95rem; white-space: nowrap; }
}

@media (max-width: 360px) {
  .brand-accent { display: none; }
}

/* ---- Phones ---- */
@media (max-width: 480px) {
  .container { padding: 0 18px; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .hero-stats { gap: 20px 28px; }

  .course-card, .feature-card { padding: 26px 20px; }
  .about-card { padding: 18px 20px; gap: 12px; }

  .tb-face { padding: 20px; }
  .tb-panel { max-width: 100%; }

  .contact-info-item { align-items: flex-start; }

  .enquiry-form { padding: 24px 18px; }
  .form-group input { padding: 12px 14px; }

  .courses-note { padding: 16px 18px; font-size: 0.85rem; flex-direction: column; text-align: center; }
}

/* ---- Small phones ---- */
@media (max-width: 380px) {
  .brand-text { font-size: 0.92rem; }
  .btn { padding: 12px 20px; font-size: 0.9rem; }

  .hero { padding: 112px 0 56px; }
  .hero-desc { font-size: 1rem; }

  .stat-num { font-size: 1.35rem; }
  .stat-label { font-size: 0.74rem; }

  .code-body { font-size: 0.7rem; }

  .whatsapp-float { width: 48px; height: 48px; font-size: 1.35rem; bottom: 14px; right: 14px; }
}
