/* ================= LogiLabs marketing site ================= */
:root {
  --navy: #101a2e;
  --navy2: #1b2540;
  --teal: #17a2b8;
  --teal-d: #138496;
  --ink: #1e293b;
  --slate: #64748b;
  --bg: #f4f6fa;
  --line: #e6eaf2;
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1150px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1150px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-size: 20px; font-weight: 700; color: var(--navy); }
.brand-name span { color: var(--teal); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 500;
  color: #475569; transition: all .15s ease;
}
.main-nav a:hover { background: #eef2f7; color: var(--navy); }
.main-nav a.active { color: var(--teal-d); background: #e6f5f9; font-weight: 600; }
.nav-cta {
  margin-left: 10px; background: linear-gradient(135deg, #17a2b8, #138496);
  color: #fff !important; padding: 9px 20px !important; border-radius: 22px !important;
  font-weight: 600 !important; box-shadow: 0 4px 12px rgba(23,162,184,.35);
}
.nav-cta:hover { filter: brightness(1.07); }
.menu-btn {
  display: none; border: 1px solid var(--line); background: #fff;
  border-radius: 8px; padding: 8px 12px; cursor: pointer; font-size: 17px; color: var(--navy);
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(23,162,184,.16), transparent 60%),
    linear-gradient(160deg, #101a2e 0%, #1b2540 55%, #101a2e 100%);
  color: #fff; padding: 84px 0 90px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; background: rgba(23,162,184,.16); color: #7ddcf0;
  font-size: 11.5px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 16px;
}
.hero h1 { font-size: 42px; line-height: 1.18; font-weight: 700; }
.hero h1 span { color: #7ddcf0; }
.hero p.sub { color: #aab8d0; font-size: 15.5px; margin: 16px 0 26px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; font-weight: 600; font-size: 14px;
  cursor: pointer; border: none; transition: all .15s ease;
}
.btn-teal {
  background: linear-gradient(135deg, #17a2b8, #138496); color: #fff;
  box-shadow: 0 8px 20px rgba(23,162,184,.4);
}
.btn-teal:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35);
}
.btn-ghost:hover { border-color: #fff; }
.hero-stats { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-stat b { font-size: 20px; color: #7ddcf0; display: block; }
.hero-stat span { font-size: 12px; color: #aab8d0; }

/* hero card mock */
.hero-card {
  background: #fff; border-radius: 18px; padding: 26px;
  box-shadow: 0 30px 70px rgba(0,0,0,.4); color: var(--ink);
}
.hero-card h4 { font-size: 13px; color: #64748b; font-weight: 600; margin-bottom: 14px; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-stat { background: #f8f9ff; border: 1px solid #e4e7f7; border-radius: 10px; padding: 12px 14px; }
.mini-stat b { font-size: 17px; color: var(--navy); }
.mini-stat span { display: block; font-size: 11px; color: #64748b; }
.mini-bar { height: 6px; border-radius: 4px; background: #e2e8f0; margin-top: 8px; overflow: hidden; }
.mini-bar i { display: block; height: 100%; background: linear-gradient(90deg,#17a2b8,#138496); }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow { background: #e6f5f9; color: var(--teal-d); }
.section-head h2 { font-size: 30px; color: var(--navy); line-height: 1.25; }
.section-head p { color: var(--slate); font-size: 14.5px; margin-top: 10px; }

/* product cards */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: all .18s ease; position: relative; overflow: hidden;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(15,23,42,.12); border-color: #c9d4e4; }
.p-ico {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 24px; margin-bottom: 18px; color: #fff;
}
.pi-1 { background: linear-gradient(135deg,#17a2b8,#0f7f92); }
.pi-2 { background: linear-gradient(135deg,#6366f1,#4f46e5); }
.pi-3 { background: linear-gradient(135deg,#f59e0b,#d97706); }
.product-card h3 { font-size: 17.5px; color: var(--navy); margin-bottom: 8px; }
.product-card p { font-size: 13.5px; color: var(--slate); line-height: 1.65; margin-bottom: 16px; }
.product-card ul { list-style: none; margin-bottom: 20px; }
.product-card li { font-size: 12.5px; color: #475569; padding: 4px 0 4px 22px; position: relative; }
.product-card li::before {
  content: '\2713'; position: absolute; left: 0; color: var(--teal);
  font-weight: 700;
}
.product-card .pc-link { font-size: 13px; font-weight: 600; color: var(--teal-d); }
.product-card .pc-link:hover { text-decoration: underline; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; gap: 16px; align-items: flex-start;
}
.f-ico {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  background: #e6f5f9; color: var(--teal-d); display: flex; align-items: center;
  justify-content: center; font-size: 20px;
}
.feature b { font-size: 14.5px; color: var(--navy); display: block; margin-bottom: 4px; }
.feature span { font-size: 13px; color: var(--slate); line-height: 1.6; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; text-align: center; position: relative; transition: all .18s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,23,42,.1); }
.price-card.best { border: 2px solid var(--teal); }
.best-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff; font-size: 11px; font-weight: 600;
  padding: 4px 14px; border-radius: 14px; letter-spacing: .5px;
}
.price-card h3 { font-size: 16px; color: var(--navy); }
.price-line { margin: 14px 0 4px; }
.price-line b { font-size: 38px; color: var(--navy); }
.price-line span { color: var(--slate); font-size: 13px; }
.trial-note {
  display: inline-block; background: #e6f7ef; color: #1e7e34; font-size: 11.5px;
  font-weight: 600; padding: 4px 14px; border-radius: 14px; margin-bottom: 16px;
}
.price-card ul { list-style: none; text-align: left; margin: 14px 0 24px; }
.price-card li { font-size: 13px; color: #475569; padding: 5px 0 5px 24px; position: relative; }
.price-card li::before { content: '\2713'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #101a2e, #1b2540);
  border-radius: 20px; padding: 46px 50px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h3 { font-size: 24px; margin-bottom: 6px; }
.cta-band p { color: #aab8d0; font-size: 14px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.contact-line { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
.contact-line:last-child { border-bottom: none; }
.c-ico {
  width: 40px; height: 40px; border-radius: 10px; background: #e6f5f9; color: var(--teal-d);
  display: flex; align-items: center; justify-content: center; font-size: 17px; flex: 0 0 auto;
}
.contact-line b { display: block; font-size: 13px; color: var(--navy); }
.contact-line span { font-size: 13px; color: var(--slate); }
.contact-form label { font-size: 12.5px; font-weight: 600; color: #334155; display: block; margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; height: 44px; border: 1px solid #d7dee8; border-radius: 8px;
  padding: 0 12px; font-size: 13.5px; font-family: inherit; margin-bottom: 16px; color: var(--ink);
  background: #fff;
}
.contact-form textarea { height: 110px; padding: 12px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,162,184,.13);
}

/* ---------- product hero (inner pages) ---------- */
.p-hero {
  background:
    radial-gradient(800px 380px at 90% -20%, rgba(23,162,184,.18), transparent 60%),
    linear-gradient(160deg, #101a2e, #1b2540);
  color: #fff; padding: 70px 0 66px;
}
.p-hero .eyebrow { margin-bottom: 14px; }
.p-hero h1 { font-size: 34px; line-height: 1.2; }
.p-hero p.sub { color: #aab8d0; font-size: 15px; margin: 14px 0 24px; max-width: 560px; }
.p-hero .hero-actions { margin-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #fff; margin-top: 40px; }
.footer-inner {
  max-width: 1150px; margin: 0 auto; padding: 44px 20px 20px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px;
}
.footer-inner h5 { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #7ddcf0; margin-bottom: 14px; }
.footer-inner a { display: block; color: #aab8d0; font-size: 13px; padding: 4px 0; }
.footer-inner a:hover { color: #fff; }
.footer-inner p { color: #aab8d0; font-size: 13px; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; text-align: center; color: #8a94a6; font-size: 12.5px; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 480px; }
  .products, .features, .pricing { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 18px 18px; border-bottom: 1px solid var(--line); gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 14px; font-size: 14px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .menu-btn { display: block; }
  .cta-band { padding: 34px 26px; }
}
@media (max-width: 640px) {
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 30px; }
  .products, .features, .pricing { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .section-head h2 { font-size: 24px; }
  .hero-stats { gap: 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .cta-band h3 { font-size: 20px; }
}

/* footer brand on dark */
.site-footer .brand-name { color: #fff !important; }
.site-footer .brand-name span { color: #7ddcf0 !important; }
