/* LTCue Website - Dark Technical Theme */

/* ============================================
   CSS Variables
   ============================================ */
:root {
  /* Colors */
  --bg-base: #0d0d0d;
  --bg-surface: #1a1a1a;
  --bg-elevated: #242424;
  --bg-hover: #2d2d2d;
  
  --text-primary: #e8e8e8;
  --text-secondary: #a0a0a0;
  --text-tertiary: #666666;
  
  --border-subtle: #2a2a2a;
  --border-default: #3a3a3a;
  
  --accent: #ffffff;
  --accent-hover: #e0e0e0;
  --accent-muted: #888888;
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  
  /* Spacing */
  --container-width: 1100px;
  --section-padding: 80px;
  --section-padding-mobile: 50px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-muted);
}

img {
  max-width: 100%;
  height: auto;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
}

pre {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
}

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

.section {
  padding: var(--section-padding) 0;
}

.section--alt {
  background-color: var(--bg-surface);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo img {
  height: 32px;
  width: 32px;
}

.nav__logo span {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link--active {
  color: var(--text-primary);
}

.nav__cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--bg-base);
  background: var(--text-primary);
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav__cta:hover {
  background: var(--accent-hover);
  color: var(--bg-base);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 140px 0 var(--section-padding);
  text-align: center;
}

.hero__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__screenshot {
  margin-top: 60px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero__screenshot img {
  display: block;
  width: 100%;
}

.hero__screenshot--placeholder {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 14px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn--primary {
  background: var(--text-primary);
  color: var(--bg-base);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--bg-base);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

.btn--secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--text-tertiary);
  color: var(--text-primary);
}

.btn--small {
  font-size: 14px;
  padding: 10px 20px;
}

/* ============================================
   Features Grid
   ============================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s ease;
}

.feature:hover {
  border-color: var(--border-default);
}

.feature__icon {
  font-size: 24px;
  margin-bottom: 16px;
}

.feature__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature__description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   Section Headers
   ============================================ */
.section__header {
  text-align: center;
  margin-bottom: 48px;
}

.section__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Steps / How It Works
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step {
  text-align: center;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  margin-bottom: 20px;
}

.step__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step__description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   Pricing
   ============================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 48px auto 0;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 40px;
}

.pricing-card--featured {
  border-color: var(--text-tertiary);
  position: relative;
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: var(--bg-base);
  background: var(--text-primary);
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-card__price {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.pricing-card__price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-card__description {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pricing-card__features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-card__features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card__features li::before {
  content: "✓";
  color: var(--text-primary);
  font-weight: 600;
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

/* ============================================
   Download Cards
   ============================================ */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 48px auto 0;
}

.download-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  transition: border-color 0.2s ease;
}

.download-card:hover {
  border-color: var(--border-default);
}

.download-card__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.download-card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.download-card__version {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.download-card__requirements {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 16px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  text-align: center;
  padding: 100px 0;
}

.cta__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta__subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 40px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer__logo img {
  height: 28px;
  width: 28px;
}

.footer__logo span {
  font-size: 16px;
  font-weight: 600;
}

.footer__description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer__column h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--text-tertiary);
}

.footer__column ul {
  list-style: none;
}

.footer__column li {
  margin-bottom: 10px;
}

.footer__column a {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer__column a:hover {
  color: var(--text-primary);
}

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-tertiary);
  text-align: center;
}

/* ============================================
   Documentation Page
   ============================================ */
.docs {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding-top: 100px;
  min-height: 100vh;
}

.docs__sidebar {
  position: sticky;
  top: 88px;
  height: fit-content;
}

.docs__nav {
  list-style: none;
}

.docs__nav-section {
  margin-bottom: 24px;
}

.docs__nav-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.docs__nav-link {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -12px;
}

.docs__nav-link:hover,
.docs__nav-link--active {
  color: var(--text-primary);
  border-left-color: var(--text-primary);
}

.docs__content {
  max-width: 720px;
  padding-bottom: 80px;
}

.docs__content h1 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.docs__content h2 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.docs__content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.docs__content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.docs__content ul,
.docs__content ol {
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding-left: 24px;
}

.docs__content li {
  margin-bottom: 8px;
}

.docs__content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
}

.docs__content th,
.docs__content td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.docs__content th {
  font-weight: 600;
  color: var(--text-primary);
}

.docs__content td {
  color: var(--text-secondary);
}

/* ============================================
   Support / Contact Page
   ============================================ */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.support-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px;
}

.support-card__icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.support-card__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.support-card__description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.support-card__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Email highlight */
.email-highlight {
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-elevated);
  padding: 12px 24px;
  border-radius: 8px;
  margin: 16px 0;
}

/* ============================================
   Privacy / Legal Pages
   ============================================ */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 120px;
  padding-bottom: 80px;
}

.legal h1 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 8px;
}

.legal__date {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 48px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal ul {
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal li {
  margin-bottom: 8px;
}

/* ============================================
   Success Banner (for post-purchase)
   ============================================ */
.success-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #22c55e;
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.success-banner code {
  background: rgba(0, 0, 0, 0.2);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  user-select: all;
}

.success-banner__close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.8;
}

.success-banner__close:hover {
  opacity: 1;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .pricing {
    grid-template-columns: 1fr;
  }
  
  .download-grid {
    grid-template-columns: 1fr;
  }
  
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .docs {
    grid-template-columns: 1fr;
  }
  
  .docs__sidebar {
    position: static;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: var(--section-padding-mobile);
  }
  
  .nav__links {
    display: none;
  }
  
  .nav__toggle {
    display: flex;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .footer__inner {
    grid-template-columns: 1fr;
  }
  
  .footer__brand {
    max-width: 100%;
  }
  
  .support-grid {
    grid-template-columns: 1fr;
  }
  
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }
}
