/* ZantaCore SaaS marketing — modern, conversion-focused */
:root {
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --accent: #0066ff;
  --accent-soft: rgba(0, 102, 255, 0.1);
  --violet: #6366f1;
  --teal: #0d9488;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.08);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: auto;
}

/* Offset for sticky header when using #/ scroll script */
.zc-page-bg > section[id],
.zc-page-bg > header[id] {
  scroll-margin-top: 96px;
}

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

html[dir="rtl"] body {
  font-family: "Noto Sans Arabic", var(--font), system-ui, sans-serif;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.zc-container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Gradient mesh background */
.zc-page-bg {
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 102, 255, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(99, 102, 241, 0.08), transparent),
    radial-gradient(ellipse 50% 30% at 0% 40%, rgba(13, 148, 136, 0.06), transparent);
}

/* Nav */
.zc-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.zc-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.zc-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.zc-logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.zc-logo:hover .zc-logo-text {
  filter: brightness(1.05);
}

.zc-logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  background: linear-gradient(122deg, #0066ff 0%, #4f46e5 45%, #0d9488 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.zc-footer .zc-logo-text {
  background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.zc-footer .zc-logo:hover .zc-logo-text {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.zc-lang-wrap {
  display: flex;
  align-items: center;
}

.zc-lang-select {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 2rem 0.45rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
}

.zc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.zc-calendly-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.zc-nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.zc-nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
}

.zc-nav-links a:hover {
  color: var(--text);
}

.zc-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.zc-nav-collapse {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.zc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.62rem 1.15rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.zc-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.zc-btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.zc-btn-ghost:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.05);
}

.zc-btn-primary {
  background: linear-gradient(135deg, #0066ff 0%, #4f46e5 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
}

.zc-btn-primary:hover {
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.zc-btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.zc-btn-secondary:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.zc-btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
}

.zc-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text);
}

/* Hero */
.zc-hero {
  padding: 3.5rem 0 4rem;
}

.zc-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .zc-hero-grid {
    grid-template-columns: 1fr;
  }
}

.zc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.zc-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.zc-gradient-text {
  background: linear-gradient(135deg, #0066ff, #6366f1, #0d9488);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.zc-hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

.zc-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.zc-hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.zc-hero-note strong {
  color: var(--text);
}

/* Hero mockup card */
.zc-mockup {
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.zc-mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
}

.zc-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.zc-mockup-dot:nth-child(1) {
  background: #f87171;
}
.zc-mockup-dot:nth-child(2) {
  background: #fbbf24;
}
.zc-mockup-dot:nth-child(3) {
  background: #34d399;
}

.zc-mockup-body {
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}

.zc-mockup-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.zc-mockup-stat {
  padding: 1rem;
  background: linear-gradient(145deg, #f8fafc, #fff);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.zc-mockup-stat span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.zc-mockup-stat strong {
  font-size: 1.35rem;
  font-weight: 700;
}

.zc-mockup-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.zc-mockup-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.zc-mockup-list li:last-child {
  border-bottom: none;
}

.zc-pill {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* Section common */
.zc-section {
  padding: 4rem 0;
}

.zc-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.zc-section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.zc-section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.zc-section-header--pricing {
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 1.25rem 2rem;
}

.zc-section-header--pricing .zc-section-header-copy {
  flex: 1 1 260px;
  min-width: 0;
  text-align: center;
}

.zc-pricing-currency-wrap {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.zc-pricing-currency-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
  cursor: pointer;
}

.zc-pricing-ccy-select {
  min-width: 12.5rem;
}

.zc-pricing-currency-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  margin: 0 auto 1.5rem;
  max-width: 720px;
}

.zc-pricing-currency-row .zc-pricing-currency-label {
  margin: 0;
}

@media (max-width: 520px) {
  .zc-pricing-currency-row {
    flex-direction: column;
    text-align: center;
  }
}

/* Features grid */
.zc-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .zc-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .zc-features-grid {
    grid-template-columns: 1fr;
  }
}

.zc-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.zc-feature-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 255, 0.2);
}

.zc-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.zc-feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.zc-feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Why us */
.zc-why {
  background: var(--bg-card);
  border-block: 1px solid var(--border);
}

.zc-why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .zc-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .zc-why-grid {
    grid-template-columns: 1fr;
  }
}

.zc-why-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.zc-why-item i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.zc-why-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.zc-why-item p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Pricing */
.zc-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 880px;
  margin-inline: auto;
  align-items: stretch;
}

