/* ============================================================
   TechRegister India — styles.css
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --saffron: #FF9933;
  --green:   #138808;
  --navy:    #0B1F3A;
  --navy-2:  #122A4D;
  --ink:     #16233A;
  --muted:   #5A6884;
  --line:    #E4E9F2;
  --bg:      #F7F9FC;
  --white:   #FFFFFF;
  --grad:    linear-gradient(135deg, #FF9933 0%, #FF6B35 100%);
  --grad-2:  linear-gradient(135deg, #138808 0%, #0B6B10 100%);
  --shadow-sm: 0 2px 8px rgba(11,31,58,.06);
  --shadow-md: 0 8px 28px rgba(11,31,58,.09);
  --shadow-lg: 0 20px 60px rgba(11,31,58,.14);
  --radius:   16px;
  --radius-sm:10px;
  --container: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .2px;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255,107,53,.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255,107,53,.42);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--navy);
  color: #C7D3E6;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
  flex-wrap: wrap;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.topbar-item .ic {
  width: 15px; height: 15px;
  fill: var(--saffron);
  flex-shrink: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.header.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 20px;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--grad);
  box-shadow: 0 6px 16px rgba(255,107,53,.3);
  flex-shrink: 0;
}
.brand-mark svg { width: 24px; height: 24px; fill: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.3px;
}
.brand-text strong em { font-style: normal; color: var(--saffron); }
.brand-text small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .2px;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  transition: color .2s;
}
.nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  height: 2px; width: 0;
  background: var(--grad);
  transition: width .25s ease;
}
.nav a:hover { color: var(--saffron); }
.nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--grad);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(255,107,53,.3);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,107,53,.42); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  width: 24px; height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(255,153,51,.14), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(19,136,8,.10), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 100%);
  padding: 80px 0 90px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: auto -100px -140px auto;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,153,51,.22), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(19,136,8,.10);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(19,136,8,.22);
  margin-bottom: 22px;
}
.pill .dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(19,136,8,.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(19,136,8,.2); }
  50%      { box-shadow: 0 0 0 7px rgba(19,136,8,.05); }
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -1.2px;
  color: var(--navy);
  margin-bottom: 20px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 520px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stats strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1.1;
}
.hero-stats strong::after { content: '+'; color: var(--saffron); font-size: 20px; }
.hero-stats span { font-size: 13px; color: var(--muted); font-weight: 500; }

/* Hero media */
.hero-media { position: relative; }
.hero-media > img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.floating-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  animation: floaty 4.5s ease-in-out infinite;
}
.floating-card strong { display: block; font-size: 13.5px; color: var(--navy); line-height: 1.3; }
.floating-card small  { font-size: 11.5px; color: var(--muted); }

.fc-1 { left: -22px; bottom: 44px; }
.fc-2 { right: -18px; top: 40px; animation-delay: 1.2s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.ic-green, .ic-saffron { width: 28px; height: 28px; flex-shrink: 0; }
.ic-green  { fill: var(--green); }
.ic-saffron{ fill: var(--saffron); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  background: var(--navy);
  color: #C7D3E6;
  padding-block: 20px;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 34px;
  font-size: 13.5px;
}
.trust-inner span { color: #7E90AB; letter-spacing: .5px; text-transform: uppercase; font-size: 11.5px; font-weight: 700; }
.trust-inner b {
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
  position: relative;
  padding-left: 16px;
}
.trust-inner b::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--saffron);
  transform: translateY(-50%);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 90px 0; }
.section-alt { background: var(--bg); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -.8px;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-head p { color: var(--muted); font-size: 16px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.badge-card {
  position: absolute;
  left: -18px; bottom: 28px;
  background: #fff;
  padding: 16px 22px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--green);
}
.badge-card strong { display: block; font-size: 15px; color: var(--navy); font-weight: 800; }
.badge-card small  { font-size: 12px; color: var(--muted); }

.about-copy h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.7px;
  line-height: 1.22;
  color: var(--navy);
  margin-bottom: 18px;
}
.about-copy p { color: var(--muted); margin-bottom: 22px; font-size: 15.5px; }
.about-copy strong { color: var(--ink); font-weight: 700; }

.check-list { margin-bottom: 30px; display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(19,136,8,.12) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23138808'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
}

