/* ==========================================================================
   Marora Ventures — Stylesheet
   Brand Aesthetic: Sleek Developer / Tech Minimalist
   Primary Accent: International Klein Blue (IKB) #002fa7
   ========================================================================== */

:root {
  /* International Klein Blue Core Palette */
  --ikb-raw: #002fa7;
  --ikb-vibrant: #1355ff;
  --ikb-glow: rgba(0, 47, 167, 0.28);
  --ikb-glow-strong: rgba(19, 85, 255, 0.4);
  --ikb-subtle: rgba(0, 47, 167, 0.08);

  /* Light Theme (Default fallback) */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-chip: #e2e8f0;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --border-light: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.16);
  --border-hover: rgba(0, 47, 167, 0.4);
  
  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --accent: #002fa7;
  --accent-hover: #002482;
  --accent-light: #e0e7ff;
  --accent-text: #002fa7;

  --badge-mvp-bg: #eff6ff;
  --badge-mvp-text: #1d4ed8;
  --badge-mvp-border: #bfdbfe;

  --badge-beta-bg: #fef3c7;
  --badge-beta-text: #b45309;
  --badge-beta-border: #fde68a;

  --badge-live-bg: #ecfdf5;
  --badge-live-text: #047857;
  --badge-live-border: #a7f3d0;

  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 12px 30px -4px rgba(0, 47, 167, 0.12), 0 4px 10px -2px rgba(0, 0, 0, 0.04);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg-page: #080c14;
  --bg-card: #0d1322;
  --bg-card-hover: #121a2d;
  --bg-chip: #162035;
  --bg-glass: rgba(13, 19, 34, 0.85);

  --border-light: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-hover: rgba(37, 99, 235, 0.5);

  --text-main: #f8fafc;
  --text-sub: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0f172a;

  --accent: #2563eb;
  --accent-hover: #3b82f6;
  --accent-light: rgba(37, 99, 235, 0.15);
  --accent-text: #60a5fa;

  --badge-mvp-bg: rgba(37, 99, 235, 0.15);
  --badge-mvp-text: #93c5fd;
  --badge-mvp-border: rgba(59, 130, 246, 0.35);

  --badge-beta-bg: rgba(245, 158, 11, 0.15);
  --badge-beta-text: #fcd34d;
  --badge-beta-border: rgba(245, 158, 11, 0.3);

  --badge-live-bg: rgba(16, 185, 129, 0.15);
  --badge-live-text: #6ee7b7;
  --badge-live-border: rgba(16, 185, 129, 0.3);

  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 4px 24px -2px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  --shadow-hover: 0 12px 36px -4px rgba(0, 47, 167, 0.35), 0 0 1px 1px rgba(37, 99, 235, 0.4);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-page);
  line-height: 1.6;
}

/* Background Ambient Glow */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb-1 {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, var(--ikb-glow) 0%, rgba(0, 47, 167, 0) 70%);
  filter: blur(80px);
  opacity: 0.65;
  transition: opacity var(--transition-normal);
}

.ambient-orb-2 {
  position: absolute;
  top: 40%;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(19, 85, 255, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(90px);
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: var(--bg-glass);
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

[data-theme="dark"] .brand-logo-icon {
  color: #ffffff;
}

[data-theme="light"] .brand-logo-icon {
  color: #002fa7;
}

.brand-logo:hover .brand-logo-icon {
  transform: scale(1.08);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, var(--ikb-raw) 0%, #1d4ed8 100%);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 2px 8px var(--ikb-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-sub);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

/* Theme Toggle Button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-sub);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  color: var(--text-main);
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  padding: 5.5rem 0 4rem;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  background: var(--accent-light);
  border: 1px solid var(--border-hover);
  color: var(--accent-text);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.75rem;
  animation: fadeInDown 0.6s ease-out;
}

.pulse-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.text-gradient {
  background: linear-gradient(135deg, var(--ikb-raw) 0%, #3b82f6 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #002fa7 0%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  max-width: 660px;
  margin: 0 auto 2.5rem;
  font-size: 1.15rem;
  color: var(--text-sub);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.45rem;
  border-radius: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--ikb-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--ikb-glow-strong);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-radius: 0.5rem;
}

/* Stat Bar */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.75rem;
  border-radius: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Section Header */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-text);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  max-width: 580px;
  font-size: 1.05rem;
  color: var(--text-sub);
}

/* Interactive Filter Bar */
.filter-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-sub);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--border-medium);
  color: var(--text-main);
  background: var(--bg-card-hover);
}

