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

:root {
  --bg-deep:      #080808;
  --bg-card:      rgba(255,255,255,0.03);
  --accent-green: #22c55e;
  --accent-gold:  #f5c518;
  --text-hi:      #ffffff;
  --text-lo:      #9aa3b0;
  --border:       rgba(255,255,255,0.08);
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --nav-h:        72px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text-hi);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── GRADIENT BACKGROUND ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 5% 0%,   rgba(34,197,94,0.07)  0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 95% 100%, rgba(245,197,24,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 50% 50%,  rgba(15,15,15,0.95)   0%, #080808 100%);
  pointer-events: none;
}

section, nav, footer { position: relative; z-index: 2; }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  padding: 0 6%;
  background: rgba(8,8,8,0.8);
  backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: background 0.3s;
}

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

/* ── Logo ── */
.logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  flex-shrink: 0;
}
.logo .crypto  { color: #ffffff; }
.logo .fxminers { color: var(--accent-gold); }

/* ── Desktop links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-lo);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent-green);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s;
  border-radius: 2px;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { transform: scaleX(1); }

.nav-links .nav-register {
  background: var(--accent-green);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.2s;
}
.nav-links .nav-register::after { display: none; }
.nav-links .nav-register:hover { background: #16a34a; transform: translateY(-1px); }

.nav-links .nav-login {
  color: var(--text-lo) !important;
  border: 1px solid var(--border);
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  transition: border-color 0.2s, color 0.2s;
}
.nav-links .nav-login::after { display: none; }
.nav-links .nav-login:hover { border-color: rgba(255,255,255,0.25); color: #fff !important; }

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
  background: none; border: none;
  z-index: 110;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile dropdown panel (slides under the navbar) ── */
.mobile-panel {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 6%;
  z-index: 99;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.mobile-panel.open {
  max-height: 420px;
  padding: 1.5rem 6% 2rem;
}
.mobile-panel a {
  display: block;
  color: var(--text-lo);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-panel a:last-child { border-bottom: none; }
.mobile-panel a:hover { color: var(--accent-green); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#home {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 4rem) 6% 5rem;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 560px;
  animation: fadeUp 0.9s ease both;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.hero-content p {
  color: #cbd5e1;
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 440px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

.btn-green {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent-green);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.9rem 2rem;
  border-radius: 7px;
  border: none; cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(34,197,94,0.25);
}
.btn-green:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(34,197,94,0.35);
}

/* Hero visual */
.hero-visual {
  flex: 1;
  max-width: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1.1s ease both 0.3s;
}

.hero-coin {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  object-fit: contain;
  /* STATIONARY — no filter, no animation, no glow, no border */
}

/* ══════════════════════════════════════
   WHATSAPP FLOATING BUTTON
══════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; left: 24px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: waPop 0.5s cubic-bezier(.34,1.56,.64,1) both 1s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}

/* Pulse ring */
.whatsapp-float::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: waRing 2.5s ease-out infinite;
}

@keyframes waRing {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes waPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* Tooltip bubble */
.wa-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  bottom: 8px;
  background: #fff;
  color: #111;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  pointer-events: none;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
}
.wa-tooltip::before {
  content: '';
  position: absolute; top: 50%; left: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #fff;
  border-left: 0;
}
.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ══════════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════════ */
.section { padding: 7rem 6%; }

.section-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-green); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.section-label::before {
  content: ''; display: inline-block;
  width: 22px; height: 2px;
  background: var(--accent-green); border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.8rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

.section-sub {
  color: var(--text-lo); font-size: 1rem; font-weight: 300;
  max-width: 500px; line-height: 1.7; margin-bottom: 3.5rem;
}

/* ══════════════════════════════════════
   STATS SECTION
══════════════════════════════════════ */
#stats {
  background: linear-gradient(135deg, rgba(34,197,94,0.04), rgba(245,197,24,0.03));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem; text-align: center;
}

.stat-item .num {
  font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 800;
  color: var(--accent-gold); line-height: 1;
}
.stat-item .label {
  font-size: 0.875rem; color: var(--text-lo); margin-top: 0.5rem;
}

/* ══════════════════════════════════════
   PLANS SECTION
══════════════════════════════════════ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 2.25rem 2rem;
  position: relative; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34,197,94,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(34,197,94,0.07);
}
.plan-card.featured {
  border-color: rgba(34,197,94,0.3);
  background: linear-gradient(160deg, rgba(34,197,94,0.06), rgba(245,197,24,0.03));
}
.plan-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: 1rem; right: 1rem;
  background: var(--accent-green); color: #fff;
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.65rem; border-radius: 100px;
}

.plan-name  { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.plan-price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; line-height: 1; color: var(--accent-gold); margin-bottom: 0.25rem; }
.plan-price span { font-size: 1rem; color: var(--text-lo); font-weight: 400; }
.plan-desc  { font-size: 0.875rem; color: var(--text-lo); margin-bottom: 1.75rem; }

.plan-features { list-style: none; margin-bottom: 2rem; }
.plan-features li {
  font-size: 0.875rem; color: var(--text-lo);
  padding: 0.45rem 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; gap: 0.6rem;
}
.plan-features li::before { content: '✓'; color: var(--accent-green); font-weight: 700; }

.btn-plan {
  display: block; text-align: center;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  color: var(--accent-green);
  font-weight: 700; font-size: 0.875rem;
  padding: 0.75rem; border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-plan:hover { background: rgba(34,197,94,0.15); box-shadow: 0 0 20px rgba(34,197,94,0.15); }
.plan-card.featured .btn-plan {
  background: var(--accent-green); color: #fff; border: none;
}
.plan-card.featured .btn-plan:hover { background: #16a34a; }

/* ══════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════ */
#how-it-works {
  background: linear-gradient(180deg, transparent, rgba(34,197,94,0.03), transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.step-card {
  position: relative; padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.step-card:hover { transform: translateY(-5px); border-color: rgba(34,197,94,0.25); }

.step-number {
  font-family: var(--font-display); font-size: 4rem; font-weight: 800;
  line-height: 1; color: rgba(245,197,24,0.07);
  position: absolute; top: 0.75rem; right: 1.25rem;
}
.step-icon {
  width: 48px; height: 48px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
}
.step-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-card p  { font-size: 0.875rem; color: var(--text-lo); line-height: 1.6; }

/* ══════════════════════════════════════
   TEAM
══════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem 1.5rem; text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.team-card:hover { transform: translateY(-5px); border-color: rgba(245,197,24,0.2); }

.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, rgba(34,197,94,0.25), rgba(245,197,24,0.15));
  border: 2px solid rgba(245,197,24,0.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800;
  color: var(--accent-gold);
}
.team-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.team-role { font-size: 0.8rem; color: var(--accent-green); font-weight: 600; }
.team-bio  { font-size: 0.8rem; color: var(--text-lo); margin-top: 0.75rem; line-height: 1.55; }

/* ══════════════════════════════════════
   CTA / REGISTER
══════════════════════════════════════ */
#register { text-align: center; padding: 8rem 6%; }

.cta-box {
  max-width: 640px; margin: 0 auto;
  background: linear-gradient(160deg, rgba(34,197,94,0.06), rgba(245,197,24,0.03));
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 24px; padding: 4rem 3rem;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(34,197,94,0.12), transparent 70%);
  pointer-events: none;
}
.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.025em; margin-bottom: 1rem;
}
.cta-box p { color: var(--text-lo); margin-bottom: 2rem; font-size: 1.05rem; }

.cta-form {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
}
.cta-form input {
  flex: 1; min-width: 200px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 0.85rem 1.25rem;
  color: var(--text-hi); font-family: var(--font-body); font-size: 0.9rem;
  outline: none; transition: border-color 0.2s;
}
.cta-form input:focus { border-color: rgba(34,197,94,0.4); }
.cta-form input::placeholder { color: var(--text-lo); }

/* ══════════════════════════════════════
   SAFE & SECURE SECTION
══════════════════════════════════════ */
.safe-section {
  display: flex;
  align-items: center;
  gap: 5rem;
  padding: 6rem 6%;
  background: #0d0d0d;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.safe-image {
  flex: 1;
  max-width: 520px;
}

.safe-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.safe-content {
  flex: 1;
  max-width: 560px;
}

.safe-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.safe-content p {
  color: #cbd5e1;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2.25rem;
}

@media (max-width: 860px) {
  .safe-section {
    flex-direction: column;
    gap: 3rem;
    padding: 5rem 5%;
    text-align: center;
  }
  .safe-image { max-width: 340px; margin: 0 auto; }
  .safe-content { max-width: 100%; }
}

/* ══════════════════════════════════════
   PROFIT CALCULATOR SECTION
══════════════════════════════════════ */
.calc-section {
  display: flex;
  align-items: center;
  gap: 5rem;
  padding: 6rem 6%;
  background: #f0f4f8;
  border-top: 1px solid #dde3ea;
  border-bottom: 1px solid #dde3ea;
}

.calc-image {
  flex: 1;
  max-width: 500px;
}
.calc-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.calc-content {
  flex: 1;
  max-width: 580px;
}

.calc-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 0.5rem;
}

