/* TLS Services — SaaS product landing page
   Modern startup aesthetic. Gradient hero. Geometric sans throughout.
   No serif fonts. Soft indigo + slate. */
:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-2: #f1f5f9;
  --bg-3: #e2e8f0;
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --muted: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --indigo: #6366f1;
  --indigo-br: #818cf8;
  --indigo-deep: #4338ca;
  --indigo-soft: #eef2ff;
  --teal: #14b8a6;
  --amber: #f59e0b;

  --f-display: "Manrope", -apple-system, "Helvetica Neue", sans-serif;
  --f-body: "Manrope", -apple-system, "Helvetica Neue", sans-serif;
  --f-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  --max: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --radius-lg: 24px;
  --radius: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ============ NAV — pill-shaped floating nav ============ */
.nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  padding: 0 var(--pad);
  margin-top: 16px;
}
.nav-inner {
  max-width: calc(var(--max) - 16px);
  margin: 0 auto;
  padding: 14px 14px 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 4px 24px -8px rgba(15, 23, 42, 0.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  color: white;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  padding: 8px 16px;
  color: var(--ink-3);
  border-radius: 999px;
  transition: all .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-2); }
.nav-links a.active { color: var(--ink); background: var(--indigo-soft); }
.nav-cta {
  padding: 10px 20px !important;
  background: var(--ink) !important;
  color: white !important;
  transition: all .2s !important;
}
.nav-cta:hover { background: var(--indigo) !important; transform: translateY(-1px); box-shadow: 0 8px 16px -6px rgba(99, 102, 241, 0.4); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: 999px;
  transition: all .2s ease;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.btn:hover {
  background: var(--indigo);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(99, 102, 241, 0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink-3); box-shadow: none; transform: none; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============ HERO — gradient + spotlight ============ */
.hero {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 800px 400px at 50% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  margin-top: -80px;
  padding-top: 140px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.15) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; max-width: 900px; margin: 0 auto; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 32px;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.08);
}
.hero-pill .tag {
  padding: 2px 10px;
  background: var(--indigo-soft);
  color: var(--indigo-deep);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-headline {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  color: var(--ink);
}
.hero-headline .grad {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 60%, var(--teal) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 58ch;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-meta {
  display: inline-flex;
  gap: 32px;
  padding: 16px 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 13px;
  color: var(--ink-3);
  align-items: center;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-meta .item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ============ LOGO / STAT STRIP ============ */
.stats {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat {
  padding: 0 16px;
}
.stat .num {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--indigo);
  display: block;
  margin-bottom: 8px;
}
.stat .label {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
}

/* ============ FEATURE CARDS — 3-col ============ */
.features {
  padding: 100px 0;
}
.sec-head {
  text-align: center;
  margin-bottom: 64px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.kicker {
  display: inline-block;
  padding: 5px 14px;
  background: var(--indigo-soft);
  color: var(--indigo-deep);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.sec-head h2 {
  font-family: var(--f-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.sec-head h2 .grad {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sec-head p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 52ch;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -12px rgba(99, 102, 241, 0.15),
              0 0 0 1px var(--indigo-br);
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  font-size: 24px;
  color: white;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  box-shadow: 0 10px 24px -8px rgba(99, 102, 241, 0.4);
}
.card-icon.teal { background: linear-gradient(135deg, var(--teal) 0%, #0f766e 100%); box-shadow: 0 10px 24px -8px rgba(20, 184, 166, 0.4); }
.card-icon.amber { background: linear-gradient(135deg, var(--amber) 0%, #d97706 100%); box-shadow: 0 10px 24px -8px rgba(245, 158, 11, 0.4); }

.card h3 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.card p {
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.6;
}

/* ============ COMPARISON / PRICING-STYLE ============ */
.plans {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all .25s;
}
.plan.featured {
  border-color: var(--indigo);
  background: linear-gradient(180deg, white 0%, var(--indigo-soft) 200%);
  box-shadow: 0 24px 48px -12px rgba(99, 102, 241, 0.2);
  position: relative;
  transform: scale(1.02);
}
.plan.featured::before {
  content: "Most common";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  background: var(--indigo);
  color: white;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan-name {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.plan-sub {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.plan-price .num {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.plan-price .per {
  font-size: 13px;
  color: var(--ink-3);
}
.plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}
.plan-features li {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
.plan-features .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--indigo-soft);
  color: var(--indigo-deep);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.plan.featured .check { background: var(--indigo); color: white; }
.plan .btn {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  font-size: 14px;
}
.plan:not(.featured) .btn { background: var(--bg-2); color: var(--ink); }
.plan:not(.featured) .btn:hover { background: var(--ink); color: white; }

/* ============ CTA ============ */
.cta {
  padding: 100px 0;
}
.cta-inner {
  background: var(--ink);
  color: white;
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(20, 184, 166, 0.2) 0%, transparent 50%);
}
.cta-inner > * { position: relative; }
.cta-inner h2 {
  font-family: var(--f-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.cta-inner .grad {
  background: linear-gradient(135deg, var(--indigo-br) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-inner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  max-width: 44ch;
  margin: 0 auto 32px;
}
.cta-inner .btn {
  background: white;
  color: var(--ink);
}
.cta-inner .btn:hover { background: var(--indigo-br); color: white; }

/* ============ FOOTER ============ */
.foot {
  padding: 60px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.foot-brand .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.foot-brand .logo .mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  border-radius: 8px;
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.foot-brand .logo .name {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.foot-brand p { font-size: 14px; color: var(--ink-3); max-width: 300px; }
.foot-col h5 {
  font-size: 12px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; font-size: 14px; }
.foot-col a { color: var(--ink-3); transition: color .15s; }
.foot-col a:hover { color: var(--indigo); }
.foot-bot {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-3);
}

@media (max-width: 880px) {
  .nav-inner { padding: 10px 10px 10px 16px; }
  .nav-links a { padding: 6px 10px; font-size: 13px; }
  .nav-cta { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .plan-grid { grid-template-columns: 1fr; gap: 20px; }
  .plan.featured { transform: none; }
  .cta-inner { padding: 48px 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-bot { flex-direction: column; gap: 6px; }
}

.in { animation: in .8s cubic-bezier(.2,.6,.2,1) both; }
.in.d1 { animation-delay: .1s; }
.in.d2 { animation-delay: .2s; }
.in.d3 { animation-delay: .3s; }
@keyframes in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
