/* ===================================
   CYBERPOINT COMPLIANCE HUB REDESIGN
   Secureframe-Inspired Design Pattern
   Version 2.0 - Professional Dark Theme
   =================================== */

/* ===================================
   DESIGN TOKENS & COLOR SYSTEM
   =================================== */

:root {
  /* Primary Background Colors - Deep Dark Theme */
  --hub-bg-primary: #0a0a0a;
  --hub-bg-secondary: #141414;
  --hub-bg-tertiary: #1a1a1a;
  --hub-bg-elevated: #202020;

  /* Gold Accent System - Refined Professional Palette */
  --hub-gold-primary: #d4af37;
  --hub-gold-light: #e6c766;
  --hub-gold-dark: #b8983d;
  --hub-gold-glow: rgba(212, 175, 55, 0.3);
  --hub-gold-subtle: rgba(212, 175, 55, 0.1);

  /* Text Colors - High Contrast Hierarchy */
  --hub-text-primary: #ffffff;
  --hub-text-secondary: #b4b4b4;
  --hub-text-tertiary: #888888;
  --hub-text-muted: #666666;

  /* Border & Divider Colors */
  --hub-border-primary: #2a2a2a;
  --hub-border-secondary: #1f1f1f;
  --hub-border-accent: var(--hub-gold-primary);

  /* Interactive States */
  --hub-hover-bg: rgba(255, 255, 255, 0.05);
  --hub-active-bg: rgba(212, 175, 55, 0.15);

  /* Shadows & Depth */
  --hub-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --hub-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --hub-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --hub-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);
  --hub-shadow-gold: 0 8px 32px var(--hub-gold-glow);

  /* Spacing System - Consistent Rhythm */
  --hub-space-xs: 0.5rem;
  --hub-space-sm: 1rem;
  --hub-space-md: 1.5rem;
  --hub-space-lg: 2rem;
  --hub-space-xl: 3rem;
  --hub-space-2xl: 4rem;
  --hub-space-3xl: 6rem;

  /* Typography Scale */
  --hub-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --hub-font-size-xs: 0.75rem;
  --hub-font-size-sm: 0.875rem;
  --hub-font-size-base: 1rem;
  --hub-font-size-lg: 1.125rem;
  --hub-font-size-xl: 1.25rem;
  --hub-font-size-2xl: 1.5rem;
  --hub-font-size-3xl: 2rem;
  --hub-font-size-4xl: 2.5rem;
  --hub-font-size-5xl: 3.5rem;
  --hub-font-size-6xl: 4.5rem;

  /* Border Radius System */
  --hub-radius-sm: 0.375rem;
  --hub-radius-md: 0.5rem;
  --hub-radius-lg: 0.75rem;
  --hub-radius-xl: 1rem;
  --hub-radius-2xl: 1.5rem;
  --hub-radius-full: 9999px;

  /* Transitions */
  --hub-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --hub-transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --hub-transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --hub-max-width: 1400px;
  --hub-content-width: 1200px;
  --hub-narrow-width: 800px;
}

/* Responsive Spacing Adjustments */
@media (max-width: 768px) {
  :root {
    --hub-space-xl: 2rem;
    --hub-space-2xl: 3rem;
    --hub-space-3xl: 4rem;
  }
}

/* ===================================
   BASE RESETS & GLOBAL STYLES
   =================================== */

.hub-redesign {
  font-family: var(--hub-font-family);
  background-color: var(--hub-bg-primary);
  color: var(--hub-text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

.hub-redesign * {
  box-sizing: border-box;
}

.hub-redesign ::selection {
  background-color: var(--hub-gold-primary);
  color: var(--hub-bg-primary);
}

/* ===================================
   ENHANCED NAVIGATION
   =================================== */

.hub-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hub-border-primary);
  transition: all var(--hub-transition-base);
}

.hub-nav.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: var(--hub-shadow-md);
}

