/* ── LogistiqAI — Futuristic Dark Theme ── */

:root {
  --bg: #06060b;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(0, 212, 255, 0.3);
  --text: #e4e4e7;
  --text-dim: #71717a;
  --text-bright: #fafafa;
  --accent: #00d4ff;
  --accent2: #7b2ff7;
  --gradient: linear-gradient(135deg, #00d4ff, #7b2ff7);
  --glow: 0 0 30px rgba(0, 212, 255, 0.15);
  --glow-strong: 0 0 60px rgba(0, 212, 255, 0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Particle Canvas ── */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  backdrop-filter: blur(20px);
  background: rgba(6, 6, 11, 0.8);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-bright);
}

.logo-icon {
  font-size: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.logo-iq {
  color: #a78bfa;
}

.logo-ai {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 1px;
}

/* ── Nav Links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--text-bright);
}

.nav-link-active {
  color: var(--accent);
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  background: var(--gradient);
  color: #000;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

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

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-bright);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav.nav-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.nav-open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(6, 6, 11, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 2rem 1.5rem;
    gap: 0.25rem;
    backdrop-filter: blur(20px);
  }

  .nav.nav-open .nav-links {
    display: flex;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-link:last-of-type {
    border-bottom: none;
  }

  .nav-cta {
    text-align: center;
    display: block;
    padding: 0.75rem 1.5rem;
    margin-top: 0.75rem;
  }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  font-family: var(--font);
}

.btn-primary {
  background: var(--gradient);
  color: #000;
}

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

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

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

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-bright);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

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

.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-bright);
  font-family: var(--mono);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── Chat Phone Mockup ── */
.chat-phone {
  background: rgba(10, 10, 20, 0.85);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glow), 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  height: 520px;
}

.chat-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem;
  background: rgba(34, 158, 217, 0.08);
  border-bottom: 1px solid rgba(34, 158, 217, 0.12);
}

.tg-icon {
  color: #229ed9;
}

.tg-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #229ed9;
  letter-spacing: 0.03em;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.chat-back {
  flex-shrink: 0;
  opacity: 0.5;
}

.chat-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.5;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #000;
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
}

.chat-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-bright);
}

.chat-status {
  font-size: 0.7rem;
  color: #28c840;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  scrollbar-width: none;
}

.chat-body::-webkit-scrollbar { display: none; }

.chat-msg {
  max-width: 88%;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  animation: chatIn 0.35s ease forwards;
  word-wrap: break-word;
}

.chat-msg.user {
  align-self: flex-end;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--text-bright);
  border-bottom-right-radius: 4px;
}

.chat-msg.ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat-msg .msg-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.chat-msg.user .msg-label { color: var(--accent); }
.chat-msg.ai .msg-label { color: var(--accent2); }

.chat-msg .msg-highlight { color: var(--accent); font-weight: 600; }
.chat-msg .msg-success { color: #28c840; font-weight: 600; }
.chat-msg .msg-price { color: #febc2e; font-weight: 600; }

.chat-typing {
  align-self: flex-start;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  display: flex;
  gap: 4px;
  opacity: 0;
  animation: chatIn 0.3s ease forwards;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: typingDot 1.2s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

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

.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.chat-attach {
  flex-shrink: 0;
  opacity: 0.5;
}

.chat-input-placeholder {
  flex: 1;
  font-size: 0.82rem;
  color: var(--text-dim);
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.chat-voice {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  flex-shrink: 0;
  opacity: 0.5;
}

.chat-send {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  flex-shrink: 0;
}

/* ── Sections ── */
.features, .how-it-works, .register {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.4s;
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--glow);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── Dual Chat Section ── */
.dual-chat {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.dual-chat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.channel-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: all 0.4s;
}

.channel-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow);
  transform: translateY(-4px);
}

.channel-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--border);
}

.channel-label.tg-color {
  color: #229ed9;
  background: rgba(34, 158, 217, 0.06);
}

.channel-label.wa-color {
  color: #25d366;
  background: rgba(37, 211, 102, 0.06);
}

.mini-chat {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 360px;
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: none;
}

.mini-chat::-webkit-scrollbar { display: none; }

.mc-msg {
  max-width: 90%;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.55;
  word-wrap: break-word;
}

/* Telegram theme messages */
.mc-user {
  align-self: flex-end;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.15);
  color: var(--text-bright);
  border-bottom-right-radius: 3px;
}

