/* MaruCommerce Landing Page Styles */
/* Paste this file into your active theme folder as marucommerce-style.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0F1C2E;
  --navy-mid: #162438;
  --navy-light: #1E3252;
  --gold: #B59A5E;
  --gold-light: #C9AF7A;
  --gold-pale: #F0E8D6;
  --white: #FFFFFF;
  --off-white: #F7F4EF;
  --text-muted: #8A9BB0;
  --text-body: #D4DDE8;
  --border: rgba(181,154,94,0.2);
  --section-pad: 96px 24px;
  --max-w: 1080px;
  --radius: 4px;
  --radius-lg: 8px;
}

html { scroll-behavior: smooth; }

body.maru-page {
  font-family: 'Inter', sans-serif;
  background: var(--navy) !important;
  color: var(--text-body) !important;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.maru-page .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

body.maru-page nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(15,28,46,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
body.maru-page .nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body.maru-page .logo-mark {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
}
body.maru-page .logo-mark span { color: var(--gold); }
body.maru-page .nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
body.maru-page .nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
body.maru-page .nav-links a:hover { color: var(--gold); }
body.maru-page .nav-cta {
  font-size: 13px;
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
body.maru-page .nav-cta:hover { background: var(--gold); color: var(--navy); }

body.maru-page #hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
body.maru-page #hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(181,154,94,0.08) 0%, transparent 70%);
  pointer-events: none;
}
body.maru-page #hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}
body.maru-page .hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
  width: 100%;
}
body.maru-page .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
body.maru-page .hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
body.maru-page .hero-headline em {
  font-style: normal;
  color: var(--gold);
}
body.maru-page .hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 480px;
}
body.maru-page .hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
body.maru-page .badge {
  font-size: 12px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
body.maru-page .badge.active { border-color: rgba(181,154,94,0.4); color: var(--gold-light); }

body.maru-page .lead-form-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
body.maru-page .form-heading {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
body.maru-page .form-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
body.maru-page .form-group { margin-bottom: 14px; }
body.maru-page .form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
body.maru-page .form-group input,
body.maru-page .form-group select {
  width: 100%;
  padding: 11px 14px;
  background: var(--navy) !important;
  border: 1px solid rgba(138,155,176,0.25) !important;
  border-radius: var(--radius);
  color: var(--white) !important;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none !important;
}
body.maru-page .form-group input:focus,
body.maru-page .form-group select:focus { border-color: var(--gold) !important; }
body.maru-page .form-group input::placeholder { color: rgba(138,155,176,0.5); }
body.maru-page .form-group select option { background: var(--navy); color: var(--white); }
body.maru-page .form-submit {
  width: 100%;
  padding: 13px;
  background: var(--gold);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s, transform 0.15s;
}
body.maru-page .form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
body.maru-page .form-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}
body.maru-page .form-success { display: none; text-align: center; padding: 24px 0; }
body.maru-page .form-success-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(181,154,94,0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 22px;
}
body.maru-page .form-success h3 { font-size: 16px; color: var(--white); margin-bottom: 8px; }
body.maru-page .form-success p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

body.maru-page .trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  background: var(--navy-mid);
}
body.maru-page .trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
body.maru-page .trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--text-muted); letter-spacing: 0.04em;
}
body.maru-page .trust-item svg {
  width: 16px; height: 16px; stroke: var(--gold);
  fill: none; stroke-width: 1.5; flex-shrink: 0;
}

body.maru-page #what { padding: var(--section-pad); }
body.maru-page #who {
  padding: var(--section-pad);
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
body.maru-page #why { padding: var(--section-pad); }
body.maru-page #systems {
  padding: var(--section-pad);
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
}
body.maru-page #about { padding: var(--section-pad); border-top: 1px solid var(--border); }
body.maru-page #cta {
  padding: 80px 24px;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  text-align: center;
}

body.maru-page .section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block;
}
body.maru-page .section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 16px;
}
body.maru-page .section-intro {
  font-size: 17px; color: var(--text-muted); line-height: 1.75;
  max-width: 600px; margin-bottom: 64px;
}

body.maru-page .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
body.maru-page .service-cell {
  background: var(--navy); padding: 36px 32px; transition: background 0.2s;
}
body.maru-page .service-cell:hover { background: var(--navy-mid); }
body.maru-page .service-num {
  font-size: 11px; font-weight: 600; color: var(--gold);
  letter-spacing: 0.12em; margin-bottom: 16px; display: block;
}
body.maru-page .service-title { font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 10px; line-height: 1.35; }
body.maru-page .service-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

body.maru-page .icp-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-top: 48px;
}
body.maru-page .icp-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; background: var(--navy); transition: border-color 0.2s;
}
body.maru-page .icp-card:hover { border-color: rgba(181,154,94,0.5); }
body.maru-page .icp-icon { width: 36px; height: 36px; margin-bottom: 16px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
body.maru-page .icp-label { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
body.maru-page .icp-desc { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

body.maru-page .why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start; margin-top: 48px;
}
body.maru-page .differentiator {
  padding-bottom: 28px; border-bottom: 1px solid var(--border); margin-bottom: 28px;
}
body.maru-page .differentiator:last-child { border-bottom: none; margin-bottom: 0; }
body.maru-page .diff-title {
  font-size: 15px; font-weight: 600; color: var(--white);
  margin-bottom: 8px; display: flex; align-items: center; gap: 10px;
}
body.maru-page .diff-title::before {
  content: ''; display: inline-block; width: 4px; height: 4px;
  border-radius: 50%; background: var(--gold); flex-shrink: 0;
}
body.maru-page .diff-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; padding-left: 14px; }
body.maru-page .why-visual {
  background: var(--navy-mid); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px; position: sticky; top: 96px;
}
body.maru-page .metric-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
body.maru-page .metric-row:last-child { border-bottom: none; }
body.maru-page .metric-label { font-size: 12px; color: var(--text-muted); letter-spacing: 0.04em; line-height: 1.5; max-width: 160px; }
body.maru-page .metric-val { font-size: 28px; font-weight: 600; color: var(--gold); line-height: 1; }
body.maru-page .metric-val small { font-size: 13px; color: var(--text-muted); font-weight: 400; margin-left: 2px; }

body.maru-page .systems-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 48px;
}
body.maru-page .system-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; background: var(--navy); position: relative;
  overflow: hidden; transition: border-color 0.2s;
}
body.maru-page .system-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--gold); opacity: 0; transition: opacity 0.2s;
}
body.maru-page .system-card:hover { border-color: rgba(181,154,94,0.5); }
body.maru-page .system-card:hover::before { opacity: 1; }
body.maru-page .system-name { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 12px; }
body.maru-page .system-full { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 10px; line-height: 1.35; }
body.maru-page .system-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
body.maru-page .innovation-note {
  margin-top: 48px; border: 1px solid rgba(181,154,94,0.25);
  border-radius: var(--radius-lg); padding: 24px 28px;
  background: rgba(181,154,94,0.04); font-size: 14px; color: var(--text-muted); line-height: 1.7;
}
body.maru-page .innovation-note strong { color: var(--gold-light); font-weight: 600; }

body.maru-page .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
body.maru-page .founder-card {
  background: var(--navy-mid); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
}
body.maru-page .founder-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(181,154,94,0.15); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: var(--gold); margin-bottom: 20px;
}
body.maru-page .founder-name { font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
body.maru-page .founder-role { font-size: 13px; color: var(--gold); letter-spacing: 0.06em; margin-bottom: 16px; }
body.maru-page .founder-bio { font-size: 14px; color: var(--text-muted); line-height: 1.75; }
body.maru-page .founder-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
body.maru-page .founder-tag {
  font-size: 11px; padding: 5px 12px; border: 1px solid var(--border);
  border-radius: 100px; color: var(--text-muted); letter-spacing: 0.04em;
}
body.maru-page .entity-block {
  background: var(--navy-mid); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; margin-top: 24px;
}
body.maru-page .entity-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
body.maru-page .entity-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid rgba(138,155,176,0.12); font-size: 13px;
}
body.maru-page .entity-row:last-child { border-bottom: none; }
body.maru-page .entity-key { color: var(--text-muted); }
body.maru-page .entity-val { color: var(--white); font-weight: 500; text-align: right; }

body.maru-page .cta-inner { max-width: 640px; margin: 0 auto; }
body.maru-page .cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3.5vw, 40px); color: var(--white); margin-bottom: 16px; line-height: 1.25;
}
body.maru-page .cta-sub { font-size: 16px; color: var(--text-muted); margin-bottom: 36px; line-height: 1.7; }
body.maru-page .cta-btn {
  display: inline-block; padding: 14px 36px; background: var(--gold);
  color: var(--navy); font-size: 14px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; border-radius: var(--radius);
  text-decoration: none; transition: background 0.2s, transform 0.15s;
}
body.maru-page .cta-btn:hover { background: var(--gold-light); transform: translateY(-2px); }

body.maru-page footer {
  background: var(--navy); border-top: 1px solid var(--border); padding: 48px 24px 32px;
}
body.maru-page .footer-inner { max-width: var(--max-w); margin: 0 auto; }
body.maru-page .footer-top {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 40px;
  border-bottom: 1px solid var(--border); margin-bottom: 28px;
}
body.maru-page .footer-logo {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 12px;
}
body.maru-page .footer-logo span { color: var(--gold); }
body.maru-page .footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
body.maru-page .footer-col h4 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
body.maru-page .footer-col ul { list-style: none; }
body.maru-page .footer-col ul li { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 4px; }
body.maru-page .footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
body.maru-page .footer-legal { font-size: 12px; color: rgba(138,155,176,0.6); line-height: 1.6; }
body.maru-page .footer-gstin { font-size: 11px; color: rgba(138,155,176,0.5); font-family: monospace; letter-spacing: 0.06em; }

body.maru-page .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
body.maru-page .reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  body.maru-page .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  body.maru-page .why-grid { grid-template-columns: 1fr; gap: 40px; }
  body.maru-page .about-grid { grid-template-columns: 1fr; gap: 32px; }
  body.maru-page .footer-top { grid-template-columns: 1fr; gap: 32px; }
  body.maru-page .nav-links { display: none; }
  body.maru-page .why-visual { position: static; }
  body.maru-page .trust-bar-inner { gap: 24px; }
  body.maru-page .footer-bottom { flex-direction: column; align-items: flex-start; }
  body.maru-page #hero { padding: 100px 20px 60px; }
}

/* Checkbox grid for multi-select */
body.maru-page .checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}
body.maru-page .checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 10px;
  border: 1px solid rgba(138,155,176,0.2);
  border-radius: var(--radius);
  background: var(--navy);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  line-height: 1.3;
  user-select: none;
}
body.maru-page .checkbox-item:hover {
  border-color: rgba(181,154,94,0.4);
  color: var(--white);
}
body.maru-page .checkbox-item input[type="checkbox"] {
  width: 14px;
  height: 14px;
  min-width: 14px;
  padding: 0;
  margin: 0;
  accent-color: var(--gold);
  cursor: pointer;
  border: none !important;
  background: transparent !important;
}
body.maru-page .checkbox-item:has(input:checked) {
  border-color: var(--gold);
  color: var(--white);
  background: rgba(181,154,94,0.07);
}