.calc-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1a1a2e;
  margin-bottom: 1rem;
}

.calc-content > p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* Two-column row: Select Plan + Enter Amount */
.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.calc-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

/* Custom select wrapper */
.calc-select-wrap {
  position: relative;
}
.calc-select-wrap select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 1.5px solid #4a6fa5;
  border-radius: 6px;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #1a1a2e;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.calc-select-wrap select:focus {
  border-color: #2a4a8a;
  box-shadow: 0 0 0 3px rgba(74,111,165,0.15);
}
.calc-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 0.85rem; top: 50%;
  transform: translateY(-50%);
  color: #4a6fa5;
  font-size: 0.85rem;
  pointer-events: none;
}

/* Amount input */
.calc-input {
  width: 100%;
  background: #fff;
  border: 1.5px solid #cdd5e0;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #1a1a2e;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.calc-input:focus {
  border-color: #4a6fa5;
  box-shadow: 0 0 0 3px rgba(74,111,165,0.12);
}
.calc-input::placeholder { color: #aab; }

/* Hint text under amount */
.calc-hint {
  font-size: 0.75rem;
  color: #e05c2a;
  margin-top: 0.35rem;
  min-height: 1rem;
  display: block;
}

/* Profit Amount — full width */
.calc-profit-row {
  margin-bottom: 1.5rem;
}
.calc-profit-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}
.calc-profit-display {
  width: 100%;
  background: #fff;
  border: 1.5px solid #cdd5e0;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a7a3f;
  cursor: default;
}

