/* =========================================================
   IASE System — Under Development landing page
   Theme: soft lavender / light purple, modern & professional
   ========================================================= */

:root {
  --bg-1: #f6f3ff;
  --bg-2: #ece6ff;
  --bg-3: #ffffff;

  --surface: rgba(255, 255, 255, 0.72);
  --surface-border: rgba(127, 92, 214, 0.14);

  --text-strong: #1f1633;
  --text-body: #4b4365;
  --text-muted: #7a7390;

  --primary: #7c5cd6;
  --primary-600: #6a48c7;
  --primary-100: #ece4ff;

  --accent-grad: linear-gradient(135deg, #8a6ce0 0%, #b89cf2 100%);

  --shadow-sm: 0 4px 14px rgba(95, 65, 180, 0.06);
  --shadow-md: 0 18px 40px -12px rgba(95, 65, 180, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(95, 65, 180, 0.25);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 60%, #f3eeff 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Decorative background ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}

.blob-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #c8b3f5 0%, transparent 70%);
  top: -160px;
  left: -140px;
  animation: float 18s ease-in-out infinite;
}

.blob-2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, #d8c5fb 0%, transparent 70%);
  bottom: -160px;
  right: -120px;
  animation: float 22s ease-in-out infinite reverse;
}

.blob-3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #e7dcff 0%, transparent 70%);
  top: 40%;
  left: 55%;
  opacity: 0.45;
  animation: float 26s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(20px, -25px) scale(1.05); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 92, 214, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 214, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* ---------- Layout ---------- */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.card {
  width: 100%;
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

/* ---------- Logo ---------- */
.logo-wrap {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: linear-gradient(160deg, #ffffff 0%, #f1ebff 100%);
  border: 1px solid rgba(124, 92, 214, 0.12);
  box-shadow: var(--shadow-md);
}

.logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

/* ---------- Brand & Badge ---------- */
.brand {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-600);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-100);
  color: var(--primary-600);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(124, 92, 214, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(124, 92, 214, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(124, 92, 214, 0); }
  100% { box-shadow: 0 0 0 0   rgba(124, 92, 214, 0); }
}

/* ---------- Typography ---------- */
.headline {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-strong);
}

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

.subtitle {
  margin: 0 auto 32px;
  max-width: 460px;
  font-size: 1.03rem;
  line-height: 1.65;
  color: var(--text-body);
}

/* ---------- Progress bar ---------- */
.progress {
  width: 100%;
  max-width: 320px;
  height: 6px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: rgba(124, 92, 214, 0.12);
  overflow: hidden;
  position: relative;
}

.progress-bar {
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: 999px;
  background: var(--accent-grad);
  animation: slide 2.4s ease-in-out infinite;
}

@keyframes slide {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(80%); }
  100% { transform: translateX(250%); }
}

.footnote {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* ---------- Footer ---------- */
.footer {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* =========================================================
   Responsive breakpoints
   ========================================================= */

/* Tablet */
@media (max-width: 768px) {
  .card {
    padding: 44px 32px;
    border-radius: var(--radius-md);
  }
  .logo-wrap {
    width: 84px;
    height: 84px;
    border-radius: 20px;
  }
  .logo {
    width: 62px;
    height: 62px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  body {
    padding: 20px 14px;
  }
  .card {
    padding: 36px 22px;
  }
  .brand {
    font-size: 0.74rem;
    letter-spacing: 0.18em;
  }
  .headline {
    font-size: 1.7rem;
  }
  .subtitle {
    font-size: 0.96rem;
  }
  .logo-wrap {
    width: 76px;
    height: 76px;
    margin-bottom: 16px;
  }
  .logo {
    width: 56px;
    height: 56px;
  }
  .blob { filter: blur(70px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .blob,
  .dot,
  .progress-bar,
  .card {
    animation: none !important;
  }
}
