/* ============================================================
   MiniCPM VoiceCall — Promotional Landing Page Styles
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #070b14;
  --color-bg-alt: #0c1120;
  --color-surface: #111827;
  --color-surface-hover: #1a2332;
  --color-border: rgba(99, 140, 255, 0.12);
  --color-text: #e8edf5;
  --color-text-muted: #8895b0;
  --color-accent: #4d8aff;
  --color-accent-glow: rgba(77, 138, 255, 0.35);
  --color-accent-soft: #6b9eff;
  --color-secondary: #22d3ee;
  --color-secondary-glow: rgba(34, 211, 238, 0.25);
  --color-purple: #8b5cf6;
  --color-purple-glow: rgba(139, 92, 246, 0.3);
  --color-success: #34d399;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Utility --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(77, 138, 255, 0.1);
  border: 1px solid rgba(77, 138, 255, 0.2);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #e8edf5 0%, #8895b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-purple));
  color: #fff;
  box-shadow: 0 4px 24px var(--color-accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--color-accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid rgba(255,255,255,0.08);
}

.btn-ghost:hover {
  color: var(--color-text);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.03);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  background: rgba(77, 138, 255, 0.08);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-icon, .btn-icon-right {
  flex-shrink: 0;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.logo-icon {
  color: var(--color-accent);
  font-size: 1.5rem;
}

.logo-accent {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gradient-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.sphere-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(77, 138, 255, 0.3), transparent 70%);
  top: -200px;
  right: -200px;
  animation: sphereFloat 20s ease-in-out infinite;
}

.sphere-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: sphereFloat 25s ease-in-out infinite reverse;
}

@keyframes sphereFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(77, 138, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 138, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

.title-line.accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary), var(--color-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-text);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* --- Phone Mockup --- */
.hero-visual {
  display: flex;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.phone-mockup {
  position: relative;
  width: 320px;
}

.phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: 48px;
  padding: 10px;
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--color-surface);
  border-radius: 0 0 16px 16px;
  z-index: 5;
}

.phone-notch::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #1a1a2e;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.1);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(180deg, #0f1729 0%, #0a0f1e 100%);
  display: flex;
  flex-direction: column;
}

/* Call UI inside phone */
.call-ui {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 36px 20px 20px;
}

.call-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.call-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(77, 138, 255, 0.3);
  animation: spin 4s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.avatar-icon {
  color: #fff;
  font-size: 1rem;
}

.call-info {
  display: flex;
  flex-direction: column;
}

.call-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
}

.call-status {
  font-size: 0.7rem;
  color: var(--color-success);
}

.call-waveform {
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}

.call-waveform canvas {
  width: 100%;
  height: 44px;
  opacity: 0.6;
}

.call-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0;
  overflow: hidden;
  min-height: 0;
}

.msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.72rem;
  line-height: 1.5;
  animation: msgSlideIn 0.3s ease-out;
}

@keyframes msgSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg-ai {
  align-self: flex-start;
  background: rgba(77, 138, 255, 0.12);
  border: 1px solid rgba(77, 138, 255, 0.15);
  color: #c8d6f0;
}

.msg-user {
  align-self: flex-end;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.15);
  color: #a5f3fc;
}

.msg.typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 16px;
}

.typing-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-text-muted);
  animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

.call-controls {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.ctrl-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.06);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.ctrl-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--color-text);
}

.ctrl-btn.active {
  color: var(--color-accent);
  background: rgba(77, 138, 255, 0.12);
}

.ctrl-btn.end-call {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.ctrl-btn.end-call:hover {
  background: rgba(239, 68, 68, 0.25);
}

.call-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  padding-top: 8px;
}

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(77, 138, 255, 0.08), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

