/* ============================================
   TENSECTRA WEBSITE - MAIN STYLESHEET
   Design System: Dark Enterprise Tech Aesthetic
   ============================================ */

/* CSS Variables - Design Tokens */
:root {
  /* Background Colors */
  --bg-primary: #050A14;
  --bg-card: #0A1628;
  --bg-card-hover: #0D1E35;
  --bg-border: #0D2040;
  
  /* Accent Colors */
  --accent-cyan: #00CCFF;
  --accent-blue: #3B5BFF;
  --accent-purple: #7B2FFF;
  
  /* Text Colors */
  --text-primary: #E6EDF3;
  --text-muted: #6E7D9A;
  --text-white: #FFFFFF;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #00CCFF 0%, #3B5BFF 50%, #7B2FFF 100%);
  --gradient-cyan-blue: linear-gradient(135deg, #00CCFF 0%, #3B5BFF 100%);
  --gradient-glow: radial-gradient(circle, rgba(0, 204, 255, 0.12) 0%, transparent 70%);
  
  /* Typography */
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-glow: 0 0 30px rgba(0, 204, 255, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

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

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

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

.text-cyan {
  color: var(--accent-cyan);
}

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

.font-mono {
  font-family: var(--font-mono);
}

/* Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: 1000px;
}

/* Binary Rain Effect */
.binary-rain {
  position: absolute;
  left: 0;
  top: 0;
  width: 30%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.06;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent-cyan);
  line-height: 1.4;
  z-index: 0;
}

.binary-column {
  position: absolute;
  top: -100%;
  animation: binary-fall linear infinite;
}

@keyframes binary-fall {
  0% { transform: translateY(0); }
  100% { transform: translateY(200%); }
}

/* Glow Effects */
.glow-cyan {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 204, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.glow-purple {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(123, 47, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 10, 20, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-border);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(5, 10, 20, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 var(--space-md);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.navbar-logo img {
  height: 40px;
  width: auto;
}

.navbar-logo span {
  font-weight: 700;
  font-size: 1.25rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.navbar-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  padding: var(--space-xs) 0;
  position: relative;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-cyan-blue);
  transition: width var(--transition-normal);
}

.navbar-nav a:hover {
  color: var(--text-white);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 100%;
}

.navbar-nav a.active {
  color: var(--accent-cyan);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-white);
  transition: all var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.875rem 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(0, 204, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 204, 255, 0.5);
  color: var(--text-white);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-cyan);
  border: 2px solid var(--accent-cyan);
}

.btn-secondary:hover {
  background: rgba(0, 204, 255, 0.1);
  color: var(--accent-cyan);
}

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--bg-border);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-sm {
  padding: 0.625rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-normal);
}

