/* =========================================
   MAHADSEC v2 — FROM SCRATCH
   ========================================= */

/* --- VARIABLES --- */
:root {
  --red: #e84933;
  --red-light: #ff6b55;
  --red-dark: #c43a28;

  --bg: #050508;
  --bg2: #0a0a10;
  --surface: rgba(255,255,255,.03);
  --surface-hover: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.07);
  --border-hover: rgba(255,255,255,.14);

  --white: #f0f0f5;
  --gray: #8f8fa8;
  --muted: #55556a;

  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* --- RESET --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--sans); }

/* --- LAYOUT --- */
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.wrap-sm { max-width: 640px; }

/* --- NAV --- */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 56px;
  background: #050508;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
#nav.scrolled {
  background: #050508;
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center; gap: 0;
}
.logo { display: flex; align-items: center; margin-right: auto; }
.logo img { display: block; }
.nav-links { display: flex; gap: 28px; margin-right: auto; }
.nav-links a {
  font-size: .8rem; font-weight: 500; color: var(--muted);
  letter-spacing: .01em;
  position: relative;
  transition: color .2s;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  padding: 6px 18px; border-radius: 6px;
  border: 1px solid var(--red);
  background: var(--red); color: var(--white);
  font-size: .78rem; font-weight: 500;
  white-space: nowrap;
  transition: all .2s var(--ease);
}
.nav-cta:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  color: var(--white);
}

/* LANGUAGE SWITCHER */
.lang-sw {
  display: flex; gap: 2px; align-items: center;
  background: rgba(255,255,255,.06); border-radius: 6px;
  padding: 2px; margin-right: 8px;
}
.lang-opt {
  padding: 4px 8px; border-radius: 4px; font-size: .7rem;
  font-weight: 600; color: var(--gray); transition: all .2s var(--ease);
  text-decoration: none; letter-spacing: .02em;
}
.lang-opt:hover { color: var(--white); background: rgba(255,255,255,.08); }
.lang-opt.active { color: var(--white); background: var(--red); }
.mob-lang {
  display: flex; gap: 4px; justify-content: center; padding: 8px 0 16px;
}

/* BURGER */
.burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; position: relative; z-index: 1100;
}
.burger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--white); border-radius: 2px;
  position: absolute; left: 8px; transition: .3s;
}
.burger span:first-child { top: 13px; }
.burger span:last-child { top: 22px; }
.burger.open span:first-child { top: 17px; transform: rotate(45deg); }
.burger.open span:last-child { top: 17px; transform: rotate(-45deg); }

/* MOBILE */
.mob {
  position: fixed; inset: 0; z-index: 1050;
  background: rgba(5,5,8,.97); backdrop-filter: blur(24px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mob.open { opacity: 1; pointer-events: all; }
.mob a { font-size: 1.2rem; font-weight: 600; color: var(--gray); transition: color .2s; }
.mob a:hover { color: var(--red); }
.mob-cta {
  margin-top: 12px; padding: 12px 32px; border-radius: 10px;
  background: var(--red); color: #fff !important; font-size: 1rem;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 140px 28px 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -20%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(232,73,51,.1) 0%, transparent 60%);
  pointer-events: none;
  animation: pulse 7s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
#gridCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: .3;
}

.hero-wrap { position: relative; z-index: 1; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; margin-bottom: 28px;
  background: rgba(232,73,51,.06); border: 1px solid rgba(232,73,51,.12);
  border-radius: 100px;
  font-size: .75rem; font-weight: 600; color: var(--red-light);
  letter-spacing: .5px;
}
.tag-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: tag-blink 2s ease-in-out infinite;
}
@keyframes tag-blink {
  0%, 100% { box-shadow: 0 0 4px var(--red); }
  50% { box-shadow: 0 0 16px var(--red), 0 0 32px rgba(232,73,51,.3); }
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin-bottom: 24px;
}
.grad {
  background: linear-gradient(135deg, var(--red), var(--red-light), #ffab91);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: grad-shift 6s ease-in-out infinite;
}
@keyframes grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
#rotate {
  display: inline-block;
  transition: opacity .3s, transform .3s;
}
#rotate.out { opacity: 0; transform: translateY(6px); }
#rotate.in { animation: pop-in .35s var(--ease-out); }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.hero-sub {
  font-size: 1.05rem; color: var(--gray); line-height: 1.8;
  max-width: 480px; margin: 0 auto 40px;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* STATS */
.hero-stats {
  display: inline-flex; align-items: center; gap: 0;
  margin-top: 56px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 18px 0;
}
.stat { flex: 0 0 160px; text-align: center; }
.stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--white); }
.stat span { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; }
.stat-sep { width: 1px; height: 36px; background: var(--border); }

