/* AvtoTime — SaaS marketing landing */
body.is-landing { padding-bottom: 0; }

.landing {
  --hero-ink: #f8fafc;
  position: relative;
  overflow-x: clip;
}

/* —— Nav —— */
.landing-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(10, 13, 18, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.landing-nav .brand { color: #fff; padding: 0; gap: 10px; }
.landing-nav .brand-mark {
  background: linear-gradient(145deg, #0f766e, #134e4a);
  box-shadow: 0 0 0 1px rgba(153, 246, 228, 0.25);
}
.landing-nav .brand-name span { color: var(--mint); }
.landing-nav-links {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: 20px;
}
.landing-nav-links a {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.78);
}
.landing-nav-links a:hover,
.landing-nav-links a.on { color: #fff; background: rgba(255, 255, 255, 0.08); }
.landing-nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.landing-nav-cta .btn-ghost {
  color: #fff; border-color: rgba(255, 255, 255, 0.22);
  background: transparent; height: 36px; font-size: 13px;
}
.landing-nav-cta .btn-primary { display: inline-flex; height: 36px; font-size: 13px; }

/* —— Compact hero —— */
.landing-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 20px 40px;
  color: var(--hero-ink);
  isolation: isolate;
  overflow: hidden;
}
.landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 70% at 78% 18%, rgba(15, 118, 110, 0.5), transparent 55%),
    radial-gradient(ellipse 70% 50% at 8% 90%, rgba(234, 88, 12, 0.18), transparent 48%),
    linear-gradient(160deg, #080b10 0%, #12151c 42%, #152028 100%);
}
.landing-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.landing-hero-glow {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.35), transparent 68%);
  top: 10%; right: -80px;
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
  animation: pulse-soft 5s ease infinite;
}
.landing-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}
.landing-hero .brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.landing-hero .brand-pill span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: pulse-soft 2.4s ease infinite;
}
.landing-hero .hero-brand {
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 6px;
}
.landing-hero .hero-brand .accent { color: #fb923c; }
.landing-hero .handwritten {
  color: rgba(153, 246, 228, 0.88);
  font-size: clamp(24px, 3.4vw, 32px);
  margin: 0 0 10px;
  transform: rotate(-1.5deg);
}
.landing-hero .hero-sub {
  font-size: clamp(14px, 2vw, 17px);
  color: rgba(248, 250, 252, 0.72);
  max-width: 48ch;
  margin: 0 auto 20px;
  line-height: 1.5;
  font-weight: 500;
}
.landing-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.landing-cta-group .btn-primary {
  display: inline-flex;
  min-width: 200px;
  height: 46px;
  font-size: 14px;
  border-radius: 14px;
}
.landing-cta-group .btn-ghost {
  min-width: 148px;
  height: 46px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 14px;
}
.landing-hero-trust {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  font-size: 12px;
  font-weight: 650;
  color: rgba(248, 250, 252, 0.58);
}
.landing-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.landing-hero-trust svg {
  width: 14px; height: 14px;
  stroke: var(--mint);
  stroke-width: 1.8;
  fill: none;
  opacity: 0.9;
}

/* —— Body sections —— */
.landing-body {
  padding: 0 20px 56px;
  max-width: 1120px;
  margin: 0 auto;
}
.landing-section { padding: 44px 0; }
.landing-section-head {
  max-width: 560px;
  margin-bottom: 28px;
}
.landing-section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.landing-section-head h2 {
  font-size: clamp(22px, 3.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.landing-section-head > p:not(.handwritten) {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.55;
}
.feature-hand, .how-hand, .screens-hand, .price-hand {
  color: var(--teal) !important;
  font-size: clamp(22px, 3vw, 28px) !important;
  margin-bottom: 4px;
}

/* —— Features —— */
.feat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.feat-card {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--steel-100);
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent 70%);
  opacity: 0.85;
}
.feat-card.feat-b::before { background: linear-gradient(90deg, #ea580c, transparent 70%); }
.feat-card.feat-c::before { background: linear-gradient(90deg, #0ea5e9, transparent 70%); }
.feat-card.feat-d::before { background: linear-gradient(90deg, #059669, transparent 70%); }
.feat-card.feat-e::before { background: linear-gradient(90deg, #d97706, transparent 70%); }
.feat-card.feat-f::before { background: linear-gradient(90deg, #64748b, transparent 70%); }
.feat-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 14px;
}
.feat-card.feat-b .feat-icon { background: var(--cta-soft); color: var(--cta); }
.feat-card.feat-c .feat-icon { background: rgba(14, 165, 233, 0.12); color: #0284c7; }
.feat-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.7; fill: none; }
.feat-card h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.feat-card > p {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.feat-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feat-list li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.feat-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* —— How it works —— */
.how-track {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
.how-connector { display: none; }
.how-card {
  position: relative;
  padding: 24px 20px 22px;
  border-radius: 22px;
  background: linear-gradient(165deg, #fff 0%, var(--steel-50) 100%);
  border: 1px solid var(--steel-100);
  text-align: center;
}
.how-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.how-ico {
  width: 56px; height: 56px;
  margin: 4px auto 14px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--mint);
  box-shadow: 0 12px 28px -14px rgba(15, 118, 110, 0.55);
}
.how-ico svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.how-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}
.how-card p {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* —— UI showcase —— */
.ui-showcase {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.ui-window {
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--steel-100);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.ui-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #1a1f2a, #12151c);
  color: rgba(248, 250, 252, 0.7);
  font-size: 11px;
  font-weight: 650;
}
.ui-chrome span {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ef4444;
}
.ui-chrome span:nth-child(2) { background: #f59e0b; }
.ui-chrome span:nth-child(3) { background: #22c55e; }
.ui-chrome em {
  margin-left: 8px;
  font-style: normal;
  letter-spacing: 0.02em;
}
.ui-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 14px;
  background: var(--steel-50);
  border-bottom: 1px solid var(--line);
}
.ui-kpis small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.ui-kpis b {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ui-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px;
}
.ui-col {
  background: #f8fafc;
  border-radius: 14px;
  padding: 10px;
  border: 1px solid var(--steel-100);
  min-height: 120px;
}
.ui-col header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}
.ui-col header i {
  font-style: normal;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--amber-soft);
  color: #92400e;
  display: inline-grid;
  place-items: center;
  font-size: 10px;
}
.ui-col.mid header i { background: var(--teal-soft); color: var(--teal); }
.ui-col.done header i { background: var(--green-soft); color: #065f46; }
.ui-card {
  background: #fff;
  border: 1px solid var(--steel-100);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 8px;
  font-size: 12px;
}
.ui-card:last-child { margin-bottom: 0; }
.ui-card.active {
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 8px 20px -14px rgba(15, 118, 110, 0.5);
}
.ui-card.muted { opacity: 0.72; }
.ui-card-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.ui-card-top span {
  font-size: 10px;
  font-weight: 800;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 2px 7px;
  border-radius: 99px;
}
.ui-card p { color: var(--muted); margin: 0; line-height: 1.35; }
.ui-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.ui-tags span {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--steel-100);
  color: var(--ink-muted);
}
.ui-progress {
  height: 5px;
  border-radius: 99px;
  background: var(--steel-100);
  margin-top: 8px;
  overflow: hidden;
}
.ui-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), #14b8a6);
}
.ui-side { display: grid; gap: 14px; }
.ui-book-body { padding: 14px; }
.ui-svc {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--steel-100);
  margin-bottom: 8px;
  font-size: 13px;
}
.ui-svc b { font-weight: 750; }
.ui-svc span { color: var(--muted); font-size: 12px; font-weight: 600; }
.ui-svc.on {
  border-color: rgba(15, 118, 110, 0.4);
  background: var(--teal-soft);
}
.ui-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 12px 0 8px;
}
.ui-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ui-slots button {
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--steel-200);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  cursor: default;
}
.ui-slots button.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.ui-book-cta {
  margin-top: 14px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ea580c, #c2410c);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}
.ui-master .ui-chrome { background: #0f766e; color: #ecfdf5; }
.ui-job { padding: 14px; }
.ui-job b { display: block; font-size: 15px; margin-bottom: 4px; }
.ui-job p { font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.ui-job-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ui-job-actions span {
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 750;
}
.ui-job-actions .ghost {
  border: 1px solid var(--steel-200);
  color: var(--ink);
}
.ui-job-actions .fill {
  background: var(--teal);
  color: #fff;
}

/* —— Pricing cards —— */
.plan-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--steel-100);
}
.plan-card.is-hot {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(145deg, #0f766e, #ea580c) border-box;
  border: 2px solid transparent;
  box-shadow: 0 20px 40px -24px rgba(15, 118, 110, 0.45);
  transform: translateY(0);
}
.plan-ribbon {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--cta);
  color: #fff;
}
.plan-top h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.plan-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  min-height: 2.8em;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan-price b {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan-price small {
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
}
.plan-limits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.plan-limits span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 99px;
  background: var(--steel-50);
  border: 1px solid var(--steel-100);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-muted);
}
.plan-limits svg {
  width: 13px; height: 13px;
  stroke: var(--teal);
  stroke-width: 1.8;
  fill: none;
}
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.plan-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-muted);
}
.plan-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 800;
  flex-shrink: 0;
}
.plan-card .btn {
  width: 100%;
  height: 44px;
  margin-top: 4px;
  justify-content: center;
}

/* —— FAQ / CTA / foot —— */
.landing-faq { display: flex; flex-direction: column; gap: 10px; max-width: 720px; margin: 0 auto; }
.landing-faq details {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--steel-100);
  padding: 14px 16px;
}
.landing-faq summary {
  font-weight: 750;
  font-size: 14.5px;
  cursor: pointer;
  list-style: none;
}
.landing-faq summary::-webkit-details-marker { display: none; }
.landing-faq details[open] summary { color: var(--teal); }
.landing-faq p {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.55;
}
.landing-cta-band {
  margin-top: 28px;
  padding: 36px 24px;
  border-radius: 28px;
  text-align: center;
  background: linear-gradient(135deg, #0a0d12 0%, #134e4a 55%, #0f766e 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.landing-cta-band .cta-hand {
  color: rgba(153, 246, 228, 0.85) !important;
  font-size: 26px !important;
  margin-bottom: 6px;
}
.landing-cta-band h2 {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.landing-cta-band p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
  font-size: 14.5px;
}
.landing-cta-band .btn-primary {
  display: inline-flex;
  min-width: 220px;
  height: 46px;
}
.landing-foot {
  padding: 28px 20px 40px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.landing-foot a { color: var(--teal); font-weight: 650; }

/* legacy pricing page hero */
.pricing-page-hero.landing-hero { padding-top: 96px; padding-bottom: 36px; }

@media (min-width: 640px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .how-track {
    grid-template-columns: 1fr 28px 1fr 28px 1fr;
    align-items: center;
  }
  .how-connector {
    display: block;
    height: 2px;
    background: linear-gradient(90deg, var(--steel-200), var(--teal), var(--steel-200));
    border-radius: 99px;
  }
  .ui-cols { grid-template-columns: repeat(3, 1fr); }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .landing-nav-links { display: flex; }
  .landing-hero { padding: 96px 32px 48px; }
  .landing-hero-inner { margin: 0; text-align: left; max-width: 640px; }
  .landing-hero .hero-sub { margin-left: 0; }
  .landing-cta-group,
  .landing-hero-trust { justify-content: flex-start; }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .ui-showcase { grid-template-columns: 1.35fr 0.9fr; align-items: start; }
  .plan-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .plan-card.is-hot { transform: scale(1.02); }
}