.filter-btn.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 2px 10px var(--ikb-glow);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  background: var(--bg-chip);
  color: var(--text-sub);
  font-family: var(--font-mono);
}

.filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.75rem;
  margin-bottom: 5.5rem;
}

/* Product Card */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), opacity var(--transition-normal);
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

/* Flagship Card Highlight */
.product-card.featured {
  border-color: var(--border-hover);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
}

.product-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ikb-raw) 0%, #3b82f6 100%);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: var(--accent-light);
  color: var(--accent-text);
  border: 1px solid var(--border-light);
}

.card-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.status-badge.mvp {
  background: var(--badge-mvp-bg);
  color: var(--badge-mvp-text);
  border: 1px solid var(--badge-mvp-border);
}

.status-badge.beta {
  background: var(--badge-beta-bg);
  color: var(--badge-beta-text);
  border: 1px solid var(--badge-beta-border);
}

.status-badge.live {
  background: var(--badge-live-bg);
  color: var(--badge-live-text);
  border: 1px solid var(--badge-live-border);
}

.card-title-group {
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-text);
}

.card-description {
  font-size: 0.925rem;
  color: var(--text-sub);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.card-feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card-feature-list li {
  font-size: 0.85rem;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-feature-list li svg {
  color: #10b981;
  flex-shrink: 0;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
}

.tag-pill {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 0.4rem;
  background: var(--bg-chip);
  color: var(--text-sub);
  font-family: var(--font-mono);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Flagship Product Showcase Layout */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 840px;
  margin: 0 auto 5rem;
  gap: 1.75rem;
}

/* Philosophy / Studio Thesis Section */
.philosophy-section {
  padding: 4.5rem 0;
  margin-bottom: 5.5rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.quote-box {
  padding: 2.25rem;
  border-radius: 1.25rem;
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
}

.quote-text {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  background: var(--bg-card-hover);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  padding: 0.4rem;
}

[data-theme="dark"] .author-avatar {
  color: #ffffff;
}

[data-theme="light"] .author-avatar {
  color: #002fa7;
}

.author-avatar svg {
  width: 100%;
  height: 100%;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.thesis-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.thesis-item {
  display: flex;
  gap: 1rem;
}

.thesis-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: var(--accent-light);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.thesis-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.thesis-content p {
  font-size: 0.9rem;
  color: var(--text-sub);
}

/* Newsletter / Contact Section */
.contact-section {
  margin-bottom: 6rem;
}

.contact-card {
  padding: 3.5rem 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(circle, var(--ikb-glow) 0%, transparent 70%);
  filter: blur(50px);
}

.contact-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.contact-desc {
  max-width: 540px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  color: var(--text-sub);
}

.email-copy-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.65rem 0.5rem 1.25rem;
  border-radius: 9999px;
  background: var(--bg-page);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-subtle);
  max-width: 100%;
}

.email-address {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  user-select: all;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  background: var(--bg-card);
  padding: 3rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

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

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.65rem;
  background: var(--text-main);
  color: var(--bg-page);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1), fadeOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) 2.7s forwards;
}

/* Modal Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 1.25rem;
  max-width: 520px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--text-main);
  background: var(--bg-chip);
}

/* Keyframe Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .stat-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-section {
    padding: 3.5rem 0 2.5rem;
  }
}