/* Breakdown grid */
.calc-breakdown {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.calc-breakdown.visible { display: grid; }

.breakdown-card {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  text-align: center;
}
.breakdown-card .bd-label {
  font-size: 0.7rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}
.breakdown-card .bd-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
}

/* Calculate button */
.btn-calculate {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #4a6fa5;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 2.25rem;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.03em;
}
.btn-calculate:hover {
  background: #2a4a8a;
  transform: translateY(-2px);
}

/* Error state */
.calc-input.error,
.calc-select-wrap select.error {
  border-color: #e05c2a;
}

@media (max-width: 860px) {
  .calc-section {
    flex-direction: column;
    gap: 3rem;
    padding: 5rem 5%;
    background: #f0f4f8;
  }
  .calc-image { max-width: 320px; margin: 0 auto; }
  .calc-content { max-width: 100%; }
  .calc-row { grid-template-columns: 1fr; }
  .calc-breakdown { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .calc-breakdown { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer { border-top: 1px solid var(--border); padding: 4rem 6% 2.5rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; color: var(--text-lo); max-width: 260px; line-height: 1.6; }

.footer-col h4 {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-hi); margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a { font-size: 0.875rem; color: var(--text-lo); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-green); }

.footer-bottom {
  padding-top: 2rem; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-lo); }

.footer-socials { display: flex; gap: 0.75rem; }
.social-btn {
  width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-lo); text-decoration: none; font-size: 0.85rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-btn:hover { border-color: rgba(34,197,94,0.4); color: var(--accent-green); background: rgba(34,197,94,0.06); }

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeUp  { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:none; } }
@keyframes fadeIn  { from { opacity:0; transform:scale(0.96); }     to { opacity:1; transform:scale(1); } }
@keyframes glowPulse { 0%,100% { opacity:0.5; } 50% { opacity:1; } }

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 860px) {
  .nav-links   { display: none; }
  .hamburger   { display: flex; }

  /* Smaller logo on mobile so it doesn't crowd the hamburger */
  .logo { font-size: 0.85rem; letter-spacing: 0.02em; }

  #home { flex-direction: column; padding-bottom: 4rem; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-content p { max-width: 100%; }
  .hero-visual  { max-width: 280px; margin: 0 auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .section { padding: 5rem 5%; }
  #home { padding: calc(var(--nav-h) + 3rem) 5% 4rem; }
  .cta-box { padding: 3rem 1.75rem; }
}

@media (max-width: 400px) {
  .section { padding: 3rem 3%; }
}
/* ══════════════════════════════════════
   HOW IT WORKS SECTION
══════════════════════════════════════ */
.hiw-section {
  background: #111;
  padding: 6rem 6%;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hiw-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.hiw-sub {
  font-size: 1rem;
  color: var(--text-lo);
  margin-bottom: 4rem;
}

.hiw-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
}

/* Horizontal connecting line */
.hiw-line {
  position: absolute;
  top: 14px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: rgba(255,255,255,0.25);
  z-index: 0;
}

.hiw-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0 0.5rem;
}

