/* Zigche marketing site — shared styles for all static pages under
   frontend/marketing/. Visual design matches the reference package the
   owner supplied (zigche-assets-package): deep-green brand palette, pill
   buttons, mint-tinted icon chips, soft card shadows. Structural/behavioral
   class names required by marketing.js (.nav-toggle, .main-nav, .faq-item,
   .period-btn, .plan-price, #mk-contact-form, #mk-auth-modal, etc.) are
   kept exactly as-is — only visual rules changed around them. */

:root {
  /* brand palette */
  --ink: #0E1B16;
  --ink-2: #16241d;
  --muted: #5C6B66;
  --muted-2: #87968f;
  --line: #E5EFEA;
  --line-2: #eef6f1;
  --paper: #ffffff;
  --paper-2: #F7FBF9;
  --bg: #F7FBF9;
  --primary: #0B6B4B;
  --primary-2: #0a5d41;
  --deep: #062F24;
  --accent: #10b981;
  --accent-soft: #EAF8F1;
  --accent-soft-2: #f1faf5;
  --dark: #062F24;
  --radius-card: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px -4px rgba(6, 47, 36, 0.10);
  --shadow-md: 0 12px 28px -10px rgba(6, 47, 36, 0.16);
  --shadow-lg: 0 30px 70px -24px rgba(6, 47, 36, 0.28);
  /* icon-chip accent colors (feature grids) */
  --ic-blue: #2F6FED;      --ic-blue-bg: #EAF1FE;
  --ic-pink: #E23B6B;      --ic-pink-bg: #FDEAF0;
  --ic-purple: #7C5CFC;    --ic-purple-bg: #F1ECFE;
  --ic-orange: #F2994A;    --ic-orange-bg: #FDF1E4;
  --ic-green: #0B6B4B;     --ic-green-bg: #EAF8F1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Vazirmatn", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 840px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; color: var(--ink); }
p { margin: 0; }

/* ---- Badges / eyebrows ---- */
.badge-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--primary); font-size: 13px; font-weight: 700;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--primary); font-size: 13px; font-weight: 700; margin-bottom: 20px;
}

/* ---- Buttons ---- */
.btn {
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 700;
  font-family: inherit; cursor: pointer; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--deep); color: #fff; border-color: var(--deep); }
