/* Zyntra Technologies — main stylesheet */
:root {
  --bg: #0b0b0c;
  --bg-2: #111112;
  --card: #161617;
  --card-2: #1c1c1d;
  --border: rgba(255, 255, 255, 0.07);
  --border-gold: rgba(216, 185, 130, 0.35);
  --gold: #d8b982;
  --gold-light: #ecd7a8;
  --gold-dark: #b8955a;
  --text: #f4f1ea;
  --muted: #a19d95;
  --muted-2: #6f6c67;
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1200px;
  --font-head: "Unbounded", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.gold { color: var(--gold); }
.muted { color: var(--muted); }
.center { text-align: center; }

.gold-text {
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 45%, var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--font-body);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-dark));
  color: #17130b;
  box-shadow: 0 8px 30px -10px rgba(216, 185, 130, 0.6);
}
.btn-gold:hover { box-shadow: 0 12px 34px -8px rgba(216, 185, 130, 0.75); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-gold);
}
.btn-outline:hover { border-color: var(--gold); background: rgba(216, 185, 130, 0.06); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.brand img { height: 42px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 20px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -200px -10% auto;
  height: 700px;
  background:
    radial-gradient(600px 320px at 70% 30%, rgba(216, 185, 130, 0.16), transparent 70%),
    radial-gradient(500px 300px at 15% 10%, rgba(216, 185, 130, 0.08), transparent 70%);
  pointer-events: none;
}
.hero-grid > *, .split > *, .contact-grid > *, .pricing-grid > * { min-width: 0; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(216, 185, 130, 0.06);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
}
.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--gold);
}
.hero-stats span { color: var(--muted); font-size: 14px; }

