/* UnlockLoop Marketing Site — design system */
:root {
  --navy: #12131a;
  --navy-light: #1b1d29;
  --navy-lighter: #262838;
  --panel: #f4f5f8;
  --blue: #0080ff;
  --blue-dark: #0066cc;
  --orange: #ff5b2e;
  --orange-dark: #e0431a;
  --ink: #12131a;
  --ink-soft: #3a3d4a;
  --grey: #6b7280;
  --line: #e5e7eb;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(18, 19, 26, 0.08);
  --shadow-lg: 0 20px 50px rgba(18, 19, 26, 0.16);
  --max: 1160px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
h1, h2, h3, h4 { margin: 0 0 12px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: 46px; }
h2 { font-size: 32px; }
h3 { font-size: 20px; }
p { margin: 0 0 16px; color: var(--ink-soft); }
.lead { font-size: 18px; color: var(--ink-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 8px 20px rgba(255,91,46,0.35); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { background: var(--white); color: var(--navy); border: 1.5px solid var(--line); }
.btn-secondary:hover { border-color: var(--navy); }
.btn-ghost-light { background: rgba(255,255,255,0.08); color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* Top nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18,19,26,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--white); }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--white); font-weight: 900;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: #c7ccda; font-size: 14.5px; font-weight: 600; padding: 10px 14px; border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta a.login-link { color: #c7ccda; font-size: 14.5px; font-weight: 600; padding: 10px 12px; }
.nav-cta a.login-link:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero {
  background: radial-gradient(1100px 480px at 20% -10%, #1c2e4d 0%, var(--navy) 55%), var(--navy);
  color: var(--white); padding: 96px 0 90px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -140px; top: -140px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,91,46,0.18), transparent 70%); border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: var(--white); font-size: 50px; }
.hero .lead { color: #c7ccda; font-size: 18.5px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: #8b93a7; }

/* Hero mock panel */
.mock-card {
  background: var(--navy-light); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 22px; position: relative;
}
.mock-topbar { display: flex; gap: 6px; margin-bottom: 16px; }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mock-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--navy-lighter); border-radius: 10px; padding: 13px 15px; margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.06);
}
.mock-row .l { font-size: 13.5px; color: #e7e9f0; font-weight: 600; }
.mock-row .r { font-size: 12.5px; color: var(--orange); font-weight: 700; }
.mock-badge {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.04em;
  padding: 3px 9px; border-radius: 999px; background: rgba(0,128,255,0.18); color: #6cb3ff;
}

/* Sections */
.section-panel { background: var(--panel); }
.section-head { max-width: 620px; margin: 0 auto 52px; text-align: center; }
.section-head.left { text-align: left; margin: 0 0 48px; }

/* Feature grid */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon {
  width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 19px; margin-bottom: 16px; font-weight: 800; color: var(--white);
}
.icon-blue { background: linear-gradient(135deg, var(--blue), #4fa8ff); }
.icon-orange { background: linear-gradient(135deg, var(--orange), #ff8a5f); }
.icon-navy { background: linear-gradient(135deg, var(--navy), var(--navy-lighter)); }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 14.5px; }

/* Stats strip (real, non-inflated framing) */
.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  background: var(--navy); border-radius: var(--radius); padding: 34px; color: var(--white);
}
.stat-strip .stat { text-align: center; }
.stat-strip .num { font-size: 30px; font-weight: 800; color: var(--orange); }
.stat-strip .label { font-size: 13px; color: #c7ccda; margin-top: 4px; }

/* Steps */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step-num {
  counter-increment: step; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.step-num::before { content: counter(step); }
.step h3 { margin-bottom: 4px; }
.step p { margin-bottom: 0; }

/* Code block */
.code-block {
  background: var(--navy); color: #e7ecff; border-radius: var(--radius-sm); padding: 18px 20px;
  font-family: 'SFMono-Regular', Consolas, Menlo, monospace; font-size: 13px; line-height: 1.7;
  overflow-x: auto; border: 1px solid rgba(255,255,255,0.08); position: relative;
}
.code-block .tag { color: #6cb3ff; }
.code-block .attr { color: #ff9d7a; }
.code-block .str { color: #9fe6a0; }
.copy-btn {
  position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.08); color: #c7ccda;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; padding: 5px 10px; font-size: 11.5px;
  cursor: pointer; font-weight: 700;
}
.copy-btn:hover { background: rgba(255,255,255,0.16); color: var(--white); }

/* Connector cards */
.connector-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--white);
}
.connector-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.connector-logo {
  width: 44px; height: 44px; border-radius: 10px; background: var(--panel); display: flex;
  align-items: center; justify-content: center; font-weight: 900; font-size: 16px; color: var(--navy);
  border: 1px solid var(--line);
}
.tag-pill {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; margin-left: 8px;
}
.pill-live { background: #e6f6ea; color: #1a8a3d; }
.pill-new { background: #fff0e9; color: var(--orange-dark); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; background: var(--white);
  display: flex; flex-direction: column;
}
.price-card.featured {
  border: 2px solid var(--orange); box-shadow: var(--shadow-lg); position: relative; transform: scale(1.03);
}
.price-card.featured .featured-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white); font-size: 11px; font-weight: 800;
  padding: 5px 14px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase;
}
.price-amount { font-size: 40px; font-weight: 800; margin: 14px 0 2px; }
.price-amount span { font-size: 15px; font-weight: 600; color: var(--grey); }
.price-list { list-style: none; padding: 0; margin: 22px 0; flex: 1; }
.price-list li { display: flex; gap: 10px; padding: 7px 0; font-size: 14.5px; color: var(--ink-soft); }
.check { color: var(--blue); font-weight: 900; flex-shrink: 0; }
.price-note { font-size: 12.5px; color: var(--grey); text-align: center; margin-top: 18px; }

/* Optin */
.optin-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 640px; }
.optin-visual {
  background: var(--navy); color: var(--white); padding: 64px 56px; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.optin-visual::after {
  content: ''; position: absolute; left: -120px; bottom: -120px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0,128,255,0.18), transparent 70%); border-radius: 50%;
}
.optin-form-side { padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.optin-benefits { list-style: none; padding: 0; margin: 26px 0 0; position: relative; z-index: 1; }
.optin-benefits li { display: flex; gap: 12px; padding: 10px 0; color: #dfe3ee; font-size: 14.5px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.form-field input {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  font-size: 15px; font-family: var(--font); transition: border-color .15s ease;
}
.form-field input:focus { outline: none; border-color: var(--blue); }
.form-disclaimer { font-size: 12px; color: var(--grey); margin-top: 12px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy), #1c2e4d); color: var(--white); border-radius: var(--radius);
  padding: 56px; text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #c7ccda; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }

/* Footer */
.footer { background: var(--navy); color: #c7ccda; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; margin-bottom: 44px; }
.footer h4 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: #9aa1b5; font-size: 14px; }
.footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex;
  justify-content: space-between; align-items: center; font-size: 13px; color: #7c8398; flex-wrap: wrap; gap: 10px;
}

/* Table */
table.compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
table.compare th { background: var(--panel); font-weight: 800; color: var(--ink); }
table.compare td { color: var(--ink-soft); }
table.compare tr:last-child td { border-bottom: none; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.small-badge {
  font-size: 12px; font-weight: 700; color: #c7ccda; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12); padding: 6px 12px; border-radius: 999px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .optin-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 36px; }
  .hero { padding: 64px 0; }
  section { padding: 60px 0; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .login-link { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy); padding: 12px 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
}
