/* Canopy CSS - Violet Future Color Scheme */

:root {
  /* Colors */
  --primary: #6c4ab6; /* Purple Grape */
  --secondary: #b983ff; /* Electric Lilac */
  --accent: #effffd; /* Mint Cream */
  --neutral: #e0e0e0; /* Soft Gray */
  --text: #1e1e2f; /* Midnight */

  /* Additional colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --border: #e1e5e9;

  /* Typography */
  --font-header: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 4rem 0;
  --border-radius: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-header);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Layout */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header & Navigation */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  padding: 1rem 0;
}

.nav-container {
  position: relative;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

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

.nav-link {
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
}

.nav-link.active {
  background-color: var(--light-gray);
  color: var(--primary);
  font-weight: 600;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}

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

.btn-primary:hover {
  background-color: #5a3d9a;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--light-gray) 100%);
  padding: 6rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #4a5568;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hero Rings SVG */
.hero-rings {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0 4px 12px rgba(108, 74, 182, 0.15));
}

.hero-rings svg {
  max-width: 100%;
  height: auto;
}

/* Ring animations - alternating rotation directions */
.ring {
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  transform-origin: 200px 200px; /* Center of the SVG viewBox */
}

/* Varied rotation speeds - alternating clockwise/counter-clockwise */
.ring-1 {
  animation: rotateClockwise 20s linear infinite;
}

.ring-1-static {
  /* No animation - static inner ring */
}

.ring-2 {
  animation: rotateCounterClockwise 35s linear infinite;
}

.ring-3 {
  animation: rotateClockwise 50s linear infinite;
}

.ring-4 {
  animation: rotateCounterClockwise 65s linear infinite;
}

/* Center text subtle pulse effect */
.center-text {
  animation: textPulse 4s ease-in-out infinite;
}

/* Keyframe animations */
@keyframes rotateClockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateCounterClockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

@keyframes textPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 300px;
}

/* Simple Layered Design */
.simple-layers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  max-width: 400px;
  margin: 0 auto;
}

.layer-item {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.6s ease-out forwards;
}

.layer-tooling {
  animation-delay: 0.1s;
}
.layer-testing {
  animation-delay: 0.2s;
}
.layer-stability {
  animation-delay: 0.3s;
}
.layer-defaults {
  animation-delay: 0.4s;
}

.core-item {
  background: linear-gradient(135deg, #2d3748, #4a5568);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  opacity: 0;
  transform: scale(0.8);
  animation: scaleIn 0.8s ease-out 0.5s forwards;
}

.layer-name,
.core-name {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1rem;
}

.core-name {
  font-size: 1.2rem;
  font-weight: 700;
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Announcements Section */
.announcements-section {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    #f0e6ff 50%,
    var(--light-gray) 100%
  );
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.announcement-card {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
}

.announcement-logos {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.announcement-logo {
  display: block;
  height: auto;
}

.announcement-logo-hpe {
  width: 160px;
  height: auto;
}

.announcement-logos-separator {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.announcement-body {
  flex: 1;
}

.announcement-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-family: var(--font-header);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.announcement-title {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-family: var(--font-header);
}

.announcement-text {
  margin: 0;
  color: #4a5568;
  font-size: 1.05rem;
  line-height: 1.6;
}

.announcement-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.announcement-link:hover {
  color: var(--secondary);
}

/* Conference Toast (slide-in from bottom-right) */
.conference-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  width: 320px;
  transform: translateX(calc(100% + 2rem));
  animation: toastSlideIn 0.5s ease-out 1.5s forwards;
}

.conference-toast.hidden {
  animation: toastSlideOut 0.3s ease-in forwards;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(calc(100% + 2rem));
  }
  to {
    transform: translateX(0);
  }
}

@keyframes toastSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(calc(100% + 2rem));
    opacity: 0;
  }
}

.conference-toast-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #9ca3af;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.conference-toast-close:hover {
  color: var(--text);
}

.conference-toast-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  font-family: var(--font-header);
}

.conference-toast-name {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-family: var(--font-header);
}

.conference-toast-name a {
  color: var(--text);
  text-decoration: none;
}

.conference-toast-name a:hover {
  color: var(--primary);
}

.conference-toast-details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.conference-toast-detail {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #4a5568;
  font-size: 0.85rem;
}