.mc-ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 3px;
}

.mc-success {
  color: #28c840;
  font-weight: 600;
}

/* WhatsApp theme messages */
.mc-ai-wa {
  align-self: flex-start;
  background: rgba(37, 211, 102, 0.06);
  border: 1px solid rgba(37, 211, 102, 0.12);
  color: var(--text);
  border-bottom-left-radius: 3px;
}

.mc-driver {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-bright);
  border-bottom-right-radius: 3px;
}

.mc-bot-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #25d366;
  margin-bottom: 0.15rem;
  letter-spacing: 0.02em;
}

.mc-driver-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.15rem;
  letter-spacing: 0.02em;
}

.mc-msg {
  opacity: 0;
  transform: translateY(8px);
  animation: mcIn 0.35s ease forwards;
}

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

.mc-typing {
  align-self: flex-start;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  border-bottom-left-radius: 3px;
  display: flex;
  gap: 4px;
  opacity: 0;
  animation: mcIn 0.3s ease forwards;
}

.mc-typing.tg-typing {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.mc-typing.wa-typing {
  background: rgba(37, 211, 102, 0.06);
  border: 1px solid rgba(37, 211, 102, 0.12);
}

.mc-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: typingDot 1.2s infinite;
}

.mc-typing span:nth-child(2) { animation-delay: 0.2s; }
.mc-typing span:nth-child(3) { animation-delay: 0.4s; }

.mc-time {
  font-size: 0.62rem;
  color: var(--text-dim);
  margin-top: 1px;
  text-align: right;
}

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

/* ── How It Works ── */
.steps {
  max-width: 600px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.step-num {
  font-family: var(--mono);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  min-width: 60px;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.65;
}

.step-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin: 0.5rem 0 0.5rem 28px;
  opacity: 0.3;
}

/* ── Register Form ── */
.register {
  padding-bottom: 8rem;
}

.register-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.register-info h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.register-info p {
  color: var(--text-dim);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.register-perks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.perk {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

.register-form {
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  position: relative;
}

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

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

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-bright);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: all 0.3s;
  outline: none;
}

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

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), 0 0 20px rgba(0, 212, 255, 0.05);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-group select option {
  background: #1a1a2e;
  color: var(--text);
}

#submit-btn {
  margin-top: 0.5rem;
  font-size: 1rem;
  padding: 1rem;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

/* Success state */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem 1rem;
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 11, 0.97);
  border-radius: var(--radius);
  animation: successIn 0.5s ease;
}

.form-success.show {
  display: flex;
}

.form-success h3 {
  font-size: 1.5rem;
  color: var(--text-bright);
}

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

@keyframes successIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
}

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

.footer-link:hover {
  color: var(--text-bright);
  text-decoration: underline;
}

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Loading spinner for submit button ── */
.btn-loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn-loading span {
  visibility: hidden;
}

