/* VXO GTM AI Readiness Report — Styles */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #1e1e35;
  --accent: #0066FF;
  --accent-light: #3388FF;
  --accent-glow: rgba(0, 102, 255, 0.15);
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b5;
  --text-muted: #6a6a80;
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(0, 102, 255, 0.3);
  --gradient-1: linear-gradient(135deg, #0066FF 0%, #00CCAA 100%);
  --gradient-2: linear-gradient(135deg, #6600FF 0%, #0066FF 100%);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --section-padding: clamp(4rem, 8vw, 8rem);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-1);
  z-index: 1000;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--accent);
}

/* Navigation Dots */
.nav-dots {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.nav-dot:hover,
.nav-dot.active {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  transform: scale(1.3);
}

/* Sections */
.section {
  padding: var(--section-padding) clamp(1.5rem, 5vw, 6rem);
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
  opacity: 1;
  transform: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 102, 255, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0, 204, 170, 0.08), transparent);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent-light);
  background: var(--accent-glow);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 900px;
  background: linear-gradient(180deg, #fff 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-author {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.hero-author a {
  color: var(--accent-light);
  text-decoration: none;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 4px 30px rgba(0, 102, 255, 0.5);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

/* Section Headers */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 3rem;
}

/* Stat Cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Exposure Chart */
.chart-container {
  margin-top: 3rem;
}

.chart-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.chart-role {
  font-weight: 600;
  font-size: 0.95rem;
  text-align: right;
}

.chart-bars {
  position: relative;
}

.bar-track {
  width: 100%;
  height: 36px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.bar-theoretical {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(0, 102, 255, 0.2);
  border-radius: 8px;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 0;
}

.bar-observed {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--gradient-1);
  border-radius: 8px;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.3s;
  width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.bar-theoretical-label {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.chart-legend {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.legend-dot.theoretical {
  background: rgba(0, 102, 255, 0.3);
}

.legend-dot.observed {
  background: var(--accent);
}

/* Gap Banner */
.gap-banner {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  text-align: center;
}

.gap-banner .stat-number {
  font-size: 2.5rem;
}

.gap-banner p {
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* Accordions */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.accordion {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.accordion.open {
  border-color: var(--border-accent);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
  user-select: none;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accordion-title h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.accordion-scores {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}

.score-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-weight: 600;
}

.score-badge.theoretical {
  background: rgba(0, 102, 255, 0.15);
  color: var(--accent-light);
}

.score-badge.observed {
  background: rgba(0, 204, 170, 0.15);
  color: #00CCAA;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--text-secondary);
  transition: transform 0.3s ease;
}

.accordion-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion.open .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.accordion-content {
  padding: 0 1.5rem 1.5rem;
}

/* Task Grid */
.task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  font-size: 0.9rem;
}

.task-score {
  font-weight: 700;
  font-size: 0.85rem;
}

.task-score.high { color: #00CC88; }
.task-score.medium { color: #FFAA00; }
.task-score.low { color: #FF5555; }

.accordion-rec {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.rec-box {
  flex: 1;
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.rec-box.automate {
  background: rgba(0, 204, 136, 0.08);
  border: 1px solid rgba(0, 204, 136, 0.2);
}

.rec-box.human {
  background: rgba(255, 170, 0, 0.08);
  border: 1px solid rgba(255, 170, 0, 0.2);
}

.rec-box h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.rec-box.automate h4 { color: #00CC88; }
.rec-box.human h4 { color: #FFAA00; }

.rec-box ul {
  list-style: none;
  padding: 0;
}

.rec-box li {
  padding: 0.2rem 0;
  color: var(--text-secondary);
}

.rec-box li::before {
  content: '→ ';
  color: var(--text-muted);
}

/* Case Study */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.case-metric {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.case-metric .stat-number {
  font-size: 2.2rem;
}

.case-metric .stat-label {
  font-size: 0.85rem;
}

.architecture-visual {
  margin: 3rem 0;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.arch-title {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.arch-layer {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.arch-node {
  padding: 0.6rem 1.2rem;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-light);
  text-align: center;
}

.arch-node.core {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 700;
  padding: 0.8rem 2rem;
}

.arch-connector {
  width: 2px;
  height: 24px;
  background: var(--border-accent);
}

.blockquote {
  border-left: 3px solid var(--accent);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--accent-glow);
  border-radius: 0 12px 12px 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-secondary);
}

/* Playbook */
.playbook-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  counter-reset: step;
}

.playbook-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.4s ease;
  counter-increment: step;
}

.playbook-card:hover {
  border-color: var(--border-accent);
  transform: translateX(8px);
}

.playbook-num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-light);
}

.playbook-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.playbook-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.pro-tip {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 170, 0, 0.08);
  border: 1px solid rgba(255, 170, 0, 0.15);
  border-radius: 8px;
  font-size: 0.85rem;
  color: #FFAA00;
  margin-top: 0.5rem;
}

/* Cost Model */
.cost-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 2rem;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.cost-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.cost-table td {
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

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

.cost-table .highlight-row {
  background: var(--accent-glow);
}

.cost-table .highlight-row td {
  color: var(--accent-light);
  font-weight: 600;
}

.roi-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.roi-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.roi-card .stat-number {
  font-size: 2rem;
}

/* Email Capture */
.cta-section {
  text-align: center;
  padding: var(--section-padding) 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.email-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}

.email-form input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.3s ease;
}

.email-form input:focus {
  border-color: var(--accent);
}

.email-form input::placeholder {
  color: var(--text-muted);
}

.form-success {
  display: none;
  padding: 1.5rem;
  background: rgba(0, 204, 136, 0.1);
  border: 1px solid rgba(0, 204, 136, 0.3);
  border-radius: 12px;
  color: #00CC88;
  font-weight: 600;
  margin-top: 1rem;
}

.form-success.show {
  display: block;
}

/* Footer */
.footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.footer a {
  color: var(--accent-light);
  text-decoration: none;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

/* Share buttons */
.share-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
}

.share-btn:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  background: var(--accent-glow);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-dots { display: none; }
  
  .chart-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .chart-role {
    text-align: left;
    font-size: 0.85rem;
  }
  
  .accordion-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .accordion-scores {
    font-size: 0.75rem;
  }
  
  .accordion-rec {
    flex-direction: column;
  }
  
  .email-form {
    flex-direction: column;
  }
  
  .playbook-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .playbook-num {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }
  
  .cost-table {
    font-size: 0.85rem;
  }
  
  .cost-table th,
  .cost-table td {
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
  
  .task-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}
