/* ============================================
   AIPipemate — DevOps Automation Platform
   Custom CSS, no frameworks
   ============================================ */

:root {
  --bg-0: #07090d;
  --bg-1: #0c1018;
  --bg-2: #131825;
  --bg-3: #1a2030;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #e7eaf2;
  --text-dim: #9aa3b8;
  --text-mute: #6b7388;

  --accent: #5eead4;
  --accent-2: #8b5cf6;
  --accent-3: #38bdf8;
  --grad-1: linear-gradient(135deg, #5eead4 0%, #38bdf8 50%, #8b5cf6 100%);
  --grad-2: linear-gradient(135deg, rgba(94, 234, 212, 0.15), rgba(139, 92, 246, 0.15));

  --ok: #4ade80;
  --warn: #fbbf24;
  --err: #f87171;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 28px;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-2: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-3: 0 30px 60px -20px rgba(94, 234, 212, 0.25);

  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Subtle grid background */
body::before {
  content: '';
  position: fixed;
  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: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center top, black 30%, transparent 80%);
}

/* Aurora glow */
body::after {
  content: '';
  position: fixed;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 800px;
  background: radial-gradient(ellipse at center,
    rgba(94, 234, 212, 0.18) 0%,
    rgba(139, 92, 246, 0.12) 35%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

main, header, footer, section {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

img {
  max-width: 100%;
  display: block;
}

/* ============ TYPOGRAPHY ============ */

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { color: var(--text-dim); }

.gradient-text {
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 999px;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* ============ LAYOUT ============ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
}

/* ============ NAVBAR ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 9, 13, 0.7);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--grad-1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-mark svg {
  width: 18px;
  height: 18px;
  color: #07090d;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: inherit;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-1);
  color: #07090d;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.4), 0 8px 30px -10px rgba(94, 234, 212, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.6), 0 12px 40px -10px rgba(94, 234, 212, 0.8);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
}

/* ============ HERO ============ */

.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
}

.hero h1 {
  margin: 24px auto;
  max-width: 900px;
}

.hero .lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 680px;
  margin: 0 auto 40px;
  color: var(--text-dim);
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-mute);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust span::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

/* Pipeline visualization */
.pipeline-viz {
  margin-top: 80px;
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.pipeline-viz::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.pipeline-stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: center;
}

.pipeline-stage {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
  text-align: left;
  position: relative;
  transition: all 0.3s ease;
}

.pipeline-stage.done {
  border-color: rgba(74, 222, 128, 0.3);
}

.pipeline-stage.done .stage-icon {
  background: rgba(74, 222, 128, 0.15);
  color: var(--ok);
}

.pipeline-stage.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.1), 0 0 30px rgba(94, 234, 212, 0.15);
}

.pipeline-stage.active .stage-icon {
  background: rgba(94, 234, 212, 0.15);
  color: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}

.stage-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 0.9rem;
}

.stage-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.stage-meta {
  font-size: 0.72rem;
  color: var(--text-mute);
  font-family: 'JetBrains Mono', monospace;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(94, 234, 212, 0); }
}

@media (max-width: 768px) {
  .pipeline-stages { grid-template-columns: repeat(2, 1fr); }
  .pipeline-viz { padding: 24px; }
}

/* ============ SECTION HEADERS ============ */

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-head h2 {
  margin: 16px 0;
}

.section-head p {
  font-size: 1.1rem;
}

/* ============ FEATURE GRID ============ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  padding: 1px;
  background: var(--grad-1);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--grad-2);
  border: 1px solid rgba(94, 234, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

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

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.65;
}

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

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

/* ============ STATS ============ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stat {
  background: var(--bg-1);
  padding: 32px 24px;
  text-align: center;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-mute);
  margin-top: 4px;
}

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

/* ============ CODE BLOCK ============ */

.code-block {
  background: #050709;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--text-mute);
}

.code-dots {
  display: flex;
  gap: 6px;
  margin-right: auto;
}

.code-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }

.code-body {
  padding: 18px 20px;
  line-height: 1.7;
  color: #c9d1d9;
}

