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

:root {
  --green: #25D366;
  --green-dark: #128C7E;
  --green-light: #DCF8C6;
  --telegram: #229ED9;
  --telegram-dark: #1a7db5;
  --bg: #0a0f0d;
  --card: #111a15;
  --border: #1e3328;
  --text: #e8f5e9;
  --muted: #7aad8a;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37,211,102,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(18,140,126,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 32px;
  animation: fadeDown 0.6s ease both;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(37,211,102,0.4);
  position: relative;
}

.logo-icon svg {
  width: 26px;
  height: 26px;
  fill: white;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.3);
  animation: pulse 2s infinite;
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}

.logo-text span { color: var(--green); }

.tagline {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* Card */
.card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 28px 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  animation: fadeUp 0.7s ease both 0.15s;
}

/* Video */
.gif-wrapper {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 26px;
  border: 1px solid var(--border);
  background: #000;
  position: relative;
}

.gif-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* Step label */
.step-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.section-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

/* Input group */
.input-group {
  display: flex;
  align-items: center;
  background: #0d1a11;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 18px;
}

.input-group:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(37,211,102,0.12);
}

.input-prefix {
  padding: 0 14px 0 16px;
  font-size: 15px;
  color: var(--green);
  font-weight: 500;
  border-right: 1px solid var(--border);
  height: 52px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  background: rgba(37,211,102,0.05);
}

.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 0 16px;
  height: 52px;
}

.input-group input::placeholder {
  color: #3a5a45;
  letter-spacing: 0.5px;
}

/* Error */
.error-msg {
  font-size: 12px;
  color: #ff6b6b;
  margin-top: -12px;
  margin-bottom: 14px;
  padding-left: 4px;
  display: none;
}

/* Buttons wrapper */
.buttons-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Button shared */
.btn-send {
  width: 100%;
  padding: 16px;
  color: white;
  border: none;
  border-radius: 14px;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-send svg {
  width: 18px;
  height: 18px;
  fill: white;
  flex-shrink: 0;
}

.btn-send:active { transform: scale(0.98); }

/* WhatsApp / email button */
.btn-email {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  box-shadow: 0 6px 24px rgba(37,211,102,0.3);
}

.btn-email:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
}

/* Telegram button */
.btn-telegram {
  background: linear-gradient(135deg, var(--telegram) 0%, var(--telegram-dark) 100%);
  box-shadow: 0 6px 24px rgba(34,158,217,0.3);
}

.btn-telegram:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(34,158,217,0.4);
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3a5a45;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Info */
.info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(37,211,102,0.05);
  border: 1px solid rgba(37,211,102,0.12);
  border-radius: 10px;
}

.info-row svg {
  width: 15px;
  height: 15px;
  fill: var(--green);
  flex-shrink: 0;
}

.info-row span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* Footer */
.footer {
  margin-top: 24px;
  font-size: 12px;
  color: #3a5a45;
  text-align: center;
  animation: fadeUp 0.7s ease both 0.3s;
}

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

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

@keyframes pulse {
  0%   { transform: scale(1);   opacity: 1; }
  70%  { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}
