/* ============================================================
   iFleet — landing page specific styles (requires base.css)
   ============================================================ */

/* ---- HERO ---- */
.hero { border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut);
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: stretch;
}
.hero-left { padding: 76px 56px 84px 0; border-right: 1px solid var(--line); }
.hero-right { padding: 76px 0 84px 56px; display: flex; flex-direction: column; justify-content: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 100px; padding: 6px 12px 6px 10px; margin-bottom: 28px;
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: 56px; margin-bottom: 22px; }
.hero h1 .em { color: var(--accent-ink); }
.hero-sub { font-size: 19px; color: var(--ink-2); max-width: 30ch; margin-bottom: 34px; text-wrap: pretty; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 22px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.02em; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .tick { color: var(--accent-ink); font-weight: 600; }

/* product placeholder mock */
.mock { border: 1px solid var(--line-2); border-radius: 8px; background: var(--paper); box-shadow: var(--shadow-pop); overflow: hidden; }
.mock-bar { height: 34px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 7px; padding: 0 12px; background: var(--paper-2); }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.mock-url { margin-left: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); }
.mock-body {
  position: relative; aspect-ratio: 4 / 3.1;
  background: repeating-linear-gradient(135deg, var(--paper-2) 0 11px, var(--paper) 11px 22px);
  display: flex; align-items: center; justify-content: center;
}
.mock-cap {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em; color: var(--ink-3);
  background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--r-sm);
  padding: 9px 14px; text-align: center; max-width: 70%;
}
.mock-cap b { color: var(--ink-2); font-family: var(--font-sans); }

/* ---- TRUST STRIP ---- */
.strip { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.strip-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 20px var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.strip-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.strip-items { display: flex; gap: 30px; flex-wrap: wrap; }
.strip-item { display: flex; align-items: baseline; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.strip-item b { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }

/* ---- STEPS ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper); }
.step { padding: 34px 30px 38px; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: none; }
.step-idx { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--accent-ink); letter-spacing: 0.05em; margin-bottom: 56px; display: flex; align-items: center; gap: 10px; }
.step-idx::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.step h3 { font-size: 21px; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 15.5px; color: var(--ink-2); }

/* ---- FEATURES ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feat { padding: 32px 30px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.feat-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.feat-mark { width: 11px; height: 11px; background: var(--accent); flex: none; }
.feat-mark.ring { background: transparent; border: 2.5px solid var(--accent); border-radius: 50%; }
.feat-mark.diag { background: var(--accent); transform: rotate(45deg); }
.feat-mark.bar { width: 14px; height: 5px; }
.feat-num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); letter-spacing: 0.05em; }
.feat h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.feat p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.5; }

/* ---- PRODUCT DETAIL (split) ---- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.split h2 { font-size: 34px; margin-top: 16px; }
.split-list { list-style: none; margin: 28px 0 0; padding: 0; }
.split-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.split-list li:last-child { border-bottom: 1px solid var(--line); }
.split-list .li-idx { font-family: var(--font-mono); font-size: 12px; color: var(--accent-ink); padding-top: 3px; flex: none; width: 26px; }
.split-list h4 { margin: 0 0 4px; font-size: 16.5px; font-weight: 600; }
.split-list p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* data table mock */
.tbl { border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow-card); font-size: 14px; }
.tbl-head, .tbl-row, .tbl-foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; align-items: center; }
.tbl-head { background: var(--paper-3); border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.tbl-head > div, .tbl-row > div, .tbl-foot > div { padding: 13px 16px; }
.tbl-row { border-bottom: 1px solid var(--line); }
.tbl-row:last-child { border-bottom: none; }
.tbl-row .num, .tbl-foot .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; }
.tbl-row .name { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.tbl-row .av { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-family: var(--font-mono); font-size: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.tbl-row .pay { color: var(--accent-ink); font-weight: 600; }
.tbl-foot { background: var(--ink); color: var(--paper); }
.tbl-foot > div { padding: 14px 16px; }
.tbl-foot .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: oklch(0.75 0.01 255); }

/* ---- PRICING ---- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.price { padding: 34px 30px 32px; border-right: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; }
.price:last-child { border-right: none; }
.price.hot { box-shadow: inset 0 3px 0 var(--accent); }
.price-name { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.price-name .badge { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 3px 7px; border-radius: 100px; }
.price-cap { font-size: 14px; color: var(--ink-3); margin-bottom: 22px; }
.price-amt { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; }
.price-amt .v { font-family: var(--font-mono); font-size: 46px; font-weight: 600; letter-spacing: -0.02em; }
.price-amt .u { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); }
.price .btn { margin-bottom: 24px; }
.price-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.price-feats li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-2); align-items: flex-start; }
.price-feats .ck { color: var(--accent-ink); font-family: var(--font-mono); font-size: 13px; line-height: 1.5; flex: none; }

/* ---- FAQ ---- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 4px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { font-family: var(--font-mono); font-size: 22px; color: var(--accent-ink); transition: transform .2s ease; flex: none; line-height: 1; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .ans { padding: 0 4px 26px; font-size: 16px; color: var(--ink-2); max-width: 70ch; text-wrap: pretty; }

/* ---- CTA ---- */
.cta { background: var(--ink); color: var(--paper); }
.cta-inner { max-width: var(--maxw); margin: 0 auto; padding: 84px var(--gut); display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; }
.cta h2 { font-size: 40px; letter-spacing: -0.02em; }
.cta h2 .em { color: var(--accent); }
.cta-sub { color: oklch(0.78 0.01 255); margin: 16px 0 0; font-size: 17px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-actions .btn { align-self: stretch; justify-content: center; }
.cta-note { font-family: var(--font-mono); font-size: 12px; color: oklch(0.68 0.01 255); letter-spacing: 0.02em; }

/* ---- PRICING ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.pricing-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.pricing-card--featured { border-color: var(--accent); border-width: 2px; }
.pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 14px; border-radius: 20px; white-space: nowrap; }
.pricing-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.pricing-limit { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
.pricing-price { margin-bottom: 24px; }
.pricing-old { display: block; font-size: 14px; color: var(--ink-4); text-decoration: line-through; margin-bottom: 4px; }
.pricing-amount { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.pricing-cur { font-size: 15px; font-weight: 500; color: var(--ink-3); }
.pricing-features { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pricing-features li { font-size: 14px; color: var(--ink-2); padding-left: 20px; position: relative; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ============================================================
   LANDING RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-left { border-right: none; border-bottom: 1px solid var(--line); padding: 56px 0 48px; }
  .hero-right { padding: 44px 0 56px; }
  .hero h1 { font-size: 46px; }
  .steps, .features, .prices { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
  .step-idx { margin-bottom: 28px; }
  .price { border-right: none; border-bottom: 1px solid var(--line); }
  .price:last-child { border-bottom: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .strip-inner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px var(--gut); }
  .cta h2 { font-size: 30px; }
  .cta-inner { padding: 56px var(--gut); }
  /* payments table: drop the "rețineri" column on small screens */
  .tbl-head, .tbl-row, .tbl-foot { grid-template-columns: 1.5fr 1fr 1fr; }
  .tbl-head .col-hide, .tbl-row .col-hide, .tbl-foot .col-hide { display: none; }
}

/* screenshots grid responsive */
@media (max-width: 720px) {
  .screens-grid { grid-template-columns: 1fr !important; }
}
