/* Animated Role Cards Styles */
.animated-role-cards-wrapper {
  width: 100%;
  height: 100vh; /* Back to full height */
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #0f0f0f, #1a1a1a, #262626, #0f0f0f);
  background-size: 400% 400%;
  animation: gradientShift 8s ease-in-out infinite;
  overflow: hidden;
  position: relative; /* Allow absolute positioning within this container */
  /* Remove negative margin that caused spacing issues */
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.roles-section {
  margin: 0 !important;
  max-width: 100% !important;
  display: flex;
  gap: 0 !important;
  width: 100%;
  padding: 0 !important;
  height: 100%;
  align-items: stretch !important; /* kill App.css legacy align-items: center */
}

.role-card {
  position: relative;
  overflow: hidden; /* clips video to card's parallelogram shape — no white edges */
  cursor: pointer;
  transition: all 1.4s cubic-bezier(0.4, 0, 0.2, 1); 
  flex: 1;
  min-width: 120px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform: skewX(-15deg);
  border-radius: 0 !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.role-card.expanded {
  flex: 5; /* Reduced from 6 to better match live site proportions */
}

/* Background gradients using ::before pseudo-element */
.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  transition: all 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.role-card.role-sm::before {
  background: linear-gradient(45deg, #3b82f6, #2563eb, #1e40af, #1d4ed8);
}

.role-card.role-po::before {
  background: linear-gradient(45deg, #8b5cf6, #7c3aed, #6d28d9, #5b21b6);
}

.role-card.role-dm::before {
  background: linear-gradient(45deg, #10b981, #059669, #047857, #065f46);
}

.role-card.role-dev::before {
  background: linear-gradient(45deg, #f59e0b, #d97706, #b45309, #92400e);
}

.role-card.role-ops::before {
  background: linear-gradient(45deg, #ef4444, #dc2626, #b91c1c, #991b1b);
}

/* Remove the old role-card-background class styles since we're using ::before */
.role-card-background {
  display: none;
}

/* Vertical background text */
.role-full-name-bg {
  font-weight: 700;
  font-size: 6vh;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  opacity: 0.25;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(180deg); /* NO SKEW - inherit parent's skew */
  z-index: 1;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: white;
  pointer-events: none;
  transition: all 1.4s ease;
}

/* Role header */
.role-header {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  transition: all 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  z-index: 3;
  overflow: visible;
}

.role-card.expanded .role-header {
  height: 120px;
  z-index: 4;
  justify-content: flex-start; /* Left align header when expanded */
  align-items: flex-start;
  padding: 30px 50px; /* Better padding for expanded state */
}

.role-header-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  gap: 15px;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  width: 100%;
  text-align: left;
  transition: all 1.4s ease;
  /* Counter-skew in closed state for readability */
  transform: skewX(15deg);
}

.role-card.expanded .role-header-content {
  /* When expanded, align to left and counter-skew for readability */
  transform: skewX(15deg);
  justify-content: flex-start;
  align-items: flex-start; /* Left align when expanded */
  flex-direction: row; /* Horizontal layout when expanded */
  gap: 20px; /* Space between icon and text */
  padding: 0; /* Remove padding from content, let parent handle it */
}

/* Icon styles - FIXED: Remove counter-skew to prevent double skewing */
.role-icon-simple {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: all 1.4s ease; /* Faster icon animation */
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  /* REMOVED: transform: skewX(15deg) - let container skew handle it */
}

.role-card:not(.expanded) .role-icon-simple {
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  /* REMOVED: transform: skewX(15deg) - let container skew handle it */
}

/* Icons inherit container skew - no additional transform needed */
.role-card.expanded .role-icon-simple {
  /* REMOVED: transform: skewX(15deg) - let container skew handle it */
}

/* Collapsed state styles */
.role-collapsed-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.role-initials {
  font-weight: 800;
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
  color: white;
}

.role-card.expanded .role-collapsed-text {
  display: none;
}

/* Expanded state styles */
.role-expanded-text {
  display: none;
}

.role-card.expanded .role-expanded-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.role-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.expanded-initials {
  font-weight: 800;
  font-size: 1.8rem;
  color: white;
}

.expanded-name {
  font-size: 1rem;
  opacity: 0.9;
  color: white;
}

.role-expand-icon {
  font-size: 1.4rem;
  transition: transform 1.0s ease;
  margin-top: 10px;
  color: white;
}

.role-card.expanded .role-expand-icon {
  transform: rotate(180deg);
}

.role-card:not(.expanded) .role-expand-icon {
  display: none;
}

/* Role content (expanded details) */
.role-content {
  position: absolute;
  top: 120px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background: transparent; /* no white — card overflow:hidden clips to parallelogram */
  transition: all 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(-100%);
  z-index: 2;
  border-radius: 0 !important;
}

.role-card:not(.expanded) .role-content {
  display: none;
}

.role-card.expanded .role-content {
  opacity: 1;
  transform: translateY(0);
  padding: 0;
  overflow: hidden;
}

.role-content-inner {
  height: 100%;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

/* Video wrapper fills content area */
.role-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.role-clip-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  pointer-events: none; /* let click-layer handle it */
}

/* Transparent click layer sits above video */
.role-video-click-layer {
  position: absolute;
  inset: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Play hint — visible on hover */
.role-video-play-hint {
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}

.role-video-click-layer:hover .role-video-play-hint {
  opacity: 1;
  transform: scale(1);
}

/* Bullet list overlay — vertically centered over video */
.role-bullets-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0.65) 60%, rgba(0,0,0,0.15) 100%);
  padding: 1.5rem 1.25rem;
  pointer-events: none;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-bullets-overlay ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.role-bullets-overlay li {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  padding-left: 1.4rem;
  position: relative;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}

.role-bullets-overlay li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .role-bullets-overlay {
    padding: 1.5rem 1rem 1rem;
  }
  .role-bullets-overlay li {
    font-size: 0.95rem;
  }
}

.role-content-inner h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a202c;
  font-weight: 700;
  padding: 20px;
}

.role-content-inner p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #4a5568;
  padding: 0 20px;
}

/* Video overlay */
.role-video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.role-video-overlay-player {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
  cursor: default;
}

.role-video-overlay-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.role-video-overlay-close:hover {
  background: rgba(255,255,255,0.3);
}

/* Hover effects - NOW SHOULD WORK WITH CONFLICTS REMOVED */
.role-card:hover:not(.expanded) {
  transform: skewX(-15deg) translateY(-8px);
}

/* Z-index layering for proper stacking */
.role-card.role-sm { z-index: 1; }
.role-card.role-po { z-index: 2; }
.role-card.role-dm { z-index: 3; }
.role-card.role-dev { z-index: 4; }
.role-card.role-ops { z-index: 5; }

.role-card.expanded { z-index: 10; }

/* ── TABLET / MD (769px – 1024px): horizontal angled layout ─────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Keep the full-height horizontal layout — same as desktop but narrower */
  .animated-role-cards-wrapper {
    height: 100vh;
  }

  .roles-section {
    flex-direction: row;
    height: 100%;
    gap: 0;
    padding: 0;
  }

  /* Collapsed cards slightly narrower than desktop */
  .role-card {
    transform: skewX(-15deg);
    min-width: 72px;
    flex: 1;
    height: 100%;
  }

  .role-card.expanded {
    flex: 5;
  }

  .role-header {
    padding: 15px;
  }

  .role-card.expanded .role-header {
    padding: 24px 36px;
  }
}

/* ── MOBILE / SM (≤768px): vertical accordion ────────────────────────── */
@media (max-width: 768px) {
  /* On load: compact (5 × 60px strips). Snap to 100vh only when a card is open. */
  .secondary-hero {
    height: auto !important;
    overflow: visible !important;
  }
  .secondary-hero:has(.role-card.expanded) {
    height: 100vh !important;
    overflow: hidden !important;
  }

  .roles-section {
    flex-direction: column;
    height: auto;
    min-height: unset;
    overflow: hidden;        /* accordion never grows the document — no scroll side-effects */
    gap: 0 !important;
    padding: 0 !important;
    align-items: stretch !important; /* kill App.css legacy align-items: center */
  }
  .roles-section:has(.role-card.expanded) {
    height: 100vh !important;
  }

  /* Accordion: collapsed = 60px, expanded = grows to fill remaining height */
  .role-card {
    transform: none;
    flex: 0 0 60px;        /* collapsed: fixed 60px */
    width: 100% !important;
    max-width: none !important;    /* kill App.css legacy max-width: 300px */
    min-width: unset !important;
    min-height: unset !important;  /* kill App.css legacy min-height: 300px */
    height: auto !important;       /* override desktop height:100% */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-radius: 0 !important;   /* kill App.css legacy border-radius: 12px */
    padding: 0 !important;         /* kill App.css legacy padding: 20px */
    background: none !important;   /* gradient from ::before pseudo-element */
    border: none !important;       /* kill App.css legacy border */
  }

  .role-card.expanded {
    flex: 1 1 0; /* grows to fill remaining viewport height */
  }

  .role-card:hover:not(.expanded) {
    transform: none;
  }

  /* Header: fixed 60px row */
  .role-header {
    height: 60px !important;
    flex: 0 0 60px;
    padding: 0 16px !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
  }

  .role-card.expanded .role-header {
    height: 60px !important;
    flex: 0 0 60px;
  }

  .role-header-content {
    transform: none !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .role-card.expanded .role-header-content {
    transform: none !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 !important;
  }

  .role-icon-simple,
  .role-card.expanded .role-icon-simple {
    transform: none !important;
  }

  /* Content: flex-grow fills space below 60px header */
  .role-content {
    position: static !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    flex: 1 1 0;            /* fill card's remaining space */
    height: auto !important;
    display: block !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  .role-card:not(.expanded) .role-content {
    display: block !important; /* card flex collapse hides it */
  }

  .role-card.expanded .role-content {
    display: block !important;
    padding: 0 !important;
  }

  .role-content-inner {
    height: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    transform: none !important;
  }

  .role-video-wrap {
    height: 100% !important;
    width: 100% !important;
  }

  .role-clip-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    pointer-events: none !important;
  }

  .role-full-name-bg {
    writing-mode: horizontal-tb !important;
    text-orientation: unset !important;
    font-size: 8vw !important;
    transform: translate(-50%, -50%) !important;
  }

  .role-name-expanded,
  .role-description-expanded,
  .role-expand-icon {
    display: none !important;
  }

  /* Show role name in the 60px header strip when expanded on mobile */
  .role-card.expanded .role-name-expanded {
    display: block !important;
    opacity: 1 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    height: auto !important;
    transform: none !important;
    color: white !important;
    margin-top: 0 !important;
    line-height: 1.2 !important;
  }
}
/* Role text info container */
.role-text-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

/* Role initials - always visible */
.role-initials {
  font-weight: 800;
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
  color: white;
}

/* Role name and description - only visible when expanded */
.role-name-expanded,
.role-description-expanded {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease 0.2s; /* Delayed appearance */
  font-size: 0;
  height: 0;
  overflow: hidden;
  text-align: left;
  width: 100%;
}

.role-card.expanded .role-name-expanded {
  opacity: 1;
  transform: translateY(0);
  font-size: 1.3rem; /* Slightly smaller for better fit */
  font-weight: 700;
  color: white;
  height: auto;
  margin-top: 5px; /* Reduced margin */
  line-height: 1.2;
}

.role-card.expanded .role-description-expanded {
  opacity: 0.85;
  transform: translateY(0);
  font-size: 0.9rem; /* Smaller for subtext */
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  height: auto;
  margin-top: 2px; /* Tighter spacing */
  line-height: 1.3;
}

/* Adjust text info alignment for expanded state */
.role-card.expanded .role-text-info {
  align-items: flex-start; /* Left align text when expanded */
  gap: 2px; /* Tighter gap for better alignment */
}

/* Hide initials when expanded to avoid redundancy */
.role-card.expanded .role-initials {
  display: none;
}

/* RSS Logo Animation */
.animation-rss-logo {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 100; /* Higher z-index to ensure it's above everything */
  opacity: 0.5;
  transition: opacity 0.3s;
}

.animation-rss-logo.roles-logo {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1000; /* Even higher z-index for roles section */
  /* Position relative to the roles section specifically */
  top: auto !important;
  left: auto !important;
}

.animation-rss-logo:hover {
  opacity: 1;
}

/* PERFORMANCE OPTIMIZATIONS */
.secondary-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  /* GPU acceleration */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  /* Reduced paint complexity */
  contain: layout style paint;
}

/* RSS Logo positioning within secondary hero */
.secondary-hero .animation-rss-logo.roles-logo {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

/* Shared Component Styles */
.configurable-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #000000;
  padding: 14px 20px;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.configurable-header.scrolled {
  background: #000000;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* Wordmark logo — triangle + text (matches marketplace) */
.header-logo-wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo-triangle {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.header-logo-text {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
}

.header-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.header-nav .nav-link {
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
}

.header-nav .nav-link:hover {
  opacity: 0.8;
}

.header-nav .nav-link.nav-link-active {
  border-bottom-color: #ffffff;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.header-actions .action-button {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.2s;
}

/* Login — subtle pill */
.header-actions .action-button.cta-link {
  background: rgba(255,255,255,0.08);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
}

.header-actions .action-button.cta-link:hover {
  background: rgba(255,255,255,0.15);
  opacity: 1;
}

/* Sign Up / Dashboard — white pill, black text */
.header-actions .action-button.cta-button-primary {
  background: #ffffff;
  color: #000000;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.header-actions .action-button.cta-button-primary:hover {
  background: rgba(255,255,255,0.88);
  opacity: 1;
}

.header-actions .action-button:hover {
  opacity: 0.85;
}

.header-actions .user-name-label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 500;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-actions .action-button.user-name-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 5px 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.header-actions .action-button.user-name-link::before {
  content: '👤';
  font-size: 11px;
}

.header-actions .action-button.user-name-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.header-actions .action-button.logout-link {
  color: rgba(255, 130, 130, 0.85);
  font-size: 13px;
  font-weight: 600;
  background: none;
  border: 1px solid rgba(255, 100, 100, 0.3);
  border-radius: 20px;
  padding: 5px 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.header-actions .action-button.logout-link:hover {
  background: rgba(255, 80, 80, 0.12);
  border-color: rgba(255, 100, 100, 0.6);
  color: #ff9999;
}


/* Footer Styles */
.configurable-footer {
  background: #1a1a1a;
  color: white;
  padding: 40px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-company .company-name {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #3b82f6;
}

.footer-company .company-description {
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 20px;
}

.footer-column .column-title {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #e5e7eb;
}

.footer-column .column-links {
  list-style: none;
  line-height: 1.8;
}

.footer-column .footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-column .footer-link:hover {
  color: #f3f4f6;
}

.footer-column .footer-text {
  color: #9ca3af;
}

.footer-column .footer-text.disabled,
.footer-column .footer-link.disabled {
  color: #6b7280;
  cursor: not-allowed;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  color: #6b7280;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.bottom-link {
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.9rem;
}

/* Newsletter Styles */
.configurable-newsletter .newsletter-container {
  max-width: 800px;
  margin: 0 auto;
}

.configurable-newsletter .newsletter-title {
  margin-bottom: 20px;
  font-size: 2rem;
}

.configurable-newsletter .newsletter-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.configurable-newsletter .newsletter-form {
  display: flex;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.configurable-newsletter .newsletter-input {
  flex: 1;
  min-width: 250px;
  padding: 12px 16px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.configurable-newsletter .newsletter-button {
  background: #f59e0b;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.configurable-newsletter .newsletter-success {
  margin-top: 20px;
  color: #10b981;
  font-weight: 600;
}

.configurable-newsletter .newsletter-error {
  margin-top: 20px;
  color: #ef4444;
  font-weight: 600;
}

.configurable-newsletter .newsletter-disclaimer {
  font-size: 0.9rem;
  margin-top: 20px;
  opacity: 0.7;
}

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

:root {
  --primary-blue: #1a365d;
  --accent-blue: #3182ce;
  --light-blue: #bee3f8;
  --text-dark: #1a202c;
  --text-light: #718096;
  --background: #f7fafc;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


/* Gradient Animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* PERFORMANCE OPTIMIZATIONS FOR GRADIENT ANIMATIONS */
@media (prefers-reduced-motion: reduce) {
  .hero,
  .secondary-hero,
  .configurable-header,
  .navbar,
  .configurable-newsletter {
    animation: none !important;
    background: linear-gradient(45deg, #2563eb 0%, #7c3aed 50%, #059669 100%); /* Static fallback */
  }
}

/* Disable heavy animations on low-end devices */
@media (max-width: 768px) {
  .hero,
  .secondary-hero,
  .configurable-newsletter {
    animation: none !important;
    background: linear-gradient(45deg, #2563eb 0%, #7c3aed 50%, #059669 100%); /* Mobile fallback */
  }
  
  .configurable-header,
  .navbar {
    animation: gradientShift 15s ease-in-out infinite; /* Slower on mobile */
  }
}

/* GPU acceleration for better performance */
.hero,
.secondary-hero,
.configurable-header,
.navbar,
.configurable-newsletter {
  will-change: background-position;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Reduced animation frequency for better performance */
@keyframes gradientShiftOptimized {
  0% { background-position: 0% 50%; }
  33% { background-position: 50% 25%; }
  66% { background-position: 100% 75%; }
  100% { background-position: 0% 50%; }
}

/* Use optimized animation for high-performance mode */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .hero {
    animation: gradientShiftOptimized 20s ease-in-out infinite; /* Much slower */
  }
  
  .secondary-hero {
    animation: gradientShiftOptimized 25s ease-in-out infinite; /* Even slower */
  }
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: -80px;
  width: 100%;
  background: linear-gradient(45deg, #2563eb, #7c3aed, #059669, #d97706, #dc2626);
  background-size: 400% 400%;
  animation: gradientShift 8s ease-in-out infinite;
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: top 0.3s ease;
}

.navbar.visible {
  top: 0;
}

.navbar-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.navbar-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.navbar-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.navbar-links a:hover {
  opacity: 0.8;
}

.cta-link {
  background: rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
}

/* Hero Styles */
.hero {
  background: linear-gradient(45deg, #3b82f6, #8b5cf6, #10b981, #f59e0b, #ef4444, #2563eb, #7c3aed, #059669, #d97706, #dc2626);
  background-size: 400% 400%;
  animation: gradientShift 12s ease-in-out infinite;
  color: white;
  padding: 100px 20px 90px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  height: 100vh;
}

.hero-rss-logo, .hero-alphinium-logo {
  position: absolute;
  top: 20px;
  z-index: 3;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-rss-logo {
  right: 20px;
}

.hero-rss-logo img {
  height: 40px;
  opacity: 0.8;
  transition: all 0.2s;
}

.hero-rss-logo:hover img {
  opacity: 1;
}

.hero-alphinium-logo {
  left: 20px;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  opacity: 0.8;
}

.hero-alphinium-logo:hover {
  opacity: 1;
}

.hero-beta-button {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.beta-badge {
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
}

.beta-badge:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.05);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.hero-text {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

.hero-text.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-text p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.role-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.role-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.role-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.role-icon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-emoji {
  font-size: 24px;
}

.role-label {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Secondary Hero Styles */
.secondary-hero {
  background: linear-gradient(45deg, #0f0f0f, #1a1a1a, #262626, #0f0f0f);
  background-size: 400% 400%;
  animation: gradientShift 8s ease-in-out infinite;
  color: white;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 2;
  height: 100vh;
  overflow: hidden;
}

.animation-rss-logo {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
}

.animation-rss-logo img {
  height: 40px;
  opacity: 0.6;
  transition: all 0.2s;
}

.animation-rss-logo:hover img {
  opacity: 1;
}

.roles-section-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  --active-role-bg: #3b82f6;
}

.roles-section-wrapper.active-sm { --active-role-bg: #3b82f6; }
.roles-section-wrapper.active-po { --active-role-bg: #8b5cf6; }
.roles-section-wrapper.active-dm { --active-role-bg: #10b981; }
.roles-section-wrapper.active-dev { --active-role-bg: #f59e0b; }
.roles-section-wrapper.active-ops { --active-role-bg: #ef4444; }

.roles-section {
  display: flex;
  gap: 20px;
  max-width: 1400px;
  width: 100%;
  padding: 40px;
  justify-content: center;
  align-items: center;
}

.role-card {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
  min-height: 300px;
  width: 200px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
}

.role-card.active {
  background: var(--active-role-bg);
  transform: scale(1.05);
  width: 400px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* REMOVED - WAS CAUSING VERTICAL SKEWING ISSUE
.role-card:hover:not(.active) {
  background: rgba(255,255,255,0.15);
  transform: translateY(-5px);
}
*/

.role-collapsed-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.role-icon-simple {
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-initials {
  font-size: 1.2rem;
  font-weight: 700;
}

.role-name {
  font-size: 1rem;
  font-weight: 600;
}

.role-expanded-content {
  display: none;
}

.role-card.active .role-collapsed-text {
  display: none;
}

.role-card.active .role-expanded-content {
  display: block;
}

.role-expanded-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.role-icon-large {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-title {
  font-size: 1.3rem;
  font-weight: 700;
}

.role-subtitle {
  font-size: 0.9rem;
  opacity: 0.8;
}

.role-description p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Features Styles */
.features {
  padding: 80px 20px;
  background: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.features h2 {
  color: var(--text-dark);
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.feature {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature h3 {
  color: var(--text-dark);
  font-size: 1.3rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  font-size: 1.5rem;
}

.feature p {
  color: var(--text-light);
  line-height: 1.7;
}

.cta-section {
  text-align: center;
  padding: 40px;
  background: #f8fafc;
  border-radius: 12px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button.primary {
  background: #3b82f6;
  color: white;
  border: 2px solid #3b82f6;
}

.cta-button.primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: white;
  color: #3b82f6;
  border: 2px solid #3b82f6;
}

.cta-button.secondary:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .role-icons {
    gap: 15px;
  }
  
  .role-icon-circle {
    width: 50px;
    height: 50px;
  }
  
  .roles-section {
    flex-direction: column;
    gap: 15px;
  }
  
  .role-card {
    width: 100%;
    max-width: 300px;
  }
  
  .role-card.active {
    width: 100%;
    max-width: 350px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .navbar-links {
    gap: 15px;
  }
}

/* CLI Section Styles */
.cli-section {
  background: linear-gradient(45deg, #cc5500, #e65c00, #ff6600, #cc5500);
  background-size: 400% 400%;
  animation: gradientShift 8s ease-in-out infinite;
  padding: 80px 20px;
  color: white;
}

.cli-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cli-content {
  text-align: center;
}

.cli-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cli-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.code-tabs {
  max-width: 600px;
  margin: 0 auto 2rem;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.tab-buttons {
  display: flex;
  background: rgba(0,0,0,0.3);
}

.tab-button {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button.active {
  background: rgba(255,255,255,0.2);
}

.tab-button:hover {
  background: rgba(255,255,255,0.1);
}

.code-block {
  position: relative;
  padding: 20px;
  font-family: 'Courier New', monospace;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.code-block code {
  color: #00ff66;
  font-size: 1.1rem;
}

.copy-button {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-button:hover {
  background: rgba(255,255,255,0.3);
}

.next-steps h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.step-code {
  background: rgba(0,0,0,0.4);
  padding: 12px 20px;
  margin: 8px auto;
  max-width: 300px;
  border-radius: 4px;
  border-left: 4px solid #00ff66;
}

.step-code code {
  color: #00ff66;
  font-family: 'Courier New', monospace;
}

.github-link {
  display: inline-block;
  margin-top: 2rem;
  padding: 12px 24px;
  background: rgba(255,255,255,0.2);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.github-link:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* Pricing Section Styles - Blue Background with Brand Tier Colors */
.pricing-section {
  background: linear-gradient(135deg, #1a237e 0%, #283593 25%, #303f9f 50%, #3f51b5 75%, #5c6bc0 100%);
  padding: 80px 20px;
  color: white;
}

.pricing-container {
  max-width: 1400px;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.pricing-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-currency-note {
  margin-top: 0.75rem !important;
  font-size: 0.85rem !important;
  opacity: 0.65 !important;
  font-style: italic;
}

.pricing-legal-notice {
  margin-top: 2rem;
  font-size: 0.8rem;
  opacity: 0.55;
  text-align: center;
}

.pricing-legal-notice a {
  color: inherit;
  text-decoration: underline;
  opacity: 0.8;
}

/* Billing period toggle */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 4px;
  margin-top: 1.5rem;
  gap: 2px;
}

.billing-toggle__btn {
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.billing-toggle__btn--active {
  background: var(--primary, #7c3aed);
  color: #fff;
  box-shadow: 0 2px 8px rgba(124,58,237,0.4);
}

.billing-toggle__btn:not(.billing-toggle__btn--active):hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.billing-toggle__save {
  font-size: 0.7rem;
  font-weight: 700;
  background: #22c55e;
  color: #fff;
  padding: 1px 6px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* Annual saving callout under price */
.plan-annual-saving {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 4px;
  padding: 2px 8px;
}

.price-tax-label {
  display: block;
  font-size: 0.75rem;
  opacity: 0.65;
  font-style: italic;
  margin-top: 0.2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  position: relative;
  border: 2px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.4);
}

.pricing-card.featured {
  border-color: #f59e0b;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

/* Individual pricing tier colors */
.pricing-card:nth-child(1) {
  /* Free tier - Blue */
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

.pricing-card:nth-child(1):hover {
  border-color: #2563eb;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.pricing-card:nth-child(2) {
  /* Professional tier - Orange/Amber */
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

.pricing-card:nth-child(2):hover {
  border-color: #d97706;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.pricing-card:nth-child(3) {
  /* Enterprise Beta Hosted - Purple */
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
}

.pricing-card:nth-child(3):hover {
  border-color: #7c3aed;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.pricing-card:nth-child(4) {
  /* Enterprise On-Premise - Red */
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.pricing-card:nth-child(4):hover {
  border-color: #dc2626;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: #f59e0b;
  color: #000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Individual badge colors to match tier */
.pricing-card:nth-child(2) .pricing-badge {
  background: #f59e0b; /* Orange for Founders */
  color: #000;
}

.pricing-card:nth-child(3) .pricing-badge {
  background: #8b5cf6; /* Purple for Free Beta */
  color: #fff;
}

.pricing-card:nth-child(4) .pricing-badge {
  background: #ef4444; /* Red for Enterprise */
  color: #fff;
}

.plan-header {
  text-align: center;
  margin-bottom: 30px;
}

.plan-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.plan-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.plan-price {
  margin: 20px 0;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0099ff;
}

.period {
  font-size: 1rem;
  opacity: 0.8;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.feature-list li {
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
}

.feature-list li:before {
  content: '✓';
  color: #0099ff;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.feature-list li.feat-emoji:before {
  content: none;
}

.feature-list li.feat-negative {
  color: #6b7280;
}

.feature-list li.feat-negative:before {
  content: none;
}

.availability {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 20px;
}

.pricing-button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline {
  background: transparent;
  color: #3b82f6;
  border: 2px solid #3b82f6;
}

.btn-outline:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: #2563eb;
  color: #2563eb;
}

.btn-primary {
  background: #f59e0b;
  color: #000;
}

.btn-primary:hover {
  background: #d97706;
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(45deg, #8b5cf6, #a855f7);
  color: white;
}

.btn-accent:hover {
  background: linear-gradient(45deg, #7c3aed, #8b5cf6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(239, 68, 68, 0.3);
  color: white;
  border: 1px solid #ef4444;
}

.btn-secondary:hover {
  background: rgba(239, 68, 68, 0.5);
  transform: translateY(-2px);
}
/* AnimatedLogo styles */
.animated-logo {
  display: inline-block;
}

.logo-spin {
  animation: logoSpin 2s linear infinite;
}

.logo-spin-y {
  animation: logoSpinY 2s linear infinite;
  transform-style: preserve-3d;
}

.logo-pulse {
  animation: logoPulse 1.5s ease-in-out infinite alternate;
}

.logo-bounce {
  animation: logoBounce 1s ease-in-out infinite;
}

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

@keyframes logoSpinY {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@keyframes logoPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

@keyframes logoBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Additional Footer Styles for Local Component */
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-company h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-company p {
  color: #9ca3af;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: 600;
}

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

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

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #f3f4f6;
}

.footer-text {
  color: #9ca3af;
}

.footer-text.disabled {
  color: #6b7280;
  font-style: italic;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
}

.footer-copyright {
  color: #9ca3af;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-company {
    text-align: center;
  }
}

/* Additional Newsletter Styles */
.configurable-newsletter {
  background: linear-gradient(45deg, #2563eb, #7c3aed, #059669, #d97706, #dc2626);
  background-size: 400% 400%;
  animation: gradientShift 8s ease-in-out infinite;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.newsletter-container h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.newsletter-container p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* CLI Section Enhancements */
.install-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
  font-style: italic;
}

.cli-features {
  margin-top: 30px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cli-features h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  text-align: center;
  color: white;
}

.cli-features ul {
  list-style: none;
  padding: 0;
}

.cli-features li {
  margin-bottom: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  line-height: 1.4;
}

.cli-features li:last-child {
  border-bottom: none;
}

.cli-features li strong {
  color: #ffa500;
}

/* Enhanced tab buttons */
.tab-button {
  font-size: 0.9rem;
  padding: 8px 16px;
  white-space: nowrap;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .tab-buttons {
    flex-direction: column;
    gap: 5px;
  }
  
  .tab-button {
    width: 100%;
  }
  
  .cli-features {
    text-align: center;
  }
  
  .cli-features ul {
    text-align: left;
  }
}


/* Newsletter Success Persistent State */
.newsletter-success-persistent {
  padding: 20px;
  background: linear-gradient(45deg, #10b981, #059669);
  color: white;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  margin-top: 20px;
}

.newsletter-success-persistent p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Hide form when subscribed */
.newsletter-container:has(.newsletter-success-persistent) .newsletter-form {
  display: none;
}


/* Scroll Header Behavior — duplicate rules, top-of-file rules take precedence */

.configurable-header.hidden {
  /* no longer used — header is always visible */
}

.configurable-header.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Header container styling */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.configurable-header.scrolled .header-container {
  padding: 0.75rem 2rem;
}

/* Legacy logo styles — replaced by .header-logo-wordmark */

/* Navigation styling */
.header-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: white;
  transform: translateY(-2px);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #f59e0b, #d97706);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Action button styling */
.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.action-button {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.action-button.cta-link {
  background: linear-gradient(45deg, #f59e0b, #d97706);
  color: #000;
  border-color: transparent;
}

.action-button.cta-link:hover {
  background: linear-gradient(45deg, #d97706, #b45309);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* Responsive design */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  
  .header-container {
    padding: 1rem;
  }
  
  .configurable-header.scrolled .header-container {
    padding: 0.5rem 1rem;
  }
}

/* Ensure body has top padding to account for fixed header */


/* Header always visible — transparent at top, gradient on scroll (see top-of-file rules) */


/* Reset body font to original */
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
}


/* Private User Beta Section */
.private-beta-section {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.private-beta-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(79, 70, 229, 0.1));
  border: 2px solid #8b5cf6;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  max-width: 500px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}

.private-beta-card h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.private-beta-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.beta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.beta-features span {
  background: rgba(139, 92, 246, 0.2);
  color: #a855f7;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.private-beta-button {
  display: inline-block;
  background: linear-gradient(45deg, #8b5cf6, #a855f7);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.private-beta-button:hover {
  background: linear-gradient(45deg, #7c3aed, #8b5cf6);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
  color: white;
}

/* Responsive design for private beta */
@media (max-width: 768px) {
  .private-beta-card {
    padding: 30px 20px;
    margin: 0 20px;
  }
  
  .beta-features {
    flex-direction: column;
    align-items: center;
  }
}


/* Remove underlines from pricing buttons */
.pricing-button {
  text-decoration: none !important;
}

.pricing-button:hover {
  text-decoration: none !important;
}

.pricing-button:focus {
  text-decoration: none !important;
}

.pricing-button:visited {
  text-decoration: none !important;
}


/* Hero Get Started Button */
.hero-cta {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  text-align: center;
}

.hero-trial-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

  backdrop-filter: blur(10px);
}
.get-started-button:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.05);
  border-color: rgba(255,255,255,0.5);
}
.get-started-button:active {
  transform: translateY(-1px);
}

/* Responsive design for hero CTA */
@media (max-width: 768px) {
  .hero-cta {
    bottom: 40px;
  }
  
  backdrop-filter: blur(10px);
}
/* Animation for button appearance */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.hero-cta {
  animation: fadeInUp 0.8s ease-out 1s both;
}


/* Update beta badge styling for button */
.beta-badge {
  cursor: pointer;
  transition: all 0.3s ease;
}

.beta-badge:hover {
  transform: scale(1.05);
}


/* Clean up - remove duplicate and old get-started-button styles */


/* Get Started Button - Matching Beta Badge Theme */
.get-started-button {
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 12px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
}

.get-started-button:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.05);
  border-color: rgba(255,255,255,0.5);
}

.get-started-button:active {
  transform: scale(1.02);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .get-started-button {
    padding: 10px 20px;
    font-size: 1rem;
  }
}


/* Special Beta Card Styling */
.pricing-card.special-beta {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(79, 70, 229, 0.1));
  border: 2px solid #8b5cf6;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}

.pricing-card.special-beta .plan-header h3 {
  color: #a855f7;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pricing-card.special-beta .plan-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  text-align: left;
}

.pricing-card.special-beta .feature-list {
  margin-bottom: 2rem;
}

.pricing-card.special-beta .feature-list li {
  color: #a855f7;
  font-weight: 600;
  padding: 0.5rem 0;
  border: none;
  background: rgba(139, 92, 246, 0.1);
  margin-bottom: 0.5rem;
  border-radius: 8px;
  padding-left: 1rem;
}

.pricing-card.special-beta .pricing-button {
  background: linear-gradient(45deg, #8b5cf6, #a855f7);
  border: none;
  color: white;
  font-weight: 700;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
}

.pricing-card.special-beta .pricing-button:hover {
  background: linear-gradient(45deg, #7c3aed, #8b5cf6);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}


/* Hero Buttons Layout */
.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

/* Login Button - Matching Get Started Theme */
.login-button {
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 12px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  text-decoration: none;
  display: inline-block;
}

.login-button:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.05);
  border-color: rgba(255,255,255,0.5);
  color: white;
  text-decoration: none;
}

.login-button:active {
  transform: scale(1.02);
}

/* Mobile responsive for hero buttons */
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .login-button {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: row;
    gap: 8px;
  }
  
  .get-started-button,
  .login-button {
    padding: 8px 16px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }
}


/* ── Legal pages (ToS, Privacy) ── */
.legal-page {
  min-height: 100vh;
  background: #fff;
  padding: 80px 0 60px;
}

.legal-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  color: #1a1a2e;
  font-family: inherit;
  line-height: 1.7;
}

.legal-container h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a2e;
}

.legal-lang-notice {
  background: #1a3a5c;
  color: #a8d4f5;
  border: 1px solid #2d5a8e;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.legal-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
}

.legal-notice {
  background: #fff8e1;
  border: 1px solid #f9a825;
  border-left: 4px solid #f9a825;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: #5a3e00;
  line-height: 1.5;
}

.legal-container section {
  margin-bottom: 36px;
}

.legal-container h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 28px 0 10px;
  color: #1a1a2e;
}

.legal-container h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 16px 0 6px;
  color: #444;
}

.legal-container p,
.legal-container li {
  font-size: 0.95rem;
  color: #333;
}

.legal-container ul {
  padding-left: 20px;
  margin: 8px 0 12px;
}

.legal-container ul li {
  margin-bottom: 6px;
}

.legal-container a {
  color: #3a3af4;
  text-decoration: underline;
}

.legal-container a:hover {
  color: #6366f1;
}

/* ===== DOCS PAGE ===== */
.docs-page .legal-container { max-width: 900px; }
.docs-nav {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 20px 0 32px; padding: 16px 20px;
  background: #0f172a; border-radius: 10px; border: 1px solid #1e293b;
}
.docs-nav a {
  color: #818cf8; font-size: 13px; font-weight: 600;
  text-decoration: none; padding: 4px 12px;
  background: #1e293b; border-radius: 20px; transition: all .2s;
}
.docs-nav a:hover { background: #6366f1; color: #fff; }
.docs-steps { display: flex; flex-direction: column; gap: 20px; margin: 20px 0; }
.docs-step {
  display: flex; gap: 16px; align-items: flex-start;
  background: #0f172a; border: 1px solid #1e293b;
  border-radius: 10px; padding: 18px;
}
.docs-step-num {
  min-width: 32px; height: 32px; border-radius: 50%;
  background: #6366f1; color: #fff; font-weight: 700;
  font-size: 14px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.docs-step-body h3 { margin: 0 0 8px; font-size: 15px; color: #f1f5f9; }
.docs-step-body p { margin: 0 0 10px; font-size: 14px; color: #94a3b8; }
.docs-code-block {
  background: #020617; border: 1px solid #1e293b;
  border-radius: 8px; padding: 12px 16px; margin: 8px 0;
  overflow-x: auto;
}
.docs-code-block code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 13px; color: #4ade80; white-space: pre;
}
.docs-code-multi code { white-space: pre; line-height: 1.8; }
.docs-alt-label { font-size: 12px; color: #64748b; margin: 10px 0 4px !important; }
.docs-note { font-size: 12px !important; color: #64748b !important; font-style: italic; }
.docs-roles-table, .docs-plans-table { overflow-x: auto; margin: 16px 0; }
.docs-roles-table table, .docs-plans-table table {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
.docs-roles-table th, .docs-plans-table th {
  background: #0f172a; color: #818cf8; font-size: 11px;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 10px 14px; text-align: left; border-bottom: 1px solid #1e293b;
}
.docs-roles-table td, .docs-plans-table td {
  padding: 10px 14px; border-bottom: 1px solid #1e293b;
  color: #cbd5e1; vertical-align: top;
}
.docs-badge {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  font-size: 10px; font-weight: 800; letter-spacing: .05em;
}
.docs-badge-sm { background: #7c3aed; color: #fff; }
.docs-badge-po { background: #0891b2; color: #fff; }
.docs-badge-dm { background: #0f766e; color: #fff; }
.docs-badge-dev { background: #15803d; color: #fff; }
.docs-badge-ops { background: #b45309; color: #fff; }
.docs-faq-item {
  border: 1px solid #1e293b; border-radius: 10px;
  padding: 16px 20px; margin: 12px 0;
  background: #0f172a;
}
.docs-faq-q { font-weight: 700; color: #f1f5f9; margin-bottom: 8px; font-size: 15px; }
.docs-faq-a { color: #94a3b8; font-size: 14px; line-height: 1.6; }