.hub-nav-content {
  max-width: var(--hub-max-width);
  margin: 0 auto;
  padding: var(--hub-space-md) var(--hub-space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hub-nav-logo {
  font-size: var(--hub-font-size-xl);
  font-weight: 700;
  color: var(--hub-gold-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color var(--hub-transition-fast);
}

.hub-nav-logo:hover {
  color: var(--hub-gold-light);
}

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

.hub-nav-link {
  color: var(--hub-text-secondary);
  text-decoration: none;
  font-size: var(--hub-font-size-sm);
  font-weight: 500;
  transition: color var(--hub-transition-fast);
  position: relative;
}

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

.hub-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--hub-gold-primary);
  transition: width var(--hub-transition-base);
}

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

.hub-nav-cta {
  padding: var(--hub-space-xs) var(--hub-space-md);
  background: var(--hub-gold-primary);
  color: var(--hub-bg-primary);
  border-radius: var(--hub-radius-md);
  font-weight: 600;
  transition: all var(--hub-transition-fast);
}

.hub-nav-cta:hover {
  background: var(--hub-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--hub-shadow-gold);
}

.hub-nav-cta::after {
  display: none;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .hub-nav-content {
    padding: var(--hub-space-sm) var(--hub-space-md);
  }

  .hub-nav-links {
    gap: var(--hub-space-sm);
    flex-wrap: wrap;
  }

  .hub-nav-link {
    font-size: var(--hub-font-size-xs);
  }
}

/* ===================================
   HERO SECTION - BOLD VALUE PROPOSITION
   =================================== */

.hub-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--hub-space-3xl) var(--hub-space-lg);
  background: linear-gradient(180deg, var(--hub-bg-primary) 0%, var(--hub-bg-secondary) 100%);
  overflow: hidden;
}

.hub-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hub-hero-content {
  position: relative;
  max-width: var(--hub-content-width);
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.hub-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--hub-space-xs);
  padding: var(--hub-space-xs) var(--hub-space-md);
  background: var(--hub-gold-subtle);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--hub-radius-full);
  color: var(--hub-gold-primary);
  font-size: var(--hub-font-size-sm);
  font-weight: 600;
  margin-bottom: var(--hub-space-lg);
  animation: fadeInUp 0.6s ease-out;
}