.btn-loading svg {
  visibility: hidden;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Features Page ── */
.features-hero {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10rem 2rem 4rem;
  text-align: center;
}

.features-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.features-hero .hero-sub {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.feature-category {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.feature-category .section-tag {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.feature-icon-wa {
  background: rgba(37, 211, 102, 0.08) !important;
  border-color: rgba(37, 211, 102, 0.15) !important;
  color: #25d366 !important;
}

.feature-icon-tg {
  background: rgba(34, 158, 217, 0.08) !important;
  border-color: rgba(34, 158, 217, 0.15) !important;
  color: #229ed9 !important;
}

.features-cta {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 8rem;
  text-align: center;
}

.features-cta-inner {
  padding: 4rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.features-cta-inner h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.features-cta-inner p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ── FAQ Section ── */
.faq-section {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}

.faq-category {
  margin-bottom: 3rem;
}

.faq-category-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

.faq-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.faq-item.faq-open {
  border-color: rgba(0, 212, 255, 0.25);
  background: var(--bg-card-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  color: var(--text-bright);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.75;
}

.faq-answer strong {
  color: var(--accent);
  font-weight: 700;
}

.faq-highlight {
  border-color: rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.03);
}

.faq-highlight .faq-question span:first-child {
  color: var(--accent);
}

/* ── Category Demo Layout ── */
.category-demo {
  max-width: 1000px;
  margin: -2rem auto 3rem;
  padding: 0 2rem;
}

.category-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.category-demo-text {
  padding-top: 1.5rem;
}

.category-demo-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.category-demo-text p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.category-demo-chat {
  min-width: 0;
}

.category-demo-chat .channel-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
}

.category-demo-chat .mini-chat {
  min-height: 320px;
  max-height: 320px;
}

.category-demo-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.category-demo-dual .mini-chat {
  min-height: 300px;
  max-height: 300px;
  font-size: 0.75rem;
}

.category-demo-dual .mc-msg {
  font-size: 0.72rem;
  padding: 0.45rem 0.65rem;
}

.category-demo-dual .channel-label {
  font-size: 0.72rem;
  padding: 0.55rem 0.85rem;
}

/* ── Legal Pages ── */
.legal-hero {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10rem 2rem 3rem;
  text-align: center;
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.legal-hero .hero-sub {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.legal-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.legal-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-body p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.legal-body ul {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
}

.legal-body li {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 0.3rem;
}

.legal-body a {
  color: var(--accent);
  text-decoration: none;
}

.legal-body a:hover {
  text-decoration: underline;
}

.legal-body strong {
  color: var(--text);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.88rem;
}

.legal-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-bright);
  font-weight: 600;
}

.legal-table td {
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  color: var(--text-dim);
}

/* ── Cookie Consent Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1.25rem 2rem;
  background: rgba(10, 10, 20, 0.97);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(20px);
  display: none;
  animation: cookieSlideUp 0.4s ease;
}

.cookie-banner.show {
  display: block;
}

@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

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

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.cookie-accept {
  background: var(--gradient);
  color: #000;
}

.cookie-accept:hover {
  box-shadow: var(--glow-strong);
  transform: translateY(-1px);
}

.cookie-decline {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.cookie-decline:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

/* ── Footer Contact Section ── */
.footer-contact {
  width: 100%;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-contact-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.footer-contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-contact-links a {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-contact-links a:hover {
  color: var(--accent);
}

.footer-contact-links svg {
  opacity: 0.6;
  flex-shrink: 0;
}

.footer-contact-links a:hover svg {
  opacity: 1;
}

/* ── Our Story ── */
.our-story {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}

.story-text {
  font-size: 1.05rem;
  line-height: 1.8;
}

.story-text p {
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.story-lead {
  font-size: 1.2rem;
  color: var(--text) !important;
  font-weight: 500;
  line-height: 1.7;
}

.story-text strong {
  color: var(--text);
  font-weight: 600;
}

.story-quote {
  position: relative;
  margin: 2rem 0;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  background: rgba(0, 212, 255, 0.04);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.7;
}

.story-signature {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.story-sig-line {
  width: 40px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.story-sig-info {
  display: flex;
  flex-direction: column;
}

.story-sig-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.story-sig-role {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

.story-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 6rem;
}

.story-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.story-stat:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.story-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.story-stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

/* ── Architecture Diagram ── */
.architecture {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.arch-diagram {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 3rem auto 0;
  aspect-ratio: 5 / 4;
}

/* SVG connection lines */
.arch-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.arch-line {
  stroke: url(#arch-grad-mix);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 8 6;
  animation: archFlow 2s linear infinite;
}

.arch-line-tg { stroke: rgba(34, 158, 217, 0.3); }
.arch-line-wa { stroke: rgba(37, 211, 102, 0.3); }

/* Stagger animation per line */
.arch-line:nth-child(3) { animation-delay: -0.3s; }
.arch-line:nth-child(4) { animation-delay: -0.6s; }
.arch-line:nth-child(5) { animation-delay: -0.9s; }
.arch-line:nth-child(6) { animation-delay: -1.2s; }
.arch-line:nth-child(7) { animation-delay: -1.5s; }
.arch-line:nth-child(8) { animation-delay: -1.8s; }
.arch-line:nth-child(9) { animation-delay: -0.15s; }
.arch-line:nth-child(10) { animation-delay: -0.45s; }

@keyframes archFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -28; }
}

/* Data flow labels on SVG paths */
.arch-flow-label {
  font-family: var(--mono);
  font-size: 9px;
  fill: var(--text-dim);
  opacity: 0.4;
  letter-spacing: 0.03em;
}

/* Central hub */
.arch-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
}

.arch-hub-glow {
  position: absolute;
  inset: -35px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  animation: hubPulse 3s ease-in-out infinite;
  z-index: 0;
}

.arch-hub-ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.1);
  animation: hubRingSpin 20s linear infinite;
  z-index: 0;
}

.arch-hub-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

@keyframes hubPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}

@keyframes hubRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.arch-hub-inner {
  position: relative;
  z-index: 1;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(6, 6, 11, 0.95);
  border: 2px solid rgba(0, 212, 255, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.15), 0 0 100px rgba(0, 212, 255, 0.06), inset 0 0 30px rgba(0, 212, 255, 0.04);
}

.arch-hub-icon {
  font-size: 1.6rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.arch-hub-label {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: 0.05em;
}

.arch-hub-sub {
  font-size: 0.6rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.1rem;
}

/* AI capability badges (inner ring) */
.arch-caps {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}

.arch-cap {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(6, 6, 11, 0.9);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 20px;
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Position badges evenly around the hub — clock positions */
.arch-cap-1 { top: 0;    left: 50%;  transform: translateX(-50%); }        /* 12 o'clock */
.arch-cap-2 { top: 15%;  right: 0;   }                                       /* 2 o'clock */
.arch-cap-3 { bottom: 15%; right: 0; }                                       /* 4 o'clock */
.arch-cap-4 { bottom: 0; left: 50%;  transform: translateX(-50%); }         /* 6 o'clock */
.arch-cap-5 { bottom: 15%; left: 0;  }                                       /* 8 o'clock */
.arch-cap-6 { top: 15%;  left: 0;    }                                       /* 10 o'clock */

/* Peripheral nodes */
.arch-node {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  transition: all 0.4s;
  cursor: default;
  text-align: center;
  width: 150px;
}

.arch-node:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--glow);
  transform: translateY(-4px);
}

/* 8 node positions — evenly distributed */
/* Top row: 3 nodes */
.arch-node-telegram  { top: 0; left: 0; }
.arch-node-pricing   { top: 0; left: 50%; transform: translateX(-50%); }
.arch-node-whatsapp  { top: 0; right: 0; }
/* Middle row: 2 nodes */
.arch-node-exchanges { top: 50%; left: 0; transform: translateY(-50%); }
.arch-node-maps      { top: 50%; right: 0; transform: translateY(-50%); }
/* Bottom row: 3 nodes */
.arch-node-email     { bottom: 0; left: 0; }
.arch-node-voice     { bottom: 0; left: 50%; transform: translateX(-50%); }
.arch-node-schedule  { bottom: 0; right: 0; }

/* Override hover for translated nodes */
.arch-node-pricing:hover   { transform: translateX(-50%) translateY(-4px); }
.arch-node-voice:hover     { transform: translateX(-50%) translateY(-4px); }
.arch-node-exchanges:hover { transform: translateY(calc(-50% - 4px)); }
.arch-node-maps:hover      { transform: translateY(calc(-50% - 4px)); }

/* Node icon */
.arch-node-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.arch-node-icon svg {
  width: 20px;
  height: 20px;
}

.arch-node-icon-tg {
  background: rgba(34, 158, 217, 0.1);
  border-color: rgba(34, 158, 217, 0.25);
  color: #229ed9;
}

.arch-node-icon-wa {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.25);
  color: #25d366;
}

.arch-node-icon-maps {
  background: rgba(66, 133, 244, 0.1);
  border-color: rgba(66, 133, 244, 0.25);
  color: #4285f4;
}

.arch-node-icon-voice {
  background: rgba(123, 47, 247, 0.1);
  border-color: rgba(123, 47, 247, 0.25);
  color: #7b2ff7;
}

.arch-node-icon-schedule {
  background: rgba(255, 165, 0, 0.08);
  border-color: rgba(255, 165, 0, 0.2);
  color: #ffa500;
}

.arch-node-icon-pricing {
  background: rgba(0, 255, 136, 0.08);
  border-color: rgba(0, 255, 136, 0.2);
  color: #00ff88;
}

.arch-node-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-bright);
  line-height: 1.2;
}

.arch-node-role {
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.arch-node-detail {
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--accent);
  opacity: 0.5;
  margin-top: 0.1rem;
  letter-spacing: 0.01em;
}

/* ── Footer Legal Links ── */
.footer-inner {
  flex-wrap: wrap;
}

.footer-legal {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: var(--accent);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 7rem;
    gap: 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .register-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .category-demo-grid {
    grid-template-columns: 1fr;
  }

  .category-demo-chat {
    order: -1;
  }

  .category-demo-dual {
    grid-template-columns: 1fr;
  }

  .story-content {
    grid-template-columns: 1fr;
  }

  .story-stats {
    flex-direction: row;
    position: static;
  }

  .story-stat {
    flex: 1;
  }

  /* Architecture — vertical stack on tablet/mobile */
  .arch-diagram {
    aspect-ratio: unset;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    max-width: 360px;
  }

  .arch-lines {
    display: none;
  }

  .arch-hub {
    position: static;
    transform: none;
    margin-bottom: 0.75rem;
  }

  .arch-hub-ring {
    display: none;
  }

  .arch-caps {
    display: none;
  }

  .arch-node {
    position: static;
    width: 100%;
    flex-direction: row;
    gap: 0.85rem;
    text-align: left;
    padding: 0.85rem 1.1rem;
    min-width: unset;
    transform: none !important;
  }

  .arch-node::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: linear-gradient(to bottom, rgba(0, 212, 255, 0.3), transparent);
  }

  .arch-node:hover {
    transform: none !important;
  }

  .arch-node-detail {
    display: none;
  }

  .arch-node-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
  }

  .story-stats {
    flex-direction: column;
  }

  .story-quote {
    font-size: 1rem;
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  }

  .our-story {
    padding: 4rem 1.25rem;
  }

  .architecture {
    padding: 4rem 1rem;
  }

  .arch-hub-inner {
    width: 110px;
    height: 110px;
  }

  .arch-hub-icon {
    font-size: 1.5rem;
  }

  .arch-hub-label {
    font-size: 0.95rem;
  }

  .arch-diagram {
    max-width: 280px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .nav {
    padding: 0.75rem 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .features, .how-it-works, .register {
    padding: 4rem 1rem;
  }

  .feature-category {
    padding: 3rem 1rem 1rem;
  }

  .features-hero {
    padding: 8rem 1rem 2rem;
  }

  .category-demo {
    padding: 0 1rem;
    margin-bottom: 2rem;
  }

  .features-cta {
    padding: 4rem 1rem 6rem;
  }

  .features-cta-inner {
    padding: 3rem 1.5rem;
  }

  .faq-section {
    padding: 1rem 1rem 3rem;
  }

  .register-form {
    padding: 1.5rem;
  }

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

  .footer-legal {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    justify-content: center;
  }

  .step {
    gap: 1.25rem;
  }

  .step-num {
    font-size: 2rem;
    min-width: 45px;
  }

  .legal-hero {
    padding: 8rem 1rem 2rem;
  }

  .legal-content {
    padding: 0 1rem 4rem;
  }

  .cookie-banner {
    padding: 1rem;
  }

  .cookie-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}

/* ── Pricing Page ── */

/* Infrastructure Manifest */
.pricing-manifest {
  max-width: 900px;
  margin: 0 auto;
}

.pricing-manifest-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.manifest-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.3s;
}

.manifest-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.manifest-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.manifest-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 0.3rem;
}