.conference-toast-detail svg {
  color: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .announcements-section {
    padding: 2rem 0;
  }

  .announcement-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }

  .announcement-logos {
    gap: 1rem;
  }

  .announcement-logo:first-child {
    width: 100px;
  }

  .announcement-logo-hpe {
    width: 120px;
  }

  .announcement-title {
    font-size: 1.25rem;
  }

  .announcement-text {
    font-size: 0.95rem;
  }

  .conference-toast {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    transform: translateY(100%);
    animation: toastSlideUpMobile 0.5s ease-out 1.5s forwards;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }

  .conference-toast.hidden {
    animation: toastSlideDownMobile 0.3s ease-in forwards;
  }

  @keyframes toastSlideUpMobile {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }

  @keyframes toastSlideDownMobile {
    from {
      transform: translateY(0);
      opacity: 1;
    }
    to {
      transform: translateY(100%);
      opacity: 0;
    }
  }
}

/* Why Canopy Section */
.why-canopy {
  padding: var(--section-padding);
  background-color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.feature-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.feature-icon img {
  /* SVG icons now have the correct color (#6C4AB6) built-in */
  /* No CSS filters needed - better performance and compatibility */
}

.feature-card h3 {
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card-header {
  display: contents;
}

.feature-expand {
  display: none;
}

.feature-card p {
  color: #4a5568;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background-color: var(--text);
  color: var(--accent);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--accent);
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid #2d3748;
  padding-top: 1rem;
  text-align: center;
  color: var(--neutral);
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

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

.sponsorship {
  font-size: 0.85rem;
  opacity: 0.8;
}

.sponsorship a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.sponsorship a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Content Pages Styling */
.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1rem;
  line-height: 1.7;
}

.content-page h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
  border-bottom: 3px solid var(--secondary);
  padding-bottom: 1rem;
}

.content-page h2 {
  color: var(--text);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--secondary);
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  padding: 1rem;
  border-radius: var(--border-radius);
}

.content-page h3 {
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-page hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), transparent);
  margin: 2.5rem 0;
}

/* Table Styling */
.content-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.content-page table th {
  background: var(--primary);
  color: var(--white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-family: var(--font-header);
}

.content-page table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.content-page table tr:nth-child(even) {
  background: var(--light-gray);
}

.content-page table tr:hover {
  background: var(--accent);
  transition: background-color 0.2s ease;
}

/* List Styling */
.content-page ul {
  margin: 1.5rem 0;
  padding-left: 0;
}

.content-page ul li {
  list-style: none;
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  margin-bottom: 0.5rem;
}

.content-page ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
  font-size: 1.2em;
}

.content-page ul li strong {
  color: var(--primary);
}

/* Links in content */
.content-page a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.content-page a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Special styling for emoji links */
.content-page a[href^="https://github.com"]:before,
.content-page a[href^="mailto:"]:before {
  margin-right: 0.5rem;
}

/* Paragraph spacing */
.content-page p {
  margin-bottom: 1.5rem;
  color: #4a5568;
}

.content-page p strong {
  color: var(--text);
  font-weight: 600;
}

/* Contact section special styling */
.content-page h2:last-of-type + p + ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.content-page h2:last-of-type + p + ul li {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.content-page h2:last-of-type + p + ul li:hover {
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.content-page h2:last-of-type + p + ul li::before {
  display: none;
}

/* Releases Page Styling */
.release-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 2rem 0;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.release-card:hover {
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.current-release {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--accent) 0%, var(--light-gray) 100%);
  border-width: 3px;
}

.release-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.release-header h3,
.release-header h4 {
  margin: 0;
  color: var(--text);
  flex: 1;
}

.release-status {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

.status-beta-release {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: var(--white);
}

.status-stable {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: var(--white);
}

.status-in-development {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  color: var(--white);
}

.release-info {
  margin-bottom: 2rem;
}

.release-description {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--light-gray);
  border-radius: var(--border-radius);
  border: 1px solid var(--border);
}

.release-meta span {
  font-size: 0.9rem;
  color: #4a5568;
}

.release-date {
  font-weight: 600;
}

.commit-info a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
}

.commit-info a:hover {
  color: var(--primary);
}

.commit-info code {
  background: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  border: 1px solid var(--border);
}

.validation-status {
  font-weight: 600;
}

.release-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.release-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  font-family: var(--font-body);
}

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

.release-btn.primary:hover {
  background: #5a3d9a;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.release-btn.secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.release-history {
  margin: 2rem 0;
}

.releases-notice {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--light-gray) 100%);
  border: 2px solid var(--secondary);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}

.releases-notice .notice-icon {
  flex-shrink: 0;
  color: var(--primary);
}

.releases-notice .notice-icon svg {
  width: 48px;
  height: 48px;
}

.releases-notice .notice-content {
  flex: 1;
}

.releases-notice .notice-content h2 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  padding: 0;
}

.releases-notice .notice-content p {
  margin-bottom: 1rem;
  color: var(--text);
}

