/* ============================================
   ABOUT PAGE — NEOSCRIPT DESIGN SYSTEM
   ============================================ */

/* ── HERO ── */
.au-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--base-dark);
  padding-top: 70px;
}

.au-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.au-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  padding: 0 24px;
}

.au-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 40px;
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.au-hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.au-accent {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 50%, var(--success-mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

.au-hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
}

.au-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  font-size: 16px;
}

.au-hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-cyan);
  opacity: 0.5;
  font-size: 18px;
  animation: bounceDown 2s ease infinite;
  z-index: 1;
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── ORIGIN & SCALE ── */
.au-origin {
  background: var(--base-dark);
  padding: var(--section-padding) 20px;
  position: relative;
}

.au-origin::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.au-origin-inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.au-origin-text h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin: 16px 0 24px;
}

.au-origin-text p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.au-origin-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}

.au-stat-num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), var(--success-mint));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.au-stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Origin Visual */
.au-origin-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.au-year-graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.au-year-text {
  font-size: 120px;
  font-weight: 900;
  letter-spacing: -6px;
  line-height: 1;
  background: linear-gradient(135deg, rgba(10,74,255,0.6) 0%, rgba(0,212,255,0.8) 50%, rgba(0,255,209,0.4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.au-year-glow {
  position: absolute;
  width: 300px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.au-hubs {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  justify-content: center;
}

.au-hub-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}

.au-hub-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  position: relative;
  z-index: 1;
}

.au-hub-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  animation: hubPulse 2s ease-out infinite;
}

@keyframes hubPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

.au-hub-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.4;
}

.au-hub-label small {
  color: var(--accent-cyan);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.au-hub-line {
  flex: 1;
  height: 40px;
  max-width: 160px;
  margin-top: -20px;
}

/* ── DNA / CAPABILITIES ── */
.au-dna {
  background: rgba(10, 30, 60, 0.3);
  padding: var(--section-padding) 20px;
}

.au-dna-inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.au-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.au-section-header h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin: 16px 0 20px;
}

.au-section-sub {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.au-dna-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.au-dna-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.au-dna-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-cyan);
}

.au-dna-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.au-dna-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
  flex: 1;
}

.au-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  margin-top: 8px;
  transition: gap 0.2s ease;
}

.au-card-link:hover {
  gap: 12px;
}

/* ── EXECUTION MODEL ── */
.au-execution {
  background: var(--base-dark);
  padding: var(--section-padding) 20px;
  position: relative;
}

.au-execution::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.au-execution-inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.au-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}

.au-step {
  position: relative;
  padding: 0 32px;
}

.au-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -1px;
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent-cyan), transparent);
  opacity: 0.3;
}

.au-step-number {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, rgba(10,74,255,0.4), rgba(0,212,255,0.2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  letter-spacing: -3px;
}

.au-step-connector {
  display: none;
}

.au-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.au-step-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.3;
}

.au-step-body p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

/* ── FINAL CTA BANNER ── */
.au-final-cta {
  position: relative;
  padding: 120px 20px;
  overflow: hidden;
  background: var(--base-dark);
  text-align: center;
}

.au-cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.au-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.au-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 40px;
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.au-final-cta h2 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.au-final-cta p {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.au-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  font-size: 17px;
}

/* ── LIGHT THEME OVERRIDES — follows global orange palette ── */

/* Backgrounds */
body.light-theme .au-hero,
body.light-theme .au-origin,
body.light-theme .au-execution {
  background: #FFFFFF !important;
}

body.light-theme .au-dna {
  background: #fff8f2 !important;
}

body.light-theme .au-final-cta {
  background: linear-gradient(135deg, #fff3e8 0%, #ffe8cc 100%) !important;
}

/* Grid overlays — tone down in light */
body.light-theme .au-origin::before,
body.light-theme .au-execution::before {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px) !important;
}

/* Hero badge → orange */
body.light-theme .au-hero-badge,
body.light-theme .au-cta-badge {
  background: rgba(255, 123, 0, 0.08) !important;
  border-color: rgba(255, 123, 0, 0.3) !important;
  color: var(--original-orange) !important;
}