/* Dashboard mockup */
.mockup {
  background: linear-gradient(180deg, #19191a, #121213);
  border: 1px solid var(--border-gold);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 8px rgba(216, 185, 130, 0.03);
}
.mockup-top {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.mockup-top i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #333;
}
.mockup-top i:first-child { background: var(--gold); }
.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.mock-kpi {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}
.mock-kpi small { color: var(--muted); font-size: 11px; display: block; }
.mock-kpi b { font-family: var(--font-head); font-size: 18px; }
.mock-kpi em { font-style: normal; color: #7bd88f; font-size: 11px; }
.mock-chart {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}
.mock-chart small { color: var(--muted); font-size: 11px; }
.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
  margin-top: 10px;
}
.bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--gold), rgba(216, 185, 130, 0.25));
}
.mock-list { display: grid; gap: 8px; }
.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px;
}
.mock-row .who { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(216, 185, 130, 0.2);
  color: var(--gold);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
}
.tag {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(123, 216, 143, 0.12);
  color: #7bd88f;
}
.tag.due { background: rgba(216, 185, 130, 0.14); color: var(--gold); }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head h2 { font-size: clamp(26px, 3.6vw, 40px); }
.section-head p { color: var(--muted); font-size: 17px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover { border-color: var(--border-gold); transform: translateY(-3px); }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(216, 185, 130, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }

/* Logos / trust bar */
.trust {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.05em;
}

/* Steps */
.step-num {
  font-family: var(--font-head);
  font-size: 40px;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  margin-bottom: 10px;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  flex: 0 0 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(216, 185, 130, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8b982' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list li strong { color: var(--text); font-weight: 600; }

/* ---------- Pricing ---------- */
.billing-toggle {
  display: inline-flex;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  margin: 0 auto 50px;
  gap: 4px;
}
.billing-toggle button {
  background: none;
  border: 0;
  color: var(--muted);
  font: 600 14px var(--font-body);
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.billing-toggle button.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #17130b;
}
.billing-toggle .save {
  font-size: 11px;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
}
.billing-toggle button:not(.active) .save { background: rgba(216, 185, 130, 0.14); color: var(--gold); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #161617, #111112);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 22px 26px;
}
.plan.popular {
  border-color: var(--border-gold);
  background: linear-gradient(180deg, #1c1a15, #121211);
  box-shadow: 0 30px 60px -30px rgba(216, 185, 130, 0.35);
}
.plan.gold-plan {
  border-color: var(--gold);
  background:
    radial-gradient(300px 160px at 50% 0%, rgba(216, 185, 130, 0.14), transparent 70%),
    linear-gradient(180deg, #1a1812, #111110);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #17130b;
}
.plan-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.gold-plan .plan-name { color: var(--gold); }
.plan-price {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
}
.plan-price.text { font-size: 26px; padding: 5px 0 6px; }
.plan-price small {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.plan-note { font-size: 13px; color: var(--muted-2); min-height: 20px; margin-bottom: 14px; }
.plan-desc { font-size: 14px; color: var(--muted); margin-bottom: 20px; min-height: 66px; }
.plan .btn { margin-bottom: 22px; }
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.plan ul li { display: flex; gap: 9px; align-items: flex-start; }
.plan ul li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  flex: 0 0 auto;
}
.plan ul li.head { color: var(--text); font-weight: 600; }
.plan ul li.head::before { display: none; }

.price-footnote {
  text-align: center;
  color: var(--muted-2);
  font-size: 13px;
  margin-top: 30px;
}

/* Compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 14px;
}
.compare th, .compare td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--muted); }
.compare thead th {
  font-family: var(--font-head);
  font-size: 13px;
  background: var(--card);
  color: var(--text);
}
.compare tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.compare .yes { color: var(--gold); font-weight: 700; }
.compare .no { color: var(--muted-2); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
}
.faq details[open] { border-color: var(--border-gold); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Testimonials */
.quote p { color: var(--text); font-size: 15px; }
.quote .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; }
.quote .by { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .by b { display: block; font-size: 14px; }
.quote .by span { color: var(--muted); font-size: 13px; }

/* CTA band */
.cta-band {
  position: relative;
  text-align: center;
  border: 1px solid var(--border-gold);
  border-radius: 26px;
  padding: 64px 30px;
  background:
    radial-gradient(500px 200px at 50% 0%, rgba(216, 185, 130, 0.18), transparent 70%),
    var(--card);
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(24px, 3.4vw, 38px); }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.cta-band .hero-actions { justify-content: center; }

/* Page hero (inner pages) */
.page-hero {
  padding: 80px 0 50px;
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -100px 0 auto;
  height: 400px;
  background: radial-gradient(500px 220px at 50% 30%, rgba(216, 185, 130, 0.13), transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(30px, 4.6vw, 50px); position: relative; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 17px; position: relative; }

/* Legal pages */
.legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 10px 20px 90px;
}
.legal .updated {
  color: var(--muted-2);
  font-size: 14px;
  margin-bottom: 30px;
  text-align: center;
}
.legal h2 {
  font-size: 20px;
  margin-top: 42px;
  color: var(--gold);
}
.legal h3 { font-size: 16px; margin-top: 24px; }
.legal p, .legal li { color: #cfcbc3; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal .box {
  background: var(--card);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
}
.legal .box p:last-child { margin: 0; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-item .icon { margin: 0; flex: 0 0 48px; }
.contact-item b { display: block; margin-bottom: 2px; }
.contact-item a, .contact-item span { color: var(--muted); word-break: break-word; }
.contact-item a:hover { color: var(--gold); }
form.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--muted); }
input, select, textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font: 15px var(--font-body);
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
textarea { min-height: 130px; resize: vertical; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
  background: #080809;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-grid img { height: 46px; width: auto; margin-bottom: 16px; }
.footer-grid p { color: var(--muted); font-size: 14px; max-width: 320px; }
.footer-grid h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid ul a, .footer-grid ul span { color: var(--muted); font-size: 14px; word-break: break-word; }
.footer-grid ul a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--muted-2);
  font-size: 13px;
}
.footer-bottom a:hover { color: var(--gold); }

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #17130b;
  box-shadow: 0 10px 30px -8px rgba(216, 185, 130, 0.6);
  z-index: 60;
}
.wa-float svg { width: 26px; height: 26px; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(20px);
  background: var(--card-2);
  border: 1px solid var(--border-gold);
  color: var(--text);
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 100;
  max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #0b0b0c;
    border-bottom: 1px solid var(--border);
    padding: 20px;
    gap: 18px;
  }
}
@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 26px; }
  .plan-desc { min-height: 0; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .hero { padding: 56px 0 40px; }
  .grid-2, .grid-3, .grid-4, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-cta .btn-gold { display: none; }
  .brand img { height: 36px; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .mock-kpis .mock-kpi:last-child { display: none; }
  .cta-band { padding: 44px 20px; }
  .billing-toggle button { padding: 10px 14px; }
}