.manifest-info p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* Comparison Grid */
.pricing-compare {
  max-width: 900px;
  margin: 0 auto;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.compare-column {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.compare-column h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.compare-without {
  border-color: rgba(255, 80, 80, 0.15);
  background: rgba(255, 80, 80, 0.03);
}

.compare-without h3 {
  color: #ff6b6b;
  border-bottom-color: rgba(255, 80, 80, 0.12);
}

.compare-with {
  border-color: rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.03);
  box-shadow: var(--glow);
}

.compare-with h3 {
  color: var(--accent);
  border-bottom-color: rgba(0, 212, 255, 0.15);
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.compare-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-dim);
  gap: 1rem;
}

.compare-item span:last-child {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.compare-without .compare-item span:last-child {
  color: #ff6b6b;
}

.compare-with .compare-item span:last-child {
  color: var(--accent);
  font-weight: 600;
}

.compare-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 700;
}

.compare-total span:first-child {
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.compare-total span:last-child {
  font-family: var(--mono);
  font-size: 1.25rem;
  color: #ff6b6b;
}

.compare-total-accent span:last-child {
  color: var(--accent) !important;
}

.compare-total-accent {
  border-top-color: rgba(0, 212, 255, 0.15);
}

/* Price Card */
.pricing-reveal {
  max-width: 520px;
  margin: 0 auto;
}

.price-card {
  padding: 3rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.03);
  text-align: center;
  box-shadow: var(--glow-strong);
  position: relative;
}