.hub-hero-title {
  font-size: clamp(2.5rem, 6vw, var(--hub-font-size-6xl));
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 var(--hub-space-lg);
  color: var(--hub-text-primary);
  animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.hub-hero-title .highlight {
  background: linear-gradient(135deg, var(--hub-gold-primary), var(--hub-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hub-hero-subtitle {
  font-size: clamp(1.125rem, 2vw, var(--hub-font-size-xl));
  line-height: 1.6;
  color: var(--hub-text-secondary);
  max-width: 800px;
  margin: 0 auto var(--hub-space-xl);
  animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hub-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--hub-space-lg);
  max-width: 900px;
  margin: 0 auto var(--hub-space-2xl);
  animation: fadeInUp 0.6s ease-out 0.25s backwards;
}

.hub-hero-stat {
  text-align: center;
  padding: var(--hub-space-lg);
  background: var(--hub-bg-elevated);
  border: 1px solid var(--hub-border-primary);
  border-radius: var(--hub-radius-lg);
  transition: all var(--hub-transition-base);
}

.hub-hero-stat:hover {
  border-color: var(--hub-gold-primary);
  background: var(--hub-gold-subtle);
  transform: translateY(-4px);
  box-shadow: var(--hub-shadow-gold);
}

.hub-hero-stat-number {
  font-size: var(--hub-font-size-4xl);
  font-weight: 700;
  color: var(--hub-gold-primary);
  line-height: 1;
  margin-bottom: var(--hub-space-sm);
}

.hub-hero-stat-label {
  font-size: var(--hub-font-size-sm);
  font-weight: 500;
  color: var(--hub-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hub-hero-badges {
  display: flex;
  gap: var(--hub-space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--hub-space-xl);
  animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.hub-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--hub-space-sm);
  padding: var(--hub-space-md) var(--hub-space-lg);
  background: var(--hub-bg-elevated);
  border: 1px solid var(--hub-border-primary);
  border-radius: var(--hub-radius-lg);
  font-size: var(--hub-font-size-base);
  font-weight: 500;
  color: var(--hub-text-primary);
  transition: all var(--hub-transition-base);
}

.hub-hero-badge:hover {
  border-color: var(--hub-gold-primary);
  background: var(--hub-gold-subtle);
  transform: translateY(-4px);
  box-shadow: var(--hub-shadow-gold);
}

.hub-hero-badge-icon {
  width: 24px;
  height: 24px;
  fill: var(--hub-gold-primary);
}

.hub-hero-cta {
  display: flex;
  gap: var(--hub-space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

/* ===================================
   THREE-TIER PROGRESSION SELECTOR
   =================================== */

.hub-tier-section {
  padding: var(--hub-space-3xl) var(--hub-space-lg);
  background: var(--hub-bg-primary);
}

.hub-tier-container {
  max-width: var(--hub-max-width);
  margin: 0 auto;
}

.hub-tier-header {
  text-align: center;
  margin-bottom: var(--hub-space-2xl);
}

.hub-tier-title {
  font-size: clamp(2rem, 4vw, var(--hub-font-size-4xl));
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--hub-space-md);
  color: var(--hub-text-primary);
}

.hub-tier-subtitle {
  font-size: var(--hub-font-size-lg);
  color: var(--hub-text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.hub-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--hub-space-lg);
  margin-top: var(--hub-space-2xl);
}

.hub-tier-card {
  position: relative;
  padding: var(--hub-space-xl);
  background: var(--hub-bg-secondary);
  border: 2px solid var(--hub-border-primary);
  border-radius: var(--hub-radius-xl);
  transition: all var(--hub-transition-base);
  cursor: pointer;
}

.hub-tier-card:hover {
  border-color: var(--hub-gold-primary);
  transform: translateY(-8px);
  box-shadow: var(--hub-shadow-xl);
}

.hub-tier-card.active {
  border-color: var(--hub-gold-primary);
  background: linear-gradient(180deg, var(--hub-bg-secondary), rgba(212, 175, 55, 0.05));
  box-shadow: var(--hub-shadow-gold);
}

.hub-tier-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--hub-space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hub-gold-subtle);
  border-radius: var(--hub-radius-xl);
  transition: all var(--hub-transition-base);
}

.hub-tier-card:hover .hub-tier-icon-wrapper {
  background: var(--hub-active-bg);
  transform: scale(1.1);
}

.hub-tier-icon {
  width: 48px;
  height: 48px;
}

.hub-tier-card-title {
  font-size: var(--hub-font-size-2xl);
  font-weight: 700;
  text-align: center;
  margin: 0 0 var(--hub-space-sm);
  color: var(--hub-text-primary);
}

.hub-tier-card-desc {
  font-size: var(--hub-font-size-base);
  color: var(--hub-text-secondary);
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hub-tier-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   FEATURE CARDS WITH SVG GRAPHICS
   =================================== */

.hub-section {
  padding: var(--hub-space-3xl) var(--hub-space-lg);
  position: relative;
}

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

.hub-section-container {
  max-width: var(--hub-max-width);
  margin: 0 auto;
}

.hub-section-header {
  text-align: center;
  margin-bottom: var(--hub-space-2xl);
}

.hub-section-title {
  font-size: clamp(2rem, 4vw, var(--hub-font-size-4xl));
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--hub-space-md);
  color: var(--hub-text-primary);
}

.hub-section-subtitle {
  font-size: var(--hub-font-size-lg);
  color: var(--hub-text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.hub-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--hub-space-lg);
}

.hub-feature-card {
  position: relative;
  padding: var(--hub-space-xl);
  background: var(--hub-bg-elevated);
  border: 1px solid var(--hub-border-primary);
  border-radius: var(--hub-radius-xl);
  transition: all var(--hub-transition-base);
  overflow: hidden;
}

.hub-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--hub-gold-primary), var(--hub-gold-light));
  transition: height var(--hub-transition-base);
}

.hub-feature-card:hover::before {
  height: 100%;
}

