/* ============================================================
   LightHouse SOC — sales site styles
   ============================================================ */

:root {
  --bg: #0a0e1a;
  --bg-alt: #0e1424;
  --surface: #131a2c;
  --surface-2: #1a2238;
  --border: #232c44;
  --text: #e7ecf5;
  --muted: #9aa6c0;
  --accent: #38e1b0;
  --accent-2: #4c8dff;
  --danger: #ff5d6c;
  --warn: #ffb454;
  --ok: #38e1b0;
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #05101a;
  box-shadow: 0 10px 30px -12px rgba(56, 225, 176, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(56, 225, 176, 0.7); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  margin-top: 22px;
}
.btn-whatsapp:hover { background: #20bd5a; transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(37, 211, 102, 0.55); }
.btn-whatsapp .wa-icon { width: 20px; height: 20px; fill: #ffffff; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000512;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
.brand-mark { width: 40px; height: 40px; display: block; flex-shrink: 0; object-fit: contain; }
.brand-logo { height: 94px; width: auto; display: block; }

.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.main-nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.lang-switch button {
  background: transparent;
  color: var(--muted);
  border: none;
  padding: 6px 11px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-switch button.active { background: var(--accent); color: #05101a; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  background:
    radial-gradient(700px 400px at 80% -10%, rgba(76, 141, 255, 0.18), transparent 60%),
    radial-gradient(600px 400px at 0% 10%, rgba(56, 225, 176, 0.12), transparent 55%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.lede { font-size: 1.12rem; color: var(--muted); max-width: 540px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 0.92rem; }

/* Dashboard mock */
.dashboard-card {
  background: linear-gradient(160deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.dash-head {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: var(--danger); }
.dot.amber { background: var(--warn); }
.dot.green { background: var(--ok); }
.dash-title { margin-left: auto; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.dash-stats .stat { background: var(--surface); padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; }
.dash-stats .num { font-size: 1.5rem; font-weight: 700; font-family: var(--mono); }
.dash-stats .lbl { font-size: 0.78rem; color: var(--muted); }
.dash-feed { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.feed-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--surface-2); font-size: 0.86rem;
}
.feed-row .sev { font-family: var(--mono); font-size: 0.7rem; font-weight: 600; padding: 3px 7px; border-radius: 5px; }
.sev-high .sev { background: rgba(255,93,108,0.18); color: var(--danger); }
.sev-med .sev { background: rgba(255,180,84,0.18); color: var(--warn); }
.sev-low .sev { background: rgba(76,141,255,0.18); color: var(--accent-2); }
.sev-info .sev { background: rgba(154,166,192,0.18); color: var(--muted); }
.feed-row .msg { color: var(--text); }

/* ===== Screenshot slider ===== */
.shots { position: relative; }
.shots-frame {
  background: linear-gradient(160deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.shots-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.bdot { width: 11px; height: 11px; border-radius: 50%; }
.bdot.red { background: var(--danger); }
.bdot.amber { background: var(--warn); }
.bdot.green { background: var(--ok); }
.shots-title { margin-left: auto; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.shots-viewport { overflow: hidden; position: relative; cursor: pointer; }
.shots-track { display: flex; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.shot { flex: 0 0 100%; }
.shot img { width: 100%; aspect-ratio: 1.46; object-fit: cover; object-position: top center; display: block; }

/* dots */
.shots-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.shots-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
  background: var(--border); cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.shots-dots button.active { background: var(--accent); transform: scale(1.25); }

/* arrows */
.shots-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(19,26,44,0.85); color: var(--text);
  border: 1px solid var(--border); cursor: pointer;
  font-size: 1.5rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.shots-arrow:hover { border-color: var(--accent); color: var(--accent); }
.shots-prev { left: -12px; }
.shots-next { right: -12px; }
.shots-prev:hover { transform: translateY(-50%) scale(1.08); }
.shots-next:hover { transform: translateY(-50%) scale(1.08); }

/* hero variant: zoomed-in, stronger tilt, click hints, glow */
.shots-tilt { perspective: 1400px; }
.shots-tilt .shots-frame {
  transform: rotateY(-17deg) rotateX(5deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 44px 80px -28px rgba(0, 0, 0, 0.85);
}
.shots-tilt:hover .shots-frame { transform: rotateY(-9deg) rotateX(3deg); }
.shots-tilt .shots-arrow { display: none; }
/* zoom into the top-left quarter of the hero screenshots so they stay readable */
.shots-tilt .shot img { transform: scale(2); transform-origin: top left; }

/* soft accent glow behind the hero frame */
.shots-tilt::before {
  content: ""; position: absolute; inset: -8% -4%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55% 55% at 62% 38%, rgba(56, 225, 176, 0.22), transparent 70%),
    radial-gradient(50% 50% at 28% 72%, rgba(76, 141, 255, 0.20), transparent 70%);
  filter: blur(22px);
}

/* hover click hints (left / right) */
.shots-tilt .shots-viewport::before,
.shots-tilt .shots-viewport::after {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(10, 14, 26, 0.55); backdrop-filter: blur(4px);
  color: #fff; font-size: 2rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s; pointer-events: none; z-index: 2;
}
.shots-tilt .shots-viewport::before { content: "\2039"; left: 12px; }
.shots-tilt .shots-viewport::after { content: "\203A"; right: 12px; }
.shots-tilt:hover .shots-viewport::before,
.shots-tilt:hover .shots-viewport::after { opacity: 0.85; }

/* demo (wide) variant */
.shots-wide { max-width: 940px; margin: 0 auto; }
.shots-wide + .center { margin-top: 44px; }

/* ===== Trust bar ===== */
.trustbar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.trust-inner { padding: 26px 24px; text-align: center; }
.trust-label { color: var(--muted); font-size: 0.85rem; margin: 0 0 14px; }
.trust-logos { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; margin: 0; padding: 0; }
.trust-logos li { font-family: var(--mono); font-weight: 500; color: var(--text); opacity: 0.7; font-size: 0.95rem; }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 14px; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ===== Features ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--accent); }
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }
.feature h3 { margin: 0 0 8px; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ===== Steps ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #05101a; font-weight: 800; font-size: 1.1rem; margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ===== Stats ===== */
.stats-section { padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.big-stat { display: flex; flex-direction: column; gap: 6px; }
.big-stat .num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; font-family: var(--mono);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-stat .lbl { color: var(--muted); font-size: 0.92rem; }

/* ===== Integrations ===== */
.integration-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.integration-grid li {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px 12px; text-align: center; font-weight: 500; color: var(--text); font-size: 0.92rem;
  transition: border-color 0.2s, transform 0.2s;
}
.integration-grid li:hover { border-color: var(--accent); transform: translateY(-2px); }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 26px; display: flex; flex-direction: column;
}
.plan-featured { border-color: var(--accent); box-shadow: 0 20px 50px -24px rgba(56,225,176,0.5); transform: translateY(-8px); }
.plan-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #05101a;
  font-size: 0.75rem; font-weight: 700; padding: 5px 14px; border-radius: 20px;
}
.plan h3 { margin: 0 0 8px; font-size: 1.3rem; }
.plan-price { margin: 0 0 6px; display: flex; align-items: baseline; gap: 6px; }
.plan-price .amount { font-size: 2rem; font-weight: 800; }
.plan-price .per { color: var(--muted); font-size: 0.92rem; }
.plan-desc { color: var(--muted); font-size: 0.95rem; margin: 0 0 20px; min-height: 44px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-features li { position: relative; padding-left: 26px; color: var(--text); font-size: 0.95rem; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ===== Demo placeholder ===== */
.demo-inner { text-align: center; }
.demo-placeholder {
  height: 280px; border: 2px dashed var(--border); border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 12px, transparent 12px 24px),
    var(--surface);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 30px; max-width: 880px;
}
.demo-badge {
  font-family: var(--mono); font-weight: 600; color: var(--muted);
  border: 1px solid var(--border); padding: 10px 18px; border-radius: 30px; background: var(--bg-alt);
}

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0 0 14px; }
.contact-copy p { color: var(--muted); margin: 0 0 24px; }
.contact-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-points li { color: var(--text); font-size: 1rem; }
.contact-points a { transition: color 0.2s; }
.contact-points a:hover { color: var(--accent); }
.contact-points .wa-link:hover { color: #25d366; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.55), 0 6px 18px -6px rgba(37, 211, 102, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6), 0 8px 22px -6px rgba(37, 211, 102, 0.75); }
.wa-float .wa-icon { width: 30px; height: 30px; fill: #fff; }

.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 7px; color: var(--text); }
.field input, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--text); font-family: var(--font); font-size: 0.96rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56,225,176,0.15);
}
.field input.invalid, .field textarea.invalid { border-color: var(--danger); }
.field textarea { resize: vertical; }
.form-status { margin: 14px 0 0; font-size: 0.92rem; min-height: 1.2em; }
.form-status.success { color: var(--accent); }
.form-status.error { color: var(--danger); }
.form-note { margin: 12px 0 0; font-size: 0.82rem; color: var(--muted); }

/* ===== Footer ===== */
.site-footer { background: #000512; border-top: 1px solid var(--border); padding: 48px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; max-width: 320px; }
.footer-logo { width: 300px; max-width: 100%; height: auto; display: block; }
.footer-brand p { color: var(--muted); margin: 6px 0 0; font-size: 0.92rem; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-nav a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; }
.footer-bottom p { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-featured { transform: none; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .header-inner { height: 76px; }
  .brand-logo { height: 52px; }
  .site-header.nav-open .main-nav {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 0;
  }
  .site-header.nav-open .main-nav a { padding: 14px 24px; }
  .section { padding: 60px 0; }
  .hero { padding: 56px 0 50px; }
}

@media (max-width: 400px) {
  .brand-logo { height: 46px; }
}

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid, .integration-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