.price-type {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.price-amount {
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.price-vat {
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.price-perks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  margin-bottom: 2rem;
}

.spots-badge {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.25);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: spotsPulse 2s ease-in-out infinite;
}

@keyframes spotsPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.2); }
  50% { box-shadow: 0 0 20px 4px rgba(0, 212, 255, 0.15); }
}

/* Transparency Card */
.transparency-card {
  max-width: 750px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.transparency-card p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.75;
}

.transparency-card p + p {
  margin-top: 1rem;
}

/* Trial & Guarantee Grid */
.pricing-trial-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.trial-card {
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.trial-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 1rem;
}

.trial-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.guarantee-card {
  border-color: rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.03);
  position: relative;
}

.guarantee-badge {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Pricing Notice */
.pricing-notice {
  max-width: 750px;
  margin: 0 auto;
  padding: 1.75rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
}

.pricing-notice p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.pricing-notice strong {
  color: var(--accent);
  font-weight: 700;
}

/* Pricing Responsive */
@media (max-width: 900px) {
  .pricing-manifest-list {
    grid-template-columns: 1fr;
  }
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .pricing-trial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .price-card {
    padding: 2rem 1.5rem;
  }
  .transparency-card {
    padding: 1.75rem;
  }
  .trial-card {
    padding: 1.75rem;
  }
  .pricing-notice {
    padding: 1.25rem 1.5rem;
  }
  .compare-column {
    padding: 1.5rem;
  }
}

/* ── Register Page ── */
.register-hero {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10rem 2rem 3rem;
  text-align: center;
}

.register-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.register-hero .hero-sub {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* Launch Countdown Timer */
.launch-countdown {
  margin-top: 2.5rem;
  padding: 2rem 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: inline-block;
  text-align: center;
}

.countdown-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.countdown-units {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.countdown-value {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 68px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.15);
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 800;
  background-image: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.countdown-tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.countdown-sep {
  font-family: var(--mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
}

.countdown-date {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* Founding Member Counter */
.founding-counter-section {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}

.founding-counter {
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.03);
  text-align: center;
  box-shadow: var(--glow);
}

.counter-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.counter-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.counter-number {
  display: flex;
  gap: 0.15rem;
}

.counter-digit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 88px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  font-family: var(--mono);
  font-size: 3.5rem;
  font-weight: 800;
  background-image: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  overflow: hidden;
}

.counter-of {
  font-size: 1.1rem;
  color: var(--text-dim);
  font-weight: 500;
}

.counter-of span {
  color: var(--text);
  font-weight: 700;
  font-family: var(--mono);
}

.counter-bar-track {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 1rem;
}

.counter-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--gradient);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}

.counter-note {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Founding Member Perks */
.founding-perks {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
}

.founding-perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.founding-perk {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.3s;
}

.founding-perk:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.founding-perk-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}

.founding-perk h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.founding-perk p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* Register Form Section */
.register-form-section {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
}

.register-form-wrapper {
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}

.register-form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.register-form-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.register-form-header p {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.register-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.register-form-fields .form-group:first-child,
.register-form-fields .form-group:nth-child(2) {
  grid-column: span 1;
}

.register-form-section .register-form {
  position: relative;
}

.form-confirmations {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.4;
  transition: color 0.3s;
}

.form-check input[type="checkbox"] {
  display: none;
}

.form-check-box {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 5px;
  border: 1.5px solid var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.form-check-box::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: rotate(-45deg) translateY(-1px);
  transition: border-color 0.25s;
}

.form-check input:checked + .form-check-box {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.12);
}

.form-check input:checked + .form-check-box::after {
  border-color: var(--accent);
}

.form-check a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  transition: border-color 0.3s;
}

