:root {
  --navy: #0C1220;
  --navy-2: #141b2e;
  --navy-3: #1c2540;
  --gold: #FFCE4A;
  --gold-2: #ffdb75;
  --ink: #0C1220;
  --paper: #F7F8FB;
  --muted: #6b7280;
  --line: #e5e7eb;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Work Sans", -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

h1, h2, h3, h4, .m-num {
  font-family: "Rajdhani", "Work Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 0.4em;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.m-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Topbar */
.m-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.m-topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.m-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}

.m-brand img { height: 36px; width: 36px; border-radius: 8px; }

.m-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.m-nav a {
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.m-nav a:hover, .m-nav a.active { color: #fff; border-color: var(--gold); }

.m-nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 10px 18px !important;
  border-radius: 999px;
  border-bottom: none !important;
}

.m-nav-cta:hover { background: var(--gold-2); }

.m-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.m-burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* Hero */
.m-hero {
  background: radial-gradient(circle at 80% 0%, #1c2540 0%, var(--navy) 55%);
  color: #fff;
  padding: 72px 0 96px;
  overflow: hidden;
}

.m-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.m-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.m-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.m-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 0 28px;
}

.m-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.m-hero-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

.m-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.m-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s, background 0.15s, border-color 0.15s;
}

.m-btn:hover { transform: translateY(-1px); }

.m-btn-gold { background: var(--gold); color: var(--navy); }
.m-btn-gold:hover { background: var(--gold-2); }

.m-btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.m-btn-outline:hover { border-color: #fff; }

.m-btn-navy { background: var(--navy); color: #fff; }
.m-btn-navy:hover { background: var(--navy-3); }

/* Sections */
.m-section { padding: 72px 0; }
.m-section-alt { background: #fff; }

.m-section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.m-section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.m-section-head p { color: var(--muted); font-size: 1.05rem; }

/* Feature grid */
.m-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.m-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}

.m-card .m-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.m-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.m-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Pricing */
.m-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.m-price-card {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.m-price-card h3 { color: var(--gold); font-size: 1.4rem; }

.m-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.m-price-row:last-child { border-bottom: none; }

.m-price-row .m-label { color: rgba(255,255,255,0.75); }
.m-price-row .m-num { font-size: 1.3rem; color: #fff; }
.m-price-row .m-num small { color: var(--gold); font-size: 0.75rem; font-weight: 600; }

/* Damage table */
.m-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

table.m-table { width: 100%; border-collapse: collapse; }

table.m-table th, table.m-table td {
  text-align: left;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

table.m-table th {
  background: var(--paper);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted);
}

table.m-table tr:last-child td { border-bottom: none; }
table.m-table td.m-num-cell { text-align: right; font-weight: 700; }

/* Steps */
.m-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.m-step { text-align: center; }

.m-step .m-step-n {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.m-step h3 { font-size: 1.05rem; }
.m-step p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* Contact */
.m-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.m-contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.m-contact-card .m-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.m-contact-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.m-contact-card p { color: var(--muted); margin: 0 0 10px; }

/* Download page */
.m-download-hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}

.m-download-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.m-download-hero p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 28px; }

.m-instructions {
  counter-reset: step;
  max-width: 640px;
  margin: 0 auto;
}

.m-instr-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.m-instr-item:last-child { border-bottom: none; }

.m-instr-item .m-instr-n {
  counter-increment: step;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-instr-item h3 { font-size: 1rem; margin-bottom: 4px; }
.m-instr-item p { color: var(--muted); margin: 0; font-size: 0.92rem; }

.m-note {
  background: #fff7e6;
  border: 1px solid #ffe2a8;
  color: #7a5300;
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 0.92rem;
  margin: 28px auto 0;
  max-width: 640px;
}

/* CTA band */
.m-cta-band {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}

.m-cta-band h2 { color: #fff; }
.m-cta-band p { color: rgba(255,255,255,0.75); margin-bottom: 26px; }

/* Footer */
.m-footer { background: var(--navy-2); color: rgba(255,255,255,0.75); padding: 48px 0 0; }

.m-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 36px;
}

.m-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.m-footer-brand img { height: 32px; width: 32px; border-radius: 8px; }

.m-footer-cols { display: flex; gap: 64px; }

.m-footer-cols h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.m-footer-cols a, .m-footer-cols span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.m-footer-cols a:hover { color: var(--gold); }

.m-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 18px 0;
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 900px) {
  .m-hero-inner { grid-template-columns: 1fr; }
  .m-hero-img { order: -1; max-height: 320px; }
  .m-grid-3 { grid-template-columns: 1fr 1fr; }
  .m-steps { grid-template-columns: 1fr 1fr; }
  .m-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .m-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 18px;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .m-nav.open { display: flex; }
  .m-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .m-nav-cta { margin-top: 8px; text-align: center; }
  .m-burger { display: flex; }
  .m-grid-3 { grid-template-columns: 1fr; }
  .m-grid-2 { grid-template-columns: 1fr; }
  .m-steps { grid-template-columns: 1fr; }
  table.m-table th, table.m-table td { padding: 12px 14px; font-size: 0.88rem; }
}
