@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800;900&display=swap');

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

:root {
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-sky: #38bdf8;
  --accent-purple: #c084fc;
  --bg-deep: #0b0f1a;
  --bg-panel: rgba(15, 20, 40, 0.85);
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.18) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 80%, rgba(56, 189, 248, 0.12) 0%, transparent 55%),
              #0b0f1a;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Subtle dot grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px, 30px 30px;
  background-position: 0 0, 15px 15px;
  pointer-events: none;
  z-index: 0;
}

.welcome-container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Hero top badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.5px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--accent-light);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.welcome-content {
  text-align: center;
  padding: 48px 40px;
  background: linear-gradient(135deg, rgba(15, 20, 40, 0.9), rgba(20, 28, 55, 0.8));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 28px;
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 30px 80px rgba(0,0,0,0.5);
}

/* Logo + badge header block */
.header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(56, 189, 248, 0.2));
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 22px;
  overflow: hidden;
}

.welcome-title {
  font-size: 2.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, #818cf8 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
  margin-bottom: 14px;
}

.welcome-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Screenshot section */
.instruction-text {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.instruction-text strong {
  font-weight: 700;
  color: var(--text-main);
}

.screenshot-container {
  margin: 20px auto 36px;
  max-width: 760px;
  text-align: center;
}

.screenshot-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #6366f1, #38bdf8);
  color: #fff;
  border: none;
  padding: 16px 44px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  text-decoration: none;
  margin-top: 8px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.6);
}

.cta-button:active {
  transform: translateY(-1px);
}

.cta-button:focus {
  outline: 3px solid rgba(99, 102, 241, 0.5);
  outline-offset: 2px;
}

.cta-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.disclaimer {
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
}

@media (max-width: 640px) {
  .welcome-content {
    padding: 32px 20px;
  }

  .welcome-title {
    font-size: 1.9rem;
  }

  .instruction-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .welcome-title {
    font-size: 1.6rem;
  }

  .cta-button {
    font-size: 0.95rem;
    padding: 14px 32px;
  }
}

@keyframes breatheGlow {
  0%, 100% { opacity: 0.4; transform: scale(0.98); }
  50% { opacity: 0.9; transform: scale(1.02); }
}

.breathe-animation {
  animation: breatheGlow 4s infinite ease-in-out;
}

@keyframes pulse-ring {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99,102,241,0.7); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 10px rgba(99,102,241,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(99,102,241,0); }
}

.btn-pulse {
  animation: pulse-ring 2s infinite cubic-bezier(0.66, 0, 0, 1);
}
