/* =========================================================
   UMEED EXCHANGE — Premium Dark Theme
   Brand: #00E3C9 (teal) on deep navy-black
   ========================================================= */

:root {
  --brand: #00E3C9;
  --brand-2: #00B8A3;
  --brand-3: #5BFFE9;
  --brand-soft: rgba(0, 227, 201, 0.12);
  --brand-glow: rgba(0, 227, 201, 0.35);

  --bg: #05090C;
  --bg-2: #0A1116;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-brand: rgba(0, 227, 201, 0.25);

  --text: #FFFFFF;
  --text-2: #A9B6BF;
  --text-3: #6C7A84;
  --danger: #FF5C7A;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.text-gradient {
  background: linear-gradient(120deg, var(--brand-3), var(--brand) 45%, var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Background ---------- */
.bg-orb {
  position: fixed; border-radius: 50%; filter: blur(120px);
  pointer-events: none; z-index: -1; opacity: .5;
}
.orb-1 { width: 520px; height: 520px; background: var(--brand); top: -200px; right: -120px; opacity: .18; }
.orb-2 { width: 420px; height: 420px; background: #0066FF; bottom: 10%; left: -200px; opacity: .10; }
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at top, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, #000 20%, transparent 75%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-3), var(--brand) 50%, var(--brand-2));
  color: #021412;
  box-shadow: 0 10px 30px -8px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -8px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.5); }

.btn-ghost {
  background: var(--surface); color: var(--text); border-color: var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--border-brand); background: var(--brand-soft); transform: translateY(-2px); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0; transition: all .4s var(--ease);
}
.header.scrolled {
  padding: 12px 0;
  background: rgba(5, 9, 12, .75);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 10px 18px; border-radius: 10px; color: var(--text-2);
  font-weight: 500; font-size: 15px; position: relative; transition: color .3s;
}
.nav-link::after {
  content: ''; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px;
  background: var(--brand); border-radius: 2px; transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 18px; }
.nav-cta { margin-left: 12px; padding: 11px 20px; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; position: relative; z-index: 110; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto; border-radius: 2px; transition: .35s var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 160px 0 100px; min-height: 100vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 500;
  background: var(--brand-soft); border: 1px solid var(--border-brand); color: var(--brand);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 var(--brand-glow); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--brand-glow); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hero-title {
  font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; line-height: 1.06;
  letter-spacing: -0.035em; margin: 24px 0 22px;
}
.hero-text { font-size: 18px; color: var(--text-2); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 44px; margin-top: 54px; padding-top: 32px; border-top: 1px solid var(--border); }
.stat h3 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.stat p { color: var(--text-3); font-size: 14px; }

/* ---------- Form Card (3D glass) ---------- */
.hero-form-wrap { perspective: 1400px; scroll-margin-top: 110px; }
.form-card {
  position: relative; padding: 38px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.08);
  transform-style: preserve-3d; transition: transform .25s ease-out;
  overflow: hidden;
}
.form-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, var(--brand), transparent 40%, transparent 60%, rgba(0,227,201,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.form-glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: var(--brand); filter: blur(110px); opacity: .18;
  top: -120px; right: -100px; pointer-events: none;
}
.form-head { position: relative; margin-bottom: 24px; }
.form-head h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.form-head p { color: var(--text-2); font-size: 14px; margin-top: 4px; }

.toggle {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  background: rgba(0,0,0,.35); border: 1px solid var(--border);
  border-radius: 12px; padding: 5px; margin-bottom: 22px;
}
.toggle-btn {
  position: relative; z-index: 2; background: none; border: 0; padding: 11px;
  color: var(--text-2); font-weight: 600; font-size: 15px; cursor: pointer; transition: color .3s;
}
.toggle-btn.active { color: #021412; }
.toggle-pill {
  position: absolute; z-index: 1; top: 5px; left: 5px; bottom: 5px; width: calc(50% - 5px);
  border-radius: 9px; background: linear-gradient(135deg, var(--brand-3), var(--brand));
  box-shadow: 0 6px 20px -4px var(--brand-glow); transition: transform .4s var(--ease);
}
.toggle.sell .toggle-pill { transform: translateX(100%); }

.field { margin-bottom: 16px; flex: 1; position: relative; }
.field-row { display: flex; gap: 14px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 8px; }
.field input, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; font-size: 15px;
  background: rgba(0,0,0,.3); border: 1px solid var(--border); color: var(--text);
  outline: none; transition: border-color .3s, box-shadow .3s, background .3s;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus {
  border-color: var(--brand); background: rgba(0,227,201,.04);
  box-shadow: 0 0 0 4px rgba(0,227,201,.12);
}
.field.invalid input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255,92,122,.12); }
.field .error { display: block; color: var(--danger); font-size: 12px; min-height: 0; margin-top: 6px; }
.field .error:empty { display: none; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field select option { background: var(--bg-2); color: var(--text); }

/* hide number spinners */
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

#submitBtn { margin-top: 8px; }
#submitBtn .loader {
  display: none; width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid rgba(2,20,18,.25); border-top-color: #021412; animation: spin .7s linear infinite;
}
#submitBtn.loading .btn-text { display: none; }
#submitBtn.loading .loader { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--text-3); font-size: 12.5px; margin-top: 16px; }
.form-note svg { color: var(--brand); }
.form-msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; text-align: center; }
.form-msg.success { display: block; background: var(--brand-soft); border: 1px solid var(--border-brand); color: var(--brand); }
.form-msg.fail { display: block; background: rgba(255,92,122,.1); border: 1px solid rgba(255,92,122,.3); color: var(--danger); }

