/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables */
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #111111;
  --text-primary: #ffffff;
  --text-secondary: #ffffff;
  --text-muted: #ffffff;
  --accent: #ffffff;
  --accent-glow: rgba(255, 255, 255, 0.15);
  --accent-glow-strong: rgba(255, 255, 255, 0.25);
  --border: #222222;
  --border-glow: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 20px rgba(255, 255, 255, 0.08);
  --shadow-strong: 0 0 40px rgba(255, 255, 255, 0.12);
  --gradient-primary: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
  --gradient-glow: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 0%, #cccccc 50%, #ffffff 100%);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('./branding/Par-Noir-Background-Dark.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.6;
  z-index: -1;
  transform: none;
  will-change: auto;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Site Navigation - Independent Component */
.site-navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glow);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand-section {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
  transition: all 0.3s ease;
}

.nav-logo:hover {
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.6));
  transform: scale(1.05);
}

.nav-menu-section {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

.nav-menu-link:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--accent-glow);
}

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

.nav-menu-link.active {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

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

.nav-developers {
  background: var(--gradient-primary);
  color: var(--bg-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  text-align: center;
  display: inline-block;
}

.nav-developers::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.nav-developers:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.nav-developers:hover::before {
  left: 100%;
}

.nav-cta {
  background: var(--gradient-primary);
  color: var(--bg-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.nav-cta:hover::before {
  left: 100%;
}

/* Marketing Hero - Two Column Layout */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 8rem 0 3rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  z-index: 2;
  text-align: left;
}

/* Whitepaper Hero - Single Column Layout */
.whitepaper-hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 8rem 0 3rem;
  position: relative;
}

.whitepaper-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  z-index: 1;
}

.whitepaper-hero-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  text-align: center;
}

.whitepaper-hero-content {
  z-index: 2;
  text-align: center;
}

/* Developer Portal Hero - Single Column Layout */
.developer-hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 8rem 0 3rem;
  position: relative;
}

.developer-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  z-index: 1;
}

.developer-hero-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.developer-hero-content {
  z-index: 2;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--gradient-glow);
  border: 1px solid var(--border-glow);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.hero-badge:hover::before {
  left: 100%;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
  position: relative;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-title::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

.hero-highlight {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px var(--accent-glow-strong);
  position: relative;
  animation: shimmer 3s ease-in-out infinite;
}

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

.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  box-shadow: 0 0 20px var(--accent-glow-strong);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scaleX(1); }
  50% { opacity: 0.7; transform: scaleX(0.95); }
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.6;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  position: relative;
  padding-left: 2rem;
}

.hero-description::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 1px;
  height: calc(100% - 1rem);
  background: var(--gradient-primary);
  box-shadow: 0 0 10px var(--accent-glow);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  letter-spacing: 1px;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow);
  position: relative;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-glow);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}



/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 400px;
  overflow: hidden;
}

.hero-logo {
  max-width: 300px;
  max-height: 300px;
  width: auto;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
  transition: all 0.3s ease;
  opacity: 0.9;
}

.hero-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3));
  opacity: 1;
}





/* Sections */
section {
  padding: 6rem 0;
  position: relative;
  z-index: 2;
}

/* Mobile section spacing */
@media (max-width: 960px) {
  .hero,
  .narrative-section,
  .problem-section,
  .solution-section,
  .features-section,
  .vision-section,
  .final-cta {
    padding: 2rem 0;
  }
  
  .narrative-section {
    padding: 1.5rem 0;
  }
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.01) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.01) 0%, transparent 50%);
  z-index: -1;
}

/* Section backgrounds */
section:nth-child(even) {
  background: rgba(0, 0, 0, 0.2);
}

section:nth-child(odd) {
  background: rgba(0, 0, 0, 0.1);
}

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