.hub-feature-card:hover {
  border-color: var(--hub-gold-primary);
  transform: translateY(-8px);
  box-shadow: var(--hub-shadow-lg);
}

.hub-feature-graphic {
  width: 100%;
  height: 200px;
  margin-bottom: var(--hub-space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hub-gold-subtle);
  border-radius: var(--hub-radius-lg);
}

.hub-feature-svg {
  width: 120px;
  height: 120px;
  opacity: 0.9;
  transition: all var(--hub-transition-base);
}

.hub-feature-card:hover .hub-feature-svg {
  transform: scale(1.1);
  opacity: 1;
}

.hub-feature-title {
  font-size: var(--hub-font-size-xl);
  font-weight: 700;
  margin: 0 0 var(--hub-space-md);
  color: var(--hub-text-primary);
}

.hub-feature-desc {
  font-size: var(--hub-font-size-base);
  color: var(--hub-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--hub-space-md);
}

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

.hub-feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--hub-space-sm);
  padding: var(--hub-space-xs) 0;
  color: var(--hub-text-secondary);
  font-size: var(--hub-font-size-sm);
}

.hub-feature-list-item::before {
  content: '→';
  color: var(--hub-gold-primary);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hub-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   BUTTONS - GOLD CTA WITH ARROWS
   =================================== */

.hub-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--hub-space-sm);
  padding: var(--hub-space-md) var(--hub-space-xl);
  font-size: var(--hub-font-size-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--hub-radius-md);
  transition: all var(--hub-transition-fast);
  cursor: pointer;
  border: none;
  font-family: var(--hub-font-family);
  white-space: nowrap;
}

.hub-btn-primary {
  background: var(--hub-gold-primary);
  color: var(--hub-bg-primary);
}

.hub-btn-primary:hover {
  background: var(--hub-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--hub-shadow-gold);
}

.hub-btn-primary .hub-btn-arrow {
  transition: transform var(--hub-transition-fast);
}

.hub-btn-primary:hover .hub-btn-arrow {
  transform: translateX(4px);
}

.hub-btn-secondary {
  background: transparent;
  color: var(--hub-text-primary);
  border: 2px solid var(--hub-gold-primary);
}

.hub-btn-secondary:hover {
  background: var(--hub-gold-primary);
  color: var(--hub-bg-primary);
  transform: translateY(-2px);
  box-shadow: var(--hub-shadow-gold);
}

.hub-btn-ghost {
  background: transparent;
  color: var(--hub-text-secondary);
  border: 1px solid var(--hub-border-primary);
}

.hub-btn-ghost:hover {
  color: var(--hub-text-primary);
  border-color: var(--hub-gold-primary);
  background: var(--hub-hover-bg);
}

.hub-btn-large {
  padding: var(--hub-space-lg) var(--hub-space-2xl);
  font-size: var(--hub-font-size-lg);
}

.hub-btn-arrow {
  font-size: 1.2em;
}

/* ===================================
   RELATED FRAMEWORKS & TAGS
   =================================== */

.hub-related-section {
  padding: var(--hub-space-3xl) var(--hub-space-lg);
  background: var(--hub-bg-secondary);
  text-align: center;
}

.hub-related-tags {
  display: flex;
  gap: var(--hub-space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--hub-space-xl);
}

.hub-related-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--hub-space-xs);
  padding: var(--hub-space-sm) var(--hub-space-lg);
  background: var(--hub-bg-elevated);
  border: 1px solid var(--hub-border-primary);
  border-radius: var(--hub-radius-full);
  color: var(--hub-text-secondary);
  text-decoration: none;
  font-size: var(--hub-font-size-sm);
  font-weight: 500;
  transition: all var(--hub-transition-fast);
}

.hub-related-tag:hover {
  background: var(--hub-gold-primary);
  color: var(--hub-bg-primary);
  border-color: var(--hub-gold-primary);
  transform: translateY(-2px);
  box-shadow: var(--hub-shadow-md);
}

/* ===================================
   CTA SECTION
   =================================== */