.btn-primary:hover { background: var(--primary); border-color: var(--primary); }
.btn-outline { background: transparent; border-color: var(--paper); color: #fff; }
.btn-lg { padding: 15px 28px; font-size: 15.5px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px 0; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  max-width: 1280px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand .logo-mark {
  width: 28px; height: 28px; border-radius: 8px; background: var(--deep); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0;
}
.brand img { width: 28px; height: 28px; object-fit: contain; border-radius: 8px; }
.brand span { font-weight: 800; font-size: 17px; color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.main-nav a {
  text-decoration: none; color: var(--ink-2); font-size: 14.5px; font-weight: 600;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn:not(.btn-primary) { border-color: var(--line); }

/* ---- Hero ---- */
.hero {
  max-width: 1320px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) 24px 40px;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 48px; align-items: center;
}
.hero h1 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.3; margin: 0 0 20px; }
.hero h1 .accent-text { color: var(--primary); }
.hero .lead { font-size: clamp(15.5px, 1.5vw, 18px); color: var(--muted); margin: 0 0 28px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-bullets { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-bullets span { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.hero-bullets span::before { content: "✓"; color: var(--primary); font-weight: 800; }
.hero-note { font-size: 13.5px; color: var(--muted-2); }

/* ---- Dashboard mockup (reused in every hero across pages) ---- */
.mockup-wrap { position: relative; }
.mockup-wrap .spark { position: absolute; color: var(--primary); opacity: .55; font-size: 20px; }
.mockup-float {
  position: absolute; z-index: 3; background: var(--paper); border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  padding: 10px 14px; font-size: 12.5px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line);
}
.mockup-float .ico { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.hero-shot { position: relative; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--paper); }
.hero-shot .chrome { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--paper-2); border-bottom: 1px solid var(--line-2); }
.hero-shot .dot { width: 9px; height: 9px; border-radius: 50%; }
.dash-mock { display: flex; background: var(--paper); min-height: 300px; }
.dash-mock .side {
  width: 108px; flex-shrink: 0; background: var(--deep); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px;
}
.dash-mock .side .sb-brand { display: flex; align-items: center; gap: 6px; color: #fff; font-size: 11px; font-weight: 800; padding: 4px 6px 14px; }
.dash-mock .side .sb-logo { width: 18px; height: 18px; border-radius: 5px; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 10px; }
.dash-mock .side a {
  display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 7px; font-size: 10.5px; color: #bcd9cd; font-weight: 600;
}
.dash-mock .side a .d { width: 6px; height: 6px; border-radius: 2px; background: #bcd9cd; flex-shrink: 0; }
.dash-mock .side a.active { background: rgba(255,255,255,.1); color: #fff; }
.dash-mock .side a.active .d { background: var(--accent); }
.dash-mock .main { flex: 1; padding: 16px; min-width: 0; }
.dash-mock .stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.dash-mock .stat { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 9px; padding: 9px 10px; }
.dash-mock .stat .lbl { font-size: 9px; color: var(--muted); margin-bottom: 6px; }
.dash-mock .stat .val { font-size: 14px; font-weight: 800; color: var(--ink); }
.dash-mock .stat .chg { font-size: 9px; color: var(--primary); font-weight: 700; }
.dash-mock .chart-card { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 9px; padding: 10px 12px; margin-bottom: 12px; }
.dash-mock .chart-card .lbl { font-size: 9.5px; color: var(--muted); margin-bottom: 8px; font-weight: 700; }
.dash-mock .bars { display: flex; align-items: flex-end; gap: 4px; height: 56px; }
.dash-mock .bars i { flex: 1; background: linear-gradient(180deg, var(--accent), var(--primary)); border-radius: 3px 3px 0 0; opacity: .85; }
.dash-mock table { width: 100%; border-collapse: collapse; }
.dash-mock table th { font-size: 8.5px; color: var(--muted); text-align: right; padding: 4px 6px; font-weight: 700; }
.dash-mock table td { font-size: 9px; padding: 5px 6px; border-top: 1px solid var(--line-2); color: var(--ink-2); }
.dash-mock .pill-status { padding: 2px 7px; border-radius: var(--radius-pill); font-size: 8px; font-weight: 700; }
.dash-mock .pill-status.ok { background: var(--accent-soft); color: var(--primary); }
.dash-mock .pill-status.wait { background: #fdf1e4; color: #b06a1f; }
.dash-mock .pill-status.bad { background: #fdeaf0; color: #b32955; }

/* ---- Generic section ---- */
.section { max-width: 1180px; margin: 0 auto; padding: 64px 24px; }
.section-tint { background: var(--paper-2); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head .badge-pill { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(24px, 3vw, 36px); margin: 0 0 12px; }
.section-head p { font-size: 16px; color: var(--muted); }
.page-hero { max-width: 880px; margin: 0 auto; padding: 56px 24px 16px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(28px, 3.8vw, 44px); margin: 0 0 16px; }
.page-hero p { font-size: 16.5px; color: var(--muted); max-width: 620px; margin: 0 auto; }

/* ---- Feature cards (colored icon chips) ---- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper); transition: box-shadow .15s, transform .15s; }
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 13px; background: var(--ic-green-bg); display: flex; align-items: center;
  justify-content: center; margin-bottom: 18px; color: var(--ic-green); position: relative;
}
.feature-icon.c-blue { background: var(--ic-blue-bg); color: var(--ic-blue); }
.feature-icon.c-pink { background: var(--ic-pink-bg); color: var(--ic-pink); }
.feature-icon.c-purple { background: var(--ic-purple-bg); color: var(--ic-purple); }
.feature-icon.c-orange { background: var(--ic-orange-bg); color: var(--ic-orange); }
.feature-icon.c-green { background: var(--ic-green-bg); color: var(--ic-green); }
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ---- Feature zig-zag rows (features.html) ---- */
.feature-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 52px; align-items: center; padding: 46px 0; }
.feature-row:not(:last-child) { border-bottom: 1px solid var(--line-2); }
.feature-row.rev { direction: ltr; }
.feature-row.rev > * { direction: rtl; }
.feature-row .ftext .cat-badge { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; }
.feature-row .ftext .cat-badge .ico { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--ic-green-bg); color: var(--ic-green); }
.feature-row .ftext h3 { font-size: clamp(19px, 2.2vw, 25px); margin-bottom: 12px; line-height: 1.4; }
.feature-row .ftext > p.desc { font-size: 15px; color: var(--muted); margin-bottom: 16px; line-height: 1.85; }
.feature-row .ftext ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feature-row .ftext li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.feature-row .ftext li::before { content: "✓"; color: var(--primary); font-weight: 800; background: var(--accent-soft); width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; margin-top: 2px; }
.fvisual {
  background: var(--accent-soft); border-radius: var(--radius-card); padding: 28px; min-height: 220px;
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.fvisual .mini-card {
  background: var(--paper); border-radius: 12px; box-shadow: var(--shadow-md); padding: 14px 16px; width: 100%; max-width: 320px;
}
.fvisual .mini-card .row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.fvisual .mini-card .row:last-child { border-bottom: none; }
.fvisual .mini-card .row .name { font-weight: 700; color: var(--ink); }
.fvisual .mini-card .row .tag { font-size: 10.5px; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--primary); font-weight: 700; }
.fvisual .mini-card .title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.fvisual .mini-card .title-row b { font-size: 13px; }

/* ---- Excel vs Zigche comparison (home) ---- */
.vs-card { background: var(--deep); border-radius: 24px; padding: 40px; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 36px; align-items: center; color: #fff; }
.vs-panels { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 0; position: relative; }
.vs-panel { background: rgba(255,255,255,.06); border-radius: 16px; padding: 22px; }
.vs-panel.light { background: #fff; }
.vs-panel h4 { font-size: 15px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.vs-panel.dark-inner h4 { color: #fff; }
.vs-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.vs-panel li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; }
.vs-panel.light li { color: var(--ink-2); }
.vs-panel.dark-inner li { color: #e4f3ec; }
.vs-panel .x { color: #e85d75; font-weight: 800; }
.vs-panel .ok { color: var(--accent); font-weight: 800; }
.vs-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--deep); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; z-index: 2; box-shadow: var(--shadow-md); }
.vs-text .badge-pill { background: rgba(255,255,255,.12); color: #d4f3e4; margin-bottom: 16px; }
.vs-text h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.vs-text p { color: #bcd9cd; font-size: 15px; line-height: 1.85; }

/* ---- Steps (onboarding) ---- */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 26px; position: relative; }
.step-card .num { position: absolute; top: -14px; left: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--deep); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.step-card .sico { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step-card h3 { font-size: 16px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--muted); }

/* ---- Why cards (3-card "چرا زیگچه") ---- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { text-align: center; padding: 30px 22px; }
.why-card .wico { width: 54px; height: 54px; border-radius: 16px; background: var(--accent-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.why-card h3 { font-size: 16px; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--muted); }

/* ---- Value cards (about, 4-up with left icon) ---- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card { text-align: center; padding: 26px 18px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper); }
.value-card .vico { width: 48px; height: 48px; border-radius: 14px; background: var(--ic-blue-bg); color: var(--ic-blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.value-card:nth-child(2) .vico { background: var(--ic-pink-bg); color: var(--ic-pink); }
.value-card:nth-child(3) .vico { background: var(--ic-orange-bg); color: var(--ic-orange); }
.value-card:nth-child(4) .vico { background: var(--ic-green-bg); color: var(--ic-green); }
.value-card h3 { font-size: 15px; margin-bottom: 6px; }
.value-card p { font-size: 13.5px; color: var(--muted); }

/* ---- Timeline (about "مسیر ما") ---- */
.timeline-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline-row::before { content: ""; position: absolute; top: 24px; right: 12.5%; left: 12.5%; height: 2px; background: repeating-linear-gradient(to left, var(--line) 0 6px, transparent 6px 12px); }
.tl-item { text-align: center; padding: 0 12px; position: relative; }
.tl-item .tico { width: 48px; height: 48px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; position: relative; z-index: 1; }
.tl-item h3 { font-size: 14.5px; margin-bottom: 6px; }
.tl-item p { font-size: 13px; color: var(--muted); }

/* ---- Mission section ---- */
.mission-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,0.9fr); gap: 48px; align-items: center; }
.mission-visual { position: relative; min-height: 280px; display: flex; align-items: center; justify-content: center; }
.mission-visual .float-card { position: absolute; background: var(--deep); color: #fff; border-radius: 14px; padding: 12px 16px; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-md); }
.mission-visual .float-card .ico { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; font-size: 13px; }

/* ---- Comparison table (pricing) ---- */
.compare { border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; background: var(--paper); }
.compare-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line-2); }
.compare-row:last-child { border-bottom: none; }
.compare-row.head { background: var(--paper-2); }
.compare-row > div { padding: 16px 20px; font-size: 14.5px; text-align: center; }
.compare-row > div:first-child { text-align: right; }
.compare-row.head > div { font-size: 13.5px; font-weight: 700; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; }
.compare-row.head > div:first-child { justify-content: flex-start; }
.compare-row.head > div.hl { color: var(--primary); }
.compare-row > div:first-child { font-weight: 600; color: var(--ink); }
.compare-row .no { color: var(--muted-2); }
.compare-row .yes { color: var(--primary); font-weight: 800; }
.compare-row.hl-col > div:nth-child(2) { background: var(--accent-soft-2); }

/* ---- Pricing ---- */
.period-toggle { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.period-btn {
  padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font-size: 14px; font-weight: 700; font-family: inherit; cursor: pointer; display: flex; align-items: center; gap: 6px;
}
.period-btn.active { border-color: var(--deep); background: var(--deep); color: #fff; }
.period-btn .pct { font-size: 11px; padding: 2px 7px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--primary); }
.period-btn.active .pct { background: var(--accent); color: #fff; }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; align-items: stretch; }
.plan-card { padding: 34px 28px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.plan-card.dark { background: var(--deep); border-color: var(--deep); color: #fff; transform: scale(1.02); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: var(--radius-pill); background: var(--accent); color: var(--deep); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.plan-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.plan-card.dark .plan-icon { background: rgba(255,255,255,.12); color: #fff; }
.plan-name { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.plan-tagline { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; min-height: 40px; }
.plan-card.dark .plan-tagline { color: #bcd9cd; }
.plan-price-box { background: var(--accent-soft); border-radius: 14px; padding: 16px; margin-bottom: 22px; }
.plan-card.dark .plan-price-box { background: rgba(255,255,255,.08); }
.plan-orig { font-size: 13px; color: var(--muted); text-decoration: line-through; margin-bottom: 2px; display: none; }
.plan-card.dark .plan-orig { color: #a7d9c9; }
.plan-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 2px; }
.plan-price { font-size: clamp(16px, 1.8vw, 19px); font-weight: 800; color: var(--primary); }
.plan-card.dark .plan-price { color: #fff; }
.plan-period { font-size: 13px; color: var(--muted); }
.plan-card.dark .plan-period { color: #a7d9c9; }
.plan-note { font-size: 12.5px; color: var(--primary); font-weight: 600; margin-top: 4px; display: none; }
.plan-card.dark .plan-note { color: #a7f3d0; }
.plan-features { display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; flex: 1; }
.plan-features div { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.plan-features .check { color: var(--primary); font-weight: 800; }
.plan-card.dark .plan-features .check { color: #a7f3d0; }
.plan-cta { text-decoration: none; text-align: center; padding: 13px; border-radius: var(--radius-pill); background: var(--deep); color: #fff; font-size: 14.5px; font-weight: 700; border: none; }
.plan-card.dark .plan-cta { background: var(--accent); color: var(--deep); }
.plan-card:not(.dark) .plan-cta.outline { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper); overflow: hidden; }
.faq-q { padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; gap: 16px; font-size: 15px; font-weight: 700; }
.faq-q .sign {
  font-size: 15px; color: var(--primary); flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-soft); display: flex; align-items: center; justify-content: center;
}
.faq-a { padding: 0 22px 20px; font-size: 14.5px; color: var(--muted); line-height: 1.85; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q .sign::before { content: "−"; }
.faq-q .sign::before { content: "+"; }

/* ---- Contact page ---- */
.contact-hero-grid { display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); gap: 48px; align-items: center; }
.contact-mini { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 28px; }
.contact-mini .ci { text-align: center; }
.contact-mini .ci .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.contact-mini .ci span { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.contact-split { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 28px; align-items: start; }
.contact-form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 34px; }
.contact-form-card h2 { font-size: 19px; margin-bottom: 6px; }
.contact-form-card > p { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.contact-form-card label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); display: block; margin-bottom: 7px; }
.contact-form-card input, .contact-form-card textarea {
  width: 100%; padding: 12px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: inherit; font-size: 14.5px; background: var(--paper-2);
}
.contact-form-card .field { margin-bottom: 16px; }
.contact-form-card button {
  margin-top: 6px; width: 100%; padding: 14px; border: none; border-radius: var(--radius-pill); background: var(--deep);
  color: #fff; font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer;
}
.contact-success { padding: 24px 0; text-align: center; }
.contact-success .check { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--primary); font-weight: 800; font-size: 20px; }
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-info-box { background: var(--accent-soft-2); border: 1px solid var(--accent-soft); border-radius: var(--radius-card); padding: 22px; }
.contact-info-box h3 { font-size: 16px; margin-bottom: 18px; }
.contact-method { display: flex; align-items: center; gap: 14px; background: var(--paper); border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.contact-method:last-child { margin-bottom: 0; }
.contact-method .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-method b { display: block; font-size: 14px; }
.contact-method span { font-size: 12.5px; color: var(--muted); }
.contact-why { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px; }
.contact-why h3 { font-size: 15px; margin-bottom: 14px; }
.contact-why ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.contact-why li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-2); }
.contact-why li::before { content: "✓"; color: var(--primary); font-weight: 800; background: var(--accent-soft); width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }

/* ---- CTA band ---- */
.cta-band-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px 64px; }
.cta-band {
  background: var(--deep); border-radius: 24px; padding: 40px 44px; display: flex; align-items: center;
  justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-band .ctext h2 { color: #fff; font-size: clamp(19px, 2.2vw, 25px); margin-bottom: 8px; }
.cta-band .ctext p { color: #bcd9cd; font-size: 14.5px; }
.cta-band .cmock { width: 90px; height: 64px; background: var(--paper); border-radius: 10px; flex-shrink: 0; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.cta-band .cmock .bars { position: absolute; bottom: 8px; left: 10px; right: 10px; display: flex; align-items: flex-end; gap: 3px; height: 28px; }
.cta-band .cmock .bars i { flex: 1; background: var(--accent); border-radius: 2px; }
.cta-band .cside { display: flex; align-items: center; gap: 20px; flex: 1; min-width: 260px; }

/* ---- Footer ---- */
.site-footer { background: var(--deep); padding: 56px 24px 26px; }
.footer-top { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 32px; }
.footer-top .brand span { color: #fff; }
.footer-top p { font-size: 13.5px; color: #9fc3b4; line-height: 1.8; max-width: 280px; margin-top: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; }
.footer-col div.title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col a, .footer-col div.line { display: block; text-decoration: none; font-size: 13.5px; color: #9fc3b4; margin-bottom: 12px; }
.footer-bottom { max-width: 1180px; margin: 0 auto; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #86ab9c; }

/* ---- Modal (signup/login) ---- */
.mk-modal-back { position: fixed; inset: 0; background: rgba(6, 47, 36, 0.45); z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.mk-modal-back.open { display: flex; }
.mk-modal { width: 100%; max-width: 440px; background: var(--paper); border-radius: var(--radius-card); overflow: hidden; }
.mk-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.mk-modal-head h3 { font-size: 16px; }
.mk-modal-head button { background: none; border: none; cursor: pointer; font-size: 18px; color: var(--muted); }
.mk-modal-body { padding: 22px; }
.mk-step { display: none; }
.mk-step.active { display: block; }
.mk-icon-circle { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--accent-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.mk-modal-body .intro { text-align: center; margin-bottom: 18px; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.mk-field { margin-bottom: 12px; }
.mk-field label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 6px; }
.mk-field input { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: inherit; font-size: 14.5px; }
.mk-hint { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.mk-btn { width: 100%; padding: 13px; border: none; border-radius: var(--radius-pill); background: var(--deep); color: #fff; font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer; margin-top: 6px; }
.mk-btn:disabled { opacity: 0.6; cursor: default; }
.mk-link-btn { background: none; border: none; color: var(--muted); font-size: 12.5px; font-family: inherit; cursor: pointer; display: block; margin: 8px auto 0; }
.mk-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: var(--radius-sm); padding: 10px 12px; font-size: 13px; margin-bottom: 12px; display: none; }
.mk-error.show { display: block; }
.mk-note { margin-bottom: 14px; padding: 10px; background: var(--accent-soft-2); border: 1px solid var(--accent-soft); border-radius: var(--radius-sm); font-size: 12px; color: var(--primary); }

/* ---- Blog ---- */
.blog-hero { max-width: 880px; margin: 0 auto; padding: 48px 24px 10px; text-align: center; }
.blog-hero h1 { font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 14px; }
.blog-hero p { font-size: 16px; color: var(--muted); max-width: 620px; margin: 0 auto; }
.blog-search { max-width: 640px; margin: 30px auto 0; display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 8px 8px 8px 20px; box-shadow: var(--shadow-sm); }
.blog-search input { border: none; outline: none; flex: 1; font-family: inherit; font-size: 14.5px; background: none; padding: 8px 0; }
.blog-search .ico { color: var(--muted-2); }
.blog-cats { max-width: 980px; margin: 26px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 24px; }
.blog-cat { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: var(--radius-pill); background: var(--paper); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.blog-cat.active { background: var(--deep); border-color: var(--deep); color: #fff; }
.blog-featured { max-width: 1180px; margin: 44px auto 0; padding: 0 24px; }
.blog-featured-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,0.85fr); gap: 36px; align-items: center; background: var(--accent-soft-2); border: 1px solid var(--accent-soft); border-radius: 24px; padding: 38px; }
.blog-featured-card .tag { display: inline-block; padding: 5px 14px; border-radius: var(--radius-pill); background: var(--deep); color: #fff; font-size: 12px; font-weight: 700; margin-bottom: 16px; }
.blog-featured-card h2 { font-size: clamp(19px, 2.4vw, 27px); margin-bottom: 14px; line-height: 1.5; }
.blog-featured-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; line-height: 1.8; }
.blog-featured-visual { height: 200px; border-radius: 16px; background: linear-gradient(135deg, var(--deep), var(--primary)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 34px; }
.blog-grid-wrap { max-width: 1180px; margin: 48px auto 0; padding: 0 24px; }
.blog-grid-wrap > h2 { font-size: 21px; margin-bottom: 24px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.blog-card { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card .thumb { height: 132px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; }
.blog-card .thumb.t0 { background: linear-gradient(135deg,#2F6FED,#5B8DF7); }
.blog-card .thumb.t1 { background: linear-gradient(135deg,#F2994A,#f4b06e); }
.blog-card .thumb.t2 { background: linear-gradient(135deg,#0B6B4B,#148f67); }
.blog-card .thumb.t3 { background: linear-gradient(135deg,#7C5CFC,#9c84fd); }
.blog-card .body { padding: 20px; }
.blog-card .cat { font-size: 11.5px; font-weight: 700; color: var(--primary); background: var(--accent-soft); display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); margin-bottom: 12px; }
.blog-card .date { font-size: 12.5px; color: var(--muted-2); margin-bottom: 10px; }
.blog-card h3 { font-size: 16.5px; margin: 0 0 10px; color: var(--ink); line-height: 1.5; }
.blog-card p { font-size: 13.5px; color: var(--muted); line-height: 1.8; margin: 0 0 14px; }
.blog-card .readmore { font-size: 13px; font-weight: 700; color: var(--primary); }
.blog-empty { text-align: center; padding: 60px 24px; color: var(--muted); }
.blog-newsletter { max-width: 1180px; margin: 56px auto 0; padding: 0 24px 64px; }
.blog-newsletter-inner { background: var(--accent-soft-2); border: 1px solid var(--accent-soft); border-radius: 24px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.blog-newsletter-inner h3 { font-size: 18px; margin-bottom: 8px; }
.blog-newsletter-inner p { font-size: 14px; color: var(--muted); }
.blog-newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.blog-newsletter-form input { padding: 12px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-family: inherit; font-size: 14px; min-width: 220px; }

.article-wrap { max-width: 740px; margin: 0 auto; padding: 48px 24px 72px; }
.article-wrap .cat { font-size: 11.5px; font-weight: 700; color: var(--primary); background: var(--accent-soft); display: inline-block; padding: 4px 12px; border-radius: var(--radius-pill); margin-bottom: 16px; }
.article-wrap .date { font-size: 13px; color: var(--muted-2); margin-bottom: 14px; }
.article-wrap h1 { font-size: clamp(24px, 3.2vw, 36px); margin: 0 0 24px; line-height: 1.4; }
.article-body { font-size: 16px; line-height: 2; color: var(--ink-2); }
.article-body h2 { font-size: 21px; margin: 32px 0 14px; color: var(--ink); }
.article-body h3 { font-size: 17px; margin: 24px 0 10px; color: var(--ink); }
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-inline-start: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--primary); text-decoration: underline; }
.article-cta { margin-top: 40px; padding: 28px; border-radius: var(--radius-card); background: var(--accent-soft-2); border: 1px solid var(--accent-soft); text-align: center; }
.article-cta p { margin: 0 0 16px; color: var(--primary); font-weight: 600; }

/* ---- Toast ---- */
.mk-toast-wrap { position: fixed; top: 16px; inset-inline-end: 16px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.mk-toast { background: var(--ink); color: #fff; padding: 11px 16px; border-radius: var(--radius-sm); font-size: 13.5px; box-shadow: var(--shadow-md); }
.mk-toast.warn { background: #92400e; }
.mk-toast.danger { background: #991b1b; }

/* ---- Generic 2-col (legacy hook, kept for any remaining usage) ---- */
.grid-2 { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }

@media (max-width: 980px) {
  .feature-row, .feature-row.rev { grid-template-columns: 1fr; direction: rtl; }
  .vs-card { grid-template-columns: 1fr; }
  .mission-row { grid-template-columns: 1fr; }
  .contact-hero-grid { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-row { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .timeline-row::before { display: none; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > div:first-child { padding-bottom: 4px; }
  .steps-row, .why-grid { grid-template-columns: 1fr; }
  .blog-featured-card { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-actions .btn:not(.btn-primary) { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr; }
}