/* --- RIBBON --- */
.ribbon {
  padding: 16px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg2); overflow: hidden;
}
.ribbon-track {
  display: flex; align-items: center; gap: 32px;
  width: max-content;
  animation: slide 22s linear infinite;
}
@keyframes slide { to { transform: translateX(-50%); } }
.ribbon-track span {
  font-size: .72rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 2px; white-space: nowrap;
}
.dot { color: var(--red); font-size: .5rem; }

/* --- SECTIONS --- */
.section { padding: 140px 0; }
.alt { background: var(--bg2); }
.pill {
  display: inline-block; padding: 4px 14px; margin-bottom: 16px;
  background: rgba(232,73,51,.06); border: 1px solid rgba(232,73,51,.1);
  border-radius: 100px;
  font-size: .68rem; font-weight: 700; color: var(--red);
  text-transform: uppercase; letter-spacing: 1.5px;
}
.section h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -.035em;
  margin-bottom: 12px;
}
.sub { color: var(--gray); font-size: .98rem; line-height: 1.7; margin-bottom: 64px; }
.section > .wrap > .pill,
.section > .wrap > h2,
.section > .wrap > .sub { text-align: center; }

/* --- GRID --- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* --- CARDS --- */
.card {
  padding: 36px 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px;
  transition: all .4s var(--ease);
  position: relative; overflow: hidden;
}
.card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0; transition: opacity .3s;
}
.card:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.25);
}
.card:hover::after { opacity: 1; }
.card-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,73,51,.06); border: 1px solid rgba(232,73,51,.1);
  border-radius: 12px; color: var(--red); margin-bottom: 20px;
}
.card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: .85rem; color: var(--gray); line-height: 1.65; }

/* --- STEPS --- */
.steps { display: flex; align-items: stretch; max-width: 880px; margin: 0 auto; }
.step {
  flex: 1; padding: 36px 28px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  transition: all .4s var(--ease);
}
.step:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,.2); }
.step-n {
  font-family: var(--mono); font-size: 2rem; font-weight: 900;
  background: linear-gradient(135deg, var(--red), rgba(232,73,51,.2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.step h3 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: .85rem; color: var(--gray); line-height: 1.6; }
.step-line {
  width: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.step-line::before {
  content: ''; width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--border), rgba(232,73,51,.15), var(--border));
}

/* --- PATHS --- */
.path-card {
  padding: 32px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  position: relative; overflow: hidden;
  transition: all .4s var(--ease);
}
.path-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  border-radius: 2px 2px 0 0; opacity: 0; transition: opacity .3s;
}
.path-card:hover { transform: translateY(-4px); }
.path-card:hover::before { opacity: 1; }

.path-red::before { background: var(--red); }
.path-red:hover { border-color: rgba(232,73,51,.2); box-shadow: 0 12px 36px rgba(232,73,51,.06); }
.path-red .path-tag { color: var(--red); background: rgba(232,73,51,.06); }