/* Accent spans → orange gradient */
body.light-theme .au-accent {
  background: linear-gradient(135deg, var(--original-orange) 0%, var(--original-orange-hover) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Stat numbers → orange */
body.light-theme .au-stat-num {
  background: linear-gradient(135deg, var(--original-orange) 0%, var(--original-orange-hover) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Year graphic → orange */
body.light-theme .au-year-text {
  background: linear-gradient(135deg, var(--original-orange) 0%, var(--original-orange-hover) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Hub dots → orange */
body.light-theme .au-hub-dot {
  background: var(--original-orange) !important;
  box-shadow: 0 0 12px var(--original-orange) !important;
}

body.light-theme .au-hub-pulse {
  border-color: var(--original-orange) !important;
}

body.light-theme .au-hub-label small {
  color: var(--original-orange) !important;
}

/* Step numbers → orange tint */
body.light-theme .au-step-number {
  background: linear-gradient(135deg, rgba(255,123,0,0.25), rgba(255,123,0,0.1)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Step icons → orange */
body.light-theme .au-step-icon {
  background: rgba(255, 123, 0, 0.08) !important;
  border-color: rgba(255, 123, 0, 0.25) !important;
}

body.light-theme .au-step-icon i {
  color: var(--original-orange) !important;
  -webkit-text-fill-color: var(--original-orange) !important;
}

/* DNA card icons → orange */
body.light-theme .au-dna-icon {
  background: rgba(255, 123, 0, 0.08) !important;
  border-color: rgba(255, 123, 0, 0.25) !important;
}

body.light-theme .au-dna-icon i {
  color: var(--original-orange) !important;
  -webkit-text-fill-color: var(--original-orange) !important;
}

/* Card links → orange */
body.light-theme .au-card-link {
  color: var(--original-orange) !important;
}

/* Origin stats border */
body.light-theme .au-origin-stats {
  border-top-color: rgba(255, 123, 0, 0.15) !important;
}

/* Scroll hint → orange */
body.light-theme .au-hero-scroll-hint {
  color: var(--original-orange) !important;
}

/* Step vertical divider → orange */
body.light-theme .au-step:not(:last-child)::after {
  background: linear-gradient(to bottom, var(--original-orange), transparent) !important;
  opacity: 0.3 !important;
}

/* Hub connector line → orange */
body.light-theme .au-hub-line path {
  stroke: rgba(255, 123, 0, 0.4) !important;
}

/* Year glow → orange */
body.light-theme .au-year-glow {
  background: radial-gradient(ellipse, rgba(255,123,0,0.12) 0%, transparent 70%) !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .au-hero-title { font-size: 48px; }
  .au-origin-inner { grid-template-columns: 1fr; gap: 48px; }
  .au-origin-visual { order: -1; }
  .au-year-text { font-size: 90px; }
  .au-dna-grid { grid-template-columns: 1fr 1fr; }
  .au-steps { grid-template-columns: 1fr; gap: 48px; }
  .au-step:not(:last-child)::after { display: none; }
  .au-final-cta h2 { font-size: 40px; }
}

@media (max-width: 768px) {
  .au-hero-title { font-size: 36px; letter-spacing: -0.5px; }
  .au-hero-sub { font-size: 16px; }
  .au-origin-text h2,
  .au-section-header h2 { font-size: 32px; }
  .au-dna-grid { grid-template-columns: 1fr; }
  .au-origin-stats { flex-wrap: wrap; gap: 24px; }
  .au-year-text { font-size: 72px; }
  .au-final-cta h2 { font-size: 32px; }
  .au-step { padding: 0 16px; }
  .au-step-number { font-size: 52px; }
}

@media (max-width: 480px) {
  .au-hero-title { font-size: 28px; }
  .au-hero-sub { font-size: 14px; }
  .au-origin-text h2,
  .au-section-header h2 { font-size: 26px; }
  .au-year-text { font-size: 56px; }
  .au-final-cta h2 { font-size: 26px; }
  .au-final-cta p { font-size: 14px; }
  .au-origin-stats { flex-direction: column; gap: 16px; }
  .au-hubs { flex-wrap: wrap; gap: 16px; }
  .au-hub-line { display: none; }
  .au-dna-card { padding: 24px 18px; }
  .au-step { padding: 0; }
  .au-step-number { font-size: 44px; }
}