@media (max-width: 768px) {
  .zc-pricing-grid {
    grid-template-columns: 1fr;
  }
}

.zc-price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow);
}

.zc-price-card--featured {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0, 102, 255, 0.15);
}

.zc-price-ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #0066ff, #6366f1);
  color: #fff;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
}

.zc-price-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.zc-price-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem;
  row-gap: 0.1rem;
  margin-bottom: 0.35rem;
}

.zc-price-usd-inline,
.zc-price-local-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem;
  row-gap: 0.1rem;
}

/* [hidden] must win — plain display:flex above otherwise keeps both rows visible */
.zc-price-amount .zc-price-usd-inline[hidden],
.zc-price-amount .zc-price-local-inline[hidden] {
  display: none !important;
}

.zc-price-local-primary-amt {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.zc-price-amount .cur {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

.zc-price-amount .num {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.zc-price-amount .per {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Billed currency — keeps USD unambiguous vs. localized estimate below */
.zc-price-ccy {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-inline-start: 0.2rem;
  align-self: center;
}

.zc-price-local {
  margin: 0 0 0.5rem;
  padding-top: 0.15rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.45;
  opacity: 0.92;
}

.zc-price-local strong {
  font-weight: 600;
  color: var(--text-muted);
}

.zc-price-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.zc-price-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.zc-price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.92rem;
}

.zc-price-features i {
  color: var(--teal);
  margin-top: 3px;
}

/* Demo CTA band */
.zc-cta-band {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #172554 100%);
  color: #fff;
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem 0;
}

.zc-cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.zc-cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 520px;
  opacity: 0.88;
}

.zc-cta-band .zc-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.zc-cta-band .zc-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.zc-cta-band .zc-btn-primary {
  background: #fff;
  color: #0f172a;
  box-shadow: none;
}

.zc-cta-band .zc-btn-primary:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.zc-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* FAQ */
.zc-faq {
  max-width: 720px;
  margin-inline: auto;
}

.zc-faq-item {
  border-bottom: 1px solid var(--border);
}

.zc-faq-item button {
  width: 100%;
  text-align: left;
  padding: 1.15rem 0;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.zc-faq-item button i {
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.zc-faq-item.is-open button i {
  transform: rotate(180deg);
}

.zc-faq-panel {
  display: none;
  padding-bottom: 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.zc-faq-item.is-open .zc-faq-panel {
  display: block;
}

/* Contact / Calendly */
.zc-booking-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .zc-booking-section {
    grid-template-columns: 1fr;
  }
}

.zc-calendly-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 680px;
}

/* Footer */
.zc-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.zc-footer a {
  color: #cbd5e1;
}

.zc-footer a:hover {
  color: #fff;
}

.zc-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .zc-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.zc-footer-brand p {
  margin: 0.75rem 0 0;
  max-width: 28rem;
  font-size: 0.9rem;
}

.zc-footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}

.zc-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zc-footer-col li {
  margin-bottom: 0.5rem;
}

.zc-footer-col a {
  text-decoration: none;
  font-size: 0.9rem;
}

.zc-footer-col a:hover {
  text-decoration: underline;
}

.zc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

/* Subpages hero */
.zc-page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.zc-page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.zc-page-hero p {
  margin: 0 auto;
  max-width: 560px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.zc-blog-list {
  display: grid;
  gap: 1.25rem;
}

.zc-blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  gap: 0.5rem;
}

.zc-blog-card h2 {
  margin: 0;
  font-size: 1.15rem;
}

.zc-blog-card .meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Mobile nav */
@media (max-width: 900px) {
  .zc-nav {
    position: relative;
  }

  .zc-nav-toggle {
    display: block;
  }

  .zc-nav-collapse {
    display: none;
  }

  .zc-nav.is-open .zc-nav-collapse {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.25rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
  }

  .zc-nav.is-open .zc-nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .zc-nav.is-open .zc-nav-links a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
  }

  .zc-nav.is-open .zc-nav-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 0.75rem;
    gap: 0.5rem;
  }

  .zc-nav.is-open .zc-nav-actions .zc-btn {
    width: 100%;
  }

  .zc-nav.is-open .zc-lang-wrap {
    width: 100%;
    margin-bottom: 0.25rem;
  }

  .zc-nav.is-open .zc-lang-select {
    width: 100%;
  }
}
