/* ==========================================================================
   LANDING PAGE STYLES - EXTENDED FROM EXISTING DASHBOARD DESIGN SYSTEM[cite: 12]
   ========================================================================== */

:root {
  /* Primary Brand Tokens[cite: 12] */
  --primary: #FF9900;
  --primary-hover: #e68a00;

  /* Orange UI Scale[cite: 12] */
  --primary-light: #fff3e0;
  --primary-lighter: #fff8ec;
  --primary-border: #ffd699;
  --primary-glow: rgba(255, 153, 0, 0.18);
  --primary-orange: var(--primary);

  /* Backgrounds & Text[cite: 12] */
  --bg-app: #f9fafb;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-white: #ffffff;

  /* Borders & Shadows[cite: 12] */
  --border-light: #f1e3c9;
  --border-hover: #ffd699;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(255, 153, 0, 0.08), 0 2px 4px -2px rgba(255, 153, 0, 0.05);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);

  /* Typography & Layout[cite: 12] */
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-stack);
  font-size: 14px;
  color: var(--text-main);
  background-color: var(--bg-app);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header & Navigation[cite: 12] --- */
.header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--primary-orange);
}

/* --- Buttons System[cite: 12] --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-stack);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-secondary {
  background-color: #f1f5f9;
  color: var(--text-main);
  border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
  background-color: #e2e8f0;
}

.btn-large {
  padding: 12px 24px;
  font-size: 14px;
}

.btn-icon-crown {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.btn-icon-chrome {
  width: 18px;
  height: 18px;
}

/* --- Hero Section[cite: 12] --- */
.hero-section {
  padding: 64px 0 48px 0;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-app) 100%);
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-light);
  color: #7c2d12;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--primary-border);
  margin-bottom: 20px;
}

.hero-badge span {
  color: var(--primary-orange);
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  max-width: 720px;
  margin: 0 auto 16px auto;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 28px auto;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

/* --- Hero Mockup Window Shell[cite: 12] --- */
.hero-preview-card {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}

.preview-header {
  background-color: #f1f5f9;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e2e8f0;
}

.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.preview-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 8px;
}

.preview-body {
  padding: 20px;
}

/* Data stats component matching Dashboard tokens[cite: 12] */
.data-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.card-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.card-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.card-sub-metrics {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-light);
}

.card-sub-metrics .separator {
  color: var(--border-hover);
}

/* --- Section Layout Utilities[cite: 12] --- */
.section {
  padding: 64px 0;
}

.section-alt {
  background-color: #f1f5f9;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px auto;
}

.section-header h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.section-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* --- Features Grid[cite: 12] --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-border);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  color: var(--primary-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.feature-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

/* --- Steps Section --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.step-number {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-orange);
  background: var(--primary-light);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 15px;
  margin: 0 0 8px 0;
}

.step-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* --- FAQ Component --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
}

.faq-item h4 {
  margin: 0 0 8px 0;
  font-size: 15px;
  color: var(--text-main);
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* --- CTA Banner (Matches existing .premium-cta-banner tokens)[cite: 12] --- */
.premium-cta-banner {
  padding: 24px 32px;
  background-color: var(--bg-card);
  border: 1px solid var(--primary-border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-content h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 700;
}

.cta-content p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.cta-button {
  background-color: var(--primary);
  color: var(--text-white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease;
}

.cta-button:hover {
  background-color: var(--primary-hover);
}

/* --- Footer[cite: 10, 12] --- */
.footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 24px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.copyright {
  color: var(--text-muted);
}

.feedback-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.feedback-link:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title { font-size: 28px; }
  .data-stats, .features-grid, .steps-grid { grid-template-columns: 1fr; }
  .premium-cta-banner { flex-direction: column; text-align: center; }
  .nav-links { display: none; }
}

/* --- Pro Feature Card Tweaks --- */
.feature-card-pro {
  position: relative;
  border-color: var(--primary-border);
  background: linear-gradient(180deg, var(--primary-lighter) 0%, var(--bg-card) 100%);
}

.pro-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--primary-light);
  color: #7c2d12;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--primary-border);
}

.feature-icon.icon-pro {
  background-color: var(--primary);
  color: var(--text-white);
}

/* --- Pricing Section Styles --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 840px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.pricing-card-featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--text-white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 12px;
}

.pricing-header {
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.plan-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px 0;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 16px 0;
}

.plan-price {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.plan-price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.plan-features li.disabled {
  color: var(--text-muted);
  opacity: 0.6;
}

.plan-features .check {
  color: #10b981;
  font-weight: 700;
}

.plan-features .cross {
  color: #94a3b8;
  font-weight: 700;
}

.btn-full {
  width: 100%;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
/* --- Market Intelligence Section Styling --- */
.section-mi {
  background: linear-gradient(180deg, var(--bg-app) 0%, var(--primary-lighter) 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-badge-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.badge-new {
  background-color: var(--primary);
  color: var(--text-white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.section-sub-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Benefit Box Inside Feature Cards --- */
.feature-card-pro {
  display: flex;
  flex-direction: column;
}

.feature-desc {
  color: var(--text-muted);
  margin: 0 0 16px 0;
  font-size: 13px;
  line-height: 1.5;
  flex-grow: 1;
}

.benefit-box {
  background-color: var(--primary-light);
  border-left: 3px solid var(--primary-orange);
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 12px;
  color: #7c2d12;
  line-height: 1.4;
}

.benefit-box strong {
  color: var(--text-main);
  font-weight: 700;
}
/* --- Nav Link & Badge Styling --- */
.nav-link-mi {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  font-weight: 600;
  color: var(--text-main);
}

.nav-badge-new {
  background-color: var(--primary);
  color: var(--text-white);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 1.2;
  text-transform: uppercase;
}

/* --- Nav Action Button Group --- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 12px;
}

/* Ensure responsiveness on smaller screens */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}