.hub-cta-section {
  padding: var(--hub-space-3xl) var(--hub-space-lg);
  background: linear-gradient(135deg,
    rgba(212, 175, 55, 0.1) 0%,
    rgba(212, 175, 55, 0.05) 50%,
    transparent 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hub-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hub-cta-content {
  position: relative;
  max-width: var(--hub-narrow-width);
  margin: 0 auto;
}

.hub-cta-title {
  font-size: clamp(2rem, 4vw, var(--hub-font-size-4xl));
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--hub-space-md);
  color: var(--hub-text-primary);
}

.hub-cta-text {
  font-size: var(--hub-font-size-lg);
  color: var(--hub-text-secondary);
  margin: 0 0 var(--hub-space-xl);
  line-height: 1.7;
}

.hub-cta-subtitle {
  font-size: var(--hub-font-size-lg);
  color: var(--hub-text-secondary);
  margin: 0 0 var(--hub-space-xl);
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hub-cta-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--hub-space-lg);
  margin: var(--hub-space-2xl) 0;
  text-align: left;
}

.hub-cta-feature {
  display: flex;
  align-items: center;
  gap: var(--hub-space-md);
  padding: var(--hub-space-md);
  background: var(--hub-bg-elevated);
  border: 1px solid var(--hub-border-primary);
  border-radius: var(--hub-radius-lg);
  transition: all var(--hub-transition-base);
}

.hub-cta-feature:hover {
  border-color: var(--hub-gold-primary);
  background: var(--hub-gold-subtle);
  transform: translateY(-2px);
}

.hub-cta-feature-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  color: var(--hub-gold-primary);
  stroke: currentColor;
  flex-shrink: 0;
}

.hub-cta-feature span {
  font-size: var(--hub-font-size-base);
  color: var(--hub-text-secondary);
  font-weight: 500;
}

.hub-cta-buttons {
  display: flex;
  gap: var(--hub-space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin: var(--hub-space-xl) 0;
}

.hub-cta-note {
  font-size: var(--hub-font-size-sm);
  color: var(--hub-text-tertiary);
  margin-top: var(--hub-space-lg);
  font-style: italic;
}

/* ===================================
   FOOTER
   =================================== */

.hub-footer {
  padding: var(--hub-space-2xl) var(--hub-space-lg);
  background: var(--hub-bg-primary);
  border-top: 1px solid var(--hub-border-primary);
}

.hub-footer-content {
  max-width: var(--hub-max-width);
  margin: 0 auto;
  text-align: center;
}

.hub-footer-links {
  display: flex;
  gap: var(--hub-space-xl);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--hub-space-lg);
  list-style: none;
  padding: 0;
}

.hub-footer-link {
  color: var(--hub-text-secondary);
  text-decoration: none;
  font-size: var(--hub-font-size-sm);
  transition: color var(--hub-transition-fast);
}

.hub-footer-link:hover {
  color: var(--hub-gold-primary);
}

.hub-footer-text {
  color: var(--hub-text-tertiary);
  font-size: var(--hub-font-size-sm);
  margin: 0;
}

/* ===================================
   ANIMATIONS
   =================================== */

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

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll Animation Classes */
[data-animate] {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].animate-in {
  opacity: 1;
}

[data-animate="fade-up"].animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

[data-animate="slide-left"].animate-in {
  animation: slideInLeft 0.6s ease-out forwards;
}

[data-animate="slide-right"].animate-in {
  animation: slideInRight 0.6s ease-out forwards;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
  .hub-hero {
    min-height: 80vh;
  }
}

