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

:root {
  --bg-deep: #0a0e1a;
  --bg-surface: #0f1424;
  --bg-card: #141a2e;
  --accent-teal: #2dd4a8;
  --accent-teal-dim: rgba(45, 212, 168, 0.15);
  --accent-teal-glow: rgba(45, 212, 168, 0.3);
  --text-primary: #e8ecf4;
  --text-secondary: #8892a8;
  --text-muted: #5a6478;
  --border: rgba(255, 255, 255, 0.06);
  --border-focus: rgba(45, 212, 168, 0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Ambient background ── */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(45, 212, 168, 0.04) 0%, transparent 65%);
  animation: drift 25s ease-in-out infinite alternate;
}
.ambient::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(30, 64, 120, 0.06) 0%, transparent 65%);
  animation: drift 20s ease-in-out infinite alternate-reverse;
}

/* ── Grain overlay ── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* ── Layout ── */
.page {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 0 24px;
}

/* ── Header / Logo ── */
.header {
  width: 100%;
  max-width: 1100px;
  padding: 48px 0 0;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.2s forwards;
}
.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.logo .dot {
  color: var(--accent-teal);
  font-size: 32px;
  line-height: 1;
}

/* ── Hero ── */
.hero {
  width: 100%;
  max-width: 1100px;
  padding: 100px 0 40px;
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.9s ease-out 0.5s forwards;
}
.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-teal);
  background: var(--accent-teal-dim);
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(45, 212, 168, 0.15);
  margin-bottom: 40px;
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  max-width: 780px;
  margin: 0 auto 28px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-teal);
}
.hero p {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Value Proposition ── */
.value-prop {
  width: 100%;
  max-width: 760px;
  text-align: center;
  padding: 0 0 8px;
  opacity: 0;
  animation: fadeUp 0.9s ease-out 0.75s forwards;
}
.value-prop .statement {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-primary);
  max-width: 680px;
  margin: 0 auto 24px;
}
.value-prop .statement .highlight {
  color: var(--accent-teal);
}
.value-prop .kicker {
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}
.value-prop .kicker strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ── Divider line ── */
.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
  margin: 48px auto;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.8s forwards;
}

/* ── Form Section ── */
.form-section {
  width: 100%;
  max-width: 560px;
  opacity: 0;
  animation: fadeUp 0.9s ease-out 1s forwards;
  padding-bottom: 80px;
}
.form-heading {
  text-align: center;
  margin-bottom: 40px;
}
.form-heading h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.form-heading p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--accent-teal-glow) 50%, transparent 90%);
}

.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--text-primary);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
  font-weight: 300;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--accent-teal-dim);
}
.field textarea {
  resize: vertical;
  min-height: 90px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.submit-btn {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent-teal), #1eb88a);
  color: var(--bg-deep);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  position: relative;
  overflow: hidden;
}
.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(45, 212, 168, 0.25);
}
.submit-btn:active {
  transform: translateY(0);
}
.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Success State ── */
.success-message {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.success-message.visible {
  display: block;
  animation: fadeUp 0.6s ease-out forwards;
}
.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-teal-dim);
  border: 1px solid rgba(45, 212, 168, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.success-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-teal);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.success-message h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.success-message p {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.6;
}

/* ── Footer ── */
.footer {
  width: 100%;
  max-width: 1100px;
  text-align: center;
  padding: 0 0 48px;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 1.3s forwards;
}
.footer p {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 40px); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 28px 24px; }
  .hero { padding: 72px 0 32px; }
  .header { padding: 32px 0 0; }
}
