/* ═══════════════════════════════════════════════
   tepete — Landing Page Styles (v2: refined)
   ═══════════════════════════════════════════════ */

:root {
  --bg: #09090b;
  --surface: #111114;
  --surface2: #19191d;
  --border: #27272a;
  --border-light: #3f3f46;
  --text: #fafafa;
  --text-dim: #a1a1aa;
  --text-muted: #71717a;
  --gold: #d4a843;
  --gold-light: #e8c35a;
  --gold-dark: #c4922e;
  --gold-glow: rgba(212, 168, 67, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; height: auto; }

/* ─── CONTAINER ──────────────────────────────── */
.lp-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── PLANNING WINDOWS BACKGROUND ───────────── */
.lp-planning-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.lp-plan-window {
  position: absolute;
  background: rgba(17, 17, 20, 0.5);
  border: 1px solid rgba(39, 39, 42, 0.4);
  border-radius: 10px;
  padding: 14px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  animation: planWindowFloat linear infinite;
  will-change: transform, opacity;
}

.lp-plan-window .pw-chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(39, 39, 42, 0.3);
}

.lp-plan-window .pw-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.lp-plan-window .pw-title {
  font-size: 9px;
  color: var(--text-muted);
  margin-left: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.7;
}

/* Planning window content types */
.pw-checklist { display: flex; flex-direction: column; gap: 5px; }
.pw-check-row {
  display: flex; align-items: center; gap: 6px;
  font-size: 9px; color: var(--text-muted); opacity: 0.6;
}
.pw-check-box {
  width: 10px; height: 10px; border-radius: 3px;
  border: 1px solid var(--border-light); flex-shrink: 0;
}
.pw-check-box.done {
  background: var(--gold-dark); border-color: var(--gold-dark);
}

.pw-bars { display: flex; flex-direction: column; gap: 6px; }
.pw-bar-row {
  display: flex; align-items: center; gap: 6px;
  font-size: 8px; color: var(--text-muted); opacity: 0.6;
}
.pw-bar-label { width: 40px; text-align: right; }
.pw-bar-track {
  flex: 1; height: 4px; background: rgba(39, 39, 42, 0.5);
  border-radius: 2px; overflow: hidden;
}
.pw-bar-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}

.pw-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pw-kpi-item { text-align: center; }
.pw-kpi-val {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--gold); opacity: 0.5;
}
.pw-kpi-lbl {
  display: block; font-size: 7px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.5;
}

.pw-gantt { display: flex; flex-direction: column; gap: 4px; }
.pw-gantt-row { display: flex; align-items: center; gap: 4px; }
.pw-gantt-label {
  width: 30px; font-size: 7px; color: var(--text-muted);
  opacity: 0.5; text-align: right;
}
.pw-gantt-track {
  flex: 1; height: 8px; position: relative;
  background: rgba(39, 39, 42, 0.3); border-radius: 3px;
}
.pw-gantt-bar {
  position: absolute; top: 1px; height: 6px; border-radius: 2px;
  background: var(--gold-dark); opacity: 0.5;
}

@keyframes planWindowFloat {
  0% {
    opacity: 0;
    transform: translateY(20px) rotate(var(--pw-rotate, 0deg)) scale(0.95);
  }
  8% {
    opacity: var(--pw-opacity, 0.3);
    transform: translateY(0) rotate(var(--pw-rotate, 0deg)) scale(1);
  }
  92% {
    opacity: var(--pw-opacity, 0.3);
    transform: translateY(-10px) rotate(var(--pw-rotate, 0deg)) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) rotate(var(--pw-rotate, 0deg)) scale(0.95);
  }
}

/* ─── NAVIGATION ──────────────────────────────── */
.lp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 60px;
  transition: background var(--transition), box-shadow var(--transition);
}
.lp-nav.scrolled {
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.lp-nav-inner {
  max-width: 960px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-logo {
  width: 28px;
  height: 28px;
}
.lp-brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.lp-nav-links {
  display: flex;
  gap: 28px;
}
.lp-nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition);
}
.lp-nav-link:hover {
  color: var(--text-dim);
}
.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── BUTTONS ─────────────────────────────────── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}
.lp-btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #000;
  box-shadow: 0 1px 8px rgba(212, 168, 67, 0.25);
}
.lp-btn-gold:hover {
  box-shadow: 0 2px 16px rgba(212, 168, 67, 0.4);
  transform: translateY(-1px);
}
.lp-btn-ghost {
  color: var(--text-dim);
  background: transparent;
}
.lp-btn-ghost:hover {
  color: var(--text);
}
.lp-btn-sm {
  padding: 6px 14px;
  font-size: 12px;
}
.lp-btn-full {
  width: 100%;
}

/* ─── HAMBURGER ───────────────────────────────── */
.lp-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 110;
}
.lp-hamburger span {
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.lp-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.lp-hamburger.open span:nth-child(2) { opacity: 0; }
.lp-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ─── MOBILE MENU ─────────────────────────────── */
.lp-mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: rgba(9, 9, 11, 0.97);
  backdrop-filter: blur(24px);
  padding: 28px 24px;
  flex-direction: column;
  gap: 12px;
}
.lp-mobile-menu.open { display: flex; }
.lp-mobile-link {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 10px 0;
  transition: color var(--transition);
}
.lp-mobile-link:hover { color: var(--gold); }
.lp-mobile-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

/* ─── SECTIONS ───────────────────────────────── */
.lp-main {
  position: relative;
  z-index: 1;
}

