/* ===================================================================
   Mafadi Studio — marketing site
   Brand: navy #1A2035 · orange #E8701A · content #F5F7FA · Geist
   =================================================================== */

:root {
  --navy: #1A2035;
  --navy-800: #232B47;
  --navy-700: #2D3757;
  --orange: #E8701A;
  --orange-600: #D2620F;
  --orange-soft: rgba(232, 112, 26, 0.12);
  --bg: #F5F7FA;
  --white: #FFFFFF;
  --text: #1A2035;
  --text-muted: #5A6478;
  --text-light: #AAB2C8;
  --border: #E3E8F0;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(26, 32, 53, 0.08);
  --shadow-md: 0 8px 30px rgba(26, 32, 53, 0.10);
  --shadow-lg: 0 20px 60px rgba(26, 32, 53, 0.18);
  --font: 'Geist', 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(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }

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

/* =============== Buttons =============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-lg { padding: 14px 28px; font-size: 1.02rem; border-radius: 12px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(232, 112, 26, 0.35);
}
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); }

.btn-ghost { color: var(--white); }
.btn-ghost:hover { color: var(--orange); }

.btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

.btn-outline-dark {
  border-color: var(--border);
  color: var(--navy);
}
.btn-outline-dark:hover { border-color: var(--orange); color: var(--orange); }

/* =============== Nav =============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 32, 53, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.nav-brand img { height: 36px; width: auto; }
.nav-brand em { font-style: normal; color: var(--orange); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name { color: #F5F7FA; }
.brand-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.brand-orange { font-style: normal; color: var(--orange); }

.nav-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.50);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: rgba(255, 255, 255, 0.80); }
.nav-links a.active {
  color: var(--orange);
  background: rgba(232, 112, 26, 0.15);
  font-weight: 600;
}

.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.2s;
}

/* =============== Hero =============== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 60%, #2A2440 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232, 112, 26, 0.22) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 96px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-soft);
  border: 1px solid rgba(232, 112, 26, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--orange); }

.hero-sub {
  font-size: 1.12rem;
  color: var(--text-light);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.hero-points {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-light);
}
.hero-points li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
  margin-right: 7px;
}

/* --- Hero mock dashboard --- */
.hero-visual { display: flex; justify-content: center; }

.mock-window {
  width: 100%;
  max-width: 480px;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mock-titlebar .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.mock-title {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--text-light);
}

.mock-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }

.mock-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px;
}

.mock-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mock-label { font-size: 0.82rem; font-weight: 600; color: var(--text-light); }

.pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.pill-green { background: rgba(52, 199, 123, 0.15); color: #4ADE9B; }
.pill-orange { background: var(--orange-soft); color: var(--orange); }

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}
.mock-bars .bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 4px 4px 0 0;
}
.mock-bars .bar-accent { background: var(--orange); }

.mock-text {
  font-size: 0.86rem;
  color: var(--text-light);
  line-height: 1.55;
}
.mock-text code {
  color: var(--orange);
  background: rgba(232, 112, 26, 0.10);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.mock-row { display: flex; gap: 14px; }
.mock-stat {
  flex: 1;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.mock-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}
.mock-stat-ok { color: #4ADE9B; }
.mock-stat-label { font-size: 0.72rem; color: var(--text-light); }

/* =============== Strip =============== */
.strip {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 24px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
}
.strip-dot { color: var(--orange); }

/* =============== Sections =============== */
.section { padding: 96px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 16px;
}
.section-head p { color: var(--text-muted); font-size: 1.08rem; }

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

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 112, 26, 0.4);
}

.feature-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-soft);
  color: var(--orange);
  border-radius: 12px;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* =============== How it works (dark) =============== */
.section-dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 100%);
  color: var(--white);
}
.section-dark .section-head p { color: var(--text-light); }

.steps {
  display: flex;
  align-items: stretch;
  gap: 20px;
  justify-content: center;
}

.step {
  flex: 1;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.step-num {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 18px;
}

.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { color: var(--text-light); font-size: 0.93rem; }

.step-arrow {
  align-self: center;
  color: var(--orange);
  font-size: 1.6rem;
  font-weight: 700;
}

/* =============== Pricing =============== */
.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 5px;
  width: fit-content;
  margin: 0 auto 44px;
}

.toggle-option {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-radius: 9px;
  padding: 9px 22px;
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toggle-option.active {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.save-tag {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--orange);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 999px;
}

.pricing-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 28px;
  justify-content: center;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.price-card-featured {
  border: 2px solid var(--orange);
  box-shadow: var(--shadow-md);
  position: relative;
}

.price-head h3 { font-size: 1.3rem; margin-bottom: 6px; }
.price-head p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 24px; }

.price-amount {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 6px;
  min-height: 3.4rem; /* keeps buttons aligned across cards despite differing amount sizes */
}
.price-amount .currency { font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.price-amount .amount {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
}
.price-amount .amount-text { font-size: 2.2rem; }
.price-amount .per { color: var(--text-muted); font-size: 0.95rem; }

.price-note {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-bottom: 26px;
  min-height: 1.4em;
}

.price-features {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-features li {
  font-size: 0.94rem;
  color: var(--text);
  padding-left: 28px;
  position: relative;
}
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
}

/* =============== CTA banner =============== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #2A2440 100%);
  color: var(--white);
}
.cta-inner {
  text-align: center;
  padding: 80px 24px;
}
.cta-inner h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 640px;
  margin: 0 auto 16px;
}
.cta-inner p { color: var(--text-light); margin-bottom: 30px; font-size: 1.05rem; }

/* =============== Contact =============== */
#contact { background: var(--bg); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.contact-copy h2 { font-size: 2.1rem; margin-bottom: 16px; }
.contact-copy p { color: var(--text-muted); margin-bottom: 30px; }

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-detail strong { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.contact-detail a { color: var(--orange); font-weight: 600; }

.contact-form-wrap { display: flex; flex-direction: column; gap: 16px; }

.form-banner {
  display: none;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 600;
}
.form-banner:not(:empty) { display: block; }
.form-banner-success {
  background: rgba(52, 199, 123, 0.12);
  border: 1px solid rgba(52, 199, 123, 0.45);
  color: #1B7A4E;
}
.form-banner-error {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.35);
  color: #B02A37;
}

/* Web3Forms honeypot — must stay invisible to humans */
.botcheck {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-field input:invalid:not(:placeholder-shown) {
  border-color: #DC3545;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: 0.88rem; font-weight: 600; }

.form-field input,
.form-field textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 112, 26, 0.15);
}

/* =============== Footer =============== */
.footer {
  background: var(--navy);
  color: var(--text-light);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 48px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img { height: 40px; width: auto; }
.footer-brand strong { color: var(--white); font-size: 1.05rem; }
.footer-brand p { font-size: 0.85rem; }

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a { font-size: 0.9rem; transition: color 0.15s; }
.footer-links a:hover { color: var(--orange); }

.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

/* =============== Responsive =============== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 72px; }
  .hero-visual { order: 2; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 480px; width: 100%; }
  .step-arrow { transform: rotate(90deg); }
  .pricing-wrap { grid-template-columns: minmax(0, 460px); }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
  }

  .feature-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
}