.section-dark::before {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile section header spacing */
@media (max-width: 960px) {
  .section-header {
    margin-bottom: 1rem;
  }
  
  .hero {
    padding: 2rem 0 1rem;
  }
  
  .problem-grid,
  .solution-content,
  .quickstart-grid,
  .docs-grid,
  .examples-grid,
  .community-grid,
  .toc-grid {
    margin-top: 1rem !important;
  }
  
  .problem-grid {
    gap: 1.5rem;
  }
  
  .problem-item {
    padding: 1.5rem 1rem;
  }
  
  .problem-item h3 {
    font-size: 1rem;
    white-space: nowrap;
  }
  
  .problem-icon {
    width: 60px;
    height: 60px;
  }
  
  .problem-icon svg {
    width: 30px;
    height: 30px;
  }
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px var(--accent-glow);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

/* Protocol Grid */
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.protocol-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.protocol-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

.protocol-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.protocol-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}

.protocol-card:hover::before {
  transform: scaleX(1);
}

.protocol-card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-glow);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-glow);
}

.card-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.protocol-card:hover .card-icon::before {
  left: 100%;
}

.card-icon svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.protocol-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.protocol-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.05);
}

/* Technology Showcase */
.tech-showcase {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.tech-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.tech-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at left center, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tech-item:hover {
  transform: translateX(15px);
  border-color: var(--accent);
  box-shadow: var(--shadow-strong);
}

.tech-item:hover::before {
  opacity: 1;
}

.tech-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  text-shadow: 0 0 30px var(--accent-glow-strong);
  filter: drop-shadow(0 0 20px var(--accent-glow));
}

.tech-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.tech-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.05);
}

/* Vision */
.vision-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.vision-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px var(--accent-glow-strong);
}

.vision-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.vision-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.stat {
  text-align: center;
  padding: 2rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px var(--accent-glow-strong);
  filter: drop-shadow(0 0 20px var(--accent-glow));
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.05);
}

/* CTA */
.cta {
  padding: 8rem 0;
  text-align: center;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.cta-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

/* Site Footer - Independent Component */
.site-footer {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border-glow);
  padding: 2rem 0 2rem;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  z-index: -1;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-main {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo {
  height: 110px;
  width: auto;
  opacity: 0.8;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

.footer-navigation {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  align-items: center;
}

.footer-nav-column h4 {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav-column a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.9rem;
}

.footer-nav-column a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

.footer-nav-column a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.footer-nav-column a:hover::after {
  width: 100%;
}

.footer-copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glow);
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  font-size: 0.9rem;
}

/* Problem Solution */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
  position: relative;
}

.problem-solution::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.problem, .solution {
  padding: 3rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  z-index: 2;
  transition: all 0.4s ease;
}

.problem::before, .solution::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

.problem::after, .solution::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.problem:hover, .solution:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}

.problem:hover::before, .solution:hover::before {
  transform: scaleX(1);
}

.problem:hover::after, .solution:hover::after {
  opacity: 1;
}

.problem h3, .solution h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.problem h3::before, .solution h3::before {
  content: '';
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-glow);
}

.problem p, .solution p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.1rem;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.05);
  position: relative;
}

/* Features Section */
.features-section {
  padding: 4rem 0;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-glow);
}

.features-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.features-section .features-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-primary);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive breakpoints for features grid */
@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-glow);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-glow);
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.feature-card:hover .feature-icon::before {
  left: 100%;
}

.feature-icon svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.05);
}

/* How It Works */
.how-it-works {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at left center, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.step:hover {
  transform: translateX(15px);
  border-color: var(--accent);
  box-shadow: var(--shadow-strong);
}

.step:hover::before {
  opacity: 1;
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  text-shadow: 0 0 30px var(--accent-glow-strong);
  filter: drop-shadow(0 0 20px var(--accent-glow));
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  box-shadow: 0 0 10px var(--accent-glow);
}

.step-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.05);
}

/* Vision Points */
.vision-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 3rem 0;
}

.vision-point {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.vision-point::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  box-shadow: 0 0 10px var(--accent-glow);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.vision-point:hover {
  transform: translateX(10px);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.vision-point:hover::before {
  transform: scaleY(1);
}

.vision-point h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vision-conclusion {
  font-size: 1.25rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 3rem auto 0;
  line-height: 1.6;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  font-style: italic;
  position: relative;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

/* CTA Options */
.cta-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.cta-option {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

.cta-option:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}

.cta-option:hover::before {
  transform: scaleX(1);
}

.cta-option h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-option p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.05);
}

/* Urgency CTA */
.urgency-cta {
  padding: 8rem 0;
  background: var(--bg-secondary);
  position: relative;
  text-align: center;
}

.urgency-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  z-index: 1;
}

