/* ============================================
   MUZICLLY INVESTOR PORTAL - DESIGN SYSTEM
   Premium EdTech + MusicTech Aesthetic
   ============================================ */

/* ----- CSS VARIABLES ----- */
:root {
  /* Primary Colors - Music-inspired */
  --primary-900: #1a0a2e;
  --primary-800: #2d1b4e;
  --primary-700: #4a2c7a;
  --primary-600: #6b3fa0;
  --primary-500: #8b5cf6;
  --primary-400: #a78bfa;
  --primary-300: #c4b5fd;
  --primary-200: #ddd6fe;
  --primary-100: #ede9fe;

  /* Accent Colors */
  --accent-teal: #14b8a6;
  --accent-teal-light: #2dd4bf;
  --accent-pink: #ec4899;
  --accent-orange: #f97316;
  --accent-gold: #fbbf24;
  --accent-blue: #3b82f6;

  /* Neutrals - Dark Theme */
  --bg-darkest: #0a0a0f;
  --bg-dark: #12121a;
  --bg-card: #1a1a25;
  --bg-card-hover: #222230;
  --bg-elevated: #252535;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: var(--primary-400);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --border-medium: rgba(255, 255, 255, 0.15);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 50%, var(--accent-teal) 100%);
  --gradient-card: linear-gradient(145deg, rgba(139, 92, 246, 0.1) 0%, rgba(20, 184, 166, 0.05) 100%);
  --gradient-hero: linear-gradient(180deg, var(--primary-900) 0%, var(--bg-darkest) 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);
  --shadow-glow-teal: 0 0 40px rgba(20, 184, 166, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ----- RESET & BASE ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-darkest);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ----- TYPOGRAPHY ----- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

a {
  color: var(--primary-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-300);
}

strong {
  font-weight: 600;
  color: var(--text-primary);
}

/* ----- LAYOUT ----- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: 1000px;
}

.section {
  padding: var(--space-20) 0;
}

.section-sm {
  padding: var(--space-12) 0;
}

/* ----- HEADER ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-4) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--primary-400);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: var(--space-2);
}

/* ----- HERO SECTION ----- */
.hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--space-24) + 80px) var(--space-6) var(--space-16);
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 100%;
  background: var(--gradient-glow);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--primary-300);
  margin-bottom: var(--space-6);
}

.hero-title {
  font-size: clamp(2rem, 5vw, var(--text-6xl));
  font-weight: 800;
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-300) 50%, var(--accent-teal-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ----- PAGE HERO (Smaller for subpages) ----- */
.page-hero {
  position: relative;
  padding: calc(var(--space-20) + 80px) var(--space-6) var(--space-12);
  background: var(--gradient-hero);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 100%;
  background: var(--gradient-glow);
  pointer-events: none;
  opacity: 0.5;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.page-hero .breadcrumb a {
  color: var(--text-muted);
}

.page-hero .breadcrumb a:hover {
  color: var(--primary-400);
}

.page-hero .breadcrumb svg {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

.page-hero-title {
  font-size: clamp(1.75rem, 4vw, var(--text-5xl));
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.page-hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ----- NAVIGATION CARDS GRID ----- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
  padding: var(--space-8) 0;
}

.nav-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: all var(--transition-base);
  cursor: pointer;
  overflow: hidden;
}

.nav-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.nav-card:hover::before {
  opacity: 1;
}

.nav-card-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-400);
  transition: all var(--transition-base);
}

.nav-card:hover .nav-card-icon {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
}

.nav-card-icon svg {
  width: 28px;
  height: 28px;
}

.nav-card-number {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
}

.nav-card-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.nav-card-summary {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
  flex-grow: 1;
}

.nav-card-arrow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--primary-400);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition-base);
}

.nav-card:hover .nav-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ----- CONTENT SECTIONS ----- */
.content-section {
  padding: var(--space-16) 0;
}

.content-section+.content-section {
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: var(--space-10);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-400);
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 700px;
}

/* ----- INFO CARDS ----- */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-400);
  margin-bottom: var(--space-4);
}

.info-card-icon svg {
  width: 24px;
  height: 24px;
}

.info-card-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.info-card-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ----- PRICING TABLES ----- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.pricing-table th,
.pricing-table td {
  padding: var(--space-4) var(--space-6);
  text-align: left;
}

.pricing-table th {
  background: var(--bg-elevated);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-table td {
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--text-base);
  color: var(--text-secondary);
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover td {
  background: rgba(139, 92, 246, 0.05);
}

.pricing-table .price {
  font-weight: 700;
  color: var(--accent-teal);
  font-family: var(--font-mono);
}

.pricing-table .tier-name {
  font-weight: 600;
  color: var(--text-primary);
}

/* ----- TIER CARDS ----- */
.tier-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all var(--transition-base);
}