.releases-notice .notice-content p:last-child {
  margin-bottom: 0;
}

.releases-notice .notice-content a {
  color: var(--primary);
  font-weight: 600;
}

.releases-notice .notice-content a:hover {
  color: var(--secondary);
}

/* Boards Table Styling */
.boards-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

.boards-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.boards-table th {
  background: var(--primary);
  color: var(--white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-family: var(--font-header);
  white-space: nowrap;
}

.boards-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.boards-table tr:nth-child(even) {
  background: var(--light-gray);
}

.boards-table tr:hover {
  background: var(--accent);
  transition: background-color 0.2s ease;
}

.board-name {
  font-weight: 600;
  color: var(--text);
  min-width: 200px;
}

.board-model code {
  background: var(--light-gray);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--primary);
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: 300px;
}

.feature-tag {
  background: var(--secondary);
  color: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

.validation-status {
  min-width: 120px;
}

.status-validated {
  color: #22c55e;
  font-weight: 600;
}

.status-in-progress {
  color: #f59e0b;
  font-weight: 600;
}

.status-pending {
  color: #6b7280;
  font-weight: 600;
}

.commit-link {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
}

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

/* Download Section Styling */
.download-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.download-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.download-card:hover {
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.download-card h4 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.download-card .board-model {
  color: var(--primary);
  font-family: monospace;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.download-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  margin-top: auto;
}

.download-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  background: var(--primary);
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.download-btn:hover {
  background: #5a3d9a;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.validation-info {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
}

.validation-info a {
  color: var(--secondary);
  text-decoration: none;
}

.validation-info a:hover {
  color: var(--primary);
}

.download-notice {
  background: linear-gradient(135deg, var(--accent) 0%, var(--light-gray) 100%);
  border: 2px solid var(--secondary);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}

.download-notice h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.download-notice ul {
  margin: 0;
  padding-left: 0;
}

.download-notice ul li {
  margin-bottom: 0.75rem;
  color: var(--text);
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  .nav-link {
    display: block;
    padding: 1rem 2rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s ease;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link:hover {
    background-color: var(--light-gray);
    color: var(--primary);
    padding-left: 2.5rem;
  }

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

  .nav-link.active:hover {
    background-color: var(--primary);
    color: var(--white);
    padding-left: 2.5rem;
  }

  .navbar {
    padding: 0.75rem 0;
  }

  .nav-brand .logo img {
    width: 140px;
    height: auto;
  }

  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
  }

  .hamburger-line {
    height: 3.5px;
  }

  .hero {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 1rem;
  }

  .feature-card {
    border-radius: 0;
    box-shadow: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 0;
    text-align: left;
  }

  .feature-card:last-child {
    border-bottom: 1px solid var(--border);
  }

  .feature-card:hover {
    transform: none;
    box-shadow: none;
  }

  .feature-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0.5rem;
    cursor: pointer;
  }

  .feature-icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .feature-icon img {
    width: 32px;
    height: 32px;
  }

  .feature-card h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    flex: 1;
  }

  .feature-expand {
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
  }

  .feature-expand::before,
  .feature-expand::after {
    content: "";
    position: absolute;
    background: var(--primary);
    border-radius: 1px;
    top: 50%;
    left: 50%;
  }

  .feature-expand::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
  }

  .feature-expand::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  .feature-card.expanded .feature-expand::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
  }

  .feature-card-body {
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease,
      padding 0.3s ease;
    padding: 0 0.5rem;
  }

  .feature-card.expanded .feature-card-body {
    max-height: 200px;
    padding: 0 0.5rem 1rem;
  }

  .feature-card p {
    font-size: 0.9rem;
    margin: 0;
  }

  .contribute-grid {
    gap: 1rem;
  }

  .contribute-card {
    padding: 1.5rem;
  }

  .contribute-icon svg {
    width: 36px;
    height: 36px;
  }

  .contribute-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .contribute-card p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .contribute-benefits {
    display: none;
  }

  .content-page {
    padding: 2rem 1rem;
  }

  .content-page table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .content-page table th,
  .content-page table td {
    white-space: nowrap;
  }

  .commit-info code {
    word-break: break-all;
  }

  .download-section {
    grid-template-columns: 1fr;
  }

  .download-card {
    min-height: auto;
    padding: 1.5rem;
  }

  .board-name {
    min-width: auto;
  }

  .features-list {
    min-width: auto;
  }

  .boards-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .approach-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .layer-item,
  .core-item {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .ring,
  .center-text {
    animation: none;
  }
}

.content-page h2 {
  padding: 0.75rem;
}

.content-page table {
  font-size: 0.9rem;
}