.urgency-content {
  position: relative;
  z-index: 2;
}

.urgency-cta h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--text-primary);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.urgency-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.urgency-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.urgency-stat {
  text-align: center;
  padding: 2rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.urgency-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

.urgency-stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}

.urgency-stat:hover::before {
  transform: scaleX(1);
}

.urgency-stat .stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px var(--accent-glow-strong);
  filter: drop-shadow(0 0 20px var(--accent-glow));
}

.urgency-stat .stat-label {
  color: var(--text-secondary);
  font-weight: 500;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.05);
}

.urgency-actions {
  margin-top: 2rem;
}

/* Responsive Design Updates */
@media (max-width: 960px) {
  .hero {
    padding: 5rem 0 2rem;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
    text-align: center;
  }
  
  /* Force carousel mode on mobile for 3-column sections */
  .problem-grid {
    display: flex !important;
    overflow: hidden;
    gap: 2rem;
    margin: 3rem 0;
    scroll-behavior: smooth;
  }
  
  .problem-item {
    flex: 0 0 100% !important;
    min-height: 400px;
    padding: 2.5rem 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    display: none;
  }
  
  .problem-item:first-child {
    display: block !important;
  }
  
  .vision-timeline {
    display: flex !important;
    overflow: hidden;
    gap: 2rem;
    margin: 3rem 0;
    scroll-behavior: smooth;
  }
  
  .timeline-item {
    flex: 0 0 100% !important;
    min-height: 400px;
    padding: 2.5rem 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    display: none;
  }
  
  .timeline-item:first-child {
    display: block !important;
  }
  
  .carousel-grid {
    display: flex !important;
    overflow: hidden;
    gap: 2rem;
    margin: 3rem 0;
    scroll-behavior: smooth;
  }
  
  .carousel-item {
    flex: 0 0 100% !important;
    min-height: 400px;
    padding: 2.5rem 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    display: none;
  }
  
  .carousel-item:first-child {
    display: block !important;
  }
  
  .cta-grid {
    display: flex !important;
    overflow: hidden;
    gap: 2rem;
    margin: 3rem 0;
    scroll-behavior: smooth;
  }
  
  .cta-box {
    flex: 0 0 100% !important;
    min-height: 400px;
    padding: 2.5rem 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    display: none;
  }
  
  .cta-box:first-child {
    display: block !important;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-visual {
    order: -1;
    height: 300px;
  }
  
  .floating-orbs {
    transform: scale(0.8);
  }
  
  .orb-1 {
    width: 80px;
    height: 80px;
  }
  
  .orb-2 {
    width: 60px;
    height: 60px;
  }
  
  .orb-3 {
    width: 70px;
    height: 70px;
  }
  
  .orb-4 {
    width: 40px;
    height: 40px;
  }
  

  
  .orb-6 {
    width: 50px;
    height: 50px;
  }
  
  .nav-menu {
    gap: 1rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .tech-item {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }

  .problem-solution {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .step {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  
  .cta-options {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .vision-points {
    gap: 1rem;
  }
  
  .vision-point {
    padding: 1rem;
  }
  
  .urgency-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .urgency-stat {
    padding: 1.5rem;
  }
  
  /* Problem section responsive */
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .problem-item {
    text-align: center;
    padding: 2rem 1rem;
  }
  
  /* Solution section responsive */
  .solution-section .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .solution-main-title {
    font-size: 1.75rem;
    margin: 1rem 0;
  }
  
  /* Features section responsive */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  /* Vision section responsive */
  .vision-timeline {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .vision-point {
    text-align: center;
    padding: 1.5rem;
  }
  

  
  /* CTA section responsive */
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cta-box {
    padding: 2rem 1.5rem;
  }
  
  /* Container responsive */
  .container {
    padding: 0 1rem;
  }
  
  /* Section headers responsive */
  .section-header {
    text-align: center;
    padding: 0 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  /* Navigation responsive */
  .nav-container {
    padding: 0 1rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  /* Problem section responsive */
  .problem-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .problem-item {
    text-align: center;
    padding: 2rem 1rem;
  }
  
  /* Solution section responsive */
  .solution-content {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .solution-main-title {
    font-size: 1.75rem;
    margin: 1rem 0;
  }
  
  /* Vision section responsive */
  .vision-timeline {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .timeline-item {
    text-align: center;
    padding: 1.5rem;
  }
  

  
  /* CTA section responsive */
  .cta-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  .cta-box {
    padding: 2rem 1.5rem;
  }
  
  /* Container responsive - exclude footer */
  .hero .container,
  .narrative-section .container,
  .problem-section .container,
  .solution-section .container,
  .features-section .container,
  .vision-section .container,
  .final-cta .container {
    padding: 0 1rem;
  }
  
  /* Section headers responsive */
  .section-header {
    text-align: center;
    padding: 0 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
}


  
  /* Mobile Navigation Toggle */
  .nav-mobile-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
  }
  
  /* Mobile Navigation Menu */
  .nav-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-mobile-menu.active {
    opacity: 1;
    visibility: visible;
  }
  
  .nav-mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .nav-mobile-menu a:hover {
    color: var(--accent);
  }
  
  .nav-mobile-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
  }
  

  
  /* CTA section responsive */
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cta-box {
    padding: 2rem 1.5rem;
  }
  
  /* Container responsive */
  .container {
    padding: 0 1rem;
  }
  
  /* Section headers responsive */
  .section-header {
    text-align: center;
    padding: 0 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }
  
  .hero {
    padding: 4rem 0 2rem;
  }
  
  .hero-visual {
    height: 200px;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .container {
    padding: 0 0.75rem;
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .problem-item,
  .feature-card,
  .cta-box {
    padding: 1.5rem 1rem;
  }
  
  .founder-image {
    width: 150px;
    height: 150px;
  }
}

/* New Narrative-Driven Design Elements */

/* Mobile Navigation Toggle - hidden by default */
.nav-mobile-toggle {
  display: none;
}

/* Mobile Navigation Menu - hidden by default */
.nav-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.nav-mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-mobile-menu a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-mobile-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1002;
}

/* Mobile navigation styles */
@media (max-width: 960px) {
  /* Hide desktop menu */
  .nav-menu-section {
    display: none;
  }
  
  /* Show mobile menu toggle */
  .nav-mobile-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
  }
  
  /* Problem grid uses carousel on mobile - see separate media query below */
  


    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  

}

/* Special nav link styling for developer docs */
.nav-dev {
  background: transparent;
  border: 1px solid var(--border-glow);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-dev:hover {
  background: var(--gradient-glow);
  border-color: var(--accent);
}

/* Hero subtitle styling */
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.6;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

/* Video container styling */
.video-container {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-placeholder {
  text-align: center;
  padding: 2rem;
}

.video-play-button {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.video-play-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

.video-play-button svg {
  width: 30px;
  height: 30px;
  fill: var(--bg-primary);
  margin-left: 4px;
}

/* YouTube video styling */
.youtube-embed-container {
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.3s ease;
}

.youtube-video {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: none;
}

/* Video placeholder styling */
.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  transition: opacity 0.3s ease;
}

.video-placeholder p {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 1rem;
  text-align: center;
}

/* Narrative sections */
.narrative-section {
  padding: 4rem 0;
  position: relative;
  display: flex;
  justify-content: center;
}

.narrative-section:nth-child(even) {
  background: rgba(0, 0, 0, 0.4);
}

.narrative-section:nth-child(odd) {
  background: rgba(0, 0, 0, 0.2);
}

/* How It Works Section */
.how-it-works-section {
  background: rgba(0, 0, 0, 0.3);
}





.workflow-example {
  margin-top: 4rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
}

.workflow-example h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.example-scenario {
  text-align: left;
}

.example-scenario p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.example-scenario ol {
  margin-left: 1.5rem;
  color: var(--text-secondary);
}

.example-scenario li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Responsive design for How It Works section */
@media (max-width: 768px) {
  /* Mobile styles for remaining elements */
}

/* Technical Architecture Section */
.technical-architecture {
  margin-top: 4rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
}

.technical-architecture h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-primary);
  text-align: center;
}

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

.architecture-component {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.architecture-component:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent);
}

.component-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.component-icon svg {
  width: 100%;
  height: 100%;
}

.architecture-component h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.architecture-component p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.security-model {
  border-top: 1px solid var(--border-glow);
  padding-top: 2rem;
}

.security-model h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-align: center;
}

.security-layers {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.security-layer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.security-layer:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.security-layer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.security-layer:hover::before {
  opacity: 1;
}

.layer-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.2rem;
  line-height: 1.4;
}

.layer-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}



/* Responsive design for Technical Architecture */
@media (max-width: 768px) {
  .architecture-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .security-layer {
    padding: 1.5rem;
    gap: 0.5rem;
  }
  
  .layer-name {
    font-size: 1.1rem;
  }
  
  .layer-desc {
    font-size: 0.95rem;
  }
  
  .technical-architecture {
    padding: 1.5rem;
  }
  

}

/* Legacy carousel styles - keeping for backward compatibility */
.carousel-widget {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Vision timeline carousel mode */
.vision-timeline.carousel-mode {
  display: flex;
  overflow: hidden;
  gap: 2rem;
  margin: 3rem 0;
  scroll-behavior: smooth;
}

.timeline-item.carousel-mode {
  flex: 0 0 100%;
  min-height: 400px;
  padding: 2.5rem 2rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
  display: none;
}

.timeline-item.carousel-mode:first-child {
  display: block;
}

.timeline-item.carousel-mode h3 {
  font-size: 1.5rem;
  white-space: nowrap;
}

.timeline-item.carousel-mode p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Universal Carousel Widget */
.carousel-widget {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Legacy carousel grid styles - keeping for backward compatibility */
.carousel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.carousel-item {
  padding: 3rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.carousel-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}

.carousel-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-glow);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 1px solid var(--border-glow);
}

.carousel-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.carousel-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.carousel-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Vision timeline carousel mode */
.vision-timeline.carousel-mode {
  display: flex;
  overflow: hidden;
  gap: 2rem;
  margin: 3rem 0;
  scroll-behavior: smooth;
}

.timeline-item.carousel-mode {
  flex: 0 0 100%;
  min-height: 400px;
  padding: 2.5rem 2rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
  display: none;
}

.timeline-item.carousel-mode:first-child {
  display: block;
}

.timeline-item.carousel-mode h3 {
  font-size: 1.5rem;
  white-space: nowrap;
}

.timeline-item.carousel-mode p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* CTA grid carousel mode */
.cta-grid.carousel-mode {
  display: flex;
  overflow: hidden;
  gap: 2rem;
  margin: 3rem 0;
  scroll-behavior: smooth;
}

.cta-box.carousel-mode {
  flex: 0 0 100%;
  min-height: 400px;
  padding: 2.5rem 2rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
  display: none;
}

.cta-box.carousel-mode:first-child {
  display: block;
}

.cta-box.carousel-mode h3 {
  font-size: 1.5rem;
  white-space: nowrap;
}

.cta-box.carousel-mode p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Features carousel mode - uses same styling as CTA since it uses cta-grid */
.features-carousel .cta-grid.carousel-mode {
  display: flex;
  overflow: hidden;
  gap: 2rem;
  margin: 3rem 0;
  scroll-behavior: smooth;
}

.features-carousel .cta-box.carousel-mode {
  flex: 0 0 100%;
  min-height: 400px;
  padding: 2.5rem 2rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
  display: none;
}

.features-carousel .cta-box.carousel-mode:first-child {
  display: block;
}

.features-carousel .cta-box.carousel-mode h3 {
  font-size: 1.5rem;
  white-space: nowrap;
}

.features-carousel .cta-box.carousel-mode p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.problem-item {
  text-align: center;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  min-width: 0;
  word-wrap: break-word;
}

.problem-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}

.problem-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-glow);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 1px solid var(--border-glow);
}

.problem-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.problem-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.problem-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Solution section */
.solution-section {
  background: rgba(0, 0, 0, 0.3);
}

.solution-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

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

.solution-main-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 3rem 0 0 0;
  color: var(--text-primary);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  width: 100%;
}

.solution-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.solution-benefits {
  list-style: none;
  padding: 0;
  margin-left: 2rem;
}

.solution-benefits li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

.master-key-visual {
  text-align: center;
  position: relative;
}

.key-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  animation: keyFloat 3s ease-in-out infinite;
}