.tier-card.featured {
  border-color: var(--primary-500);
  box-shadow: var(--shadow-glow);
}

.tier-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 0;
  right: var(--space-6);
  transform: translateY(-50%);
  background: var(--gradient-primary);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.tier-card-header {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
}

.tier-card-name {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.tier-card-price {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--accent-teal);
  font-family: var(--font-mono);
}

.tier-card-price span {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--text-muted);
}

.tier-card-features {
  list-style: none;
}

.tier-card-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.tier-card-features li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ----- TIMELINE ----- */
.timeline {
  position: relative;
  padding-left: var(--space-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-500), var(--accent-teal));
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-10);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: calc(-1 * var(--space-8) - 7px);
  width: 16px;
  height: 16px;
  background: var(--bg-darkest);
  border: 3px solid var(--primary-500);
  border-radius: 50%;
}

.timeline-item.active .timeline-marker {
  background: var(--primary-500);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.timeline-date {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary-400);
  margin-bottom: var(--space-2);
}

.timeline-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.timeline-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ----- DIAGRAMS ----- */
.diagram-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  overflow: hidden;
}

.diagram-title {
  font-size: var(--text-lg);
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--space-8);
}

/* Ecosystem Diagram */
.ecosystem-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}

.ecosystem-center {
  width: 160px;
  height: 160px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.ecosystem-center-icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-2);
}

.ecosystem-center-text {
  font-weight: 700;
  font-size: var(--text-lg);
}

.ecosystem-nodes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  max-width: 600px;
}

.ecosystem-node {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: all var(--transition-base);
}

.ecosystem-node:hover {
  border-color: var(--primary-500);
  transform: translateY(-2px);
}

.ecosystem-node-icon {
  font-size: var(--text-xl);
}

.ecosystem-node-text {
  font-weight: 500;
  font-size: var(--text-sm);
}

/* Pillar Cards */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
}

.pillar-card:hover {
  border-color: var(--primary-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-size: var(--text-sm);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-3);
}

.pillar-title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.pillar-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Pie Chart (CSS) */
.pie-chart-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  align-items: center;
  justify-content: center;
}

.pie-chart {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(var(--primary-500) 0deg 108deg,
      var(--accent-teal) 108deg 180deg,
      var(--accent-orange) 180deg 234deg,
      var(--accent-pink) 234deg 288deg,
      var(--accent-blue) 288deg 360deg);
  box-shadow: var(--shadow-lg);
}

.pie-chart::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: var(--bg-card);
  border-radius: 50%;
}

.pie-legend {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pie-legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
}

.pie-legend-color {
  width: 16px;
  height: 16px;
  border-radius: var(--radius-sm);
}

.pie-legend-color.team {
  background: var(--primary-500);
}

.pie-legend-color.tech {
  background: var(--accent-teal);
}

.pie-legend-color.marketing {
  background: var(--accent-orange);
}

.pie-legend-color.operations {
  background: var(--accent-pink);
}

.pie-legend-color.reserve {
  background: var(--accent-blue);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.stat-number {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--accent-teal);
  font-family: var(--font-mono);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ----- BADGES ----- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
}

