:root {
  --bg: #030712;
  --bg-grad: linear-gradient(165deg, #0b0f19 0%, #030712 100%);
  --card: #0a1128;
  --border: rgba(0, 243, 255, 0.2);
  --border-strong: rgba(0, 243, 255, 0.4);
  --text: #e0f7ff;
  --text-dim: #8ab4f8;
  --text-muted: #53769c;
  --accent: #00f3ff;
  --accent-hover: #33f6ff;
  --soft: #0e1938;
  --success: #00ffcc;
  --success-bg: rgba(0, 255, 204, 0.1);
  --success-border: rgba(0, 255, 204, 0.3);
  --error: #ff3366;
  --error-bg: rgba(255, 51, 102, 0.1);
  --error-border: rgba(255, 51, 102, 0.3);
  --shadow: 0 0 25px rgba(0, 243, 255, 0.15), 0 0 5px rgba(0, 243, 255, 0.1);
  --radius: 22px;
  --radius-sm: 14px;
  --spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  --smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg-grad);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 48px;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 243, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 243, 255, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
  animation: pageIn 0.7s var(--smooth) both;
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
.header { text-align: center; padding: 8px 0 4px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 243, 255, 0.6);
}

.logo-icon {
  width: 42px; height: 42px;
  background: transparent;
  color: var(--accent);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: none;
  text-shadow: 0 0 12px rgba(0, 243, 255, 0.8);
}

.subtitle { font-size: 13.5px; color: var(--text-dim); margin-top: 10px; font-weight: 400; line-height: 1.5; padding: 0 10px; }

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(0, 255, 204, 0.15);
}

.badge-live .dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
  animation: pulse 1.6s ease infinite;
}

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

/* Card */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-icon {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 12px;
  text-shadow: 0 0 12px rgba(0, 243, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(0, 243, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(0, 243, 255, 0.15);
}

.card-title { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 6px; color: #fff; text-shadow: 0 0 8px rgba(0, 243, 255, 0.3); }
.card-desc  { font-size: 13px; color: var(--text-dim); margin-bottom: 0; line-height: 1.5; }

/* Steps */
.steps {
  background: var(--soft);
  border-radius: 16px;
  padding: 16px 16px 14px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  text-align: left;
  width: 100%;
}

.steps-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
  color: var(--accent);
}

.steps-head i {
  width: 22px; height: 22px;
  background: var(--accent);
  color: #030712;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  box-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
}

.step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
}

.step-item:not(:last-child) { border-bottom: 1px solid rgba(0, 243, 255, 0.1); }

.step-num {
  width: 22px; height: 22px; min-width: 22px;
  background: #030712;
  border: 1.5px solid var(--border-strong);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  color: var(--accent);
}

.step-text { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.step-text b { color: var(--text); font-weight: 700; }

/* Message */
.message {
  display: none;
  padding: 13px 15px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
  animation: msgIn 0.35s var(--spring);
  text-align: left;
  width: 100%;
}

.message.show { display: flex; }

.message i { margin-top: 1px; font-size: 15px; flex-shrink: 0; }

@keyframes msgIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.message.success { background: var(--success-bg); color: var(--success); border: 1px solid var(--success-border); }
.message.error   { background: var(--error-bg);   color: var(--error); border: 1px solid var(--error-border); }

/* Form */
.form-group { margin-bottom: 14px; text-align: left; width: 100%; }

.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.input-row { display: flex; gap: 8px; width: 100%; }

.input {
  width: 100%;
  background: #050b18;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.input:focus {
  border-color: var(--accent);
  background: #0a1128;
  box-shadow: 0 0 12px rgba(0, 243, 255, 0.25);
}

.input::placeholder { color: var(--text-muted); font-weight: 400; }

/* Textarea magic link */
.textarea {
  resize: none;
  line-height: 1.5;
  font-size: 13px;
  word-break: break-all;
}

/* Buttons */
.btn {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  transition: all 0.25s var(--smooth);
  white-space: nowrap;
}

.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { opacity: 0.55; pointer-events: none; }

.btn-primary {
  background: var(--accent);
  color: #030712;
  width: 100%;
  padding: 16px;
  font-size: 15px;
  box-shadow: 0 0 16px rgba(0, 243, 255, 0.3);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  box-shadow: 0 0 22px rgba(0, 243, 255, 0.5);
  transform: translateY(-1px);
}

.btn-primary.success-state {
  background: var(--success) !important;
  color: #030712 !important;
  box-shadow: 0 0 16px rgba(0, 255, 204, 0.4) !important;
}

.btn-send {
  background: var(--accent);
  color: #030712;
  padding: 0 20px;
  min-width: 84px;
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.btn-send:hover:not(:disabled) { background: var(--accent-hover); box-shadow: 0 0 15px rgba(0, 243, 255, 0.5); }
.btn-send.sent { background: var(--success); color: #030712; }

/* Divider */
.divider { height: 1px; background: var(--border); margin: 20px 0 18px; width: 100%; }

/* Loader */
.loader {
  width: 16px; height: 16px;
  border: 2.5px solid rgba(3, 7, 18, 0.3);
  border-top-color: #030712;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.footer { text-align: center; margin-top: 4px; }

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 100px;
  transition: all 0.25s var(--smooth);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
}

.wa-btn:hover {
  border-color: #25D366;
  color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(37,211,102,0.25);
}

.wa-btn i { color: #25D366; font-size: 18px; }

.credit { font-size: 11.5px; color: var(--text-muted); margin-top: 18px; font-weight: 500; }
.credit span { color: var(--text-dim); font-weight: 700; }

@media (max-width: 380px) {
  .card { padding: 22px 16px; }
  .logo { font-size: 20px; }
  .logo-icon { font-size: 24px; }
}