.content-page table th,
.content-page table td {
  padding: 0.75rem 0.5rem;
}

.releases-notice {
  flex-direction: column;
  text-align: center;
  gap: 1rem;
}

.releases-notice .notice-icon {
  align-self: center;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

/* Philosophy Page Specific Styles */
.approach-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 2rem !important;
  margin: 2rem 0 !important;
  width: 100% !important;
}

.approach-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: block;
  width: 100%;
}

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

.approach-card.stability {
  border-color: var(--primary);
}

.approach-card.stability:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--accent) 0%, var(--light-gray) 100%);
}

.approach-card.innovation {
  border-color: var(--secondary);
}

.approach-card.innovation:hover {
  border-color: var(--secondary);
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--accent) 100%);
}

.approach-icon {
  color: var(--primary);
  margin-bottom: 1rem;
}

.approach-card.innovation .approach-icon {
  color: var(--secondary);
}

.approach-card h3 {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.approach-card ul {
  text-align: left;
  margin: 0;
  padding-left: 0;
}

.approach-card ul li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin-bottom: 0.75rem;
}

.approach-card ul li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
  font-size: 1.1em;
}

.approach-card.innovation ul li::before {
  color: var(--secondary);
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.benefit-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.benefit-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.benefit-item h4 {
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 1.1rem;
}

.benefit-item p {
  margin: 0;
  color: #4a5568;
  font-size: 0.95rem;
}

.release-timeline {
  max-width: 800px;
  margin: 2rem 0;
  position: relative;
}

.release-timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--primary) 0%,
    var(--secondary) 50%,
    var(--primary) 100%
  );
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--white);
  font-size: 0.8rem;
}

.timeline-marker.daily {
  background: var(--secondary);
}

.timeline-marker.daily::after {
  content: "D";
}

.timeline-marker.stable {
  background: var(--primary);
}

.timeline-marker.stable::after {
  content: "S";
}

.timeline-marker.lts {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
}

.timeline-marker.lts::after {
  content: "LTS";
  font-size: 0.6rem;
}

.timeline-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  flex: 1;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.timeline-content h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 1.2rem;
}

.timeline-content p {
  margin: 0;
  color: #4a5568;
}

.enterprise-needs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
  padding-left: 0;
}

.enterprise-needs li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  list-style: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.enterprise-needs li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.enterprise-needs li::before {
  content: "🏢";
  display: inline-block;
  margin-right: 0.75rem;
  font-size: 1.2em;
}

.enterprise-needs li strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.25rem;
}

.developer-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.developer-feature {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.developer-feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.developer-feature .feature-icon {
  color: var(--primary);
  margin-bottom: 1rem;
}

.developer-feature h4 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.2rem;
}

.developer-feature p {
  margin: 0;
  color: #4a5568;
  text-align: left;
}

.developer-benefits {
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--accent) 100%);
  border: 2px solid var(--primary);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}

.developer-benefits h4 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.3rem;
}

.developer-benefits ul {
  margin: 0;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.developer-benefits ul li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 1rem;
  list-style: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.developer-benefits ul li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.developer-benefits ul li::before {
  content: "💻";
  display: inline-block;
  margin-right: 0.75rem;
  font-size: 1.2em;
}

.developer-benefits ul li strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.25rem;
}

/* Philosophy page mobile responsiveness */
@media (max-width: 768px) {
  .approach-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .benefits-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .timeline-item {
    gap: 1rem;
  }

  .timeline-marker {
    width: 32px;
    height: 32px;
  }

  .timeline-marker.lts::after {
    font-size: 0.5rem;
  }

  .release-timeline::before {
    left: 16px;
  }

  .enterprise-needs {
    grid-template-columns: 1fr;
  }

  .developer-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .developer-benefits ul {
    grid-template-columns: 1fr;
  }
}

/* Release Strategy Section */
.release-strategy {
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--accent) 100%);
  padding: 4rem 0;
  margin: 4rem 0;
}

.release-strategy .section-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.release-strategy .section-subtitle {
  text-align: center;
  color: #4a5568;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.release-timeline-diagram {
  max-width: 1000px;
  margin: 0 auto 3rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow-x: auto;
}

.timeline-track {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 800px;
  padding: 2rem 0;
  position: relative;
}

.release-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.release-node:hover {
  transform: translateY(-5px);
}

.release-node.future {
  opacity: 0.6;
}

.release-node.future:hover {
  opacity: 1;
}

.node-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--white);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.release-node.rolling .node-circle {
  background: var(--secondary);
}

.release-node.lts .node-circle {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  animation: pulse-lts 2s ease-in-out infinite;
}