/* ============================================================
   BENEFIT CARDS
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,153,51,.35);
}
.card-ic {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  margin-bottom: 18px;
}
.card-ic svg { width: 26px; height: 26px; fill: #fff; }
.ic1 { background: linear-gradient(135deg,#FF9933,#FF6B35); }
.ic2 { background: linear-gradient(135deg,#138808,#0B6B10); }
.ic3 { background: linear-gradient(135deg,#2563EB,#1E40AF); }
.ic4 { background: linear-gradient(135deg,#7C3AED,#5B21B6); }
.ic5 { background: linear-gradient(135deg,#0891B2,#065F73); }
.ic6 { background: linear-gradient(135deg,#DB2777,#9D174D); }

.card h3 {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -.3px;
}
.card p { font-size: 14.5px; color: var(--muted); }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 34px; left: 6%; right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--saffron) 0 8px, transparent 8px 16px);
  opacity: .35;
  z-index: 0;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
  z-index: 1;
  transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-no {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(255,107,53,.28);
}
.step h4 { font-size: 16.5px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.step p  { font-size: 14px; color: var(--muted); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 32px;
}
.price-card {
  position: relative;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 22px;
  padding: 40px 34px 36px;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.price-card.featured {
  border-color: var(--saffron);
  box-shadow: 0 20px 50px rgba(255,107,53,.16);
  background: linear-gradient(180deg, #FFFBF6 0%, #FFFFFF 40%);
}

.ribbon {
  position: absolute;
  top: -14px; right: 26px;
  background: var(--grad);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(255,107,53,.35);
}

.price-card header { margin-bottom: 22px; }
.price-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.5px;
  margin-bottom: 6px;
}
.price-sub { font-size: 13.5px; color: var(--muted); }

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px dashed var(--line);
}
.price .cur { font-size: 26px; font-weight: 700; color: var(--saffron); }
.price .amt {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--navy);
  line-height: 1;
}
.price .per { font-size: 14px; color: var(--muted); font-weight: 600; margin-left: 4px; }

.price-list { display: grid; gap: 12px; margin-bottom: 30px; flex-grow: 1; }
.price-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
}
.price-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(19,136,8,.12) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23138808'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/13px no-repeat;
}
.price-card.featured .price-list li::before {
  background-color: rgba(255,153,51,.18);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF9933'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>");
}

.price-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 720px;
  margin: 36px auto 0;
}

/* ============================================================
   REGISTRATION FORM
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.form-copy h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.7px;
  line-height: 1.22;
  color: var(--navy);
  margin-bottom: 16px;
}
.form-copy > p { color: var(--muted); margin-bottom: 26px; font-size: 15.5px; }

.secure-box {
  display: flex;
  gap: 14px;
  background: rgba(19,136,8,.06);
  border: 1px solid rgba(19,136,8,.18);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.secure-box svg { width: 30px; height: 30px; fill: var(--green); flex-shrink: 0; }
.secure-box strong { display: block; font-size: 14.5px; color: var(--navy); margin-bottom: 2px; }
.secure-box p { font-size: 13px; color: var(--muted); margin: 0; }

.selected-plan-box {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background .3s ease;
}
.selected-plan-box small { font-size: 12px; color: #93A6C2; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; }
.selected-plan-box strong { font-size: 16px; font-weight: 700; color: #fff; }

/* Form card */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 34px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .1px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #F9FBFE;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input::placeholder,
.field textarea::placeholder { color: #A6B2C6; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(255,153,51,.14);
}
.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: #E23B3B;
  box-shadow: 0 0 0 4px rgba(226,59,59,.12);
}

