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

:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-tertiary: #1f2937;
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --color-primary: #6366f1; /* Indigo */
  --color-primary-hover: #4f46e5;
  --color-secondary: #8b5cf6; /* Violet */
  --color-accent: #06b6d4; /* Cyan */
  --color-success: #10b981; /* Emerald */
  --color-danger: #f43f5e; /* Rose */
  --color-warning: #f59e0b; /* Amber */
  --glass-bg: rgba(17, 24, 39, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  line-height: 1.2;
}

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

/* Background elements */
.bg-glow-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.bg-glow-2 {
  position: absolute;
  top: 40%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo svg {
  stroke: var(--color-primary);
}

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

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-secondary);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--color-primary);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  margin: 24px 0 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Hero Interactive Mockup */
.hero-visual {
  position: relative;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.dot-red { background: var(--color-danger); }
.dot-yellow { background: var(--color-warning); }
.dot-green { background: var(--color-success); }

.mockup-tag {
  background: rgba(6, 182, 212, 0.1);
  color: var(--color-accent);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Simulator Styles */
.simulator-box {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-step {
  opacity: 0;
  display: none;
  animation: fadeIn 0.5s forwards ease;
}

.sim-step.active {
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.question-text {
  font-size: 1.1rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-primary);
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.option-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.option-btn.wrong {
  background: rgba(244, 63, 94, 0.15);
  border-color: var(--color-danger);
  color: var(--text-primary);
}

.option-btn.correct {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--color-success);
}

.diagnosis-alert {
  border-left: 4px solid var(--color-danger);
}

.diagnosis-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.meta-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.meta-item span {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 2px;
}

.meta-item strong {
  color: var(--text-primary);
}

.path-visualizer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
  position: relative;
}

.path-visualizer::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--glass-border);
  z-index: 1;
}

.path-node {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 2;
  position: relative;
  transition: var(--transition);
}

.path-node.completed {
  background: var(--color-success);
  border-color: var(--color-success);
  color: white;
}

.path-node.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  box-shadow: 0 0 12px var(--color-primary);
}

.remediation-video-sim {
  height: 120px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.remediation-video-sim::before {
  content: '►';
  font-size: 2rem;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

/* Features grid */
.features {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-primary);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

/* Deep-dive interactive section */
.deep-dive {
  padding: 100px 0;
}

.interactive-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

.tab-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.6s forwards;
}

.tab-pane.active {
  display: block;
}

.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.pane-visual img, .pane-visual div {
  width: 100%;
  border-radius: var(--radius-md);
}

.dashboard-preview {
  background: #0d1117;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.db-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-danger {
  background: rgba(244, 63, 94, 0.15);
  color: var(--color-danger);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-warning);
}

.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-success);
}

/* Pricing / Packages */
.pricing {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.price-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 48px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card.featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.price-card.featured::after {
  content: 'RECOMMENDED';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.price-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.price-desc {
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.price-amount {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.price-amount span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.price-features {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.price-features svg {
  flex-shrink: 0;
  color: var(--color-success);
}

/* Call to Action */
.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(0, 0, 0, 0) 60%);
  z-index: -1;
  pointer-events: none;
}

.cta-box {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.8), rgba(11, 15, 25, 0.9));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.cta-box h2 {
  margin-bottom: 16px;
}

.cta-box p {
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .tab-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .pane-visual {
    order: 2;
  }
  
  header nav {
    display: none;
  }
}