@keyframes pulse-lts {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(108, 74, 182, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(108, 74, 182, 0);
  }
}

.release-node:hover .node-circle {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.node-label {
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  font-family: var(--font-header);
}

.node-type {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  color: var(--white);
}

.release-node.rolling .node-type {
  background: var(--secondary);
}

.release-node.lts .node-type {
  background: var(--primary);
}

.lts-branch {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 2px;
  height: 80px;
  background: linear-gradient(180deg, var(--primary), transparent);
  transform: translateX(-50%);
  z-index: 1;
}

.release-connector {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 0 1rem;
  position: relative;
  top: -35px;
}

.release-connector::after {
  content: "→";
  position: absolute;
  right: -8px;
  top: -8px;
  color: var(--secondary);
  font-size: 1.2rem;
  font-weight: bold;
}

/* Release Legend */
.release-legend {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.legend-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.legend-icon.rolling-icon {
  background: var(--secondary);
}

.legend-icon.lts-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.legend-text {
  display: flex;
  flex-direction: column;
}

.legend-text strong {
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-header);
  margin-bottom: 0.25rem;
}

.legend-text span {
  color: #4a5568;
  font-size: 0.85rem;
}

/* Mobile responsiveness for release strategy */
@media (max-width: 768px) {
  .release-strategy {
    padding: 3rem 0;
    margin: 2rem 0;
  }

  .release-timeline-diagram {
    padding: 1rem;
    overflow-x: scroll;
  }

  .timeline-track {
    min-width: 700px;
  }

  .node-circle {
    width: 50px;
    height: 50px;
  }

  .node-label {
    font-size: 0.9rem;
  }

  .node-type {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
  }

  .release-connector {
    width: 60px;
  }

  .lts-branch::after {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
  }

  .release-node[data-tooltip]:hover::before {
    min-width: 200px;
    font-size: 0.75rem;
    padding: 0.75rem;
  }

  .release-legend {
    gap: 1.5rem;
  }

  .legend-icon {
    width: 30px;
    height: 30px;
  }

  .legend-text strong {
    font-size: 0.9rem;
  }

  .legend-text span {
    font-size: 0.75rem;
  }
}

/* Contribute Section */
.contribute-section {
  padding: 4rem 0;
  background: var(--white);
}

.contribute-section .section-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #4a5568;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.contribute-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.contribute-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.contribute-card.hardware {
  border-color: var(--secondary);
}

.contribute-card.hardware:hover {
  border-color: var(--secondary);
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--accent) 100%);
}

.contribute-card.poc {
  border-color: var(--primary);
}

.contribute-card.poc:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--accent) 0%, var(--light-gray) 100%);
}

.contribute-card.collaboration {
  border-color: var(--secondary);
}

.contribute-card.collaboration:hover {
  border-color: var(--secondary);
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--accent) 100%);
}

.contribute-icon {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contribute-card.hardware .contribute-icon {
  color: var(--secondary);
}

.contribute-card h3 {
  color: var(--text);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-header);
}

.contribute-card p {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contribute-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.contribute-benefits li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: #4a5568;
  font-size: 0.95rem;
}

.contribute-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.1em;
}

.contribute-card.hardware .contribute-benefits li::before {
  color: var(--secondary);
}

.contribute-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.contribute-cta h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: var(--font-header);
}

.contribute-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-buttons .btn-primary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
}

.cta-buttons .btn-primary:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-buttons .btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Mobile responsiveness for contribute section */
@media (max-width: 768px) {
  .contribute-section {
    padding: 3rem 0;
  }

  .contribute-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .contribute-card {
    padding: 2rem;
  }

  .contribute-icon svg {
    width: 48px;
    height: 48px;
  }

  .contribute-cta {
    padding: 2rem 1.5rem;
  }

  .contribute-cta h3 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 4rem 0;
  margin: 4rem 0 0;
}

.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.newsletter-text {
  color: var(--white);
}

.newsletter-title {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-header);
}

.newsletter-description {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 0;
}

.newsletter-form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-newsletter {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
  font-size: 1.1rem;
  padding: 1rem 2rem;
  width: 100%;
  max-width: 400px;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.btn-newsletter:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.newsletter-note {
  color: var(--white);
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0;
  text-align: center;
}

/* Mobile responsiveness for newsletter section */
@media (max-width: 768px) {
  .newsletter-section {
    padding: 3rem 0;
    margin: 3rem 0 0;
  }

  .newsletter-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .newsletter-title {
    font-size: 2rem;
  }

  .newsletter-description {
    font-size: 1rem;
  }

  .btn-newsletter {
    width: 100%;
    max-width: none;
  }
}