/* --- Features Section --- */
.features {
  padding: 120px 0;
  background: var(--color-bg-alt);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: rgba(77, 138, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.voice-icon { background: rgba(77, 138, 255, 0.12); color: var(--color-accent); }
.video-icon { background: rgba(34, 211, 238, 0.12); color: var(--color-secondary); }
.clone-icon { background: rgba(139, 92, 246, 0.12); color: var(--color-purple); }
.prompt-icon { background: rgba(52, 211, 153, 0.12); color: var(--color-success); }
.cache-icon { background: rgba(251, 191, 36, 0.12); color: #fbbf24; }
.reconnect-icon { background: rgba(248, 113, 113, 0.12); color: #f87171; }

.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- How It Works --- */
.how-it-works {
  padding: 120px 0;
  position: relative;
}

.steps {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding-bottom: 48px;
  position: relative;
}

.step:last-child {
  padding-bottom: 0;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(77, 138, 255, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(77, 138, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--color-accent);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.step-line {
  position: absolute;
  top: 64px;
  left: 32px;
  width: 1px;
  height: calc(100% - 16px);
  background: linear-gradient(180deg, rgba(77, 138, 255, 0.3), transparent);
}

.step:last-child .step-line {
  display: none;
}

/* --- Architecture --- */
.architecture {
  padding: 120px 0;
  background: var(--color-bg-alt);
}

.arch-diagram {
  max-width: 900px;
  margin: 0 auto;
}

.arch-layer {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}

.layer-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 6px 20px;
  border-radius: 100px;
  white-space: nowrap;
}

.layer-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  min-width: 120px;
}

.arch-node span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
}

.arch-node small {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.arch-node.audio-node {
  border-color: rgba(77, 138, 255, 0.2);
}

.arch-node.video-node {
  border-color: rgba(34, 211, 238, 0.2);
}

.arch-arrow {
  font-size: 1.2rem;
  color: var(--color-text-muted);
}

.arch-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 0;
}

.connector-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 138, 255, 0.3), transparent);
}

.connector-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--color-accent);
  padding: 4px 16px;
  border: 1px solid rgba(77, 138, 255, 0.2);
  border-radius: 100px;
  white-space: nowrap;
}

.server-nodes {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.srv-node {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px;
  background: rgba(77, 138, 255, 0.04);
  border: 1px solid rgba(77, 138, 255, 0.12);
  border-radius: var(--radius-sm);
}

.srv-node span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
}

.srv-node small {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}

/* --- Specs Section --- */
.specs {
  padding: 120px 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.spec-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.spec-card:hover {
  border-color: rgba(77, 138, 255, 0.2);
  transform: translateY(-2px);
}

.spec-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.spec-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* --- Demo Video Section --- */
.demo {
  padding: 120px 0;
  background: var(--color-bg-alt);
  position: relative;
}

.demo-video-wrapper {
  display: flex;
  justify-content: center;
}

.demo-video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.demo-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}

.demo-video-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(77, 138, 255, 0.1), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

/* --- Download Section --- */
.download {
  padding: 120px 0;
  background: var(--color-bg-alt);
}

.download-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  overflow: hidden;
  text-align: center;
}

.download-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(77, 138, 255, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.06), transparent 50%);
  pointer-events: none;
}

.download-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.download-content .section-desc {
  margin-bottom: 36px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.download-btn svg {
  flex-shrink: 0;
}

.download-note {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.download-note p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.download-note code {
  display: inline-block;
  font-size: 0.8rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  word-break: break-all;
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.footer-brand .logo-icon {
  font-size: 1.2rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 36px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mockup {
    width: 260px;
  }

  .specs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 11, 20, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
  }

  .menu-toggle {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .arch-node {
    min-width: 100px;
    padding: 14px 16px;
  }

  .server-nodes {
    flex-direction: column;
  }

  .layer-items {
    flex-direction: column;
  }

  .arch-arrow {
    transform: rotate(90deg);
  }

  .download-card {
    padding: 48px 24px;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 36px;
    text-align: center;
  }

  .step-number {
    margin: 0 auto;
  }

  .step-line {
    display: none;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .specs-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .stat-item {
    align-items: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
}