/* Checkbox */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.55;
}
.checkbox input {
  appearance: none;
  width: 20px; height: 20px;
  min-width: 20px;
  border: 2px solid var(--line);
  border-radius: 6px;
  margin-top: 1px;
  background: #F9FBFE;
  cursor: pointer;
  transition: all .2s;
  position: relative;
}
.checkbox input:checked {
  background: var(--grad);
  border-color: var(--saffron);
}
.checkbox input:checked::after {
  content: '';
  position: absolute;
  left: 5.5px; top: 1.5px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.checkbox input.invalid { border-color: #E23B3B; }

/* Pay button + spinner */
#payBtn { padding: 16px 28px; font-size: 16px; margin-top: 4px; }
#payBtn:disabled { opacity: .75; cursor: not-allowed; transform: none; }

.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-foot {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: -4px;
}

.form-alert {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.form-alert.success {
  background: rgba(19,136,8,.1);
  border: 1px solid rgba(19,136,8,.3);
  color: var(--green);
}
.form-alert.error {
  background: rgba(226,59,59,.08);
  border: 1px solid rgba(226,59,59,.28);
  color: #C22A2A;
}

/* ============================================================
   FIELD HINT
   ============================================================ */
.field-hint {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: -2px;
}

/* ============================================================
   PAYMENT MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 58, .62);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 999;
  opacity: 0;
  transition: opacity .25s ease;
  overflow-y: auto;
}
.modal-overlay.show { opacity: 1; }
.modal-overlay[hidden] { display: none; }

.modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 22px;
  padding: 34px 32px 30px;
  box-shadow: 0 30px 80px rgba(11, 31, 58, .35);
  transform: translateY(14px) scale(.98);
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.modal-overlay.show .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  background: #F2F5FA;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: #E4E9F2; color: var(--navy); }

.modal-head {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px dashed var(--line);
}
.modal-head h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.4px;
  margin: 6px 0 10px;
}
.modal-price {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}
.modal-price .cur {
  font-size: 20px;
  font-weight: 700;
  color: var(--saffron);
}
.modal-price span#modalAmount {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1.5px;
  line-height: 1;
}
.modal-price small {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-left: 6px;
}

.modal form {
  display: grid;
  gap: 16px;
}
.modal .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: #B7C3D6;
  padding-top: 70px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small  { color: #8496AF; }
.footer-desc { font-size: 14px; color: #8B9CB5; margin-top: 18px; max-width: 320px; }

.footer h4 {
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer ul { display: grid; gap: 10px; }
.footer ul li { font-size: 14px; color: #93A6C2; }
.footer ul a { transition: color .2s, padding-left .2s; }
.footer ul a:hover { color: var(--saffron); padding-left: 4px; }

.footer-bottom {
  padding-block: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  font-size: 12.5px;
  color: #7B8CA6;
}
.disclaimer { font-size: 11.5px; color: #64748B; max-width: 780px; margin: 0 auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media > img { height: 380px; }
  .fc-1 { left: 10px; }
  .fc-2 { right: 10px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media img { height: 380px; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }

  .form-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 760px) {
  .container { padding-inline: 18px; }

  .topbar-inner { justify-content: center; text-align: center; }
  .hide-sm { display: none !important; }

  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    padding: 96px 26px 26px;
    box-shadow: -14px 0 40px rgba(11,31,58,.18);
    transform: translateX(105%);
    transition: transform .35s cubic-bezier(.22,.61,.36,1);
    z-index: 99;
  }
  .nav.open { transform: translateX(0); }
  .nav a {
    width: 100%;
    padding: 13px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }
  .nav-cta { text-align: center; margin-top: 14px; border-bottom: none !important; }

  .hero { padding: 54px 0 66px; }
  .hero h1 { font-size: 2rem; }
  .hero-media > img { height: 300px; }
  .floating-card { padding: 11px 14px; }
  .floating-card strong { font-size: 12.5px; }
  .fc-1 { bottom: 16px; }
  .fc-2 { top: 16px; }

  .hero-stats { gap: 14px; }
  .hero-stats strong { font-size: 24px; }
  .hero-stats span { font-size: 11.5px; }

  .section { padding: 62px 0; }
  .section-head { margin-bottom: 40px; }

  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }

  .pricing { grid-template-columns: 1fr; gap: 26px; }
  .price-card { padding: 32px 24px 28px; }
  .price .amt { font-size: 38px; }

  .field-row { grid-template-columns: 1fr; gap: 16px; }
  .form-card { padding: 26px 20px; }

  .about-media img { height: 300px; }
  .badge-card { left: 12px; bottom: 14px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 36px; }
  .footer-desc { max-width: 100%; }
}

@media (max-width: 520px) {
  .modal { padding: 28px 22px 24px; border-radius: 18px; }
  .modal .field-row { grid-template-columns: 1fr; }
  .modal-price span#modalAmount { font-size: 30px; }
}

@media (max-width: 420px) {
  .brand-text small { display: none; }
  .price .amt { font-size: 34px; }
  .btn { padding: 13px 22px; font-size: 14px; }
}