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

:root {
  --bg: #0B0B0B;
  --fg: #FAFAFA;
  --muted: #BFBFBF;
  --accent: #FFFFFF;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* White-accented gradients */
  --gradient-1: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 50%, #0B0B0B 100%);
  --gradient-2: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 50%, #1A1A1A 100%);
  --gradient-3: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 50%, #EDEDED 100%);
  --gradient-4: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  --gradient-5: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  
  /* Enhanced glow effects with white */
  --glow-soft: 0 0 20px rgba(255, 255, 255, 0.1), 0 0 40px rgba(255, 255, 255, 0.05);
  --glow-medium: 0 0 30px rgba(255, 255, 255, 0.15), 0 0 60px rgba(255, 255, 255, 0.08);
  --glow-strong: 0 0 40px rgba(255, 255, 255, 0.2), 0 0 80px rgba(255, 255, 255, 0.1);
  --glow-intense: 0 0 50px rgba(255, 255, 255, 0.25), 0 0 100px rgba(255, 255, 255, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--fg);
  font-size: clamp(16px, 1.125vw, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Animated background pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(237, 237, 237, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(237, 237, 237, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Typography */
h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  position: relative;
}

h3 {
  font-size: clamp(1.25rem, 1.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--fg);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--fg);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover::after {
  width: 100%;
}

a:hover {
  opacity: 0.9;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.muted {
  color: var(--muted);
}

.mono {
  font-family: 'Courier New', monospace;
}

.rule {
  border-top: 1px solid var(--accent);
  opacity: 0.3;
  margin: 2rem 0;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Tile animation on scroll */
@keyframes tileSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.card {
  animation: tileSlideIn 0.6s ease-out backwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

@media (max-width: 960px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(11, 11, 11, 0.8);
  border-bottom: 1px solid rgba(237, 237, 237, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 100;
  transition: all 0.3s ease;
}

.header:hover {
  border-bottom-color: rgba(237, 237, 237, 0.2);
  box-shadow: var(--glow-soft);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
}

.logo-group:hover {
  transform: scale(1.05);
}

.logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.logo:hover {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
  transform: rotate(5deg) scale(1.05);
  border-radius: 10px;
}

.logo-text {
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--fg);
  transition: width 0.3s ease;
}

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

/* Hero */
.hero {
  padding: 8rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroPulse 5s ease-in-out infinite reverse;
  pointer-events: none;
  z-index: 0;
}

@keyframes heroPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.9;
  }
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

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

.hero-subtitle {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 820px;
  margin: 4rem auto 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--glow-soft);
  animation: fadeInUp 0.8s ease-out 0.55s both;
}

.signal-item {
  padding: 1.25rem 1.5rem;
  background: rgba(11, 11, 11, 0.78);
  text-align: left;
}

.signal-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.signal-item strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-family);
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(237, 237, 237, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.button:hover::before {
  width: 300px;
  height: 300px;
}

.button:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--fg);
  box-shadow: var(--glow-medium);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.button-primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  box-shadow: var(--glow-soft);
  position: relative;
}

.button-primary::before {
  background: rgba(11, 11, 11, 0.1);
}

.button-primary::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 8px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.button-primary:hover::after {
  opacity: 1;
}

.button-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  box-shadow: var(--glow-intense);
  transform: translateY(-3px);
}

.button-secondary {
  background: transparent;
  color: var(--fg);
}

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

.section-alt {
  background: var(--gradient-1);
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-5);
  pointer-events: none;
}

.section-alt::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
}

.section-title {
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gradient-3);
  border-radius: 2px;
}

.section-subtitle {
  margin-bottom: 3rem;
  font-size: 1.125rem;
}

.content-text {
  max-width: 800px;
  font-size: 1.125rem;
  line-height: 1.7;
}

.content-text p {
  margin-bottom: 1.5rem;
}

/* Cards - Tile Style */
.card {
  padding: 2.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: var(--gradient-1);
  border-radius: 16px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card::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.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card:hover::before {
  left: 100%;
}

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

.card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: var(--glow-medium), inset 0 0 60px rgba(255, 255, 255, 0.05);
  transform: translateY(-6px);
  background: var(--gradient-2);
}

.card h3 {
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* Features List */
.features-list {
  list-style: none;
  max-width: 700px;
}

/* Architecture */
.architecture-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
}

.flow-step {
  min-height: 300px;
  padding: 2rem;
  background: rgba(11, 11, 11, 0.82);
  position: relative;
}

.flow-step::after {
  content: '';
  position: absolute;
  top: 2rem;
  right: -10px;
  width: 20px;
  height: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  transform: rotate(45deg);
  background: #0B0B0B;
  z-index: 2;
}

.flow-step:last-child::after {
  display: none;
}

.flow-index {
  display: block;
  margin-bottom: 4rem;
  color: var(--muted);
  font-family: 'Courier New', monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
}

.flow-step h3 {
  margin-bottom: 1rem;
}

.flow-step p {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Readiness */
.readiness-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.readiness-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: var(--gradient-1);
  min-height: 240px;
}

