/* ============================================================
   Laser Assistant — Site styles
   Shared design system for marketing pages (laserassistant.net).
   ============================================================ */

:root {
  --bg: #0f0e0c;
  --bg2: #161410;
  --bg3: #1e1b17;
  --surface: #242019;
  --surface2: #2c2820;
  --border: #39332b;
  --border2: #4c453a;
  --ink: #f4f0e9;
  --ink2: #d0c9bd;
  --ink3: #9a9184;
  --gold: #c9a84c;
  --gold2: #e8c97a;
  --gold-dim: #8a6e2a;
  --gold-bg: rgba(201,168,76,0.08);
  --gold-border: rgba(201,168,76,0.2);
  --red: #ec6b6b;
  --green: #4caf7d;
  --blue: #5b8def;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--gold2); }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(36px, 5.5vw, 64px); line-height: 1.05; }
h2 { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.15; }
h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; }
h4 { font-size: 17px; line-height: 1.3; }
em { font-style: italic; color: var(--gold); }
.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: inline-block;
}

/* ============ LAYOUT ============ */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
section.tight { padding: 56px 0; }
section.spacious { padding: 120px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } section.spacious { padding: 72px 0; } }

/* The header and footer styles live in site.js (LA_CHROME_CSS), so pages that do not
   load this file get the same header and footer. */

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--gold); color: #1a1500; }
.btn-primary:hover { background: var(--gold2); color: #1a1500; }
.btn-ghost { background: transparent; border-color: var(--border2); color: var(--ink); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink3); color: var(--ink); }
.btn-link { background: none; border: none; color: var(--gold); padding: 0; font-weight: 500; }
.btn-link:hover { color: var(--gold2); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 15px 28px; font-size: 15px; }

/* ============ HERO ============ */
.hero { padding: 100px 0 80px; position: relative; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 0%, transparent 100%); pointer-events: none; }
.hero-glow { position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 600px; background: radial-gradient(ellipse, rgba(201,168,76,0.08) 0%, transparent 70%); pointer-events: none; }
.hero-content { position: relative; max-width: 880px; }
.hero h1 { margin-bottom: 22px; }
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink2); margin-bottom: 36px; max-width: 620px; line-height: 1.55; font-weight: 300; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { margin-top: 48px; display: flex; align-items: center; gap: 16px; color: var(--ink3); font-size: 12px; }
.hero-trust svg { width: 14px; height: 14px; color: var(--green); }