/* ---------- About ---------- */
.about { padding: 100px 0 60px; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 16px;
}
.section-title { font-size: clamp(32px, 4vw, 50px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.section-text { color: var(--text-2); font-size: 18px; margin-top: 20px; }
.section-text strong { color: var(--text); font-weight: 600; }

.about-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.about-card {
  padding: 32px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); position: relative; overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
}
.about-card::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  transform: scaleX(0); transition: transform .5s var(--ease);
}
.about-card:hover { transform: translateY(-8px); border-color: var(--border-brand); box-shadow: 0 24px 50px -20px var(--brand-glow); }
.about-card:hover::after { transform: scaleX(1); }
.icon-box {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  color: var(--brand); background: var(--brand-soft); border: 1px solid var(--border-brand); margin-bottom: 22px;
}
.about-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.about-card p { color: var(--text-2); font-size: 15px; }

.steps {
  display: flex; align-items: center; gap: 24px; margin-top: 72px;
  padding: 40px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
}
.step { flex: 1; }
.step-no { font-size: 14px; font-weight: 700; color: var(--brand); letter-spacing: .1em; }
.step h4 { font-size: 18px; font-weight: 700; margin: 8px 0 6px; }
.step p { color: var(--text-2); font-size: 14.5px; }
.step-line { width: 60px; height: 1px; background: linear-gradient(90deg, var(--brand), transparent); flex-shrink: 0; }

/* ---------- Footer (3D Luxury) ---------- */
.footer {
  position: relative; overflow: hidden; padding: 80px 0 30px; margin-top: 60px;
  background: linear-gradient(180deg, transparent, #03070A 30%);
  border-top: 1px solid var(--border);
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 70%; height: 1px; background: linear-gradient(90deg, transparent, var(--brand), transparent);
  box-shadow: 0 0 30px 2px var(--brand-glow);
}
.footer-3d { position: absolute; inset: 0; perspective: 600px; pointer-events: none; overflow: hidden; }
.footer-plane {
  position: absolute; left: -50%; right: -50%; bottom: -40%; height: 140%;
  transform: rotateX(68deg); transform-origin: bottom center;
  background-image:
    linear-gradient(rgba(0,227,201,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,227,201,.22) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to top, #000 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 75%);
  animation: gridMove 6s linear infinite; opacity: .8;
}
@keyframes gridMove { from { background-position: 0 0; } to { background-position: 0 70px; } }

.footer .container { position: relative; z-index: 2; }

.footer-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 40px 44px; border-radius: var(--radius-lg); margin-bottom: 70px;
  background: linear-gradient(135deg, rgba(0,227,201,.14), rgba(255,255,255,.03) 60%);
  border: 1px solid var(--border-brand);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -30px rgba(0,227,201,.35), inset 0 1px 0 rgba(255,255,255,.1);
  transform: perspective(1200px) rotateX(6deg); transition: transform .6s var(--ease);
}
.footer-cta:hover { transform: perspective(1200px) rotateX(0deg) translateY(-4px); }
.footer-cta h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.footer-cta p { color: var(--text-2); margin-top: 4px; }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-logo img { height: 48px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--text-2); font-size: 15px; max-width: 320px; }