.code-body .kw { color: #ff7b72; }
.code-body .str { color: #a5d6ff; }
.code-body .num { color: #79c0ff; }
.code-body .com { color: #6b7388; font-style: italic; }
.code-body .fn { color: #d2a8ff; }

/* ============ TWO COLUMN ============ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col.reverse > div:first-child { order: 2; }

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse > div:first-child { order: 0; }
}

.col-content h2 {
  margin: 16px 0 20px;
}

.col-content ul {
  list-style: none;
  margin-top: 24px;
}

.col-content ul li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--text-dim);
}

.col-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 18px;
  height: 18px;
  background: var(--grad-2);
  border: 1px solid rgba(94, 234, 212, 0.3);
  border-radius: 50%;
}

.col-content ul li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 21px;
  width: 4px;
  height: 7px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ============ PRICING ============ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: rgba(94, 234, 212, 0.4);
  background: linear-gradient(180deg, rgba(94, 234, 212, 0.06) 0%, var(--bg-2) 100%);
  box-shadow: 0 30px 60px -20px rgba(94, 234, 212, 0.2);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-1);
  color: #07090d;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

.price-tier {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 8px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 16px 0 6px;
}

.price-amount .num {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.price-amount .per {
  color: var(--text-mute);
  font-size: 0.9rem;
}

.price-desc {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 28px;
  min-height: 44px;
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.price-features li {
  padding: 9px 0 9px 26px;
  position: relative;
  font-size: 0.92rem;
  color: var(--text-dim);
  border-top: 1px solid var(--line);
}

.price-features li:first-child {
  border-top: none;
}

.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ============ AUTH FORMS ============ */

.auth-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.auth-card {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-2);
}

.auth-card h1 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.auth-card .auth-sub {
  color: var(--text-dim);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.18s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.12);
  background: var(--bg-2);
}

.form-input::placeholder {
  color: var(--text-mute);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-error {
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.25);
  border-radius: var(--r);
  color: var(--err);
  font-size: 0.88rem;
}

.form-success {
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: var(--r);
  color: var(--ok);
  font-size: 0.88rem;
}

.auth-foot {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.auth-foot a {
  color: var(--accent);
  font-weight: 500;
}

.auth-foot a:hover {
  text-decoration: underline;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  font-size: 0.78rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  height: 1px;
  flex-grow: 1;
  background: var(--line);
}

/* ============ DASHBOARD ============ */

.dash {
  padding: 48px 0;
}

.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.dash-head h1 {
  font-size: 1.8rem;
}

.dash-head .greeting {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: 4px;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.dash-stat {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
}

.dash-stat-label {
  font-size: 0.78rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.dash-stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dash-stat-trend {
  font-size: 0.8rem;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dash-stat-trend.up { color: var(--ok); }
.dash-stat-trend.down { color: var(--err); }

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

.dash-panels {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

@media (max-width: 900px) {
  .dash-panels { grid-template-columns: 1fr; }
}

.panel {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}

.panel h3 {
  margin-bottom: 16px;
}

.run-list {
  list-style: none;
}

.run-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.run-row:first-child {
  border-top: none;
  padding-top: 6px;
}

.run-status {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.run-status.success { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.run-status.failed  { background: var(--err); box-shadow: 0 0 8px var(--err); }
.run-status.running { background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 1.6s infinite; }
.run-status.queued  { background: var(--text-mute); }

.run-info {
  flex-grow: 1;
  min-width: 0;
}

.run-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.run-meta {
  font-size: 0.78rem;
  color: var(--text-mute);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
}

.run-time {
  font-size: 0.82rem;
  color: var(--text-mute);
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}

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

.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  margin-top: 80px;
  background: var(--bg-1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-mute);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-mute);
  flex-wrap: wrap;
  gap: 16px;
}

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

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ CONTACT PAGE ============ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info-card {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-card .icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--grad-2);
  border: 1px solid rgba(94, 234, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-card .icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-info-card h4 {
  margin-bottom: 4px;
}

.contact-info-card p, .contact-info-card a {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.contact-info-card a:hover { color: var(--accent); }

/* ============ ABOUT PAGE ============ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 800px) {
  .team-grid { grid-template-columns: 1fr; }
}

.team-card {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--grad-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.6rem;
  color: #07090d;
}

.team-card h4 {
  font-size: 1.05rem;
}

.team-role {
  color: var(--accent);
  font-size: 0.85rem;
  margin: 4px 0 12px;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ============ PAGE HEADER ============ */

.page-head {
  padding: 80px 0 40px;
  text-align: center;
}

.page-head h1 {
  margin: 16px 0;
}

.page-head p {
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ============ CTA BANNER ============ */

.cta-banner {
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: var(--r-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  width: 150%;
  height: 200%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(94, 234, 212, 0.15), transparent 60%);
  pointer-events: none;
}

.cta-banner > * { position: relative; }

.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* ============ FAQ ============ */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.faq-a {
  color: var(--text-dim);
  font-size: 0.95rem;
}

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

.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
