/* ═══════════════════════════════════════════════════════════════
   LockLoom — lockloom.app
   Premium Security Website Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Void-grade blacks */
  --bg-void:       #030303;
  --bg-abyss:      #080808;
  --bg-obsidian:   #0C0C0C;
  --bg-onyx:       #111111;

  /* Surfaces */
  --surface-primary:  #161616;
  --surface-elevated: #1C1C1C;
  --surface-hover:    #242424;
  --surface-border:   #1E1E1E;

  /* Titanium metals */
  --titanium-shadow: #252830;
  --titanium-base:   #363940;
  --titanium-bright: #4A4E56;
  --titanium-gleam:  #5E636C;

  /* Signature accent — teal */
  --accent:       #00D4AA;
  --accent-bright:#00F5C4;
  --accent-dim:   rgba(0,212,170,.08);
  --accent-glow:  rgba(0,212,170,.15);
  --accent-deep:  #00A886;

  /* Status */
  --status-ok:       #10B981;
  --status-warning:  #F59E0B;
  --status-critical: #EF4444;

  /* Text */
  --text-primary:   #FFFFFF;
  --text-secondary: #9CA3AF;
  --text-tertiary:  #6B7280;
  --text-muted:     #4B5563;

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(60px, 10vw, 120px);
  --container:   1200px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}


/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-bright); }


/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}


/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(3,3,3,.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--surface-border);
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(3,3,3,.96);
  box-shadow: 0 1px 30px rgba(0,0,0,.5);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text-primary);
  letter-spacing: -.4px;
}
.nav__logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.nav__logo span {
  background: linear-gradient(135deg, #fff 30%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .3px;
  transition: color .2s;
}
.nav__links a:hover { color: var(--text-primary); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #000 !important;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 100px;
  letter-spacing: .2px;
  transition: transform .15s, box-shadow .3s;
}
.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
  color: #000 !important;
}

/* Mobile hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px var(--section-pad);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(0,212,170,.06), transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(0,212,170,.03), transparent),
    var(--bg-void);
}
.hero__grid {
  position: absolute;
  inset: 0;
  opacity: .015;
  background-image:
    linear-gradient(var(--accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,212,170,.15);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero__badge svg { width: 14px; height: 14px; }
.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  padding: 14px 30px;
  transition: transform .15s, box-shadow .3s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--accent);
  color: #000;
}
.btn--primary:hover {
  box-shadow: 0 6px 30px var(--accent-glow);
  color: #000;
}
.btn--secondary {
  background: var(--surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--surface-border);
}
.btn--secondary:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}
.btn svg { width: 18px; height: 18px; }


/* ── Section Utilities ─────────────────────────────────────── */
section {
  padding: var(--section-pad) 0;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--text-secondary);
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 640px;
  line-height: 1.7;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-desc { margin: 0 auto; }


/* ── Trusted Bar ───────────────────────────────────────────── */
.trusted {
  padding: 40px 0 0;
  text-align: center;
}
.trusted__label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.trusted__items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 500;
}
.trusted__items span {
  display: flex;
  align-items: center;
  gap: 6px;
}


/* ── Features Grid ─────────────────────────────────────────── */
.features { background: var(--bg-abyss); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .25s, border-color .3s, box-shadow .3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,170,.2);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}


/* ── How It Works ──────────────────────────────────────────── */
.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  counter-reset: step;
}
.step {
  text-align: center;
  position: relative;
  counter-increment: step;
}
.step__number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 2px solid rgba(0,212,170,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}
.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 300px;
  margin: 0 auto;
}


/* ── Pricing ───────────────────────────────────────────────── */
.pricing { background: var(--bg-abyss); }

.pricing__compare {
  margin-top: 24px;
  color: var(--text-tertiary);
  font-size: 13px;
}
.pricing__compare strong {
  color: var(--accent);
}


/* ── Distress System ───────────────────────────────────────── */
.distress__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.distress-card {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.distress-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.distress-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}


/* ── Languages ─────────────────────────────────────────────── */
.languages { background: var(--bg-abyss); }

.lang-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.lang-tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.lang-tag:hover {
  border-color: rgba(0,212,170,.3);
  color: var(--text-primary);
}
.lang-tag--more {
  background: rgba(0,212,170,.08);
  border-color: rgba(0,212,170,.2);
  color: var(--accent);
  font-weight: 600;
}
.lang-tag--more:hover {
  background: rgba(0,212,170,.14);
  border-color: var(--accent);
}


/* ── Specs Table ───────────────────────────────────────────── */
.specs__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface-border);
}
.specs__table th,
.specs__table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 14px;
}
.specs__table th {
  background: var(--surface-elevated);
  color: var(--text-tertiary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
}
.specs__table td {
  border-bottom: 1px solid var(--surface-border);
  color: var(--text-secondary);
}
.specs__table tr:last-child td { border-bottom: none; }
.specs__table td:first-child {
  color: var(--text-primary);
  font-weight: 600;
}


/* ── Docs Section ──────────────────────────────────────────── */
.docs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.doc-card {
  background: var(--surface-primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform .2s, border-color .3s;
}
.doc-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0,212,170,.15);
}
.doc-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.doc-card__icon svg { width: 20px; height: 20px; }
.doc-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.doc-card p {
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.5;
}


/* ── FAQ ───────────────────────────────────────────────────── */
.faq { background: var(--bg-abyss); }

.faq__list {
  max-width: 740px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--surface-border);
}
.faq__q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}
.faq__q svg {
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq__item.open .faq__q svg { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq__a p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  padding-bottom: 20px;
}


/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--bg-obsidian);
  border-top: 1px solid var(--surface-border);
  padding: 60px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand p {
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 280px;
}
.footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  color: var(--text-tertiary);
  font-size: 14px;
  padding: 4px 0;
  transition: color .2s;
}
.footer__col a:hover { color: var(--text-primary); }
.footer__bottom {
  border-top: 1px solid var(--surface-border);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p {
  color: var(--text-muted);
  font-size: 12px;
}
.footer__bottom a {
  color: var(--text-muted);
  font-size: 12px;
}


/* ── Animations ────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes pulse-ring {
  0%   { transform: scale(.8); opacity: .6; }
  100% { transform: scale(2.4); opacity: 0; }
}


/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  /* Mobile menu */
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(3,3,3,.98);
    border-bottom: 1px solid var(--surface-border);
    padding: 20px 24px;
    gap: 16px;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; max-width: 320px; }
  .footer__inner { grid-template-columns: 1fr; }
  .how-it-works__steps { grid-template-columns: 1fr; }
}
