/* ============================================
   Algo School Marketing Website - Styles
   ============================================ */

/* CSS Custom Properties (Brand Colors) */
:root {
  /* Brand Colors - Official AlgoSchool Palette */
  /* Orange is PRIMARY for marketing website (brand identity) */
  --color-primary: #f97316;        /* Brand Orange - primary actions */
  --color-primary-dark: #ea580c;   /* Orange 600 - hover states */
  --color-primary-light: #fb923c;  /* Orange 400 - lighter accents */
  --color-secondary: #64748b;      /* Slate - neutral secondary */
  --color-accent: #0f766e;         /* Teal - complementary accent */
  --color-accent-dark: #115e59;    /* Teal 800 - darker accent */

  /* Text Colors */
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;

  /* Background Colors */
  --color-bg: #ffffff;
  --color-bg-alt: #ccfbf1;         /* Teal-100 - teal tint for alternating sections */
  --color-bg-dark: #99f6e4;        /* Teal-200 - darker teal for emphasis */

  /* Border & UI */
  --color-border: #e2e8f0;
  --color-border-dark: #cbd5e1;

  /* Status Colors */
  --color-success: #10b981;
  --color-error: #ef4444;
  --color-warning: #f59e0b;

  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* Typography */
  --font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  --line-height: 1.65;
  --line-height-tight: 1.25;
  --line-height-relaxed: 1.75;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-prose: 65ch;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

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

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

h1, h2, h3, h4, h5, h6 {
  line-height: var(--line-height-tight);
  font-weight: 700;
  color: var(--color-text);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  margin-bottom: var(--space-4);
  max-width: var(--max-width-prose);
}

ul, ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

li {
  margin-bottom: var(--space-2);
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: var(--space-2) var(--space-4);
  z-index: 100;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  color: white;
}

/* ============================================
   Layout & Containers
   ============================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.container-narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-16) 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-dark {
  background-color: var(--color-text);
  color: white;
}

.section-dark h2,
.section-dark h3 {
  color: white;
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.logo {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.logo:hover {
  color: var(--color-primary-dark);
}

.nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-weight: 500;
  padding: var(--space-2) 0;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link.active {
  color: var(--color-primary);
}

/* Mobile menu button */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-bg);
  z-index: 100;
  padding: var(--space-4);
  overflow-y: auto;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-link {
  display: block;
  padding: var(--space-4) 0;
  font-size: var(--font-size-lg);
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-link:hover {
  color: var(--color-primary);
}

/* Desktop nav visibility */
@media (min-width: 1024px) {
  .nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: white;
}

.btn-secondary {
  background-color: white;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: white;
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-text);
  border-color: transparent;
}

.btn-ghost:hover {
  background-color: var(--color-bg-alt);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-base);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-xs);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  padding: var(--space-16) 0 var(--space-20);
  text-align: center;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.hero-tagline {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
  text-align: center;
  max-width: none;
}

.hero h1 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-6);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto var(--space-8);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: var(--font-size-5xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-xl);
  }
}

/* ============================================
   Cards & Feature Grid
   ============================================ */

.card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.card p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   Steps / Process
   ============================================ */

.steps {
  counter-reset: step-counter;
}

.step {
  position: relative;
  padding-left: var(--space-16);
  padding-bottom: var(--space-8);
  border-left: 2px solid var(--color-border);
  margin-left: var(--space-4);
}

.step:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.step::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: -17px;
  top: 0;
  width: 32px;
  height: 32px;
  background-color: var(--color-primary);
  color: white;
  font-weight: 700;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.step p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ============================================
   Comparison Table
   ============================================ */

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-6) 0;
}

.comparison-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

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

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

.comparison-table th:first-child {
  border-top-left-radius: var(--radius-md);
}

.comparison-table th:last-child {
  border-top-right-radius: var(--radius-md);
}

.comparison-table td:first-child {
  font-weight: 500;
}

.check-icon {
  color: var(--color-success);
}