/* ============ CARDS ============ */
.card-grid { display: grid; gap: 18px; }
.card-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--border2); }
.card-icon { width: 44px; height: 44px; background: var(--gold-bg); border: 1px solid var(--gold-border); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-icon svg { width: 22px; height: 22px; color: var(--gold); }
.card h3 { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.card p { color: var(--ink2); font-size: 14px; line-height: 1.6; }

/* ============ FEATURE LIST ============ */
.feature {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.feature:last-child { border-bottom: none; }
.feature-icon { width: 38px; height: 38px; background: var(--surface); border: 1px solid var(--border2); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-icon svg { width: 18px; height: 18px; color: var(--gold); }
.feature-content h4 { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--ink); letter-spacing: 0; }
.feature-content p { color: var(--ink2); font-size: 14px; line-height: 1.6; }

/* ============ SECTION INTRO ============ */
.section-intro { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-intro p { color: var(--ink2); font-size: 16px; line-height: 1.65; margin-top: 18px; }

/* ============ STORY BLOCK (alternating side-by-side) ============ */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}
.story:last-child { margin-bottom: 0; }
.story.flip .story-text { order: 2; }
.story-text h2 { margin-bottom: 16px; }
.story-text p { color: var(--ink2); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.story-text p:last-child { margin-bottom: 0; }
.story-visual {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 880px) {
  .story { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
  .story.flip .story-text { order: 0; }
}

/* ============ PRICING ============ */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 800px; margin: 0 auto; }
@media (max-width: 700px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  /* Column layout so the CTA can be pushed to the bottom — the Pro list is longer, and
     without this the Basic button floats up level with the middle of Pro's features. */
  display: flex;
  flex-direction: column;
}
.plan.featured { border-color: var(--gold-border); background: linear-gradient(180deg, rgba(201,168,76,0.04) 0%, var(--bg3) 50%); }
.plan-badge {
  display: inline-block;
  /* The card is a flex column, whose stretch default would blow this pill out to the full
     card width — every other child legitimately wants that width, so exempt just this one. */
  align-self: flex-start;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}
/* Basic plan badge uses the same cool-grey as the Basic tier pill; Pro keeps gold. */
.plan:not(.featured) .plan-badge { color: #d7dee8; background: rgba(206,216,230,.16); border-color: rgba(206,216,230,.45); }
.plan.featured .plan-badge { color: var(--gold2); background: rgba(201,168,76,0.18); border-color: rgba(201,168,76,0.5); font-weight: 600; }
.plan-name { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 600; margin-bottom: 6px; }
.plan-tag { font-size: 13px; color: var(--ink3); margin-bottom: 22px; }
.plan-price { display: baseline; margin-bottom: 4px; }
.plan-price .num { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.plan-price .per { font-size: 14px; color: var(--ink3); margin-left: 6px; }
.plan-alt { font-size: 12px; color: var(--ink3); margin-bottom: 22px; font-family: 'DM Mono', monospace; }
.plan-setup { font-size: 12px; color: var(--ink3); margin-bottom: 22px; padding: 10px 12px; background: var(--surface); border-radius: 8px; border: 1px solid var(--border); }
.plan-features { list-style: none; padding: 0; margin-bottom: 24px; }.plan-features li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 14px; color: var(--ink2); }
.plan-features li svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
/* Basic checkmarks match the Basic tier pill colour; Pro keeps gold. */
.plan:not(.featured) .plan-features li svg { color: #b9c4d2; }
.plan-features li.dim { color: var(--ink3); }
/* "PLUS" sub-item: a Pro addition shown beneath the Basic capability it extends. */
.plan-features li.plus { padding: 1px 0 7px 26px; font-size: 13px; color: var(--ink3); line-height: 1.55; gap: 8px; }
.plan-features li.plus .plus-tag { font-family: 'DM Mono', monospace; font-size: 15px; font-weight: 600; line-height: 1; color: var(--gold); flex: none; width: 16px; text-align: center; margin-top: 2px; }
.plan-features li.dim svg { color: var(--ink3); opacity: 0.5; }
.plan-cta { width: 100%; margin-top: auto; }
/* Pro-only features sit after the shared list, so the shared rows line up across both cards. */
.plan-note { max-width: 900px; margin: 26px auto 0; font-size: 13px; line-height: 1.65; color: var(--ink3); text-align: center; text-wrap: pretty; }
.plan-note .req, .plan-tag .req { color: var(--gold); font-weight: 700; margin-left: 2px; }
.plan-extras-head { font-family: 'DM Mono', monospace; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 4px 0 12px; padding-top: 16px; border-top: 1px solid rgba(201,168,76,.28); }
.plan-features + .plan-extras-head { margin-top: -8px; }
/* Plan buttons wear their tier's pill colours, so each card's CTA reads as that plan. */
.cta-basic { background: rgba(206,216,230,.16); color: #d7dee8; border: 1px solid rgba(206,216,230,.45); }
.cta-basic:hover { background: rgba(206,216,230,.26); color: #fff; border-color: rgba(206,216,230,.7); }
.cta-pro { background: rgba(201,168,76,0.18); color: var(--gold2); border: 1px solid rgba(201,168,76,0.5); }
.cta-pro:hover { background: rgba(201,168,76,0.3); color: var(--gold2); border-color: rgba(201,168,76,0.8); }

/* ============ TESTIMONIAL ============ */
.quote-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
}
.quote-mark { font-family: 'Playfair Display', serif; font-size: 80px; color: var(--gold); line-height: 0.6; margin-bottom: 12px; }
.quote-text { font-family: 'Playfair Display', serif; font-size: clamp(20px, 2.5vw, 28px); font-style: italic; color: var(--ink); line-height: 1.4; margin-bottom: 24px; font-weight: 400; }
.quote-attr { font-size: 13px; color: var(--ink3); font-family: 'DM Mono', monospace; letter-spacing: 0.04em; }
.quote-attr strong { color: var(--ink2); font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0; }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--bg3), var(--surface));
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p { color: var(--ink2); font-size: 16px; margin-bottom: 28px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-banner .btn { padding: 14px 28px; font-size: 15px; }

/* ============ FAQ ============ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.faq-q:hover { color: var(--gold); }
.faq-q .plus { width: 22px; height: 22px; border: 1px solid var(--border2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink3); transition: transform 0.2s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); color: var(--gold); border-color: var(--gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--ink2); font-size: 14px; line-height: 1.7; }
.faq-item.open .faq-a { max-height: 500px; padding: 0 0 22px; }

/* ============ FOOTER ============ */
/* ============ MISC ============ */
.divider { height: 1px; background: var(--border); margin: 32px 0; border: none; }

.pill { display: inline-block; font-family: 'DM Mono', monospace; font-size: 11px; padding: 4px 10px; border-radius: 20px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.pill-gold { background: rgba(201,168,76,0.18); color: var(--gold2); border: 1px solid rgba(201,168,76,0.5); font-weight: 600; }
.pill-basic { background: rgba(206,216,230,.16); color: #d7dee8; border: 1px solid rgba(206,216,230,.45); }
/* Headline-sized version of the tier pills, so a heading can name the plans in the same visual language as the feature lists below it. */
.hero-pill { font-size: 0.62em; padding: 0.22em 0.7em; letter-spacing: 0.1em; vertical-align: 0.14em; line-height: 1.15; border-width: 2px; }
.pill-green { background: rgba(76,175,125,0.1); color: var(--green); border: 1px solid rgba(76,175,125,0.25); }
.pill-blue { background: rgba(91,141,239,0.1); color: var(--blue); border: 1px solid rgba(91,141,239,0.25); }
.pill-grey { background: var(--surface); color: var(--ink3); border: 1px solid var(--border2); }

.text-center { text-align: center; }
.text-muted { color: var(--ink3); }

/* ============ INTERACTIVE DEMO BOX (overlay-style preview) ============ */
.demo-box {
  background: #0a0a08;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.demo-header { padding: 12px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.02); }
.demo-dots { display: flex; gap: 6px; }
.demo-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border2); }
.demo-title { font-size: 12px; color: var(--ink3); margin-left: 8px; font-family: 'DM Mono', monospace; }
.demo-body { padding: 24px; }

/* ---- Small phones (320–480px): long buttons wrap inside the screen ---- */
@media (max-width: 480px) {
  .btn { white-space: normal !important; text-align: center; max-width: 100%; }
}
.feature-content { min-width: 0; flex: 1; }