.badge-primary {
  background: rgba(139, 92, 246, 0.15);
  color: var(--primary-300);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-success {
  background: rgba(20, 184, 166, 0.15);
  color: var(--accent-teal-light);
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.badge-warning {
  background: rgba(251, 191, 36, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

/* ----- FOUNDER SECTION ----- */
.founder-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-10);
  align-items: start;
}

.founder-image-container {
  position: relative;
}

.founder-image {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  border-radius: var(--radius-2xl);
  object-fit: cover;
  border: 3px solid var(--border-light);
  background: var(--bg-card);
}

/* Placeholder avatar when image missing */
.founder-image-placeholder {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  border-radius: var(--radius-2xl);
  background: var(--gradient-card);
  border: 3px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.founder-image-placeholder svg {
  width: 120px;
  height: 120px;
  opacity: 0.5;
}

.founder-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.founder-name {
  font-size: var(--text-3xl);
  font-weight: 700;
}

.founder-title {
  font-size: var(--text-lg);
  color: var(--primary-400);
  font-weight: 500;
}

.founder-credentials {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.credential-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.credential-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.credential-icon svg {
  width: 20px;
  height: 20px;
}

.credential-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.credential-text strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

/* Co-founder section (hidden by default) */
.cofounder-section {
  margin-top: var(--space-12);
  padding-top: var(--space-12);
  border-top: 1px solid var(--border-subtle);
}

.cofounder-section.hidden {
  display: none;
}

/* ----- BLOCKBUSTER SECTION ----- */
.blockbuster-hero {
  text-align: center;
  padding: var(--space-16) 0;
  background: var(--gradient-card);
  border-radius: var(--radius-2xl);
  margin-bottom: var(--space-12);
}

.blockbuster-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  color: var(--bg-darkest);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.blockbuster-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.blockbuster-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ----- FOOTER ----- */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-12) 0 var(--space-8);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-8);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
}

.footer-column h5 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-column a {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-column a:hover {
  color: var(--primary-400);
}

.footer-bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  color: white;
}

.btn-secondary {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* ----- BACK LINK ----- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  transition: color var(--transition-fast);
}

.back-link:hover {
  color: var(--primary-400);
}

.back-link svg {
  width: 16px;
  height: 16px;
}

/* ----- UTILITIES ----- */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-6 {
  margin-top: var(--space-6);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mt-10 {
  margin-top: var(--space-10);
}

.mt-12 {
  margin-top: var(--space-12);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.mb-10 {
  margin-bottom: var(--space-10);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.grid {
  display: grid;
}

.hidden {
  display: none !important;
}

/* ----- DIAGRAMS (Added) ----- */
.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  max-width: 150px;
}

.flow-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  transition: all var(--transition-base);
}

.flow-step.highlight .flow-icon {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-glow);
}

.flow-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.flow-arrow {
  font-size: var(--text-xl);
  color: var(--text-muted);
}

/* ----- RESPONSIVE ----- */
@media (max-width: 1024px) {
  :root {
    --text-5xl: 2.5rem;
    --text-6xl: 3rem;
  }

  .founder-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founder-image,
  .founder-image-placeholder {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --text-4xl: 2rem;
    --text-5xl: 2.25rem;
  }

  /* Mobile Navigation */
  .nav {
    display: none;
    position: fixed;
    top: 72px;
    /* Header height */
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--space-8) var(--space-6);
    gap: var(--space-6);
    z-index: 999;
    overflow-y: auto;
  }

  .nav.active {
    display: flex;
    animation: fadeInUp 0.3s ease forwards;
  }

  .nav-link {
    font-size: var(--text-xl);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
    text-align: center;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Diagram Responsive */
  .flow-diagram {
    flex-direction: column;
    gap: var(--space-4);
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  /* Grids & Cards */
  .cards-grid,
  .columns-grid,
  .stats-grid,
  .pillars-grid,
  .info-cards,
  .tier-cards {
    grid-template-columns: 1fr;
  }

  /* Tables */
  .pricing-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    font-size: var(--text-sm);
  }

  .pricing-table th,
  .pricing-table td {
    padding: var(--space-3) var(--space-4);
  }

  .pie-chart-container {
    flex-direction: column;
  }

  .footer-inner,
  .footer-links,
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-6);
  }
}

@media (max-width: 480px) {
  :root {
    --text-3xl: 1.5rem;
  }

  .container {
    padding: 0 var(--space-4);
  }

  .hero {
    padding-top: calc(var(--space-16) + 80px);
  }

  .nav-card,
  .tier-card,
  .info-card {
    padding: var(--space-6);
  }

  .section-title {
    font-size: 1.75rem;
  }

  /* Ensure timeline fits */
  .timeline {
    padding-left: var(--space-6);
  }

  .timeline-marker {
    left: calc(-1 * var(--space-6) - 7px);
  }
}

/* ----- ANIMATIONS ----- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Staggered animation delays */
.nav-card:nth-child(1) {
  animation-delay: 0.05s;
}

.nav-card:nth-child(2) {
  animation-delay: 0.1s;
}

.nav-card:nth-child(3) {
  animation-delay: 0.15s;
}

.nav-card:nth-child(4) {
  animation-delay: 0.2s;
}

.nav-card:nth-child(5) {
  animation-delay: 0.25s;
}

.nav-card:nth-child(6) {
  animation-delay: 0.3s;
}

.nav-card:nth-child(7) {
  animation-delay: 0.35s;
}

.nav-card:nth-child(8) {
  animation-delay: 0.4s;
}

.nav-card:nth-child(9) {
  animation-delay: 0.45s;
}

.nav-card:nth-child(10) {
  animation-delay: 0.5s;
}

.nav-card:nth-child(11) {
  animation-delay: 0.55s;
}

.nav-card:nth-child(12) {
  animation-delay: 0.6s;
}

.nav-card:nth-child(13) {
  animation-delay: 0.65s;
}

.nav-card:nth-child(14) {
  animation-delay: 0.7s;
}

.nav-card:nth-child(15) {
  animation-delay: 0.75s;
}

/* Print Styles */
@media print {

  .header,
  .footer,
  .back-link {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .nav-card,
  .info-card,
  .tier-card,
  .pillar-card {
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}