.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  color: var(--text-2); background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  box-shadow: 0 8px 16px -6px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  transition: all .35s var(--ease);
}
.socials a:hover {
  color: #021412; background: linear-gradient(135deg, var(--brand-3), var(--brand));
  transform: translateY(-4px) rotateX(10deg); box-shadow: 0 14px 26px -8px var(--brand-glow);
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; letter-spacing: .02em; }
.footer-col a, .footer-col span { color: var(--text-2); font-size: 14.5px; transition: color .3s, transform .3s; width: fit-content; }
.footer-col a:hover { color: var(--brand); transform: translateX(4px); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--border);
}
.footer-bottom p { color: var(--text-3); font-size: 14px; }
.to-top {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: var(--brand); border: 1px solid var(--border-brand); background: var(--brand-soft);
  transition: all .35s var(--ease);
}
.to-top:hover { background: var(--brand); color: #021412; transform: translateY(-4px); box-shadow: 0 10px 24px -6px var(--brand-glow); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.about-grid .about-card:nth-child(2) { transition-delay: .08s; }
.about-grid .about-card:nth-child(3) { transition-delay: .16s; }
.about-grid .about-card:nth-child(4) { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero { padding: 130px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 14px;
    background: rgba(5,9,12,.97); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: .4s var(--ease);
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav-link { font-size: 22px; }
  .nav-cta { margin: 14px 0 0; }
  .steps { flex-direction: column; align-items: flex-start; }
  .step-line { width: 1px; height: 30px; background: linear-gradient(180deg, var(--brand), transparent); }
  .footer-cta { transform: none; padding: 32px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .logo img { height: 38px; }
  .hero-stats { gap: 24px; }
  .stat h3 { font-size: 24px; }
  .field-row { flex-direction: column; gap: 0; }
  .form-card { padding: 26px 20px; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-cta h3 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   UPDATE: Real-estate theme — bg images + white section
   ========================================================= */

/* ---------- Hero / footer base backgrounds ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(5,9,12,.96) 0%, rgba(5,9,12,.85) 45%, rgba(5,9,12,.6) 100%);
}
.hero::after { /* fade into white section */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(5,9,12,.9));
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.footer {
  background:
    linear-gradient(180deg, rgba(3,7,10,.92), rgba(3,7,10,.97)), #03070A;
  margin-top: 0;
}

/* toggle labels are longer now */
.toggle-btn { font-size: 14px; padding: 11px 6px; }
.exit-only { transition: opacity .3s; }
.exit-only.hidden { display: none; }

/* ---------- WHITE "About" section ---------- */
.about.light {
  --l-text: #0B1A1F;
  --l-text-2: #4A5B62;
  --l-border: #E3ECEE;
  --l-brand: #00A894;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(247,251,251,.97)), #FFFFFF;
  color: var(--l-text);
  padding: 110px 0 110px;
}
.about.light .eyebrow { color: var(--l-brand); }
.about.light .section-text { color: var(--l-text-2); }
.about.light .section-text strong { color: var(--l-text); }
.about.light .text-gradient {
  background: linear-gradient(120deg, #00C9B1, #00A894 50%, #008C7C);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.about.light .about-card {
  background: #FFFFFF;
  border: 1px solid var(--l-border);
  box-shadow: 0 1px 2px rgba(11,26,31,.04), 0 12px 32px -16px rgba(11,42,48,.15);
}
.about.light .about-card:hover {
  border-color: rgba(0,184,163,.4);
  box-shadow: 0 30px 60px -24px rgba(0,168,148,.35);
}
.about.light .about-card h3 { color: var(--l-text); }
.about.light .about-card p { color: var(--l-text-2); }
.about.light .icon-box {
  color: #008C7C;
  background: linear-gradient(145deg, #E6FBF8, #CFF7F1);
  border-color: #BFF0E8;
}

.about.light .steps {
  background: linear-gradient(135deg, #04211D, #0A1116);
  border: 0; color: #fff;
  box-shadow: 0 40px 80px -30px rgba(4,33,29,.5);
}
.about.light .step p { color: #A9B6BF; }
.about.light .step-no { color: var(--brand); }

/* ---------- Flow illustration ---------- */
.flow-illustration { max-width: 960px; margin: 0 auto 70px; }
.flow-illustration > svg { width: 100%; height: auto; overflow: visible; }
.svg-title { font: 700 17px 'Inter', sans-serif; fill: #0B1A1F; }
.svg-sub { font: 500 13px 'Inter', sans-serif; fill: #6C7A84; }
.flow-path { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -36; } }
.spin-slow { transform-origin: 480px 150px; animation: spin 18s linear infinite; }

@media (max-width: 900px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(5,9,12,.9), rgba(5,9,12,.95));
  }
}
@media (max-width: 640px) {
  .flow-illustration { overflow-x: auto; margin-bottom: 50px; }
  .flow-illustration > svg { min-width: 620px; }
  .about.light { padding: 80px 0; }
}

/* =========================================================
   UPDATE 2: NBT scheme content + Eleque Infra footer
   ========================================================= */
.hero-text strong { color: var(--text); font-weight: 600; }
.badge { flex-wrap: wrap; line-height: 1.4; }

.hero-points { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.hero-points li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; color: var(--text); }
.hero-points .tick {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  color: #021412; background: linear-gradient(135deg, var(--brand-3), var(--brand));
  box-shadow: 0 6px 16px -4px var(--brand-glow);
}

/* intro (white section) */
.intro-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; margin-bottom: 80px; }
.intro-text .section-title { margin-bottom: 24px; }
.intro-text p { color: #4A5B62; font-size: 17px; margin-bottom: 16px; }
.intro-text p.lead { font-size: 20px; color: #0B1A1F; line-height: 1.55; }
.intro-text strong { color: #0B1A1F; font-weight: 600; }

.highlight-stack { display: grid; gap: 20px; }
.highlight {
  display: flex; gap: 20px; align-items: flex-start; padding: 30px; border-radius: 22px;
  background: #FFFFFF; border: 1px solid #E3ECEE;
  box-shadow: 0 1px 2px rgba(11,26,31,.04), 0 20px 44px -22px rgba(11,42,48,.22);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.highlight:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(0,168,148,.35); }
.highlight-icon {
  flex-shrink: 0; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  color: #04211D; background: linear-gradient(135deg, var(--brand-3), var(--brand));
  box-shadow: 0 10px 24px -8px var(--brand-glow);
}
.highlight h3 { font-size: 20px; font-weight: 700; color: #0B1A1F; letter-spacing: -0.01em; margin-bottom: 6px; }
.highlight p { color: #4A5B62; font-size: 15px; }
.highlight.dark { background: linear-gradient(135deg, #04211D, #0A1116); border-color: transparent; }
.highlight.dark h3 { color: #fff; }
.highlight.dark p { color: #A9B6BF; }

.section-title.small { font-size: clamp(26px, 3vw, 36px); }
.about.light .section-head { margin-bottom: 44px; }

/* footer: Eleque Infra */
.powered { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.footer-logo img { height: 58px; width: auto; margin-bottom: 20px; }

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 60px; }
}
@media (max-width: 560px) {
  .hero-points li { font-size: 15px; align-items: flex-start; }
  .highlight { padding: 24px; flex-direction: column; }
  .intro-text p.lead { font-size: 18px; }
}
.about.light .steps { align-items: flex-start; }
.about.light .step-line { margin-top: 44px; }
@media (max-width: 900px) { .about.light .step-line { margin-top: 0; } }
.badge { flex-wrap: nowrap; }
.badge .dot { flex-shrink: 0; }
.form-head h2 { line-height: 1.25; }
@media (max-width: 560px) { .badge { font-size: 12px; border-radius: 14px; } }
.field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; font-size: 15px; font-family: inherit;
  background: rgba(0,0,0,.3); border: 1px solid var(--border); color: var(--text);
  outline: none; resize: vertical; min-height: 110px; line-height: 1.5;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea::placeholder { color: var(--text-3); }
.field textarea:focus { border-color: var(--brand); background: rgba(0,227,201,.04); box-shadow: 0 0 0 4px rgba(0,227,201,.12); }

/* =========================================================
   UPDATE 3: How it works — half steps / half auto images
   ========================================================= */
.steps-split {
  display: grid; grid-template-columns: 1fr 1fr; margin-top: 80px;
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, #04211D, #0A1116 60%);
  box-shadow: 0 50px 100px -40px rgba(4,33,29,.6);
}
.steps-list { padding: 52px 48px; color: #fff; }
.steps-list .eyebrow { color: var(--brand); margin-bottom: 10px; }
.steps-title { font-size: 30px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 28px; }

.step-item {
  position: relative; display: flex; gap: 18px; padding: 20px 22px; margin-bottom: 10px;
  border-radius: 16px; border: 1px solid transparent; cursor: pointer; overflow: hidden;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.step-item:hover { background: rgba(255,255,255,.025); }
.step-item .step-no { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: #4F6068; min-width: 26px; padding-top: 3px; transition: color .4s; }
.step-item h4 { font-size: 18px; font-weight: 700; color: #8FA0A8; transition: color .4s; }
.step-item p {
  color: #A9B6BF; font-size: 14.5px; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--ease), opacity .5s var(--ease), margin .5s var(--ease);
}
.step-item.active { background: rgba(255,255,255,.045); border-color: rgba(0,227,201,.22); }
.step-item.active .step-no { color: var(--brand); }
.step-item.active h4 { color: #fff; }
.step-item.active p { max-height: 90px; opacity: 1; margin-top: 6px; }

.step-progress {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--brand-3), var(--brand));
  box-shadow: 0 0 10px var(--brand-glow);
}
.step-item.active .step-progress { animation: stepFill 5s linear forwards; }
.steps-split.paused .step-item.active .step-progress { animation-play-state: paused; }
@keyframes stepFill { to { width: 100%; } }

.steps-media { position: relative; min-height: 480px; overflow: hidden; }
.media-slide {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.08);
  background-size: cover; background-position: center;
  transition: opacity 1s var(--ease), transform 6s ease-out;
}
.media-slide.active { opacity: 1; transform: scale(1); }
/* fallback gradients until real images are added */
.media-slide.s1 { background-color: #0B2B2A; background-image: radial-gradient(circle at 70% 30%, rgba(0,227,201,.35), transparent 60%); }
.media-slide.s2 { background-color: #0A2230; background-image: radial-gradient(circle at 30% 30%, rgba(91,255,233,.3), transparent 60%); }
.media-slide.s3 { background-color: #0D2A22; background-image: radial-gradient(circle at 60% 70%, rgba(0,184,163,.4), transparent 60%); }
.media-slide::after { /* blend image into the dark panel */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,33,29,.55) 0%, transparent 30%),
              linear-gradient(0deg, rgba(3,10,10,.7) 0%, transparent 40%);
}
.media-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(0,227,201,.55); }
.media-slide.has-img .media-placeholder { display: none; }

.media-caption {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 100px;
  background: rgba(5,9,12,.55); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff;
}
.cap-no {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #021412;
  background: linear-gradient(135deg, var(--brand-3), var(--brand));
}
.cap-text { font-size: 14px; font-weight: 600; transition: opacity .3s; }

@media (max-width: 900px) {
  .steps-split { grid-template-columns: 1fr; }
  .steps-media { min-height: 320px; order: -1; }
  .steps-list { padding: 36px 24px; }
  .steps-title { font-size: 24px; }
}
.about.light .step-item .step-no { color: #4F6068; }
.about.light .step-item.active .step-no { color: var(--brand); }
.steps-media { min-height: 540px; }
@media (max-width: 900px) { .steps-media { min-height: 320px; } .steps-list { min-height: 420px; } }
@media (max-width: 560px) { .steps-list { min-height: 640px; } }

/* =========================================================
   UPDATE 4: Full responsive pass + side drawer menu
   Breakpoints:
   ≤360 small phones · ≤560 phones · ≤900 tablets (portrait)
   ≤1080 tablets (landscape) / small laptops · default laptop/desktop
   ≥1600 large desktop · ≥1800 24" (1920) · ≥2200 / ≥2500 2K–4K · ≥3200 5K
   ========================================================= */

/* elements only used inside the mobile drawer */
.drawer-top, .drawer-label, .drawer-bottom, .nav-overlay { display: none; }
.flow-mobile { display: none; }

/* ---------- Tablet & mobile: side drawer ---------- */
@media (max-width: 900px) {
  .header.scrolled, .header.menu-open {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgba(5, 9, 12, .96);
  }
  .menu-toggle { z-index: 4; }

  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 2;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav-overlay.show { opacity: 1; visibility: visible; }

  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 3;
    width: clamp(260px, 50vw, 380px); height: 100vh; height: 100dvh;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    padding: 96px 22px 28px;
    background: linear-gradient(180deg, #0C171C 0%, #05090C 100%);
    border-left: 1px solid var(--border-brand);
    box-shadow: -30px 0 80px rgba(0, 0, 0, .6);
    backdrop-filter: none;
    opacity: 1; visibility: hidden; transform: translateX(105%);
    transition: transform .5s var(--ease), visibility .5s;
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); visibility: visible; }
  .nav::before { /* teal glow inside drawer */
    content: ''; position: absolute; top: -80px; right: -80px; width: 220px; height: 220px;
    border-radius: 50%; background: var(--brand); filter: blur(90px); opacity: .18; pointer-events: none;
  }

  .drawer-top { display: block; position: absolute; top: 22px; left: 22px; }
  .drawer-top img { height: 34px; width: auto; }
  .drawer-label {
    display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--text-3); margin: 0 0 8px 14px;
  }
  .nav-link {
    font-size: 17px; padding: 14px 16px; border-radius: 12px; color: var(--text-2);
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-link::after {
    content: ''; position: static; transform: rotate(45deg); width: 7px; height: 7px; left: auto; bottom: auto;
    border-top: 2px solid currentColor; border-right: 2px solid currentColor; border-radius: 0; background: none;
    opacity: .5; transition: opacity .3s, transform .3s;
  }
  .nav-link:hover::after, .nav-link.active::after { width: 7px; opacity: 1; }
  .nav-link:hover { background: rgba(255,255,255,.04); color: #fff; }
  .nav-link.active { background: var(--brand-soft); color: var(--brand); }

  .drawer-bottom {
    display: flex; flex-direction: column; gap: 10px; margin-top: auto;
    padding-top: 22px; border-top: 1px solid var(--border);
  }
  .drawer-bottom .drawer-label { margin-left: 0; }
  .drawer-bottom a { color: var(--text-2); font-size: 14px; word-break: break-word; }
  .drawer-bottom a:hover { color: var(--brand); }

  /* hero tidy for tablets */
  .hero { min-height: auto; }
  .hero-form-wrap { max-width: 620px; }
  .hero-text { max-width: 640px; }
}

/* ---------- Tablet portrait: keep 2-col where there is room ---------- */
@media (min-width: 641px) and (max-width: 900px) {
  .steps-split { grid-template-columns: 1fr 1fr; }
  .steps-media { order: 0; min-height: 520px; }
  .steps-list { min-height: 0; padding: 36px 28px; }
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .flow-illustration { overflow: visible; margin-bottom: 56px; }
  .flow-illustration > svg { display: none; }
  .flow-mobile {
    display: flex; flex-direction: column; padding: 24px; border-radius: 22px;
    background: #fff; border: 1px solid #E3ECEE;
    box-shadow: 0 20px 44px -22px rgba(11,42,48,.22);
  }
  .fm-item { display: flex; align-items: center; gap: 16px; }
  .fm-item h4 { font-size: 16px; font-weight: 700; color: #0B1A1F; }
  .fm-item p { font-size: 13.5px; color: #6C7A84; }
  .fm-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; }
  .fm-icon.stuck { color: #E5484D; background: #FDECEC; border: 1px solid #F8D4D5; }
  .fm-icon.ready { color: #008C7C; background: #E6FBF8; border: 1px solid #BFF0E8; }
  .fm-icon.umeed {
    color: #5BFFE9; background: radial-gradient(circle at 50% 30%, #16403F, #020909);
    border: 2px solid var(--brand); box-shadow: 0 10px 24px -8px var(--brand-glow);
  }
  .fm-line {
    width: 2px; height: 26px; margin: 6px 0 6px 27px;
    background: repeating-linear-gradient(180deg, #00B8A3 0 5px, transparent 5px 10px);
  }
}

@media (max-width: 560px) {
  .hero { padding: 118px 0 64px; }
  .hero-title { font-size: clamp(34px, 10vw, 44px); }
  .hero-text { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .about.light { padding: 72px 0; }
  .intro-grid { margin-bottom: 48px; }
  .section-title { font-size: clamp(28px, 8vw, 34px); }

  /* problem cards: compact horizontal */
  .about-grid { gap: 12px; }
  .about-card { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 20px; align-items: start; }
  .about-card .icon-box { width: 48px; height: 48px; margin: 0; grid-row: span 2; }
  .about-card h3 { font-size: 16.5px; margin-bottom: 4px; }
  .about-card p { font-size: 14px; }
  .about-card:hover { transform: none; }

  .steps-split { margin-top: 56px; border-radius: 22px; }
  .steps-media { min-height: 280px; }
  .steps-list { min-height: 500px; padding: 30px 18px; }
  .step-item { padding: 16px; gap: 14px; }
  .step-item h4 { font-size: 16.5px; }
  .media-caption { left: 14px; bottom: 14px; }

  .footer { padding-top: 56px; }
  .footer-cta { padding: 26px 22px; margin-bottom: 48px; }
  .footer-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand, .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { gap: 16px; margin-top: 40px; }
  .footer-bottom p { font-size: 13px; }
}

@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .logo img { height: 32px; }
  .badge { font-size: 11px; padding: 7px 12px; }
  .form-card { padding: 22px 16px; }
  .footer-col a, .footer-col span { font-size: 13.5px; }
}

/* ---------- Small laptops / tablet landscape ---------- */
@media (min-width: 901px) and (max-width: 1180px) {
  .hero-grid { gap: 40px; }
  .hero-title { font-size: clamp(40px, 4.8vw, 56px); }
  .form-card { padding: 30px; }
  .intro-grid { gap: 44px; }
  .steps-list { padding: 40px 32px; }
}

/* ---------- Large desktops, 24" monitors, 2K / 4K ----------
   The whole layout scales up proportionally so it fills big screens
   instead of sitting small in the middle. */
@media (min-width: 1600px) {
  .container { max-width: 1320px; }
  .hero { min-height: 0; padding: 180px 0 130px; }
}
@media (min-width: 1800px) { html { zoom: 1.12; } }
@media (min-width: 2200px) { html { zoom: 1.35; } }
@media (min-width: 2500px) { html { zoom: 1.5; } }
@media (min-width: 3200px) { html { zoom: 1.9; } }
@media (max-width: 340px) { .steps-list { min-height: 570px; } }

/* =========================================================
   UPDATE 5: Hero = banner (left) + compact form (right)
   ========================================================= */
.hero {
  min-height: 0; padding: 128px 0 80px;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(40, 30, 90, .35), transparent 60%),
    radial-gradient(ellipse at 85% 50%, rgba(0, 227, 201, .10), transparent 55%),
    #05090C;
}
.hero::after { display: none; }
.hero-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 36px; align-items: center; }

.hero-banner {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,227,201,.06), 0 30px 80px -40px rgba(0,227,201,.35);
  background: #090C1D;
}
.hero-banner img { width: 100%; height: auto; display: block; }

/* compact form */
.hero-form-wrap { scroll-margin-top: 100px; }
.form-card { padding: 26px 26px 24px; border-radius: 22px; }
.form-glow { width: 220px; height: 220px; }
.form-head { margin-bottom: 18px; }
.form-head h2 { font-size: 21px; }
.form-head p { font-size: 13.5px; margin-top: 2px; }
.hero .field { margin-bottom: 12px; }
.hero .field label { font-size: 12.5px; margin-bottom: 6px; }
.hero .field input, .hero .field textarea { padding: 11px 14px; font-size: 14.5px; border-radius: 10px; }
.hero .field textarea { min-height: 78px; }
.hero .field-row { gap: 10px; }
.hero #submitBtn { margin-top: 4px; padding: 13px 20px; font-size: 15px; }

@media (min-width: 901px) and (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
  .form-card { padding: 22px 20px; }
  .hero .field-row { flex-direction: column; gap: 0; }
}
@media (max-width: 900px) {
  .hero { padding: 104px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-form-wrap { max-width: 560px; width: 100%; margin: 0 auto; }
  .hero-banner { border-radius: 18px; }
}
@media (max-width: 560px) {
  .hero { padding: 92px 0 48px; }
  .hero-banner { border-radius: 14px; }
  .hero .field-row { flex-direction: column; gap: 0; }
}
@media (min-width: 1600px) {
  .hero { padding: 150px 0 100px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 44px; }
}
/* tighter form so it sits level with the banner */
.form-card { padding: 22px 24px 22px; }
.form-head { margin-bottom: 14px; }
.form-head h2 { font-size: 20px; }
.hero .field { margin-bottom: 10px; }
.hero .field textarea { min-height: 66px; }
@media (min-width: 901px) and (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .hero .field-row { flex-direction: row; gap: 10px; }
  .hero .field textarea { min-height: 58px; }
}

/* =========================================================
   UPDATE 6: Contact with icons + floating WhatsApp
   ========================================================= */
.contact-link { display: inline-flex !important; align-items: center; gap: 12px; }
.c-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  color: var(--brand); background: var(--brand-soft); border: 1px solid var(--border-brand);
  transition: all .3s var(--ease);
}
.c-icon.wa { color: #25D366; background: rgba(37,211,102,.1); border-color: rgba(37,211,102,.28); }
.contact-link:hover .c-icon { background: var(--brand); color: #021412; }
.contact-link:hover .c-icon.wa { background: #25D366; color: #fff; }
.contact-col .contact-link:hover { transform: translateX(3px); }
.drawer-bottom .contact-link { gap: 10px; }
.drawer-bottom .c-icon { width: 32px; height: 32px; border-radius: 9px; }

.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: linear-gradient(145deg, #3BE57A, #1EBE5B);
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.6), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 20px 40px -10px rgba(37,211,102,.75), inset 0 1px 0 rgba(255,255,255,.35); }
.wa-float svg { position: relative; z-index: 1; }
.wa-ping {
  position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: .5;
  animation: waPing 2.2s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes waPing { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.wa-tip {
  position: absolute; right: 74px; white-space: nowrap; padding: 8px 14px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; color: #0B1A1F; background: #fff;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.35);
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: all .3s var(--ease);
}
.wa-tip::after { content: ''; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; background: #fff; transform: translateY(-50%) rotate(45deg); }
.wa-float:hover .wa-tip { opacity: 1; transform: none; }
body.menu-lock .wa-float { opacity: 0; pointer-events: none; }

/* keep footer back-to-top clear of the floating button */
.footer-bottom { padding-right: 84px; }

@media (max-width: 560px) {
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .wa-float svg { width: 27px; height: 27px; }
  .wa-tip { display: none; }
  .footer-bottom { padding-right: 70px; }
}
.footer-col .c-icon { width: 36px; height: 36px; font-size: 0; }
.footer-col .contact-link { width: auto; font-size: 14.5px; }

/* =========================================================
   UPDATE 7: Popup form (white, compact)
   ========================================================= */
.popup { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.popup.open { visibility: visible; }
.popup-overlay {
  position: absolute; inset: 0; background: rgba(2, 8, 10, .62);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.popup.open .popup-overlay { opacity: 1; }

.popup-box {
  position: relative; width: 100%; max-width: 420px; max-height: calc(100dvh - 40px); overflow-y: auto;
  padding: 26px 26px 24px; border-radius: 22px; background: #FFFFFF; color: #0B1A1F;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(0,227,201,.15);
  opacity: 0; transform: translateY(24px) scale(.96);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.popup-box::before { /* thin brand bar on top */
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-3), var(--brand), var(--brand-2));
}
.popup.open .popup-box { opacity: 1; transform: none; }

.popup-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; border: 0;
  color: #4A5B62; background: #F1F5F6; transition: background .25s, color .25s, transform .25s;
}
.popup-close:hover { background: #0B1A1F; color: #fff; transform: rotate(90deg); }

.popup-head { padding: 4px 0 16px; margin-bottom: 16px; border-bottom: 1px solid #EDF2F3; }
.popup-logo { height: 44px; width: auto; }
.popup-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: #0B1A1F; }
.popup-sub { font-size: 13.5px; color: #6C7A84; margin: 4px 0 16px; }

.popup .field { margin-bottom: 11px; }
.popup .field-row { gap: 10px; }
.popup .field label { color: #3B4A51; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; }
.popup .field input, .popup .field textarea {
  padding: 11px 14px; font-size: 14.5px; border-radius: 10px;
  background: #F5F8F9; border: 1px solid #E1E9EB; color: #0B1A1F;
}
.popup .field textarea { min-height: 70px; }
.popup .field input::placeholder, .popup .field textarea::placeholder { color: #98A6AC; }
.popup .field input:focus, .popup .field textarea:focus {
  background: #fff; border-color: #00B8A3; box-shadow: 0 0 0 4px rgba(0,184,163,.14);
}
.popup .field.invalid input { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229,72,77,.1); }
.popup .field .error { color: #D93D42; }
.popup .submit-btn { margin-top: 6px; padding: 13px 20px; font-size: 15px; }
.popup .form-msg.success { background: #E6FBF8; border-color: #BFF0E8; color: #00806F; }
.popup .form-msg.fail { background: #FDECEC; border-color: #F8D4D5; color: #D93D42; }

@media (max-width: 480px) {
  .popup { padding: 14px; align-items: end; }
  .popup-box { padding: 22px 18px 20px; border-radius: 20px; }
  .popup-logo { height: 38px; }
  .popup .field-row { flex-direction: column; gap: 0; }
}

/* =========================================================
   UPDATE 8: Bigger banner, smaller hero form
   ========================================================= */
.hero-container { max-width: 1480px; }
.hero-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }

.hero .form-card { padding: 18px 18px 18px; border-radius: 18px; }
.hero .form-head { margin-bottom: 12px; }
.hero .form-head h2 { font-size: 17px; line-height: 1.3; }
.hero .field { margin-bottom: 9px; }
.hero .field label { font-size: 12px; margin-bottom: 5px; }
.hero .field input, .hero .field textarea { padding: 9px 12px; font-size: 13.5px; border-radius: 9px; }
.hero .field textarea { min-height: 56px; }
.hero .field-row { flex-direction: column; gap: 0; }
.hero #submitBtn { padding: 11px 18px; font-size: 14.5px; border-radius: 10px; margin-top: 2px; }
.hero .form-msg { font-size: 13px; padding: 10px 12px; }

@media (min-width: 901px) and (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; }
  .hero .field-row { flex-direction: column; gap: 0; }
}
@media (min-width: 1600px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-form-wrap { max-width: 460px; }
}
@media (min-width: 481px) and (max-width: 900px) {
  .hero .field-row { flex-direction: row; gap: 10px; }
}
.header .container { max-width: 1480px; }

/* honeypot (spam trap) – hidden from people */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
#contact { scroll-margin-top: 110px; }

/* =========================================================
   UPDATE 9: Popup always centred + no subtitle
   ========================================================= */
.popup { place-items: center; align-items: center; justify-items: center; }
.popup-title { margin-bottom: 16px; }
@media (max-width: 480px) {
  .popup { align-items: center; padding: 16px; }
  .popup-box { max-height: calc(100dvh - 32px); }
}

/* =========================================================
   UPDATE 10: Theme scrollbar
   ========================================================= */
@supports (-moz-appearance: none) {   /* Firefox only (Chrome/Edge/Safari use the styles below) */
  html { scrollbar-color: #00E3C9 #05090C; scrollbar-width: thin; }
  .popup-box { scrollbar-color: #00B8A3 #F1F5F6; scrollbar-width: thin; }
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #05090C; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #5BFFE9, #00E3C9 50%, #00B8A3);
  border-radius: 10px; border: 2px solid #05090C;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #8BFFF0, #2BF0D8 50%, #00CDB5); }
::-webkit-scrollbar-corner { background: #05090C; }

/* popup & mobile drawer: slim scrollbar to match their background */
.popup-box::-webkit-scrollbar { width: 6px; }
.popup-box::-webkit-scrollbar-track { background: #F1F5F6; border-radius: 10px; }
.popup-box::-webkit-scrollbar-thumb { border: 0; background: #00B8A3; }
.nav::-webkit-scrollbar { width: 6px; }
.nav::-webkit-scrollbar-thumb { border: 0; }
