/* ============================================================
   VERCEL DEMO — style.css
   Dark theme · Glassmorphism · Animated gradient · Responsive
   ============================================================ */

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

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-deep:     #050b18;
  --bg-mid:      #0d1b35;
  --glass-bg:    rgba(255, 255, 255, 0.05);
  --glass-border:rgba(255, 255, 255, 0.12);
  --accent-1:    #6c63ff;
  --accent-2:    #00d4ff;
  --accent-3:    #a259ff;
  --text-primary:#f0f4ff;
  --text-muted:  #8892b0;
  --card-glow:   rgba(108, 99, 255, 0.3);
  --radius-lg:   20px;
  --radius-md:   12px;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Animated gradient background ──────────────────────────── */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--bg-deep);
  overflow: hidden;
}

.bg-gradient::before,
.bg-gradient::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: drift 14s ease-in-out infinite alternate;
}

.bg-gradient::before {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #6c63ff 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation-duration: 14s;
}

.bg-gradient::after {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #00d4ff 0%, transparent 70%);
  bottom: -180px;
  right: -180px;
  animation-duration: 18s;
  animation-delay: -6s;
}

.bg-orb-mid {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  background: radial-gradient(circle, #a259ff 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* ── Layout wrapper ─────────────────────────────────────────── */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Live clock ─────────────────────────────────────────────── */
.clock-badge {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 100;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-2);
  letter-spacing: 0.04em;
  user-select: none;
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.1);
  transition: opacity var(--transition);
}

/* ── Main content ───────────────────────────────────────────── */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  gap: 56px;
}

/* ── Hero section ───────────────────────────────────────────── */
.hero {
  text-align: center;
  max-width: 760px;
  animation: fadeUp 0.9s ease both;
}

/* Cloud SVG illustration */
.cloud-wrap {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
  animation: floatCloud 6s ease-in-out infinite;
}

@keyframes floatCloud {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

.cloud-svg {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 8px 30px rgba(108, 99, 255, 0.5))
          drop-shadow(0 0 60px rgba(0, 212, 255, 0.3));
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-2) 50%, var(--accent-1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.hero p.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  font-weight: 400;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Deployed-by card ───────────────────────────────────────── */
.card-section {
  animation: fadeUp 0.9s 0.2s ease both;
}

.deployed-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  padding: 36px 48px;
  text-align: center;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(108, 99, 255, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px var(--card-glow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.deployed-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(108, 99, 255, 0.3),
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 120px rgba(108, 99, 255, 0.4);
}

.deployed-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.4), rgba(0, 212, 255, 0.2), transparent 60%);
  z-index: -1;
  opacity: 0.6;
}

.card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.card-name {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

/* ── Steps strip ────────────────────────────────────────────── */
.steps-section {
  animation: fadeUp 0.9s 0.4s ease both;
  width: 100%;
  max-width: 720px;
}

.steps-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 16px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 120px;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  position: relative;
  transition: transform var(--transition);
}

.step:hover .step-icon {
  transform: scale(1.12);
}

.step-icon.s1 { background: linear-gradient(135deg, #6c63ff, #a259ff); box-shadow: 0 6px 24px rgba(108,99,255,0.4); }
.step-icon.s2 { background: linear-gradient(135deg, #1a1a2e, #2d2d60); border: 1.5px solid rgba(108,99,255,0.4); box-shadow: 0 6px 24px rgba(0,0,0,0.3); }
.step-icon.s3 { background: linear-gradient(135deg, #000, #1a1a1a); border: 1.5px solid rgba(255,255,255,0.15); box-shadow: 0 6px 24px rgba(0,0,0,0.3); }
.step-icon.s4 { background: linear-gradient(135deg, #00d4ff, #0099bb); box-shadow: 0 6px 24px rgba(0,212,255,0.4); }

.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-align: center;
}

.step-arrow {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.2);
  flex: 0;
  margin: 0 4px;
  padding-bottom: 22px; /* align with icon center */
}

/* ── Fade-up animation ──────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  animation: fadeUp 0.9s 0.6s ease both;
}

footer p {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

footer span {
  color: var(--accent-1);
  font-weight: 600;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .clock-badge { top: 14px; right: 14px; font-size: 0.72rem; padding: 6px 14px; }
  main { padding: 70px 16px 48px; gap: 40px; }
  .deployed-card { padding: 28px 24px; }
  .step-arrow { display: none; }
  .steps-strip { gap: 16px; }
}

/* ── No-JS graceful fallback ────────────────────────────────── */
.no-js .clock-badge { display: none; }
