/* Lucid OS Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #141414;
  --border: rgba(255,255,255,0.05);
  --border-strong: rgba(255,255,255,0.10);
  --accent: #C4BAA2;
  --text: #EBEBEB;
  --text-2: rgba(235,235,235,0.62);
  --text-3: rgba(235,235,235,0.28);
  --sans: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-sm: 6px;
  --max-w: 1100px;
  --max-w-text: 720px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 72px; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
::selection { background: var(--accent); color: var(--bg); }
em { font-style: italic; font-weight: 300; }

/* Typography */
h1.display { font-size: clamp(42px, 6vw, 76px); font-weight: 300; line-height: 1.10; letter-spacing: -1.5px; text-wrap: balance; }
h2.section-title { font-size: clamp(30px, 4vw, 48px); font-weight: 300; line-height: 1.14; letter-spacing: -0.5px; text-wrap: balance; }
h3.card-title { font-size: 16px; font-weight: 500; letter-spacing: -0.1px; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--text-3); }
.lead { font-size: 18px; font-weight: 300; color: var(--text-2); line-height: 1.75; text-wrap: pretty; }
.caption { font-size: 13px; color: var(--text-3); }
.mono { font-family: var(--mono); font-size: 13px; }
.no-wrap { white-space: nowrap; }
br.desktop-only { display: inline; }

/* Hero headline hierarchy */
.hero-line-primary { font-size: clamp(38px, 7vw, 78px); font-weight: 300; line-height: 1.06; letter-spacing: -1.5px; color: var(--text); text-wrap: balance; margin-bottom: clamp(20px, 3vw, 40px); }
.hero-line-secondary { font-size: clamp(26px, 4vw, 52px); font-weight: 300; line-height: 1.12; letter-spacing: -0.5px; text-wrap: balance; }

/* Check-mark animation (Before/After section) */
@keyframes check-in { 0% { transform: scale(0.3); opacity: 0; } 65% { transform: scale(1.2); } 100% { transform: scale(1); opacity: 1; } }
.check-mark { display: inline-block; }
.check-mark.animate { animation: check-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

/* Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.container-text { max-width: var(--max-w-text); margin: 0 auto; padding: 0 40px; }
section { padding: 112px 0; }
section.tight { padding: 72px 0; }
.section-rule { border: none; border-top: 1px solid var(--border); margin: 0; }

/* Nav */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 48px; display: flex; justify-content: space-between; align-items: center;
  background: rgba(10,10,10,0.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-weight: 600; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--text); text-decoration: none; opacity: 0.75; transition: opacity 0.2s; }
.nav-logo:hover { opacity: 1; }
.nav-cta {
  font-size: 13px; font-weight: 400; color: var(--text-2);
  border: 1px solid var(--border-strong); padding: 9px 22px; border-radius: 100px;
  text-decoration: none; transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav-cta:hover { color: var(--text); border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.04); }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f2f2f2 100%); color: var(--bg);
  font-size: 14px; font-weight: 600; letter-spacing: 0.1px;
  padding: 14px 32px; border-radius: 100px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s; white-space: nowrap;
}
.btn-primary::after { content: ' →'; display: inline-block; margin-left: 8px; transition: transform 0.2s ease-out; }
.btn-primary:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(255,255,255,0.10); }
.btn-primary:hover::after { transform: translateX(4px); }
.btn-primary:focus-visible { outline: 2px solid rgba(255,255,255,0.38); outline-offset: 3px; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-2);
  font-size: 14px; font-weight: 400;
  padding: 13px 28px; border-radius: 100px;
  text-decoration: none; border: 1px solid var(--border-strong);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.25); color: var(--text); background: rgba(255,255,255,0.03); }

/* Cards */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: border-color 0.25s;
}
.card:hover { border-color: var(--border-strong); }
.card-grid { display: grid; gap: 16px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Glass card variant */
.card-glass {
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
}

/* Divider */
hr.subtle { border: none; border-top: 1px solid var(--border); margin: 64px 0; }

/* Guarantee */
.guarantee {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-left: 2px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: 28px 32px;
}

/* Price */
.price-tag { font-size: 52px; font-weight: 300; line-height: 1; letter-spacing: -1px; }
.price-tag span { font-size: 22px; font-weight: 300; color: var(--text-2); }

/* Premium animations */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 221, 106, 0.4); } 70% { box-shadow: 0 0 0 6px rgba(34, 221, 106, 0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* Cursor blink */
.cursor {
  display: inline-block; width: 2px; height: 0.8em;
  background: var(--accent); margin-left: 3px;
  vertical-align: -0.05em;
  animation: blink 1.2s step-end infinite;
}

/* Status pill */
.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 400; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-3);
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22dd6a; flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}

/* Gradient text */
.accent-text {
  background: linear-gradient(120deg, var(--accent) 0%, rgba(235,235,235,0.9) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Marquee */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-size: 10px; font-weight: 500; letter-spacing: 3.5px;
  text-transform: uppercase; color: var(--text-3);
  padding: 0 40px; white-space: nowrap;
}
.marquee-dot { color: var(--accent); padding: 0 4px; }

/* Fade-up */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Footer */
footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-new { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-sig { height: 40px; width: auto; display: block; filter: brightness(0) invert(1); opacity: 0.52; transition: opacity 0.2s; }
.footer-sig:hover { opacity: 0.72; }
.footer-links { display: flex; gap: 28px; align-items: center; }
.footer-links a { font-size: 13px; color: var(--text-3); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-2); }

/* Responsive */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .container, .container-text { padding: 0 20px; }
  section { padding: 80px 0; }
  section.tight { padding: 52px 0; }
  .card-grid.cols-2, .card-grid.cols-3 { grid-template-columns: 1fr; }
  h1.display { font-size: clamp(36px, 9vw, 52px); }
  .price-tag { font-size: 40px; }
  .btn-primary, .btn-outline { font-size: 15px; padding: 15px 28px; min-height: 48px; }
  .nav-cta { min-height: 40px; display: flex; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > div { text-align: left !important; }
  .footer-links { justify-content: flex-start !important; }
}

@media (max-width: 480px) {
  nav { padding: 14px 16px; }
  .container, .container-text { padding: 0 16px; }
  section { padding: 64px 0; }
  section.tight { padding: 44px 0; }
  h1.display { font-size: clamp(32px, 10vw, 46px); letter-spacing: -1px; }
  h2.section-title { font-size: clamp(26px, 7vw, 38px); }
  .lead { font-size: 16px; }
  .card { padding: 24px 20px; }
  .guarantee { padding: 22px 20px; }
  .price-tag { font-size: 36px; }
  .footer-sig { height: 32px; }
  .footer-links { gap: 16px; }
}