.readiness-card.is-ready {
  border-color: rgba(255, 255, 255, 0.25);
}

.readiness-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.status-pill {
  display: inline-flex;
  margin-bottom: 2rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--fg);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.features-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.features-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--muted);
  font-weight: 600;
  transition: all 0.3s ease;
}

.features-list li:hover {
  padding-left: 2rem;
  color: var(--fg);
}

.features-list li:hover::before {
  color: var(--fg);
  transform: scale(1.2);
}

/* Diagram */
.diagram-container {
  margin-top: 4rem;
  text-align: center;
  position: relative;
}

.diagram {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.diagram:hover {
  opacity: 1;
  filter: grayscale(100%) drop-shadow(0 0 20px rgba(237, 237, 237, 0.2));
}

/* Playground */
.playground-grid {
  margin-top: 3rem;
}

.playground-samples h3,
.playground-client h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.samples-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sample-btn {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: var(--gradient-1);
  color: var(--fg);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-family);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sample-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--fg);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.sample-btn:hover::before {
  transform: scaleY(1);
}

.sample-btn:hover {
  background: var(--gradient-2);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: var(--glow-soft), inset 0 0 40px rgba(255, 255, 255, 0.05);
  transform: translateX(6px) scale(1.02);
  padding-left: 1.5rem;
}

.sample-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sample-btn .method {
  font-weight: 600;
  margin-right: 0.5rem;
  font-family: var(--font-family);
}

.sample-btn .path {
  color: var(--muted);
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
}

/* Form */
.playground-form {
  margin-bottom: 2rem;
}

.form-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: var(--font-family);
  background: var(--gradient-1);
  color: var(--fg);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: var(--glow-soft), inset 0 0 30px rgba(255, 255, 255, 0.05);
  background: var(--gradient-2);
  transform: scale(1.01);
}

.input-select {
  flex: 0 0 120px;
}

.input-path {
  flex: 1;
  font-family: 'Courier New', monospace;
}

.input-textarea {
  font-family: 'Courier New', monospace;
  font-size: 0.9375rem;
  line-height: 1.5;
  resize: vertical;
  min-height: 200px;
}

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

/* Response Panel */
.response-panel {
  margin-top: 2rem;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  background: var(--gradient-1);
  border-radius: 16px;
  animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--glow-medium), inset 0 0 60px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.response-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-3);
  opacity: 0.5;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.response-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(237, 237, 237, 0.2);
}

.response-status {
  font-weight: 600;
  font-family: 'Courier New', monospace;
  padding: 0.25rem 0.75rem;
  background: var(--gradient-2);
  border-radius: 4px;
  border: 1px solid rgba(237, 237, 237, 0.2);
}

.response-duration {
  font-size: 0.875rem;
  color: var(--muted);
  font-family: 'Courier New', monospace;
}

.response-headers {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-family: 'Courier New', monospace;
  color: var(--muted);
  padding: 0.75rem;
  background: rgba(237, 237, 237, 0.02);
  border-radius: 4px;
  border: 1px solid rgba(237, 237, 237, 0.1);
}

.response-body {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-x: auto;
  color: var(--fg);
  margin: 0;
  padding: 1rem;
  background: rgba(237, 237, 237, 0.02);
  border-radius: 4px;
  border: 1px solid rgba(237, 237, 237, 0.1);
}

/* Loading animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(237, 237, 237, 0.3);
  border-top-color: var(--fg);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 0.5rem;
}

/* Docs */
.docs-content {
  max-width: 900px;
}

.docs-section {
  margin-bottom: 3rem;
  padding: 2.5rem;
  background: var(--gradient-1);
  border-radius: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.docs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-3);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.docs-section:hover::before {
  opacity: 0.6;
}

.docs-section:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: var(--glow-soft), inset 0 0 60px rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
}

.docs-section h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(237, 237, 237, 0.2);
  position: relative;
}

.docs-section h3::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-3);
}

.docs-section ul,
.docs-section ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.docs-section li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.docs-section code {
  font-family: 'Courier New', monospace;
  font-size: 0.9375em;
  background: rgba(237, 237, 237, 0.1);
  padding: 0.125rem 0.375rem;
  border: 1px solid rgba(237, 237, 237, 0.2);
  border-radius: 4px;
}

/* Community */
.community-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(237, 237, 237, 0.1);
  background: var(--gradient-1);
  position: relative;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-logo .logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.footer-disclaimer {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-copyright {
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .section {
    padding: 4rem 0;
  }

  .form-row {
    flex-direction: column;
  }

  .input-select {
    flex: 1;
  }
  
  .button {
    width: 100%;
  }

  .signal-strip,
  .architecture-flow,
  .readiness-grid {
    grid-template-columns: 1fr;
  }

  .signal-item {
    text-align: center;
  }

  .flow-step {
    min-height: auto;
  }

  .flow-step::after {
    top: auto;
    right: 50%;
    bottom: -10px;
    transform: translateX(50%) rotate(135deg);
  }

  .flow-index {
    margin-bottom: 2rem;
  }
}