@keyframes keyFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.key-icon svg {
  width: 80px;
  height: 80px;
  stroke: var(--text-primary);
  fill: none;
}

.key-connections {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
}

.connection {
  width: 80px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  animation: connectionPulse 2s ease-in-out infinite;
}

.connection:nth-child(2) {
  animation-delay: 0.5s;
}

.connection:nth-child(3) {
  animation-delay: 1s;
}

@keyframes connectionPulse {
  0%, 100% { opacity: 0.3; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.1); }
}



/* Vision timeline */
.vision-section {
  background: rgba(0, 0, 0, 0.3);
}

.vision-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-item {
  text-align: center;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  transition: all 0.4s ease;
}

.timeline-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}

.timeline-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-glow);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 1px solid var(--border-glow);
}

.timeline-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.timeline-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.timeline-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}



.founder-image-placeholder p {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 1rem;
}

.founder-image {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border: 3px solid var(--border-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(100%) contrast(1.2);
  transition: all 0.3s ease;
}

.founder-photo:hover {
  filter: grayscale(0%) contrast(1.1);
  transform: scale(1.05);
}

.heritage-visual {
  margin-top: 2rem;
}

.quill-to-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
}

.quill, .code {
  font-size: 3rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid var(--border-glow);
}

.arrow {
  font-size: 2rem;
  color: var(--accent);
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(5px); }
}