.card:hover {
  border-color: rgba(0, 204, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card-cyan {
  border-top: 3px solid var(--accent-cyan);
}

.card-blue {
  border-top: 3px solid var(--accent-blue);
}

.card-purple {
  border-top: 3px solid var(--accent-purple);
}

/* Section Styles */
.section {
  position: relative;
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 70px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hero h1 .line-1 {
  display: block;
  color: var(--text-white);
  animation: heroSlideLeft 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero h1 .line-2 {
  display: block;
  color: var(--accent-cyan);
  animation: heroSlideLeft 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  max-width: 600px;
  animation: heroFadeUp 0.65s ease 0.55s both;
}

.hero-ai-message {
  font-size: 1.1rem;
  color: rgba(0, 204, 255, 0.8);
  margin-bottom: var(--space-lg);
  max-width: 650px;
  font-style: italic;
  animation: heroFadeUp 0.65s ease 0.75s both;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.hero-stats {
  color: var(--text-muted);
  font-size: 0.9rem;
  animation: heroFadeUp 0.6s ease 1.35s both;
}

.hero-stats span {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Authority Bar */
.authority-bar {
  background: var(--bg-card);
  border-top: 1px solid rgba(0, 204, 255, 0.4);
  border-bottom: 1px solid rgba(0, 204, 255, 0.4);
  padding: var(--space-md) 0;
  position: relative;
  overflow: hidden;
}

/* Marquee (authority bar) */
.marquee-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: marqueeScroll 26s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.marquee-text.tech-term {
  color: var(--text-primary);
  border-bottom: 1px dotted rgba(0, 204, 255, 0.4);
}

.marquee-dot {
  color: var(--accent-cyan);
  opacity: 0.5;
  padding: 0 0.9rem;
}

.marquee-spacer {
  display: inline-block;
  width: 80px;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

/* Path Cards */
.path-card {
  position: relative;
}

.path-card .card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  color: var(--accent-cyan);
}

.path-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.path-card p {
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

.badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: rgba(0, 204, 255, 0.15);
  color: var(--accent-cyan);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Pro Teaser */
.pro-teaser {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  border-left: 4px solid var(--accent-cyan);
}

.pro-teaser-content h3 {
  margin-bottom: var(--space-sm);
}

.pro-teaser-content ul {
  list-style: none;
  margin-top: var(--space-md);
}

.pro-teaser-content li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pro-teaser-content li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.pro-teaser-pricing {
  text-align: center;
}

.pricing-pill {
  background: var(--bg-primary);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-white);
}

.price-period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ASCII Diagram */
.ascii-diagram {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--accent-cyan);
  overflow-x: auto;
  white-space: pre;
}

/* Course Cards */
.course-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Pull badge into flex flow so it sits above the heading with breathing room */
.course-card .badge {
  position: relative;
  top: auto;
  right: auto;
  align-self: flex-start;
  margin-bottom: var(--space-sm);
}


.course-card.coming-soon {
  opacity: 0.85;
}

/* Pin the "Join Waitlist" button to the bottom of coming-soon cards */
.course-card.coming-soon > .btn {
  margin-top: auto;
}

.course-accent-cyan { border-left: 4px solid var(--accent-cyan); }
.course-accent-blue { border-left: 4px solid var(--accent-blue); }
.course-accent-purple { border-left: 4px solid var(--accent-purple); }
.course-accent-pink { border-left: 4px solid #FF6B9D; }
.course-accent-amber { border-left: 4px solid #FF9500; }

.course-header {
  margin-bottom: var(--space-md);
}

.course-header h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.course-project {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.course-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.stack-pill {
  background: rgba(0, 204, 255, 0.1);
  color: var(--accent-cyan);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.course-ai-line {
  color: rgba(0, 204, 255, 0.7);
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: var(--space-md);
}

.course-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: auto;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(0, 204, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Pro Banner */
.pro-banner {
  background: var(--bg-card);
  border: 1px solid transparent;
  border-image: var(--gradient-primary) 1;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: var(--space-xl) 0;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--bg-border);
}

.comparison-table th {
  color: var(--text-white);
  font-weight: 600;
  background: var(--bg-card);
}

.comparison-table td {
  color: var(--text-muted);
}

.comparison-table .check {
  color: var(--accent-cyan);
}

.comparison-table .cross {
  color: var(--text-muted);
  opacity: 0.5;
}

/* Timeline */
.timeline {
  position: relative;
  padding: var(--space-lg) 0;
}

.timeline-line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--bg-border);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: var(--space-lg);
}

.timeline-dot {
  position: absolute;
  left: 11px;
  top: 5px;
  width: 20px;
  height: 20px;
  background: var(--bg-card);
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
}

.timeline-item.active .timeline-dot {
  background: var(--accent-cyan);
}

.timeline-week {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  margin-bottom: var(--space-xs);
}

.timeline-title {
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.timeline-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Prompt Maturity Ladder */
.ladder {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0.5rem 0;
}

/* Ladder card container */
.ladder-card {
  position: relative;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 204, 255, 0.12);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 204, 255, 0.05),
    0 0 50px rgba(0, 204, 255, 0.07),
    0 20px 50px rgba(0, 0, 0, 0.4);
}

.ladder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

.ladder-card-header {
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(0, 204, 255, 0.08);
}

.ladder-badge {
  display: inline-block;
  background: rgba(0, 204, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 204, 255, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.62rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.ladder-card-title {
  margin: 0.4rem 0 0.2rem;
  font-size: 1.1rem;
  color: var(--text-white);
}

.ladder-card-sub {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0;
}

.ladder-item {
  display: grid;
  grid-template-columns: 64px 1fr 1.3fr;
  gap: var(--space-md);
  padding: 0.75rem 1.5rem;
  align-items: center;
  border-left: 3px solid transparent;
  transition: background var(--transition-fast), transform var(--transition-fast);
  cursor: default;
}

.ladder-item:hover {
  background: rgba(0, 204, 255, 0.04);
  transform: translateX(3px);
}

.ladder-item:nth-child(1) { border-left-color: var(--accent-cyan); }
.ladder-item:nth-child(2) { border-left-color: #33B8FF; }
.ladder-item:nth-child(3) { border-left-color: #66A5FF; }
.ladder-item:nth-child(4) { border-left-color: #9972FF; }
.ladder-item:nth-child(5) { border-left-color: var(--accent-purple); }

.ladder-level {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.3rem 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
}

.ladder-item:nth-child(1) .ladder-level { color: var(--accent-cyan); }
.ladder-item:nth-child(2) .ladder-level { color: #33B8FF; }
.ladder-item:nth-child(3) .ladder-level { color: #66A5FF; }
.ladder-item:nth-child(4) .ladder-level { color: #9972FF; }
.ladder-item:nth-child(5) .ladder-level { color: var(--accent-purple); }

.ladder-name {
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.9rem;
}

.ladder-desc {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

/* Spectrum bar at the bottom of ladder card */
.ladder-spectrum {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  border-top: 1px solid rgba(0, 204, 255, 0.08);
}

.ladder-spectrum span {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.ladder-spectrum-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.ladder-spectrum-fill {
  height: 100%;
  width: 100%;
  background: var(--gradient-primary);
}

/* Tier Cards */
.tier-card {
  position: relative;
  padding: var(--space-xl);
}

.tier-header {
  margin-bottom: var(--space-lg);
}

.tier-name {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.tier-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-xs);
}

.tier-price-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.tier-features {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: var(--text-muted);
}

.tier-features li::before {
  content: '✓';
  color: var(--accent-cyan);
  font-weight: 700;
}

.tier-ideal {
  background: rgba(0, 204, 255, 0.05);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.tier-ideal-label {
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.tier-ideal-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Forms */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

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

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 10, 20, 0.9);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--bg-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-white);
}

.modal-body {
  padding: var(--space-lg);
}

/* Accordion */
.accordion {
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--bg-border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  background: var(--bg-card);
  border: none;
  padding: var(--space-md);
  text-align: left;
  color: var(--text-white);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition-fast);
}

.accordion-header:hover {
  background: var(--bg-card-hover);
}

.accordion-icon {
  color: var(--accent-cyan);
  transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-body {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--text-muted);
}

/* Testimonials */
.testimonial-card {
  text-align: center;
}

.testimonial-quote {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: var(--space-md);
}

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

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

.testimonial-company {
  color: var(--accent-cyan);
  font-size: 0.85rem;
}

/* Content Cards */
.content-card {
  display: flex;
  flex-direction: column;
}

.content-thumb {
  aspect-ratio: 16/9;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
}

.content-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-title {
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.content-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.content-link {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--bg-border);
  padding: var(--space-3xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.footer-watermark {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  opacity: 0.05;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 1rem;
  margin-bottom: var(--space-md);
}

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

.footer-links li {
  margin-bottom: var(--space-xs);
}

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

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

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 204, 255, 0.1);
}

.footer-bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--bg-border);
  text-align: center;
}

.footer-tagline {
  color: var(--text-muted);
  font-style: italic;
}

/* Source Code Download */
.source-download {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 100;
}

.source-download-btn {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: all var(--transition-fast);
}

.source-download-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Tabs */
.tabs {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--bg-border);
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-white);
}

.tab-btn.active {
  color: var(--accent-cyan);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-cyan);
}

.tab-content {
  display: none;
}

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

/* Persona Cards */
.persona-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border-left: 3px solid var(--accent-cyan);
}

.persona-card.negative {
  border-left-color: var(--text-muted);
  opacity: 0.7;
}

.persona-card p {
  margin: 0;
  color: var(--text-primary);
}

/* Process Steps */
.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-node {
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.step-label {
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.9rem;
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.8rem;
  max-width: 150px;
}

.process-connector {
  width: 40px;
  height: 2px;
  background: var(--bg-border);
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pro-teaser {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: var(--space-md);
    border-bottom: 1px solid var(--bg-border);
  }
  
  .navbar-nav.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .navbar-cta {
    display: none;
  }
  
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .comparison-table {
    font-size: 0.85rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: var(--space-sm);
  }
  
  .ladder-item {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0.75rem 1rem;
    transform: none !important;
  }

  .ladder-card-header {
    padding: 1rem;
  }

  .ladder-spectrum {
    padding: 0.75rem 1rem;
  }
  
  .process-connector {
    display: none;
  }
  
  .process-steps {
    flex-direction: column;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pulse {
  animation: pulse 2s ease infinite;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-border);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* ============================================
   HERO — ENTRANCE ANIMATIONS & VISUAL PANEL
   ============================================ */

/* Two-column hero layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* --- Keyframes --- */
@keyframes heroSlideLeft {
  from { opacity: 0; transform: translateX(-48px); }
  to   { opacity: 1; transform: translateX(0); }
}

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

@keyframes heroSlideRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes liveDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.45); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(40, 200, 64, 0); }
}

@keyframes archNodePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

@keyframes tagFloat1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

@keyframes tagFloat2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

@keyframes heroTagFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* --- Button entrance (spring bounce) --- */
.hero-btn-1 {
  animation: heroFadeUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.95s both;
}

.hero-btn-2 {
  animation: heroFadeUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.15s both;
}

/* --- Hero visual wrapper (right column) --- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 36px;
  animation: heroSlideRight 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

/* --- Architecture preview card --- */
.hero-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 204, 255, 0.18);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 204, 255, 0.04),
    0 0 40px rgba(0, 204, 255, 0.07),
    0 20px 60px rgba(0, 0, 0, 0.5);
  transform: perspective(900px) rotateY(-6deg) rotateX(3deg);
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.7s ease;
}

.hero-card:hover {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg);
  box-shadow:
    0 0 0 1px rgba(0, 204, 255, 0.1),
    0 0 60px rgba(0, 204, 255, 0.13),
    0 30px 80px rgba(0, 0, 0, 0.5);
}

/* Window chrome */
.hero-card-header {
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(0, 204, 255, 0.1);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-card-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.hero-card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-card-dots span:nth-child(1) { background: #FF5F57; }
.hero-card-dots span:nth-child(2) { background: #FEBC2E; }
.hero-card-dots span:nth-child(3) { background: #28C840; }

.hero-card-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-card-live {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: #28C840;
  font-weight: 600;
  flex-shrink: 0;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #28C840;
  border-radius: 50%;
  animation: liveDotPulse 1.8s ease-in-out infinite;
}

/* Card body — architecture diagram */
.hero-card-body {
  padding: 1rem 1rem 0.75rem;
}

.arch-row {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.arch-node {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 204, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.28rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.arch-node-main {
  background: rgba(0, 204, 255, 0.07);
  border-color: rgba(0, 204, 255, 0.4);
  color: var(--accent-cyan);
  padding: 0.45rem 1rem;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.arch-node-data {
  background: rgba(123, 47, 255, 0.07);
  border-color: rgba(123, 47, 255, 0.28);
  color: rgba(175, 140, 255, 0.85);
}

.arch-pulse {
  width: 7px;
  height: 7px;
  background: var(--accent-cyan);
  border-radius: 50%;
  flex-shrink: 0;
  animation: archNodePulse 2.2s ease-in-out infinite;
}

/* Flow connectors */
.arch-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 3px 0;
}

.arch-connector-line {
  width: 1px;
  height: 18px;
  background: linear-gradient(
    to bottom,
    rgba(0, 204, 255, 0.5),
    rgba(0, 204, 255, 0.08)
  );
  position: relative;
}

.arch-connector-line::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid rgba(0, 204, 255, 0.35);
}

.arch-connector-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  opacity: 0.6;
  margin-top: 2px;
  white-space: nowrap;
}

/* Card stats footer */
.hero-card-footer {
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid rgba(0, 204, 255, 0.07);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.arch-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.arch-stat-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.arch-stat-lbl {
  font-size: 0.58rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.arch-stat-divider {
  width: 1px;
  height: 22px;
  background: var(--bg-border);
}

/* --- Floating tech tags --- */
.hero-tag {
  position: absolute;
  background: rgba(5, 10, 20, 0.92);
  border: 1px solid rgba(0, 204, 255, 0.2);
  color: var(--accent-cyan);
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  pointer-events: none;
  opacity: 0;
}

.hero-tag-1 {
  top: 6px;
  right: 14px;
  animation:
    tagFloat1 4s ease-in-out infinite,
    heroTagFadeIn 0.5s ease 1.4s forwards;
}

.hero-tag-2 {
  top: 35%;
  left: 2px;
  animation:
    tagFloat2 5s ease-in-out infinite 0.5s,
    heroTagFadeIn 0.5s ease 1.55s forwards;
}

.hero-tag-3 {
  bottom: 30%;
  right: 2px;
  animation:
    tagFloat1 4.5s ease-in-out infinite 0.9s,
    heroTagFadeIn 0.5s ease 1.7s forwards;
}

.hero-tag-4 {
  bottom: 6px;
  left: 14px;
  animation:
    tagFloat2 3.8s ease-in-out infinite 0.3s,
    heroTagFadeIn 0.5s ease 1.85s forwards;
}

/* --- Responsive: tablet --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-xl);
  }
}

/* --- Responsive: mobile --- */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    padding: 20px 0;
  }

  .hero-card {
    transform: none;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-card:hover {
    transform: none;
  }

  .hero-tag {
    display: none;
  }
}

/* --- Responsive: small phones --- */
@media (max-width: 480px) {
  .hero-visual {
    display: none;
  }
}


/* Selection */
::selection {
  background: rgba(0, 204, 255, 0.3);
  color: var(--text-white);
}

/* ============================================
   COHORT PAGE — APP PREVIEW MOCKUPS
   ============================================ */

/* Shared frame base */
.preview-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-card);
}

/* ================================================
   SAASKIT — .NET 8 Enterprise Dashboard (Cyan)
   ================================================ */
.preview-saaskit {
  border-color: rgba(0, 204, 255, 0.15);
  box-shadow: 0 0 30px rgba(0, 204, 255, 0.06), var(--shadow-card);
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.85rem;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.preview-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.preview-dot-live {
  width: 7px;
  height: 7px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-cyan);
  animation: archNodePulse 2s ease-in-out infinite;
}

.preview-appname {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.06em;
}

.preview-env-badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: #28C840;
  background: rgba(40, 200, 64, 0.08);
  border: 1px solid rgba(40, 200, 64, 0.2);
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-full);
}

.preview-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.preview-tenant-pill {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--accent-cyan);
  background: rgba(0, 204, 255, 0.08);
  border: 1px solid rgba(0, 204, 255, 0.18);
  padding: 0.12rem 0.5rem;
  border-radius: var(--radius-full);
}

.preview-avatar-sm {
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.preview-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.preview-sidebar {
  width: 88px;
  background: rgba(0, 0, 0, 0.22);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.5rem 0;
  flex-shrink: 0;
}

.preview-nav-item {
  padding: 0.38rem 0.7rem;
  color: var(--text-muted);
  font-size: 0.62rem;
  cursor: default;
  border-left: 2px solid transparent;
}

.preview-nav-item.pni-active {
  color: var(--accent-cyan);
  border-left-color: var(--accent-cyan);
  background: rgba(0, 204, 255, 0.06);
}

.preview-content {
  flex: 1;
  padding: 0.6rem 0.7rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.preview-kpi-row {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.preview-kpi {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.preview-kpi-n {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-white);
  line-height: 1;
}

.preview-kpi-n.cyan { color: var(--accent-cyan); }

.preview-kpi-l {
  color: var(--text-muted);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preview-section-lbl {
  color: var(--text-muted);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.preview-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.preview-row-av {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}

.preview-row-av.av-cyan   { background: rgba(0, 204, 255, 0.35); }
.preview-row-av.av-blue   { background: rgba(59, 91, 255, 0.4); }
.preview-row-av.av-dim    { background: rgba(110, 125, 154, 0.3); }
.preview-row-av.av-purple { background: rgba(123, 47, 255, 0.35); }

.preview-row-name {
  flex: 1;
  color: var(--text-primary);
  font-size: 0.63rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-pill {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.preview-pill.pill-green {
  background: rgba(40, 200, 64, 0.1);
  color: #28C840;
  border: 1px solid rgba(40, 200, 64, 0.2);
}

.preview-pill.pill-amber {
  background: rgba(254, 188, 46, 0.1);
  color: #FEBC2E;
  border: 1px solid rgba(254, 188, 46, 0.2);
}

.preview-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(0, 204, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.preview-statusbar-right {
  color: rgba(0, 204, 255, 0.5);
}

/* ================================================
   TECHPULSE — Next.js Browser Dashboard (Blue)
   ================================================ */
.preview-techpulse {
  border-color: rgba(59, 91, 255, 0.15);
  box-shadow: 0 0 30px rgba(59, 91, 255, 0.06), var(--shadow-card);
}

.preview-browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.75rem;
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.preview-browser-dots {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.preview-browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.preview-browser-dots span:nth-child(1) { background: #FF5F57; }
.preview-browser-dots span:nth-child(2) { background: #FEBC2E; }
.preview-browser-dots span:nth-child(3) { background: #28C840; }

.preview-browser-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-browser-share {
  width: 16px;
  height: 16px;
  background: rgba(59, 91, 255, 0.2);
  border-radius: 3px;
  flex-shrink: 0;
}

.preview-app-topnav {
  display: flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  gap: 1rem;
  flex-shrink: 0;
}

.preview-app-brand {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--accent-blue);
}

.preview-app-links {
  display: flex;
  gap: 0.85rem;
}

.preview-app-links span {
  font-size: 0.62rem;
  color: var(--text-muted);
  cursor: default;
}

.preview-app-links span.pnl-active {
  color: var(--accent-blue);
  border-bottom: 1px solid var(--accent-blue);
  padding-bottom: 1px;
}

.preview-dash-body {
  flex: 1;
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.preview-metric-row {
  display: flex;
  gap: 0.4rem;
}

.preview-metric {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.42rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.preview-metric-n {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-white);
  line-height: 1;
}

.preview-metric-n.mn-blue { color: var(--accent-blue); }

.preview-metric-l {
  color: var(--text-muted);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.preview-metric-trend {
  color: #28C840;
  font-size: 0.58rem;
  font-family: var(--font-mono);
}

.preview-chart-box {
  flex: 1;
  background: rgba(0, 0, 0, 0.22);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.6rem 0.4rem;
  display: flex;
  flex-direction: column;
}

.preview-chart-lbl {
  color: var(--text-muted);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.preview-bar-group {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  flex: 1;
  min-height: 50px;
}

.preview-bar-col {
  flex: 1;
  height: var(--bh);
  background: rgba(59, 91, 255, 0.35);
  border-radius: 2px 2px 0 0;
}

.preview-bar-col.pbc-active {
  background: var(--accent-blue);
  box-shadow: 0 0 8px rgba(59, 91, 255, 0.5);
}

/* ================================================
   PULSEAPP — React Native Phone Frame (Purple)
   ================================================ */
.preview-phone-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(123, 47, 255, 0.07), rgba(0, 204, 255, 0.05));
  border: 1px solid rgba(123, 47, 255, 0.15);
  padding: 1rem 0.75rem 0.75rem;
  box-shadow: 0 0 30px rgba(123, 47, 255, 0.06), var(--shadow-card);
}

.preview-phone-frame {
  width: 155px;
  background: #07090F;
  border-radius: 28px;
  border: 2px solid rgba(123, 47, 255, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(123, 47, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.6);
}

.preview-phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.38rem 0.7rem 0.2rem;
  background: rgba(0, 0, 0, 0.3);
}

.preview-phone-status > span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--text-primary);
}

.preview-phone-status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.preview-battery {
  width: 14px;
  height: 7px;
  border: 1px solid rgba(175, 140, 255, 0.6);
  border-radius: 2px;
  position: relative;
}

.preview-battery::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  width: 70%;
  height: calc(100% - 2px);
  background: rgba(175, 140, 255, 0.7);
  border-radius: 1px;
}

.preview-battery::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 4px;
  background: rgba(175, 140, 255, 0.5);
  border-radius: 0 1px 1px 0;
}

.preview-phone-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-phone-brand {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--accent-purple);
}

.preview-phone-bell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(123, 47, 255, 0.12);
  border-radius: 50%;
  border: 1px solid rgba(123, 47, 255, 0.25);
}

.preview-phone-content {
  flex: 1;
  padding: 0.45rem 0.5rem 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.preview-feed-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 0.32rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.preview-feed-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.preview-feed-dot.pfd-green  { background: #28C840; box-shadow: 0 0 4px #28C840; }
.preview-feed-dot.pfd-cyan   { background: var(--accent-cyan); }
.preview-feed-dot.pfd-purple { background: var(--accent-purple); }

.preview-feed-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.preview-feed-title {
  color: var(--text-white);
  font-size: 0.62rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-feed-sub {
  color: var(--text-muted);
  font-size: 0.54rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-feed-badge {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  background: rgba(123, 47, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(175, 140, 255, 0.9);
  flex-shrink: 0;
}

.preview-feed-badge.pfb-green {
  background: rgba(40, 200, 64, 0.15);
  color: #28C840;
}

.preview-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 28px;
  margin-top: 0.2rem;
  padding: 0 0.1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.preview-mini-bar {
  flex: 1;
  height: var(--bh);
  background: rgba(123, 47, 255, 0.3);
  border-radius: 2px 2px 0 0;
}

.preview-mini-bar.pmb-active {
  background: var(--accent-purple);
}

.preview-bottom-nav {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.1rem 0;
}

.preview-nav-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0;
}

.preview-nav-tab.pnt-active {
  position: relative;
}

.preview-nav-tab.pnt-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--accent-purple);
  border-radius: 0 0 2px 2px;
}

.preview-home-ind {
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
}

.preview-home-ind::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

/* Responsive adjustments for previews */
@media (max-width: 768px) {
  .preview-sidebar {
    display: none;
  }

  .preview-phone-wrap {
    padding: 0.75rem;
  }

  .preview-phone-frame {
    width: 140px;
  }
}

/* Screenshot previews (real images with chrome frame) */
.preview-screenshot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 204, 255, 0.18);
  box-shadow: 0 0 30px rgba(0, 204, 255, 0.07), var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.preview-ss-blue {
  border-color: rgba(59, 91, 255, 0.2);
  box-shadow: 0 0 30px rgba(59, 91, 255, 0.07), var(--shadow-card);
}

.preview-ss-chrome {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.75rem;
  background: rgba(0, 0, 0, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.preview-ss-img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  min-height: 220px;
  max-height: 260px;
  flex: 1;
}

.preview-ss-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.preview-ss-stack {
  margin-left: auto;
  color: rgba(0, 204, 255, 0.55);
}

/* ============================================
   COHORT TABS — visibility + entrance animation
   ============================================ */
.course-content,
.pricing-content {
  display: none;
}

.course-content.active,
.pricing-content.active {
  display: block;
  animation: tabContentIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

/* ============================================
   INFRASTRUCTURE PAGE — ARCH PEEK BANNER
   ============================================ */
.arch-peek-section {
  background: rgba(0, 204, 255, 0.02);
  border-top: 1px solid rgba(0, 204, 255, 0.1);
  border-bottom: 1px solid rgba(0, 204, 255, 0.1);
  padding: var(--space-xl) 0;
}

.arch-peek-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-xl);
  align-items: center;
}

.arch-peek-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  background: rgba(0, 204, 255, 0.08);
  border: 1px solid rgba(0, 204, 255, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.arch-peek-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 0 0 var(--space-sm);
  line-height: 1.3;
}

.arch-peek-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.arch-peek-right {
  min-width: 200px;
  text-align: center;
}

.arch-peek-layers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.arch-peek-layer {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--lc);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--lc);
  border-left-width: 3px;
  padding: 0.22rem 0.7rem;
  border-radius: 3px;
  width: 100%;
  text-align: left;
  opacity: 0.85;
}

.arch-peek-arrow {
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1;
}

.arch-peek-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

@media (max-width: 768px) {
  .arch-peek-banner {
    grid-template-columns: 1fr;
  }
  .arch-peek-right {
    min-width: unset;
  }
}

/* ============================================
   ARCHITECTURE PREVIEW MODAL
   ============================================ */
.arch-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.arch-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.arch-modal {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 204, 255, 0.15);
  width: 100%;
  max-width: 840px;
  position: relative;
  overflow: hidden;
  transform: translateY(32px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow:
    0 0 0 1px rgba(0, 204, 255, 0.05),
    0 0 80px rgba(0, 204, 255, 0.1),
    0 30px 80px rgba(0, 0, 0, 0.75);
  margin-bottom: 2rem;
}

.arch-modal-overlay.open .arch-modal {
  transform: translateY(0);
}

.arch-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

.arch-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem 1.75rem 1rem;
  border-bottom: 1px solid rgba(0, 204, 255, 0.08);
}

.arch-modal-title {
  margin: 0.35rem 0 0.2rem;
  font-size: 1.15rem;
  color: var(--text-white);
}

.arch-modal-meta {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  margin: 0;
}

.arch-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.arch-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

.arch-modal-body {
  padding: 1.25rem 1.75rem;
  overflow-y: auto;
  max-height: 62vh;
}

/* External callers strip */
.arch-callers {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.arch-caller-pill {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(0, 204, 255, 0.06);
  border: 1px solid rgba(0, 204, 255, 0.18);
  border-radius: var(--radius-full);
  padding: 0.28rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-cyan);
}

.arch-caller-icon {
  font-size: 0.6rem;
  opacity: 0.5;
}

/* Layer stack */
.arch-layers {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.arch-layer {
  border-left: 3px solid var(--lborder);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 0.8rem 1rem;
  transition: background var(--transition-fast);
}

.arch-layer:hover {
  background: rgba(0, 0, 0, 0.32);
}

.arch-layer-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.arch-layer-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.arch-layer-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.07em;
}

.arch-layer-pkg {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
}

.arch-layer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.arch-pill {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
  padding: 0.14rem 0.42rem;
  border-radius: 3px;
}

.arch-pill.arch-pill-key {
  background: rgba(0, 204, 255, 0.07);
  border-color: rgba(0, 204, 255, 0.2);
  color: var(--accent-cyan);
}

.arch-layer-connector {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(0, 204, 255, 0.4);
  text-align: center;
  padding: 0.28rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.arch-layer-connector::before,
.arch-layer-connector::after {
  content: '';
  display: block;
  width: 1px;
  height: 10px;
  background: rgba(0, 204, 255, 0.18);
}

/* Cross-cutting */
.arch-crosscut {
  margin-top: 0.85rem;
  padding: 0.7rem 1rem;
  background: rgba(59, 91, 255, 0.05);
  border: 1px solid rgba(59, 91, 255, 0.12);
  border-radius: var(--radius-md);
}

.arch-crosscut-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.arch-crosscut-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

/* Patterns */
.arch-patterns {
  margin-top: 0.85rem;
  padding: 0.7rem 1rem;
  background: rgba(123, 47, 255, 0.05);
  border: 1px solid rgba(123, 47, 255, 0.12);
  border-radius: var(--radius-md);
}

.arch-patterns-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--accent-purple);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.arch-patterns-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.arch-pattern-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  background: rgba(123, 47, 255, 0.1);
  border: 1px solid rgba(123, 47, 255, 0.22);
  color: rgba(175, 140, 255, 0.9);
  padding: 0.18rem 0.48rem;
  border-radius: var(--radius-full);
}

/* Modal footer */
.arch-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.75rem;
  border-top: 1px solid rgba(0, 204, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  flex-wrap: wrap;
}

.arch-modal-footer-text {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0;
  max-width: 480px;
  line-height: 1.5;
}

/* ── Diagram Modal (raw textual ASCII) ── */
.arch-diag-modal {
  max-width: 980px;
}

.arch-diag-body {
  padding: 0 !important;
  max-height: 68vh !important;
}

.arch-diagram-pre {
  font-family: 'JetBrains Mono', 'Fira Mono', monospace;
  font-size: 0.6rem;
  line-height: 1.6;
  padding: 1.5rem 1.75rem;
  margin: 0;
  white-space: pre;
  overflow-x: auto;
  overflow-y: visible;
  background: transparent;
  color: rgba(255, 255, 255, 0.2);
}

/* Section colour classes — applied per-line by JS */
.diag-title    { color: #F0F4FF; }
.diag-external { color: #8899BB; }
.diag-pres     { color: #00D4FF; }
.diag-app      { color: #5B9BFF; }
.diag-infra    { color: #C084FC; }
.diag-domain   { color: #E8EEFF; }
.diag-persist  { color: #7BA0C0; }
.diag-cross    { color: #FFB84D; }

@media (max-width: 768px) {
  .arch-diagram-pre { font-size: 0.45rem; padding: 1rem; }
}

/* ============================================
   INFRASTRUCTURE — KIT PRICING SECTION
   ============================================ */
.kit-pricing-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.kit-pricing-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 320px;
  background: radial-gradient(ellipse at center top, rgba(0, 204, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.kit-pricing-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.kit-pricing-header h2 {
  margin: var(--space-sm) 0 var(--space-sm);
  line-height: 1.2;
}

.kit-pricing-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ── Starter Card ── */
.kit-starter-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  border: 1px solid rgba(0, 204, 255, 0.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-xl);
  box-shadow:
    0 0 0 1px rgba(0, 204, 255, 0.04),
    0 0 80px rgba(0, 204, 255, 0.07),
    0 20px 60px rgba(0, 0, 0, 0.4);
}

.kit-starter-left {
  background: rgba(0, 204, 255, 0.04);
  padding: 2.5rem;
  border-right: 1px solid rgba(0, 204, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.kit-starter-right {
  background: rgba(0, 0, 0, 0.18);
  padding: 2.5rem;
}

/* Live indicator */
.kit-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(0, 204, 136, 0.9);
  margin-bottom: var(--space-lg);
}

.kit-live-dot {
  width: 7px; height: 7px;
  background: #00CC88;
  border-radius: 50%;
  box-shadow: 0 0 6px #00CC88;
  flex-shrink: 0;
  animation: kitDotPulse 2.2s ease-in-out infinite;
}

@keyframes kitDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.82); }
}

.kit-tier-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.kit-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: var(--space-lg);
}

.kit-price-amount {
  font-family: var(--font-mono);
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}

.kit-price-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.kit-price-meta span {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.kit-tagline {
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: var(--space-xl);
  flex: 1;
}

.kit-cta-btn {
  align-self: flex-start;
  margin-bottom: var(--space-sm);
}

.kit-cta-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0;
}

/* Features list */
.kit-features-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.kit-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.kit-features-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.kit-check {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.kit-features-list li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kit-features-list li strong {
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 600;
}

.kit-features-list li span {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

/* ── Coming Next / Roadmap ── */
.kit-roadmap {
  text-align: center;
}

.kit-roadmap-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.kit-roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 700px;
  margin: 0 auto;
}

.kit-roadmap-tier {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.kit-roadmap-tier:hover {
  opacity: 0.85;
}

.kit-roadmap-tier-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.kit-roadmap-tier-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-white);
}

.kit-roadmap-price {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
}

.kit-roadmap-tier p {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.55;
  margin-bottom: var(--space-sm);
}

.kit-roadmap-badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  display: inline-block;
}

.kit-roadmap-link {
  color: var(--accent-cyan);
  background: rgba(0, 204, 255, 0.06);
  border-color: rgba(0, 204, 255, 0.2);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.kit-roadmap-link:hover {
  background: rgba(0, 204, 255, 0.12);
  color: var(--accent-cyan);
}

@media (max-width: 900px) {
  .kit-starter-card { grid-template-columns: 1fr; }
  .kit-starter-left { border-right: none; border-bottom: 1px solid rgba(0, 204, 255, 0.1); }
  .kit-roadmap-grid { grid-template-columns: 1fr; max-width: 440px; }
  .kit-price-amount { font-size: 2.8rem; }
}

/* ============================================
   CONSULTANCY — TIER KIT BANNER
   ============================================ */
.tier-kit-banner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding: 1rem 1.25rem;
  background: rgba(0, 204, 255, 0.04);
  border: 1px solid rgba(0, 204, 255, 0.14);
  border-left: 3px solid var(--accent-cyan);
  border-radius: var(--radius-md);
}

.tier-kit-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 204, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tier-kit-banner-body {
  flex: 1;
  min-width: 0;
}

.tier-kit-banner-badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 0.3rem;
}

.tier-kit-banner-text {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0;
}

.tier-kit-banner-text strong {
  color: var(--text-white);
}

.tier-kit-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-cyan);
  background: rgba(0, 204, 255, 0.08);
  border: 1px solid rgba(0, 204, 255, 0.22);
  border-radius: var(--radius-full);
  padding: 0.42rem 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.tier-kit-preview-btn:hover {
  background: rgba(0, 204, 255, 0.16);
  border-color: rgba(0, 204, 255, 0.4);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .tier-kit-banner { flex-direction: column; align-items: flex-start; }
  .tier-kit-preview-btn { align-self: flex-start; }
}

@media (max-width: 768px) {
  .arch-modal-body {
    max-height: 55vh;
    padding: 1rem;
  }
  .arch-modal-header {
    padding: 1rem;
  }
  .arch-modal-footer {
    padding: 0.9rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .arch-modal-footer .btn {
    width: 100%;
    text-align: center;
  }
}