/* Multi-select dropdown */
body.maru-page .ms-wrapper {
  position: relative;
  width: 100%;
}
body.maru-page .ms-trigger {
  width: 100%;
  padding: 11px 14px;
  background: var(--navy);
  border: 1px solid rgba(138,155,176,0.25);
  border-radius: var(--radius);
  color: rgba(138,155,176,0.5);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s;
  user-select: none;
}
body.maru-page .ms-trigger:focus {
  outline: none;
  border-color: var(--gold);
}
body.maru-page .ms-arrow {
  font-size: 10px;
  color: var(--text-muted);
  margin-left: 8px;
  flex-shrink: 0;
}
body.maru-page .ms-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--navy-light);
  border: 1px solid rgba(181,154,94,0.3);
  border-radius: var(--radius);
  z-index: 200;
  overflow: hidden;
}
body.maru-page .ms-option {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border-bottom: 1px solid rgba(138,155,176,0.08);
}
body.maru-page .ms-option:last-child { border-bottom: none; }
body.maru-page .ms-option:hover { background: rgba(181,154,94,0.08); color: var(--white); }
body.maru-page .ms-option-selected { color: var(--gold); background: rgba(181,154,94,0.06); }
body.maru-page .ms-option-selected::after { content: ' ✓'; font-size: 11px; }
body.maru-page .ms-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  min-height: 0;
}
body.maru-page .ms-tag {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(181,154,94,0.12);
  border: 1px solid rgba(181,154,94,0.35);
  border-radius: 100px;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
body.maru-page .ms-tag-x {
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  color: var(--text-muted);
  transition: color 0.15s;
}
body.maru-page .ms-tag-x:hover { color: var(--white); }

/* Native multi-select styling */
body.maru-page select[multiple] {
  width: 100%;
  padding: 0 !important;
  background: var(--navy) !important;
  border: 1px solid rgba(138,155,176,0.25) !important;
  border-radius: var(--radius);
  color: var(--white) !important;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none !important;
  height: auto !important;
}
body.maru-page select[multiple] option {
  padding: 10px 14px;
  background: var(--navy);
  color: var(--text-muted);
  border-bottom: 1px solid rgba(138,155,176,0.1);
  cursor: pointer;
  font-size: 14px;
}
body.maru-page select[multiple] option:checked {
  background: rgba(181,154,94,0.15) !important;
  color: var(--white) !important;
}
body.maru-page select[multiple] option:hover {
  background: var(--navy-mid) !important;
}
body.maru-page select[multiple]:focus {
  border-color: var(--gold) !important;
}