@media (max-width: 768px) {
  .hub-hero {
    min-height: 70vh;
    padding: var(--hub-space-2xl) var(--hub-space-md);
  }

  .hub-hero-badges {
    flex-direction: column;
    align-items: center;
  }

  .hub-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hub-section {
    padding: var(--hub-space-2xl) var(--hub-space-md);
  }

  .hub-tier-section {
    padding: var(--hub-space-2xl) var(--hub-space-md);
  }

  .hub-cta-section {
    padding: var(--hub-space-2xl) var(--hub-space-md);
  }

  .hub-footer-links {
    flex-direction: column;
    gap: var(--hub-space-md);
  }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

/* Focus styles for keyboard navigation */
.hub-redesign *:focus-visible {
  outline: 2px solid var(--hub-gold-primary);
  outline-offset: 4px;
  border-radius: var(--hub-radius-sm);
}

/* Skip to content link */
.hub-skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--hub-gold-primary);
  color: var(--hub-bg-primary);
  padding: var(--hub-space-sm) var(--hub-space-md);
  text-decoration: none;
  border-radius: var(--hub-radius-md);
  font-weight: 600;
  z-index: 9999;
}

.hub-skip-link:focus {
  top: var(--hub-space-sm);
  left: var(--hub-space-sm);
}

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

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

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --hub-gold-primary: #ffcc00;
    --hub-border-primary: #444444;
  }
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
  .hub-nav,
  .hub-hero-cta,
  .hub-cta-section,
  .hub-footer {
    display: none;
  }

  .hub-redesign {
    background: white;
    color: black;
  }

  .hub-section {
    page-break-inside: avoid;
  }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.hub-text-center {
  text-align: center;
}

.hub-text-left {
  text-align: left;
}

.hub-text-right {
  text-align: right;
}

.hub-mt-lg {
  margin-top: var(--hub-space-lg);
}

.hub-mb-lg {
  margin-bottom: var(--hub-space-lg);
}

.hub-mt-xl {
  margin-top: var(--hub-space-xl);
}

.hub-mb-xl {
  margin-bottom: var(--hub-space-xl);
}

.hub-hidden {
  display: none;
}

.hub-visible {
  display: block;
}

/* ===================================
   SUBCATEGORY SECTIONS (NIST CSF)
   =================================== */

.hub-subcategory-section {
  margin-top: var(--hub-space-2xl);
  margin-bottom: var(--hub-space-2xl);
  padding: var(--hub-space-xl);
  background: var(--hub-bg-secondary);
  border-radius: var(--hub-radius-lg);
  border: 1px solid var(--hub-border-primary);
}

.hub-subcategory-function {
  font-size: var(--hub-font-size-2xl);
  font-weight: 700;
  color: var(--hub-gold-primary);
  margin-bottom: var(--hub-space-lg);
  padding-bottom: var(--hub-space-sm);
  border-bottom: 2px solid var(--hub-border-accent);
}

.hub-subcategory-category {
  margin-top: var(--hub-space-lg);
  margin-bottom: var(--hub-space-lg);
  padding: var(--hub-space-md);
  background: var(--hub-bg-tertiary);
  border-radius: var(--hub-radius-md);
  border-left: 3px solid var(--hub-gold-primary);
}

.hub-subcategory-category h4 {
  font-size: var(--hub-font-size-lg);
  font-weight: 600;
  color: var(--hub-text-primary);
  margin-bottom: var(--hub-space-md);
}

.hub-subcategory-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hub-subcategory-list li {
  padding: var(--hub-space-sm);
  margin-bottom: var(--hub-space-xs);
  color: var(--hub-text-secondary);
  line-height: 1.6;
  font-size: var(--hub-font-size-sm);
  border-bottom: 1px solid var(--hub-border-secondary);
  transition: background-color var(--hub-transition-fast);
}

.hub-subcategory-list li:last-child {
  border-bottom: none;
}

.hub-subcategory-list li:hover {
  background-color: var(--hub-hover-bg);
  border-radius: var(--hub-radius-sm);
}

.hub-subcategory-list li strong {
  color: var(--hub-gold-light);
  font-weight: 600;
  margin-right: var(--hub-space-xs);
}

/* Responsive adjustments for subcategories */
@media (max-width: 768px) {
  .hub-subcategory-section {
    padding: var(--hub-space-md);
  }

  .hub-subcategory-function {
    font-size: var(--hub-font-size-xl);
  }

  .hub-subcategory-category {
    padding: var(--hub-space-sm);
  }

  .hub-subcategory-list li {
    font-size: var(--hub-font-size-xs);
  }
}