/* Final CTA section */
.final-cta {
  padding: 4rem 0;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
}

.cta-header {
  margin-bottom: 2rem;
}

.cta-header h2 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Ensure CTA boxes are visible by default */
.cta-box {
  display: block;
}

.cta-box {
  padding: 3rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cta-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}

.cta-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-glow);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 1px solid var(--border-glow);
}

.cta-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.cta-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-box p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Developer Portal Styles */

/* Code Preview */
.code-preview {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  max-width: 500px;
  width: 100%;
}

.code-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--border-glow);
}

.code-dots {
  display: flex;
  gap: 0.5rem;
  margin-right: 1rem;
}

.code-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
}

.code-dots span:nth-child(2) {
  background: #ffbd2e;
}

.code-dots span:nth-child(3) {
  background: #27ca3f;
}

.code-title {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-family: 'Monaco', 'Menlo', monospace;
}

.code-content {
  padding: 1.5rem;
}

.code-content pre {
  margin: 0;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-primary);
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  max-width: 100%;
}

.code-content code {
  color: #e6e6e6;
}

/* Code Section */
.code-section {
  padding: 4rem 0;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
}

.code-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.code-section .code-preview {
  max-width: 100%;
  margin: 0 auto;
}

/* Responsive code preview */
@media (max-width: 768px) {
  .code-preview {
    max-width: 100%;
  }
  
  .code-content {
    padding: 1rem;
  }
  
  .code-content pre {
    font-size: 0.8rem;
  }
  
  .code-section {
    padding: 2rem 0;
  }
}