.form-check a:hover {
  border-bottom-color: var(--accent);
}

.form-check-error {
  color: #ff6b6b;
}

.form-check-error .form-check-box {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
}

.register-form-section #submit-btn {
  margin-top: 1.25rem;
  font-size: 1rem;
  padding: 1rem;
}

.register-form-section .form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
}

.form-disclaimer {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 165, 0, 0.15);
  background: rgba(255, 165, 0, 0.04);
}

.form-disclaimer > svg {
  min-width: 16px;
  margin-top: 1px;
  color: #ffa500;
}

.form-disclaimer p {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.form-disclaimer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.success-spot-count {
  margin-top: 0.75rem;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-block;
}

/* Counter digit flip animation */
@keyframes digitFlip {
  0% { transform: translateY(0); opacity: 1; }
  40% { transform: translateY(-30%); opacity: 0; }
  60% { transform: translateY(30%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.counter-digit.flipping {
  animation: digitFlip 0.6s ease;
}

/* ── Thank You Page ── */
.thankyou-hero {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10rem 2rem 2rem;
  text-align: center;
}

.thankyou-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.thankyou-hero .hero-sub {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.thankyou-icon {
  margin-bottom: 1.5rem;
  animation: thankPulse 2s ease-in-out infinite;
}

@keyframes thankPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(0,212,255,0)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(0,212,255,0.3)); }
}

.thankyou-steps {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}

.thankyou-countdown {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}

.thankyou-countdown-inner {
  padding: 3rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.thankyou-countdown-inner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 2rem;
}

.thankyou-countdown .launch-countdown {
  border: none;
  background: none;
  padding: 0;
  margin-top: 0;
}

.thankyou-ctas {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
}

.thankyou-ctas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.thankyou-cta-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.thankyou-cta-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

.thankyou-cta-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}

.thankyou-cta-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.4rem;
}

