/* ==========================================================================
   Payroll Center — style.css
   Brand palette: Indigo #4f46e5 | Violet #6d28d9 | Teal #0d9488
                  Amber #f59e0b  | Pink #db2777  | Navy #0f172a
   ========================================================================== */

:root {
  --indigo: #4f46e5;
  --indigo-dark: #3730a3;
  --violet: #6d28d9;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --amber: #f59e0b;
  --pink: #db2777;
  --sky: #0369a1;
  --navy: #0f172a;
  --slate: #475569;
  --slate-light: #94a3b8;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --success: #15803d;
  --danger: #b91c1c;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .16);
  --font: "Segoe UI", "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-dark); }
p { margin-bottom: 1rem; color: var(--slate); }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; margin-bottom: .75rem; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
ul { padding-left: 1.2rem; color: var(--slate); }
li { margin-bottom: .4rem; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 84px 0; }
.section.alt { background: linear-gradient(180deg, #eef2ff 0%, #f0fdfa 100%); }
.section.center { text-align: center; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: .9rem;
}
.lead { font-size: 1.15rem; color: var(--slate); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: .85rem 1.7rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff !important; box-shadow: 0 10px 24px rgba(79, 70, 229, .35);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(79, 70, 229, .45); }
.btn-teal {
  background: linear-gradient(135deg, var(--teal), #14b8a6);
  color: #fff !important; box-shadow: 0 10px 24px rgba(13, 148, 136, .32);
}
.btn-amber {
  background: linear-gradient(135deg, var(--amber), #fbbf24);
  color: #451a03 !important; box-shadow: 0 10px 24px rgba(245, 158, 11, .35);
}
.btn-outline {
  background: transparent; color: var(--indigo) !important;
  border: 2px solid var(--indigo);
}
.btn-outline:hover { background: var(--indigo); color: #fff !important; }
.btn-white { background: #fff; color: var(--indigo-dark) !important; }
.btn-block { width: 100%; }
.btn-sm { padding: .55rem 1.2rem; font-size: .9rem; }

/* ---------- Topbar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--indigo-dark), var(--violet), var(--teal-dark));
  color: #e0e7ff; font-size: .83rem;
}
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .dot { opacity: .5; margin: 0 .6rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.navbar { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand img { width: 44px; height: 44px; }
.brand-accent { color: var(--teal); }
.brand small { display: block; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--slate-light); font-weight: 700; }

.nav-menu { display: flex; align-items: center; gap: 1.35rem; list-style: none; padding: 0; margin: 0; }
.nav-menu > li { position: relative; margin: 0; }
.nav-menu > li > a { font-weight: 600; color: var(--navy); font-size: .96rem; padding: .4rem 0; }
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--indigo); }
.nav-menu > li > a.active { border-bottom: 3px solid var(--amber); }
.nav-cta { padding: .6rem 1.35rem !important; }
.nav-login { border: 2px solid var(--border); border-radius: 999px; padding: .5rem 1.2rem !important; }
.nav-login:hover { border-color: var(--teal); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px;
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  list-style: none; padding: .6rem; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .2s ease; border: 1px solid var(--border);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li { margin: 0; }
.dropdown a { display: block; padding: .55rem .8rem; border-radius: 7px; color: var(--slate); font-weight: 600; font-size: .92rem; }
.dropdown a:hover { background: #eef2ff; color: var(--indigo); }
.caret { font-size: .7em; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px; z-index: 1001;
}
.nav-toggle span {
  width: 26px; height: 3px; background: var(--navy); border-radius: 3px;
  transition: all .25s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(20, 184, 166, .35), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(245, 158, 11, .30), transparent 60%),
    linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #0f766e 100%);
  color: #fff; padding: 96px 0 90px; position: relative; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.2rem; align-items: center; }
.hero h1 { color: #fff; }
.hero .highlight {
  background: linear-gradient(90deg, #fbbf24, #34d399);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: #c7d2fe; font-size: 1.12rem; }
.hero-badges { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.2rem 0 1.6rem; }
.badge {
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  color: #e0e7ff; padding: .35rem .9rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-figure { position: relative; }
.hero-figure img { border-radius: 20px; box-shadow: var(--shadow-lg); border: 6px solid rgba(255, 255, 255, .15); }
.hero-card {
  position: absolute; bottom: -22px; left: -22px; background: #fff; color: var(--navy);
  border-radius: var(--radius); padding: .9rem 1.25rem; box-shadow: var(--shadow-lg);
  display: flex; gap: .8rem; align-items: center;
}
.hero-card .icon-bubble { flex-shrink: 0; }
.hero-card strong { display: block; font-size: .95rem; }
.hero-card span { font-size: .78rem; color: var(--slate); }

/* ---------- Stats bar ---------- */
.stats { background: var(--navy); color: #fff; padding: 42px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat strong { font-size: 2.1rem; font-weight: 800; display: block; }
.stat:nth-child(1) strong { color: #818cf8; }
.stat:nth-child(2) strong { color: #2dd4bf; }
.stat:nth-child(3) strong { color: #fbbf24; }
.stat:nth-child(4) strong { color: #f472b6; }
.stat span { color: var(--slate-light); font-size: .9rem; }

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

.card {
  background: var(--card); border-radius: var(--radius); padding: 1.9rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease; height: 100%;
}
a.card-link { color: inherit; display: block; height: 100%; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card h3 { margin: 1rem 0 .5rem; }
.card p { font-size: .95rem; margin-bottom: .6rem; }
.card .text-link { font-weight: 700; font-size: .92rem; }

.card-top { border-top: 5px solid var(--indigo); }
.card-top.teal { border-top-color: var(--teal); }
.card-top.amber { border-top-color: var(--amber); }
.card-top.pink { border-top-color: var(--pink); }
.card-top.sky { border-top-color: var(--sky); }
.card-top.violet { border-top-color: var(--violet); }

.icon-bubble {
  width: 54px; height: 54px; border-radius: 15px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 1.5rem; color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  box-shadow: 0 8px 18px rgba(79, 70, 229, .3);
}
.icon-bubble.teal { background: linear-gradient(135deg, var(--teal), #2dd4bf); box-shadow: 0 8px 18px rgba(13, 148, 136, .3); }
.icon-bubble.amber { background: linear-gradient(135deg, var(--amber), #fbbf24); box-shadow: 0 8px 18px rgba(245, 158, 11, .35); }
.icon-bubble.pink { background: linear-gradient(135deg, var(--pink), #f472b6); box-shadow: 0 8px 18px rgba(219, 39, 119, .3); }
.icon-bubble.sky { background: linear-gradient(135deg, var(--sky), #38bdf8); box-shadow: 0 8px 18px rgba(3, 105, 161, .3); }
.icon-bubble.navy { background: linear-gradient(135deg, var(--navy), #334155); box-shadow: 0 8px 18px rgba(15, 23, 42, .3); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split img { border-radius: 18px; box-shadow: var(--shadow-md); }
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; }
.checklist li { padding-left: 2rem; position: relative; margin-bottom: .65rem; color: var(--slate); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px;
  background: #d1fae5; color: var(--teal-dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: .5rem; }
.step-number {
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: 1.15rem; color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--indigo)); margin-bottom: 1rem;
  box-shadow: 0 8px 18px rgba(13, 148, 136, .35);
}

/* ---------- Testimonials ---------- */
.testimonial { display: flex; flex-direction: column; gap: 1.1rem; }
.testimonial .stars { color: var(--amber); font-size: 1.05rem; letter-spacing: .12em; }
.testimonial p { font-style: italic; color: var(--navy); flex: 1; }
.testimonial .who { display: flex; align-items: center; gap: .85rem; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff; font-weight: 800;
  background: linear-gradient(135deg, var(--violet), var(--pink));
}
.who strong { display: block; font-size: .95rem; }
.who span { font-size: .82rem; color: var(--slate-light); }

/* ---------- Pricing ---------- */
.price-card { text-align: center; position: relative; display: flex; flex-direction: column; }
.price-card.featured {
  border: 2px solid var(--indigo); box-shadow: var(--shadow-lg);
}
.popular-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--amber), #fbbf24); color: #451a03;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem 1rem; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.price { font-size: 2.6rem; font-weight: 800; margin: .5rem 0 0; }
.price small { font-size: .95rem; color: var(--slate-light); font-weight: 600; }
.per-emp { color: var(--teal); font-weight: 700; font-size: .9rem; }
.price-card ul { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; text-align: left; flex: 1; }
.price-card li { padding: .35rem 0 .35rem 1.7rem; position: relative; font-size: .93rem; }
.price-card li::before { content: "✔"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.price-card li.na { color: var(--slate-light); }
.price-card li.na::before { content: "—"; color: var(--slate-light); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(251, 191, 36, .35), transparent 60%),
    linear-gradient(135deg, var(--indigo-dark), var(--violet) 55%, var(--teal-dark));
  border-radius: 24px; padding: 3.4rem 3rem; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: .4rem; }
.cta-banner p { color: #e0e7ff; margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 350px at 85% 0%, rgba(20, 184, 166, .3), transparent 60%),
    linear-gradient(135deg, #1e1b4b, #3730a3 60%, #0f766e);
  color: #fff; padding: 72px 0;
}
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero p { color: #c7d2fe; max-width: 680px; margin: 0; }
.breadcrumb { font-size: .85rem; color: #a5b4fc; margin-bottom: 1rem; }
.breadcrumb a { color: #fde68a; font-weight: 600; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border-radius: var(--radius); padding: 2.2rem;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
label { font-weight: 700; font-size: .9rem; color: var(--navy); }
label .opt { color: var(--slate-light); font-weight: 600; font-size: .8rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], select, textarea {
  width: 100%; padding: .8rem 1rem; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 1rem; font-family: inherit;
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease; color: var(--navy);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12);
}
textarea { resize: vertical; min-height: 130px; }
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea {
  border-color: var(--danger);
}
.form-hint { font-size: .8rem; color: var(--slate-light); }

.check-row { display: flex; gap: .7rem; align-items: flex-start; }
.check-row input[type="checkbox"] { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal); flex-shrink: 0; cursor: pointer; }
.check-row label { font-weight: 500; font-size: .92rem; color: var(--slate); }

.consent-box {
  background: #f0fdfa; border: 1.5px solid #99f6e4; border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem; font-size: .84rem; color: #134e4a;
}
.consent-box strong { color: var(--teal-dark); }

.hp-field { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

.password-wrap { position: relative; }
.password-wrap input { padding-right: 70px; }
.password-wrap button {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--indigo); font-weight: 700;
  cursor: pointer; font-size: .85rem;
}

/* OTP */
.otp-row { display: flex; gap: .7rem; justify-content: center; margin: 1.2rem 0; }
.otp-input {
  width: 52px; height: 60px; text-align: center; font-size: 1.6rem; font-weight: 800;
  border: 2px solid var(--border); border-radius: 12px; color: var(--navy);
}
.otp-input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13, 148, 136, .15); }

/* Alerts */
.alert {
  padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.4rem;
  font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem;
}
.alert-success { background: #dcfce7; color: #14532d; border: 1px solid #86efac; }
.alert-error { background: #fee2e2; color: #7f1d1d; border: 1px solid #fca5a5; }
.alert-info { background: #e0e7ff; color: #312e81; border: 1px solid #a5b4fc; }
.alert-close { background: none; border: 0; font-size: 1.1rem; cursor: pointer; color: inherit; font-weight: 800; }

/* ---------- Accordion ---------- */
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: .9rem; background: #fff; overflow: hidden; }
.accordion-toggle {
  width: 100%; text-align: left; background: none; border: 0; padding: 1.15rem 1.4rem;
  font-size: 1.02rem; font-weight: 700; color: var(--navy); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: inherit;
}
.accordion-toggle::after { content: "+"; font-size: 1.4rem; color: var(--indigo); font-weight: 400; transition: transform .2s; }
.accordion-item.open .accordion-toggle::after { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion-item.open .accordion-body { max-height: 500px; }
.accordion-body p { padding: 0 1.4rem 1.2rem; margin: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: .95rem; }
th { background: linear-gradient(135deg, var(--indigo), var(--violet)); color: #fff; text-align: left; padding: .9rem 1.1rem; font-size: .88rem; letter-spacing: .04em; }
td { padding: .85rem 1.1rem; border-bottom: 1px solid var(--border); color: var(--slate); }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: #f8fafc; }

/* ---------- Dashboard ---------- */
.dash-stat { text-align: center; }
.dash-stat strong { font-size: 1.9rem; font-weight: 800; display: block; }
.dash-stat.c1 strong { color: var(--indigo); } .dash-stat.c2 strong { color: var(--teal); }
.dash-stat.c3 strong { color: var(--amber); } .dash-stat.c4 strong { color: var(--pink); }
.dash-stat span { color: var(--slate-light); font-size: .85rem; }

/* ---------- Legal pages ---------- */
.legal h2 { color: var(--indigo-dark); font-size: 1.4rem; margin-top: 2.2rem; }
.legal h3 { color: var(--teal-dark); font-size: 1.1rem; margin-top: 1.4rem; }
.legal p, .legal li { font-size: .97rem; }
.legal-update { background: #eef2ff; border-radius: var(--radius-sm); padding: .8rem 1.2rem; font-size: .9rem; color: var(--indigo-dark); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cbd5e1; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 64px 0 44px; }
.footer-brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 800; font-size: 1.3rem; margin-bottom: 1rem; }
.footer-brand img { width: 40px; height: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: #94a3b8; font-size: .93rem; }
.footer-links a:hover { color: #5eead4; }
.site-footer p { color: #94a3b8; font-size: .92rem; }
.footer-contact div { margin-bottom: .75rem; font-size: .92rem; line-height: 1.5; }
.footer-contact .fc-label { color: #5eead4; font-weight: 700; display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer a.fc-mail { color: #fbbf24; font-weight: 700; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 1.4rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--slate-light); }
.footer-bottom a { color: #94a3b8; margin-left: 1.1rem; }
.footer-bottom a:hover { color: #5eead4; }

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.text-link { font-weight: 700; }
.mt-1 { margin-top: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.pill-list { display: flex; gap: .55rem; flex-wrap: wrap; list-style: none; padding: 0; }
.pill-list li { margin: 0; background: #eef2ff; color: var(--indigo-dark); font-weight: 700; font-size: .82rem; padding: .35rem .95rem; border-radius: 999px; }
.notice-strip {
  background: linear-gradient(90deg, #fef3c7, #fef9c3); border: 1px solid #fcd34d;
  color: #78350f; border-radius: var(--radius-sm); padding: 1rem 1.3rem; font-size: .92rem;
}
.two-col-text { columns: 2; column-gap: 3rem; }
img.rounded { border-radius: 18px; box-shadow: var(--shadow-md); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: min(340px, 85vw); height: 100vh;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 90px 2rem 2rem; gap: .35rem; box-shadow: var(--shadow-lg);
    transition: right .3s ease; overflow-y: auto; z-index: 1000;
  }
  .nav-menu.open { right: 0; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { display: block; padding: .7rem 0; font-size: 1.05rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 3px solid var(--border);
    border-radius: 0; padding: .2rem 0 .4rem 1rem; display: none;
  }
  .has-dropdown.expanded .dropdown { display: block; }
  .nav-cta, .nav-login { display: inline-block; margin-top: .6rem; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 76px; }
  .hero-card { left: 8px; bottom: -16px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta-banner { padding: 2.4rem 1.6rem; }
  .topbar-inner { justify-content: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-bottom a { margin: 0 .5rem; }
  .otp-input { width: 44px; height: 54px; font-size: 1.35rem; }
  .hero-actions .btn { width: 100%; }
  .form-card { padding: 1.5rem; }
}