@media (max-width: 960px) {
  .code-content {
    padding: 0.75rem;
  }
  
  .code-content pre {
    font-size: 0.75rem;
  }
  
  .code-section {
    padding: 1.5rem 0;
  }
  
  .features-section {
    padding: 2rem 0;
  }
}

@media (max-width: 960px) {
  .features-section .features-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
}

/* Quick Start Grid */
.quickstart-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.quickstart-step {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.quickstart-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}

.quickstart-step {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.quickstart-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bg-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.quickstart-step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  min-width: 120px;
  flex-shrink: 0;
}

.code-block {
  position: relative;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
  flex: 1;
  max-width: 100%;
}

.code-block pre {
  margin: 0;
  padding: 1rem;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-primary);
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  max-width: 100%;
}

.copy-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-glow);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

/* Documentation Grid */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.doc-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-align: center;
}

.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}

.doc-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--border-glow);
}

.doc-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

.doc-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.doc-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.doc-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.doc-link:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px var(--accent-glow);
}

/* Examples Grid */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.example-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.example-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}

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

.example-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-glow);
}

.example-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

.example-meta {
  display: flex;
  gap: 0.5rem;
}

.example-tag {
  background: var(--gradient-glow);
  border: 1px solid var(--border-glow);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.example-duration {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glow);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.example-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.example-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.example-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Community Grid */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.community-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.community-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}

.community-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-glow);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--border-glow);
}

.community-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

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

.community-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* White Paper Styles */

/* White Paper Preview */
.whitepaper-preview {
  text-align: center;
  max-width: 400px;
}