.thankyou-cta-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.55;
  flex: 1;
}

.thankyou-cta-arrow {
  font-size: 1.25rem;
  color: var(--accent);
  margin-top: 1rem;
  transition: transform 0.3s;
}

.thankyou-cta-card:hover .thankyou-cta-arrow {
  transform: translateX(4px);
}

/* Register + Thank You Responsive */
@media (max-width: 900px) {
  .founding-perks-grid {
    grid-template-columns: 1fr;
  }
  .thankyou-ctas-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .register-hero {
    padding: 8rem 1rem 2rem;
  }

  .founding-counter-section {
    padding: 0 1rem 2rem;
  }

  .founding-counter {
    padding: 1.75rem;
  }

  .counter-digit {
    width: 50px;
    height: 70px;
    font-size: 2.75rem;
  }

  .founding-perks {
    padding: 1rem 1rem 2rem;
  }

  .register-form-section {
    padding: 1rem 1rem 4rem;
  }

  .register-form-wrapper {
    padding: 1.5rem;
  }

  .register-form-fields {
    grid-template-columns: 1fr;
  }

  .launch-countdown {
    padding: 1.5rem 1.25rem;
    width: 100%;
  }

  .countdown-value {
    width: 48px;
    height: 56px;
    font-size: 1.5rem;
  }

  .countdown-sep {
    font-size: 1.25rem;
  }

  .countdown-units {
    gap: 0.3rem;
  }

  .thankyou-hero {
    padding: 8rem 1rem 1rem;
  }

  .thankyou-countdown {
    padding: 2rem 1rem;
  }

  .thankyou-countdown-inner {
    padding: 2rem 1.25rem;
  }

  .thankyou-ctas {
    padding: 1rem 1rem 4rem;
  }

  .thankyou-steps {
    padding: 2rem 1rem 1rem;
  }
}

/* ── Blog Page ── */
.blog-grid {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.blog-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: all 0.4s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Article Page */
.article-hero {
  position: relative;
  z-index: 1;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 8rem 2rem 3rem;
  overflow: hidden;
}

.article-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.article-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.article-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 50%, rgba(6,6,11,0.8) 100%);
}

.article-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.article-hero-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.article-hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.article-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.article-body {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.85;
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-bright);
  margin: 2.5rem 0 1rem;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-bright);
  margin: 2rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
  color: var(--text-dim);
}

.article-body li strong {
  color: var(--text);
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(0, 212, 255, 0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
}

.article-body img {
  width: 100%;
  border-radius: var(--radius);
  margin: 2rem 0;
  border: 1px solid var(--border);
}

.article-body a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  transition: border-color 0.3s;
}

.article-body a:hover {
  border-bottom-color: var(--accent);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: gap 0.3s;
}

.article-back:hover {
  gap: 0.75rem;
}

.related-articles {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.related-articles h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 1.5rem;
  text-align: center;
}

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

/* Blog Responsive */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
    padding: 0 1.5rem 4rem;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    padding: 0 1rem 3rem;
  }
  .article-hero {
    min-height: 300px;
    padding: 7rem 1rem 2rem;
  }
  .article-content {
    padding: 2rem 1rem 3rem;
  }
  .related-articles {
    padding: 0 1rem 4rem;
  }
  .blog-card-body {
    padding: 1.25rem;
  }
}