.x-icon {
  color: var(--color-text-light);
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: var(--space-12) 0;
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-bottom: var(--space-4);
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: var(--space-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  background-color: white;
  color: var(--color-primary);
  border-color: white;
}

.cta-section .btn-primary:hover {
  background-color: var(--color-bg-alt);
  border-color: var(--color-bg-alt);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background-color: var(--color-text);
  color: var(--color-text-light);
  padding: var(--space-12) 0 var(--space-8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.footer-brand p {
  font-size: var(--font-size-sm);
  max-width: 300px;
  margin-bottom: var(--space-2);
}

.footer-brand p:last-child {
  margin-bottom: 0;
}

.footer-tagline {
  font-weight: 600;
  color: white;
  font-size: var(--font-size-base);
  margin-bottom: var(--space-3);
}

.footer-links h4 {
  color: white;
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  display: block;
  padding: var(--space-1) 0;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--font-size-xs);
}

.footer-bottom a {
  color: var(--color-text-light);
}

.footer-bottom a:hover {
  color: white;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ============================================
   Mobile Sticky CTA
   ============================================ */

.mobile-cta {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3) var(--space-4);
  z-index: 40;
  box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.1);
}

.mobile-cta .btn {
  width: 100%;
}

/* Add bottom padding to body to account for sticky CTA */
body {
  padding-bottom: 70px;
}

@media (min-width: 1024px) {
  .mobile-cta {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

/* ============================================
   Forms
   ============================================ */

.form-group {
  margin-bottom: var(--space-6);
}

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

.form-label.required::after {
  content: " *";
  color: var(--color-error);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--color-error);
}

.form-error {
  font-size: var(--font-size-sm);
  color: var(--color-error);
  margin-top: var(--space-1);
}

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

/* ============================================
   Callout / Highlight Box
   ============================================ */

.callout {
  background-color: var(--color-bg-alt);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin: var(--space-6) 0;
}

.callout-accent {
  border-left-color: var(--color-accent);
  background-color: #f0fdfa;  /* Teal-50 - light teal to match accent */
}

.callout-success {
  border-left-color: var(--color-success);
  background-color: #ecfdf5;
}

.callout h4 {
  margin-bottom: var(--space-2);
}

.callout p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Resource Cards
   ============================================ */

.resource-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resource-card-tag {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-primary);
  background-color: rgba(249, 115, 22, 0.1);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.resource-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-3);
}

.resource-card p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  flex-grow: 1;
}

.resource-card-link {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.resource-card-link:hover {
  gap: var(--space-2);
}

/* ============================================
   Testimonials (Placeholder)
   ============================================ */

.testimonial-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
}

.testimonial-card.placeholder {
  opacity: 0.6;
}

.testimonial-card.placeholder::after {
  content: "Coming Soon";
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  background-color: var(--color-bg-alt);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
}

.testimonial-quote {
  font-size: var(--font-size-lg);
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

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

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

/* ============================================
   Utility Classes
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mx-auto { margin-left: auto; margin-right: auto; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   Accessibility - Reduced Motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   Focus States
   ============================================ */

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ============================================
   Page-Specific Styles
   ============================================ */

/* About page */
.about-hero {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

/* Demo page */
.demo-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

/* Science page - diagrams */
.diagram-box {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.bloom-pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.bloom-level {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: white;
}

.bloom-level:nth-child(1) { width: 50%; background-color: #7c3aed; }
.bloom-level:nth-child(2) { width: 60%; background-color: #8b5cf6; }
.bloom-level:nth-child(3) { width: 70%; background-color: #a78bfa; }
.bloom-level:nth-child(4) { width: 80%; background-color: #c4b5fd; color: var(--color-text); }
.bloom-level:nth-child(5) { width: 90%; background-color: #ddd6fe; color: var(--color-text); }
.bloom-level:nth-child(6) { width: 100%; background-color: #ede9fe; color: var(--color-text); }

/* Knowledge graph visual */
.kg-visual {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-6);
}

.kg-node {
  background-color: var(--color-primary);
  color: white;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.kg-node.secondary {
  background-color: var(--color-secondary);
}

.kg-node.accent {
  background-color: var(--color-accent);
}

/* Who it's for section */
.persona-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: center;
}

@media (min-width: 1024px) {
  .feature-grid-4 .persona-card {
    padding: var(--space-4);
  }

  .feature-grid-4 .persona-card h3 {
    font-size: var(--font-size-lg);
  }

  .feature-grid-4 .persona-card p {
    font-size: var(--font-size-sm);
  }
}

.persona-icon {
  width: 64px;
  height: 64px;
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}

.persona-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}
