/* ===========================
   VERIT
   Brand: #524768 (purple), #739BA4 (teal)
   Fonts: Nunito (body), Outfit (display)
=========================== */

:root {
  --purple: #524768;
  --purple-dark: #3a3251;
  --purple-light: #6a5e85;
  --teal: #739BA4;
  --teal-light: #9bbec6;
  --white: #ffffff;
  --off-white: #f4f3f7;
  --text-muted: rgba(82, 71, 104, 0.55);
  --border: rgba(82, 71, 104, 0.12);

  --font-display: 'Nunito', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--off-white);
  color: var(--purple);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ---- Background ambience ---- */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.bg-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(115, 155, 164, 0.18) 0%, transparent 70%);
  top: -120px;
  right: -150px;
  animation: floatOrb1 12s ease-in-out infinite alternate;
}

.bg-orb--2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(82, 71, 104, 0.10) 0%, transparent 70%);
  bottom: 80px;
  left: -100px;
  animation: floatOrb2 16s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 60px) scale(1.08); }
}
@keyframes floatOrb2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-30px, -50px) scale(1.05); }
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(82,71,104,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82,71,104,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ---- Layout ---- */
.wrapper {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Header ---- */
.header {
  padding: 48px 0 0;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeUp 0.7s var(--ease-out) 0.1s forwards;
}

.logo {
  height: 44px;
  width: auto;
  display: block;
}

/* ---- Hero ---- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 0 48px;
  max-width: 680px;
}

/* Eyebrow */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.6s var(--ease-out) 0.3s forwards;
}

.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* Headline */
.headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--purple);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s var(--ease-out) 0.45s forwards;
}

.headline em {
  font-style: normal;
  color: var(--teal);
  position: relative;
}

.headline em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  opacity: 0.4;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineGrow 0.6s var(--ease-out) 1.1s forwards;
}

@keyframes underlineGrow {
  to { transform: scaleX(1); }
}

/* Subheadline */
.subheadline {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--purple-light);
  max-width: 540px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s var(--ease-out) 0.6s forwards;
}

/* Badge */
.badge-wrap {
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.6s var(--ease-out) 0.75s forwards;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  box-shadow: 0 4px 24px rgba(82, 71, 104, 0.08);
}

.badge__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  position: relative;
  flex-shrink: 0;
}

.badge__pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(115, 155, 164, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: 0; }
}

.badge__label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
}

/* Notify form */
.notify-form {
  width: 100%;
  max-width: 520px;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.7s var(--ease-out) 0.9s forwards;
}

.input-wrap {
  display: flex;
  gap: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 8px 32px rgba(82, 71, 104, 0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-wrap:focus-within {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(115, 155, 164, 0.18);
}

.notify-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--purple);
  min-width: 0;
}

.notify-input::placeholder {
  color: var(--text-muted);
}

.notify-btn {
  flex-shrink: 0;
  background: var(--purple);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s;
}

.notify-btn:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
}

.notify-btn:active {
  transform: translateY(0);
}

.form-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  padding-left: 4px;
}

/* Success message */
.success-msg {
  display: none;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
  margin-top: 16px;
  opacity: 0;
  animation: fadeUp 0.5s var(--ease-out) forwards;
}

.success-msg.visible {
  display: flex;
  opacity: 1;
}

/* ---- Feature pillars ---- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 0 72px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
}

.pillar {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(82, 71, 104, 0.10);
}

.pillar:hover::before {
  transform: scaleX(1);
}

.pillar__icon {
  width: 52px;
  height: 52px;
  background: rgba(115, 155, 164, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pillar__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 8px;
}

.pillar__body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--purple-light);
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 1.5s forwards;
}

.footer p {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-body);
}

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Responsive ---- */
@media (max-width: 720px) {
  .wrapper { padding: 0 20px; }

  .pillars {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 52px;
  }

  .hero { padding: 48px 0 36px; }

  .input-wrap {
    flex-direction: column;
    padding: 10px;
    gap: 8px;
    border-radius: 16px;
  }

  .notify-input {
    padding: 10px 8px;
  }

  .notify-btn {
    padding: 14px 24px;
    border-radius: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .header { padding-top: 32px; }
  .logo { height: 36px; }

  .headline { font-size: 36px; }
}