.path-blue::before { background: #3b82f6; }
.path-blue:hover { border-color: rgba(59,130,246,.2); box-shadow: 0 12px 36px rgba(59,130,246,.06); }
.path-blue .path-tag { color: #3b82f6; background: rgba(59,130,246,.06); }

.path-green::before { background: #22c55e; }
.path-green:hover { border-color: rgba(34,197,94,.2); box-shadow: 0 12px 36px rgba(34,197,94,.06); }
.path-green .path-tag { color: #22c55e; background: rgba(34,197,94,.06); }

.path-purple::before { background: #a855f7; }
.path-purple:hover { border-color: rgba(168,85,247,.2); box-shadow: 0 12px 36px rgba(168,85,247,.06); }
.path-purple .path-tag { color: #a855f7; background: rgba(168,85,247,.06); }

.path-tag {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 14px;
}
.path-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.path-card p { font-size: .82rem; color: var(--gray); line-height: 1.6; margin-bottom: 18px; }
.path-meta { display: flex; gap: 14px; }
.path-meta span { font-size: .7rem; color: var(--muted); font-weight: 600; }

/* --- FORMS --- */
.glass-form {
  padding: 40px 36px; margin-top: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; position: relative; overflow: hidden;
}
.glass-form::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.form-field { margin-bottom: 18px; }
.form-row .form-field { margin-bottom: 0; }
.form-field label {
  display: block; font-size: .8rem; font-weight: 600; margin-bottom: 5px;
}
.opt { color: var(--muted); font-weight: 400; font-size: .72rem; }
.req { color: var(--red); }

.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,.025); border: 1px solid var(--border);
  border-radius: 10px; color: var(--white);
  font-size: .88rem; font-family: var(--sans);
  outline: none; transition: border-color .3s, box-shadow .3s;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232,73,51,.06);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }
.form-field textarea { resize: vertical; min-height: 100px; }

.check {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  font-size: .82rem; color: var(--gray); margin-bottom: 20px;
}
.check input { display: none; }
.check-box {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 1.5px solid var(--border-hover); border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s; background: rgba(255,255,255,.02);
}
.check input:checked + .check-box {
  background: var(--red); border-color: var(--red);
  box-shadow: 0 0 10px rgba(232,73,51,.2);
}
.check input:checked + .check-box::after {
  content: '✓'; color: #fff; font-size: 10px; font-weight: 700;
}

.type-selector { display: flex; flex-wrap: wrap; gap: 8px; }
.type-opt { cursor: pointer; }
.type-opt input { display: none; }
.type-opt span {
  display: block; padding: 7px 14px;
  background: rgba(255,255,255,.02); border: 1px solid var(--border);
  border-radius: 8px; font-size: .8rem; color: var(--gray);
  transition: all .25s; font-weight: 500;
}
.type-opt input:checked + span, .type-opt.active span {
  border-color: var(--red); color: var(--red);
  background: rgba(232,73,51,.06);
}

.form-msg {
  margin-top: 14px; padding: 11px 14px;
  border-radius: 10px; font-size: .85rem; font-weight: 500; text-align: center;
}
.form-msg.success { background: rgba(34,197,94,.06); border: 1px solid rgba(34,197,94,.12); color: #22c55e; }
.form-msg.error { background: rgba(239,68,68,.06); border: 1px solid rgba(239,68,68,.12); color: #ef4444; }
.form-note { text-align: center; font-size: .7rem; color: var(--muted); margin-top: 12px; }
.char-ct { display: block; text-align: right; font-size: .68rem; color: var(--muted); margin-top: 4px; }

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px;
  background: var(--red); color: #fff;
  font-size: .88rem; font-weight: 600;
  border: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 0 24px rgba(232,73,51,.12);
  transition: all .3s var(--ease);
}
.btn-primary:hover {
  background: var(--red-light); transform: translateY(-1px);
  box-shadow: 0 0 40px rgba(232,73,51,.2);
}
.btn-primary svg { transition: transform .25s; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-full { width: 100%; justify-content: center; }
.btn-primary:disabled { opacity: .4; pointer-events: none; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px;
  background: transparent; border: 1px solid var(--border-hover);
  color: var(--gray); font-size: .88rem; font-weight: 500;
  cursor: pointer; transition: all .3s;
}
.btn-outline:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.02); }

.btn-spin svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- FOOTER --- */
footer {
  padding: 72px 0 32px;
  border-top: 1px solid var(--border); background: var(--bg2);
}
.ft-top {
  display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid var(--border); margin-bottom: 24px;
}
.ft-brand p { margin-top: 12px; font-size: .84rem; color: var(--gray); line-height: 1.55; }
.ft-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ft-col { display: flex; flex-direction: column; gap: 8px; }
.ft-col h4 { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin-bottom: 2px; }
.ft-col a { font-size: .82rem; color: var(--gray); transition: color .2s; }
.ft-col a:hover { color: var(--red); }
.ft-bottom { text-align: center; }
.ft-bottom span { font-size: .72rem; color: var(--muted); }

/* --- TOAST --- */
.toast {
  position: fixed; bottom: 28px; right: 28px;
  padding: 12px 22px; border-radius: 12px;
  font-size: .85rem; font-weight: 500; z-index: 9999;
  backdrop-filter: blur(16px); display: none;
  animation: toast-in .35s ease-out;
}
.toast.success { background: rgba(5,46,22,.88); border: 1px solid rgba(34,197,94,.2); color: #22c55e; }
.toast.error { background: rgba(42,10,10,.88); border: 1px solid rgba(239,68,68,.2); color: #ef4444; }
@keyframes toast-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: translateX(0); } }

/* --- PAGE HERO (sub-pages) --- */
.page-hero {
  position: relative; text-align: center;
  padding: 180px 28px 100px; overflow: hidden;
}
.page-hero .hero-glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232,73,51,.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.08; letter-spacing: -.04em;
  margin-bottom: 20px;
}
.page-hero .sub { margin-bottom: 0; }

/* --- ACTIVE NAV LINK --- */
.nav-links a.active { color: var(--red); }
.nav-link-cta { color: var(--red) !important; }

/* --- PRICING --- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  max-width: 1100px; margin: 0 auto;
}
.price-card {
  padding: 36px 28px; position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; display: flex; flex-direction: column;
  transition: all .4s var(--ease);
}
.price-card:hover {
  border-color: var(--border-hover); transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.25);
}
.price-card--pop {
  border-color: rgba(232,73,51,.25);
  background: rgba(232,73,51,.03);
  box-shadow: 0 0 48px rgba(232,73,51,.06);
}
.price-card--pop:hover {
  border-color: rgba(232,73,51,.4);
  box-shadow: 0 16px 48px rgba(232,73,51,.1);
}
.price-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; border-radius: 0 0 10px 10px;
  background: var(--red); color: #fff;
  font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.price-head { margin-bottom: 28px; }
.price-head h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.price-big { font-size: 2.4rem; font-weight: 900; letter-spacing: -.03em; }
.price-per { font-size: .82rem; color: var(--muted); }
.price-head p { font-size: .84rem; color: var(--gray); }

.price-features {
  list-style: none; display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 32px; flex: 1;
}
.price-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: .84rem; color: var(--gray);
}
.price-features svg { flex-shrink: 0; }

/* --- FAQ --- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq {
  padding: 24px 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px;
}
.faq h3 { font-size: .92rem; font-weight: 700; margin-bottom: 6px; }
.faq p { font-size: .85rem; color: var(--gray); line-height: 1.65; }

/* --- TRUST BAR --- */
.trust-row {
  display: flex; justify-content: center; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px 0;
}
.trust-item { flex: 0 0 180px; text-align: center; }
.trust-item strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--red); }
.trust-item span { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.trust-sep { width: 1px; height: 32px; background: var(--border); }

/* --- SELECT --- */
.form-field select {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,.025); border: 1px solid var(--border);
  border-radius: 10px; color: var(--white);
  font-size: .88rem; font-family: var(--sans);
  outline: none; transition: border-color .3s, box-shadow .3s;
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238f8fa8' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-field select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232,73,51,.06);
}
.form-field select option { background: var(--bg); color: var(--white); }

