/* ============================================
   Locata — Landing Page Styles
   ============================================ */

:root {
  --amber: #D4943A;
  --amber-light: #E8B368;
  --amber-dark: #B87A2A;
  --navy: #1B2A4A;
  --navy-light: #243656;
  --bg: #0A0A0F;
  --bg-elevated: #111118;
  --bg-card: #16161F;
  --bg-card-hover: #1C1C28;
  --border: #1E1E2A;
  --border-light: #2A2A3A;
  --text: #E8E8ED;
  --text-muted: #7A7A8C;
  --text-dim: #52526A;
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1120px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Typography ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 520px;
  margin: 0 auto 48px;
  text-align: center;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--amber);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(212, 148, 58, 0.3);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
  border-radius: 8px;
}

.price-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(212, 148, 58, 0.1);
  border: 1px solid rgba(212, 148, 58, 0.25);
  border-radius: 100px;
  color: var(--amber-light);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- Hero ---- */
.hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(212, 148, 58, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 32px;
}

.hero-badge em {
  color: var(--amber-light);
  font-style: italic;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-req {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 64px;
}

/* ---- Mockup ---- */
.hero-mockup {
  max-width: 780px;
  margin: 0 auto;
  perspective: 1200px;
}

.mockup-window {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.1),
    0 20px 60px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.03) inset;
  transform: rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-window:hover {
  transform: rotateX(0deg);
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #FF5F57; }
.dot.yellow { background: #FEBC2E; }
.dot.green { background: #28C840; }

.mockup-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  min-height: 340px;
  position: relative;
}

.tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tile-left {
  grid-row: 1 / 3;
  background: linear-gradient(135deg, #1a1f35, #161b2e);
  border-color: rgba(212, 148, 58, 0.2);
}

.tile-topright {
  background: #0f1219;
}

.tile-bottomright {
  background: linear-gradient(135deg, #1a1a24, #161620);
}

.tile-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.tile-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tile-lines span {
  height: 3px;
  background: var(--border-light);
  border-radius: 3px;
}

.tile-lines span:nth-child(1) { width: 80%; }
.tile-lines span:nth-child(2) { width: 55%; }
.tile-lines span:nth-child(3) { width: 70%; }
.tile-lines span:nth-child(4) { width: 45%; }
.tile-lines span:nth-child(5) { width: 60%; }

.tile-lines.dark span {
  background: rgba(212, 148, 58, 0.15);
}

.mockup-shortcut {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.mockup-shortcut kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 4px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--amber-light);
  font-weight: 500;
}

/* ---- Features ---- */
.features {
  padding: 120px 0;
  text-align: center;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(212, 148, 58, 0.1);
  border-radius: 12px;
  color: var(--amber);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 650;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.feature-card kbd {
  display: inline;
  padding: 2px 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 0.8rem;
  color: var(--amber-light);
}

.features-extras {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.features-extras span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.features-extras svg {
  color: var(--amber);
  flex-shrink: 0;
}

/* ---- Shortcuts ---- */
.shortcuts {
  padding: 120px 0;
  text-align: center;
}

.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.shortcut-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
}

.shortcut-group h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 16px;
  font-weight: 600;
}

.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.shortcut-row:last-child {
  border-bottom: none;
}

.shortcut-row span {
  color: var(--text-muted);
}

.shortcut-row kbd {
  font-family: var(--font);
  font-size: 0.82rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---- Comparison ---- */
.compare {
  padding: 120px 0;
  text-align: center;
}

.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 48px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  min-width: 600px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.compare-table th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 20px;
}

.compare-table th span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-dim);
  margin-top: 4px;
}

.compare-table th.highlight {
  color: var(--amber);
}

.compare-table th.highlight span {
  color: var(--amber-light);
}

.compare-table td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 500;
}

.compare-table td.highlight {
  background: rgba(212, 148, 58, 0.04);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table .price-row td {
  font-size: 1rem;
  color: var(--text-muted);
}

.compare-table .price-row td.highlight strong {
  color: var(--amber);
  font-size: 1.1rem;
}

/* ---- Testimonials ---- */
.testimonials {
  padding: 120px 0;
  text-align: center;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: left;
}

.testimonial-card p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 36px;
  height: 36px;
  background: var(--border-light);
  border-radius: 50%;
}

.testimonial-author strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ---- FAQ ---- */
.faq {
  padding: 120px 0;
  text-align: center;
}

.faq-list {
  max-width: 700px;
  margin: 48px auto 0;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 20px 0;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  transition: color 0.2s;
}

.faq-item summary:hover {
  color: var(--amber-light);
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--text-muted);
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---- CTA ---- */
.cta {
  padding: 120px 0;
}

.cta-inner {
  text-align: center;
  background: linear-gradient(135deg, var(--bg-card), rgba(27, 42, 74, 0.3));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(212, 148, 58, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-inner p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-inner .btn {
  margin-bottom: 16px;
}

/* ---- Footer ---- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-brand strong {
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

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

.footer-copy {
  width: 100%;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.78rem;
  margin-top: 16px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shortcuts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .nav .btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .shortcuts-grid {
    grid-template-columns: 1fr;
  }

  .features-extras {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
    font-size: 0.82rem;
  }

  .cta-inner {
    padding: 48px 24px;
    border-radius: var(--radius-lg);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .mockup-screen {
    min-height: 220px;
  }
}