.hiw-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: #111;
  flex-shrink: 0;
  transition: border-color 0.3s;
}
.hiw-dot.active {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(34,197,94,0.15);
  background: rgba(34,197,94,0.1);
}

/* Inner filled circle for active */
.hiw-dot.active::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  background: var(--accent-green);
  border-radius: 50%;
  margin: 7px auto 0;
}

.hiw-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.hiw-step p {
  font-size: 0.82rem;
  color: var(--text-lo);
  line-height: 1.5;
  margin: 0;
}

/* Mobile — stack vertically */
@media (max-width: 700px) {
  .hiw-timeline {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }
  .hiw-line {
    top: 0; bottom: 0; left: 50%;
    width: 1px; height: auto;
    right: auto;
    transform: translateX(-50%);
  }
  .hiw-step { flex-direction: row; text-align: left; gap: 1.25rem; max-width: 320px; }
  .hiw-step h3 { margin-bottom: 0.2rem; }
}
/* ══════════════════════════════════════
   TEAM SECTION
══════════════════════════════════════ */
.team-section {
  background: #f0f4f8;
  padding: 6rem 6%;
  border-top: 1px solid #dde3ea;
  border-bottom: 1px solid #dde3ea;
}

.team-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.team-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
}
.team-header p {
  font-size: 1rem;
  color: #555;
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card */
.tm-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.tm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}

/* Photo area */
.tm-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/3.5;
}
.tm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s;
}
.tm-card:hover .tm-photo img {
  transform: scale(1.04);
}

/* Social icons overlay — hidden by default, shown on hover/tap */
.tm-socials {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
}
/* Show on card hover (desktop) */
.tm-card:hover .tm-socials {
  opacity: 1;
  transform: translateY(0);
}
/* Show on tap (mobile) — toggled via JS */
.tm-card.tapped .tm-socials {
  opacity: 1;
  transform: translateY(0);
}

.tm-socials a {
  width: 36px; height: 36px;
  background: #1877f2; /* Facebook blue default */
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}
.tm-socials a:hover { transform: scale(1.12); opacity: 0.9; }
.tm-socials a:nth-child(1) { background: #1877f2; } /* Facebook */
.tm-socials a:nth-child(2) { background: #1da1f2; } /* Twitter */
.tm-socials a:nth-child(3) { background: #0a66c2; } /* LinkedIn */

.tm-socials a svg {
  width: 16px; height: 16px;
}

/* Name & role */
.tm-info {
  padding: 1.1rem 1.25rem 1.4rem;
  text-align: center;
}
.tm-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.3rem;
}
.tm-info span {
  font-size: 0.85rem;
  color: #555;
}

@media (max-width: 600px) {
  .team-cards { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .tm-info h3 { font-size: 0.9rem; }
}
@media (max-width: 380px) {
  .team-cards { grid-template-columns: 1fr; }
}
