/* LogLab — shared styles */

:root {
  --bg: #0a0a0b;
  --card: #16161a;
  --card-hover: #1c1c21;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --text-secondary: #a1a1a8;
  --text-tertiary: #6e6e76;
  --green: #34c759;
  --yellow: #ffd60a;
  --orange: #ff9f0a;
  --pink: #ff375f;
  --purple: #bf5af2;
  --blue: #0a84ff;
  --gradient: conic-gradient(from 90deg, var(--green), var(--yellow), var(--orange), var(--pink), var(--purple), var(--blue), var(--green));
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1120px;
  --container-narrow: 720px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 10, 11, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: url('/app-icon.png') center / cover no-repeat;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--text);
  color: #000;
}

.btn-primary:hover {
  background: #d6d6da;
}

.btn-secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-disabled {
  background: var(--card);
  color: var(--text-tertiary);
  border-color: var(--border);
  cursor: default;
  pointer-events: none;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

/* Hero */

.hero {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: var(--gradient);
  filter: blur(160px);
  opacity: 0.16;
  pointer-events: none;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 24px;
}

.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.55;
}

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

.hero-note {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* Placeholder assets */

.asset-placeholder {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--text-tertiary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  padding: 16px;
  line-height: 1.5;
  gap: 6px;
}

.asset-placeholder code {
  color: var(--text-secondary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.hero-shot {
  display: block;
  margin-top: 64px;
  max-width: 920px;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
}

/* Sections */

section {
  padding: 96px 0;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.section-head .kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
}

/* Feature grid */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Showcase */

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.showcase-item .asset-placeholder {
  aspect-ratio: 9 / 18;
  border-radius: var(--radius-lg);
}

.showcase-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.showcase-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.plan-pro {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), var(--card) 40%);
  position: relative;
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 28px;
  background: var(--gradient);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
}

.plan h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plan .price {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

.plan .price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-tertiary);
}

.plan .price-note {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 0 0 28px;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.plan li svg {
  flex-shrink: 0;
  margin-top: 3px;
  width: 15px;
  height: 15px;
}

/* CTA band */

.cta-band {
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.cta-band p {
  color: var(--text-secondary);
  font-size: 16px;
  margin: 0 0 36px;
}

/* Footer */

footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: var(--text-tertiary);
  font-size: 14px;
  margin: 14px 0 0;
  max-width: 260px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14.5px;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-tertiary);
}

/* Legal pages */

.legal-header {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.legal-header .updated {
  color: var(--text-tertiary);
  font-size: 14px;
}

.legal-body {
  padding: 56px 0 96px;
}

.legal-body h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 16px;
}

.legal-body ul {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.75;
  padding-left: 22px;
  margin: 0 0 16px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(10, 132, 255, 0.35);
}

.legal-body a:hover {
  text-decoration-color: var(--blue);
}

.legal-body strong {
  color: var(--text);
}

/* Responsive */

@media (max-width: 860px) {
  .nav-links { display: none; }
  .grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 64px 0; }
  .hero { padding: 88px 0 56px; }
}