/* --- SUCCESS BOX --- */
.success-box {
  text-align: center; padding: 56px 32px;
  background: var(--surface); border: 1px solid rgba(34,197,94,.2);
  border-radius: 20px;
}
.success-box .success-icon {
  font-size: 3rem; margin-bottom: 12px; color: #22c55e;
}
.success-box h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.success-box p { color: var(--gray); font-size: .92rem; }

/* --- ANIMATIONS --- */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.fade-up.show { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin: 0 auto; }
  .steps { flex-direction: column; gap: 14px; }
  .step-line { width: auto; height: 28px; }
  .step-line::before { width: 1px; height: 100%; }
  .trust-row { flex-wrap: wrap; padding: 16px 0; }
  .trust-item { flex: 0 0 50%; padding: 10px 0; }
  .trust-sep { display: none; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta, .lang-sw { display: none; }
  .nav-inner { display: flex; }
  .burger { display: block; }
  .hero { padding: 110px 20px 60px; }
  .page-hero { padding: 130px 20px 72px; }
  h1 { font-size: 2.4rem; }
  .hero-sub { font-size: .95rem; }
  .section { padding: 100px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; padding: 14px 0; }
  .stat { flex: 0 0 50%; padding: 8px 0; }
  .stat-sep { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .glass-form { padding: 28px 22px; }
  .ft-top { grid-template-columns: 1fr; }
  .ft-links { grid-template-columns: repeat(3, 1fr); }
  .type-selector { flex-direction: column; }
  .toast { left: 16px; right: 16px; bottom: 16px; }
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns a { width: 100%; justify-content: center; text-align: center; }
  .ft-links { grid-template-columns: 1fr 1fr; }
}

/* Legal pages - terms/privacy/refund content */
.section .terms-content h2 { font-size: 1.1rem; font-weight: 600; margin-top: 2.5rem; margin-bottom: 0.5rem; text-align: left; }
.section .terms-content p { color: var(--gray); line-height: 1.7; margin-bottom: 1rem; font-size: 0.95rem; }
.section .terms-content ul, .section .terms-content ol { color: var(--gray); line-height: 1.7; margin-bottom: 1rem; padding-left: 1.5rem; font-size: 0.95rem; }
.section .terms-content li { margin-bottom: 0.4rem; }