.document-icon {
  width: 120px;
  height: 120px;
  background: var(--gradient-glow);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 1px solid var(--border-glow);
}

.document-icon svg {
  width: 60px;
  height: 60px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

.whitepaper-preview p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Table of Contents */
.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.toc-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.toc-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}

.toc-number {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bg-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.toc-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.toc-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.toc-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.toc-link:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px var(--accent-glow);
}

/* White Paper Content */
.whitepaper-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.paper-content {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
  overflow-x: hidden;
}

/* Responsive paper content */
@media (max-width: 768px) {
  .paper-content {
    max-width: 100%;
    padding: 0 0.5rem;
  }
}

/* Indent first line of paragraphs in abstract, conclusion, and author's notes */
.paper-content p {
  text-indent: 2rem;
}

/* Don't indent the first paragraph after headings */
.paper-content h3 + p,
.paper-content h4 + p {
  text-indent: 0;
}

.paper-content ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.paper-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.paper-content li {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.paper-content li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.whitepaper-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
}

.whitepaper-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--text-primary);
}

.whitepaper-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.whitepaper-list {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.whitepaper-list li {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.whitepaper-list strong {
  color: var(--text-primary);
  font-weight: 600;
}

.whitepaper-list ol {
  counter-reset: item;
  list-style: none;
  padding-left: 0;
}

.whitepaper-list ol li {
  counter-increment: item;
  position: relative;
  padding-left: 2.5rem;
}

.whitepaper-list ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bg-primary);
}

/* Code Examples */
.code-example {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  margin: 1.5rem 0;
  overflow: hidden;
  max-width: 100%;
}

.code-example pre {
  margin: 0;
  padding: 1.5rem;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-primary);
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  max-width: 100%;
}

.code-example code {
  color: #e6e6e6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Responsive code blocks */
@media (max-width: 768px) {
  .code-example {
    margin: 1rem 0;
  }
  
  .code-example pre {
    padding: 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 960px) {
  .code-example pre {
    padding: 0.75rem;
    font-size: 0.75rem;
  }
}

/* Tutorial Styles */

/* Tutorial Preview */
.tutorial-preview {
  text-align: center;
  max-width: 400px;
}

.tutorial-icon {
  width: 120px;
  height: 120px;
  background: var(--gradient-glow);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 1px solid var(--border-glow);
}

.tutorial-icon svg {
  width: 60px;
  height: 60px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

.tutorial-preview p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Tutorial Content */
.tutorial-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.tutorial-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
}

.tutorial-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--text-primary);
}

.tutorial-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.tutorial-list {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.tutorial-list li {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.tutorial-list strong {
  color: var(--text-primary);
  font-weight: 600;
}

.tutorial-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
}

.info-item {
  color: var(--text-secondary);
  font-size: 1rem;
}

.info-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

.info-item a {
  color: var(--accent);
  text-decoration: none;
}

.info-item a:hover {
  text-shadow: 0 0 10px var(--accent-glow);
}

.tutorial-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.tutorial-links .btn {
  flex: 1;
  min-width: 200px;
}

/* Footer updates */
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

/* Responsive updates for narrative design */
@media (max-width: 768px) {
  .solution-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .solution-main-title {
    font-size: 1.5rem;
    margin: 1.5rem 0 0 0;
  }
  
  .quill-to-code {
    gap: 1rem;
  }
  
  .quill, .code {
    font-size: 2rem;
  }
  
  .cta-grid {
    grid-template-columns: 1fr;
  }
  
  /* Footer responsive */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-brand {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-column h4 {
    margin-bottom: 0.75rem;
  }
  
  .footer-column a {
    padding: 0.25rem 0;
  }
}

/* Gate Page Styles */
.gate-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 600px;
  backdrop-filter: blur(10px);
  text-align: center;
}

.gate-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

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

.gate-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.gate-description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gate-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.gate-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
}

.features-preview {
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}



.features-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.feature-item h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}

.code-preview.locked {
  position: relative;
  opacity: 0.7;
}

.lock-indicator {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 24px;
  height: 24px;
  color: var(--accent);
  opacity: 0.8;
}

.lock-indicator svg {
  width: 100%;
  height: 100%;
}

