/* PXA Intel — Global Styles */

:root {
  --bg-primary: #0b1121;
  --bg-secondary: #111827;
  --bg-card: #1a2332;
  --bg-card-hover: #1f2b3d;
  --accent-amber: #f59e0b;
  --accent-amber-light: #fbbf24;
  --accent-amber-dark: #d97706;
  --accent-blue: #3b82f6;
  --accent-blue-light: #60a5fa;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #1e293b;
  --gradient-amber: linear-gradient(135deg, #f59e0b, #ef4444);
  --gradient-blue: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-amber); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-amber-light); }

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

/* ── Layout ── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

.text-gradient {
  background: var(--gradient-amber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 17, 33, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.nav-brand .icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-amber);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--accent-amber);
  color: var(--bg-primary) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--accent-amber-light);
  color: var(--bg-primary) !important;
  transform: translateY(-1px);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-secondary);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.open { display: flex; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-amber);
  color: var(--bg-primary);
}
.btn-primary:hover {
  background: var(--accent-amber-light);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}
.btn-outline:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
}
.btn-ghost:hover {
  background: rgba(245, 158, 11, 0.2);
}

.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.2);
  transform: translateY(-4px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.card-icon.amber { background: rgba(245, 158, 11, 0.15); }
.card-icon.blue { background: rgba(59, 130, 246, 0.15); }
.card-icon.green { background: rgba(16, 185, 129, 0.15); }
.card-icon.purple { background: rgba(139, 92, 246, 0.15); }

/* ── Grid ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Hero ── */
.hero {
  padding-top: 160px;
  padding-bottom: 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.hero h1 {
  margin-bottom: 24px;
  position: relative;
}

.hero .lead {
  margin: 0 auto 40px;
}

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

.hero-stats {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-amber);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-amber {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ── Section Headers ── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: 16px;
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 0;
}

/* ── Pricing ── */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  transition: all 0.3s;
}

.pricing-card.featured {
  border-color: var(--accent-amber);
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.15);
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin: 20px 0 8px;
}

.pricing-card .price-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin: 24px 0;
}

.pricing-features li {
  padding: 10px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: '\2713';
  color: var(--accent-amber);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Process Steps ── */
.process-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 40px 0;
}

.process-step + .process-step {
  border-top: 1px solid var(--border-color);
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
}

.step-content h3 {
  margin-bottom: 12px;
}

.step-content p {
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .process-step { flex-direction: column; gap: 16px; }
}

/* ── Sample Report Preview ── */
.report-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
}

.report-preview-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.report-preview-header .dots {
  display: flex;
  gap: 8px;
}

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

.report-preview-body {
  padding: 40px 32px;
}

.data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.data-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--border-color);
  flex: 1;
  margin: 0 24px;
  position: relative;
  overflow: hidden;
}

.data-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--gradient-amber);
}

/* ── Testimonial (placeholder) ── */
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-role {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--bg-card);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  position: relative;
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

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

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

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer h5 {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.825rem;
}

/* ── Blog ── */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover {
  border-color: rgba(245, 158, 11, 0.2);
  transform: translateY(-4px);
}

.blog-card-img {
  height: 200px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-body .tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-body h3 {
  margin: 8px 0 12px;
  font-size: 1.15rem;
}

.blog-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.faq-question {
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-amber);
  transition: transform 0.2s;
}

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

.faq-answer {
  color: var(--text-secondary);
  margin-top: 16px;
  display: none;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── Utilities ── */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-4 { gap: 16px; }
.gap-8 { gap: 32px; }