.lp-section {
  padding: 100px 0;
}

.lp-gold-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 10px;
}

.lp-section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 48px;
}

/* ═══ HERO ═══ */
.lp-hero {
  padding: 140px 0 80px;
  text-align: center;
}
.lp-hero-content {
  max-width: 580px;
  margin: 0 auto;
}
.lp-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  background: var(--gold-glow);
  border: 1px solid rgba(212, 168, 67, 0.2);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.lp-h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.lp-hero-sub {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 28px;
}
.lp-hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.lp-hero-ctas .lp-btn-gold {
  padding: 10px 28px;
  font-size: 14px;
}

/* Hero entrance animation */
.lp-hero-content {
  opacity: 0;
  transform: translateY(16px);
  animation: heroIn 0.7s ease forwards;
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ SOCIAL PROOF ═══ */
.lp-proof {
  padding: 0 0 60px;
}
.lp-proof-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
}
.lp-proof-stat {
  text-align: center;
}
.lp-proof-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -1px;
}
.lp-proof-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.lp-proof-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ═══ FEATURES ═══ */
.lp-features {
  padding: 80px 0;
}
.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.lp-feature-card {
  background: rgba(17, 17, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(16px);
}
.lp-feature-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color var(--transition), box-shadow var(--transition);
}
.lp-feature-card:hover {
  border-color: rgba(212, 168, 67, 0.2);
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.06);
  transform: translateY(-2px);
}
.lp-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.lp-feature-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.lp-feature-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ═══ HOW IT WORKS ═══ */
.lp-how {
  padding: 80px 0;
}
.lp-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}
.lp-step {
  flex: 1;
  max-width: 260px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
}
.lp-step.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.lp-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #000;
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 2px 12px rgba(212, 168, 67, 0.3);
}
.lp-step-arrow {
  display: flex;
  align-items: center;
  padding-top: 10px;
  opacity: 0.4;
}
.lp-step-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.lp-step-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ═══ PRICING ═══ */
.lp-pricing {
  padding: 80px 0 120px;
}
.lp-pricing-card {
  background: rgba(17, 17, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  max-width: 380px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color var(--transition), box-shadow var(--transition);
}
.lp-pricing-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.lp-pricing-card:hover {
  border-color: rgba(212, 168, 67, 0.2);
  box-shadow: 0 8px 32px rgba(212, 168, 67, 0.08);
}
.lp-pricing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  background: var(--gold-glow);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.lp-pricing-price {
  margin-bottom: 24px;
}
.lp-pricing-amount {
  display: block;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -2px;
}
.lp-pricing-period {
  font-size: 13px;
  color: var(--text-muted);
}
.lp-pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}
.lp-pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(39, 39, 42, 0.4);
}
.lp-pricing-features li:last-child { border-bottom: none; }
.lp-pricing-features svg { flex-shrink: 0; }
.lp-pricing-note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ─── FOOTER ──────────────────────────────────── */
.lp-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.lp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-footer-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}
.lp-footer-links {
  display: flex;
  gap: 20px;
}
.lp-footer-links a {
  font-size: 12px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.lp-footer-links a:hover { color: var(--text-dim); }
.lp-footer-copy {
  font-size: 11px;
  color: var(--text-muted);
}

/* ─── LOGIN MODAL ─────────────────────────────── */
.lp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lp-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.lp-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  max-width: 380px;
  width: 90%;
  position: relative;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s ease;
}
.lp-modal-overlay.open .lp-modal {
  transform: translateY(0) scale(1);
}
.lp-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 24px;
  color: var(--text-muted);
  transition: color var(--transition);
  line-height: 1;
}
.lp-modal-close:hover { color: var(--text); }
.lp-modal-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 700;
}
.lp-modal-title {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.lp-modal-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 14px;
  display: none;
}
.lp-modal-error.show { display: block; }
.lp-form-group {
  margin-bottom: 16px;
}
.lp-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 5px;
}
.lp-form-group input {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.lp-form-group input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-glow);
}
.lp-form-group input::placeholder { color: var(--text-muted); }
.lp-modal-footer {
  text-align: center;
  margin-top: 16px;
}
.lp-modal-footer a {
  font-size: 12px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.lp-modal-footer a:hover { color: var(--gold); }

/* ─── SCROLL ANIMATIONS ──────────────────────── */
[data-anim] {
  opacity: 0;
  transform: translateY(16px);
}
[data-anim].visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  .lp-nav-links, .lp-nav-actions { display: none; }
  .lp-hamburger { display: flex; }

  .lp-section { padding: 60px 0; }
  .lp-hero { padding: 100px 0 40px; }

  .lp-feature-grid { grid-template-columns: 1fr; }

  .lp-steps { flex-direction: column; align-items: center; }
  .lp-step-arrow { transform: rotate(90deg); }
  .lp-step { max-width: 320px; }

  .lp-proof-row { flex-direction: column; gap: 20px; }
  .lp-proof-divider { width: 40px; height: 1px; }

  .lp-footer-inner { flex-direction: column; gap: 10px; text-align: center; }
  .lp-footer-brand { display: none; }
}

@media (max-width: 480px) {
  .lp-h1 { font-size: 28px; }
  .lp-h2 { font-size: 22px; }
  .lp-hero-sub { font-size: 14px; }
  .lp-container { padding: 0 16px; }
  .lp-nav { padding: 0 16px; }
  .lp-hero-ctas { flex-direction: column; align-items: stretch; }
  .lp-pricing-card { padding: 24px 20px; }
}