/* Responsive adjustments for developer portal */
@media (max-width: 768px) {
  .developer-hero-wrapper {
    padding: 0 1rem;
  }
  
  .gate-card {
    padding: 1.5rem;
    margin: 1.5rem 0;
    max-width: 100%;
  }
  
  .gate-title {
    font-size: 1.25rem;
  }
  
  .gate-description {
    font-size: 0.9rem;
  }
  
  .gate-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .gate-actions .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .features-preview {
    margin-top: 2rem;
  }
  
  .features-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .gate-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
  }
  
  .feature-item {
    padding: 1rem;
  }
  
  .feature-item h5 {
    font-size: 0.9rem;
  }
  
  .feature-item p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .developer-hero-wrapper {
    padding: 0 0.75rem;
  }
  
  .gate-card {
    padding: 1rem;
    margin: 1rem 0;
  }
  
  .gate-title {
    font-size: 1.1rem;
  }
  
  .gate-description {
    font-size: 0.85rem;
  }
  
  .gate-actions .btn {
    max-width: 100%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .gate-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
  }
  
  .feature-item {
    padding: 0.75rem;
  }
  
  .features-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}



/* Protocol Flow Chart Styling */
.protocol-flow {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 3rem 0;
  position: relative;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.protocol-flow::before {
  content: '';
  position: absolute;
  left: 2.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.3) 50%, 
    rgba(255, 255, 255, 0.1) 100%);
  z-index: 1;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.step-number::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 50%;
  z-index: -1;
}

.flow-step:hover .step-number {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.1);
}

.step-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.3) 50%, 
    rgba(255, 255, 255, 0.1) 100%);
}

.flow-step:hover .step-content {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.05);
}

.step-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  text-indent: 0;
}

/* Responsive design for flow chart */
@media (max-width: 960px) {
  .protocol-flow {
    gap: 1.5rem;
    margin: 2rem 0;
  }
  
  .protocol-flow::before {
    left: 2rem;
  }
  
  .flow-step {
    gap: 1.5rem;
  }
  
  .step-number {
    width: 4rem;
    height: 4rem;
    font-size: 1.25rem;
  }
  
  .step-number::before {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .step-content {
    padding: 1.5rem;
  }
  
  .step-content h4 {
    font-size: 1.25rem;
  }
  
  .step-content p {
    font-size: 1rem;
  }
}

@media (max-width: 960px) {
  .protocol-flow::before {
    left: 1.5rem;
  }
  
  .flow-step {
    gap: 1rem;
  }
  
  .step-number {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
  }
  
  .step-number::before {
    width: 2rem;
    height: 2rem;
  }
  
  .step-content {
    padding: 1rem;
  }
  
  .step-content h4 {
    font-size: 1.1rem;
  }
}

/* Simple 3-Column Tile System */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.tile-item {
  padding: 3rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
}

.tile-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}

.tile-icon {
  width: clamp(60px, 15vw, 80px);
  height: clamp(60px, 15vw, 80px);
  background: var(--gradient-glow);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 1px solid var(--border-glow);
}

.tile-icon svg {
  width: clamp(30px, 7.5vw, 40px);
  height: clamp(30px, 7.5vw, 40px);
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.tile-item h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tile-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Simple container */
.tile-carousel {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive - 3 columns to 1 column at 960px */
@media (max-width: 960px) {
  .tile-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .tile-item {
    padding: 2.5rem 2rem;
  }
  
  .tile-item h3 {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
  }
  
  .tile-item p {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }
}

/* Site Footer Responsive Styles - Independent */
@media (max-width: 768px) {
  .footer-logo {
    height: 110px;
  }
  
  .footer-navigation {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-nav-column {
    margin-bottom: 1rem;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    height: 80px;
  }
  
  .footer-wrapper {
    padding: 0 1rem;
  }
  
  .footer-navigation {
    gap: 1rem;
  }
}

/* Security Architecture Section */
.security-architecture {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
}

.security-architecture h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-primary);
  text-align: center;
}

.security-layers {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.security-layer {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.security-layer:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.security-layer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.security-layer:hover::before {
  opacity: 1;
}

.layer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border-glow);
  border-radius: 16px;
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.security-layer:hover .layer-icon {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.layer-icon svg {
  width: 32px;
  height: 32px;
}

.layer-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.layer-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.2rem;
  line-height: 1.4;
}

.layer-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}









