/* ==========================================================================
   EDGE VM TRANSFER & MIGRATION LANDING PAGE — STYLESHEET
   Design System: Deep Space Dark Mode, Glassmorphism, Neon Cyber Accents
   ========================================================================== */

:root {
  --bg-primary: #070913;
  --bg-secondary: #0d1224;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(22, 34, 62, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(56, 189, 248, 0.35);
  --border-glow: rgba(99, 102, 241, 0.4);

  --accent-cyan: #38bdf8;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ─── Ambient Glow Backgrounds ────────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
  animation: pulseGlow 12s ease-in-out infinite alternate;
}

.glow-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-indigo), transparent 70%);
  top: -100px;
  left: 10%;
}

.glow-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-cyan), transparent 70%);
  bottom: 5%;
  right: 5%;
  animation-delay: -6s;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.2; }
  50% { transform: scale(1.15) translate(20px, -20px); opacity: 0.32; }
  100% { transform: scale(0.95) translate(-20px, 15px); opacity: 0.2; }
}

/* ─── Layout ──────────────────────────────────────────────────────────── */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 80px 24px;
}

/* ─── Header ──────────────────────────────────────────────────────────── */
.site-header {
  display: flex;
  justifyContent: space-between;
  align-items: center;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text span {
  color: var(--accent-cyan);
  -webkit-text-fill-color: var(--accent-cyan);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.status-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ─── Hero Section ────────────────────────────────────────────────────── */
.hero-section {
  text-align: center;
  margin-bottom: 56px;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

/* ─── Domain Transition Box (Interactive Visual Match) ────────────────── */
.transition-box {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.transition-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-rose), var(--accent-indigo), var(--accent-cyan));
}

.domain-transition-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.domain-card {
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: left;
  transition: all 0.25s ease;
  position: relative;
}

.domain-card.old {
  background: rgba(244, 63, 94, 0.05);
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.domain-card.new {
  background: rgba(56, 189, 248, 0.07);
  border: 1px solid var(--border-highlight);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.15);
}

.domain-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.domain-card.old .domain-label { color: #fb7185; }
.domain-card.new .domain-label { color: var(--accent-cyan); }

.domain-name {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
  word-break: break-all;
}

.domain-card.old .domain-name {
  color: var(--text-secondary);
  text-decoration: line-through;
  opacity: 0.85;
}

.domain-card.new .domain-name {
  color: #ffffff;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.domain-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.transition-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.arrow-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(56, 189, 248, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  animation: pulseArrow 2s infinite ease-in-out;
}

@keyframes pulseArrow {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
  50% { transform: scale(1.08); box-shadow: 0 0 16px rgba(56, 189, 248, 0.6); }
}

.arrow-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

/* ─── Countdown & Actions Bar ─────────────────────────────────────────── */
.countdown-container {
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  justifyContent: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.countdown-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.countdown-timer-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid rgba(56, 189, 248, 0.25);
  border-top-color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-cyan);
  transition: all 0.2s ease;
}

.countdown-timer-circle.paused {
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--accent-amber);
}

.countdown-text-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #f8fafc;
}

.countdown-text-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #ffffff;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(56, 189, 248, 0.55);
}

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

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

/* ─── Seamless Transition Notice (Important info for clients) ────────── */
.info-banner {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.info-banner-icon {
  font-size: 1.8rem;
}

.info-banner-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #c7d2fe;
  margin-bottom: 2px;
}

.info-banner-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ─── Comparison Section ──────────────────────────────────────────────── */
.section-heading {
  text-align: center;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.feature-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.feature-diff-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.diff-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.diff-old {
  color: #94a3b8;
  text-decoration: line-through;
  opacity: 0.75;
}

.diff-arrow {
  color: var(--text-muted);
}

.diff-new {
  color: #34d399;
  font-weight: 700;
}

/* ─── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
  display: flex;
  justifyContent: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ─── Toast Notifications ─────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 20px;
  background: #0f172a;
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ─── Responsive Media Queries ────────────────────────────────────────── */
@media (max-width: 768px) {
  .domain-transition-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .domain-card {
    text-align: center;
  }

  .domain-card .domain-label {
    justify-content: center;
  }

  .transition-arrow {
    transform: rotate(90deg);
    margin: 8px 0;
  }

  .countdown-container {
    flex-direction: column;
    text-align: center;
  }

  .countdown-info {
    flex-direction: column;
  }

  .action-buttons {
    width: 100%;
    justify-content: center;
  }

  .site-header {
    flex-direction: column;
    gap: 16px;
  }
}
