/* ============================================================
   OtimiChat — Design System
   Dark theme · Otimify brand green · Montserrat
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:          #070a0c;
  --bg-card:     #0d1215;
  --bg-input:    #111619;
  --border:      #1e2a2f;
  --border-glow: rgba(0, 210, 100, 0.35);

  --green:       #00d264;
  --green-dim:   #009e4a;
  --green-glow:  rgba(0, 210, 100, 0.18);

  --text:        #e8ede9;
  --text-muted:  #6b7b72;
  --text-dim:    #9aada2;

  --radius:      12px;
  --radius-sm:   8px;
  --radius-pill: 999px;

  --font:        'Montserrat', system-ui, sans-serif;
  --shadow-card: 0 2px 24px rgba(0,0,0,0.55);
  --shadow-glow: 0 0 28px rgba(0, 210, 100, 0.22);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--green); text-decoration: none; }
a:hover { opacity: 0.85; }

img { max-width: 100%; display: block; }

/* ── Noise texture overlay ─────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.2rem; font-weight: 700; }

.text-green   { color: var(--green); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }

/* ── Layout containers ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  position: relative;
  padding: 5rem 0;
  z-index: 1;
}

/* ── Nav / Header ──────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 12, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* ── Logo ──────────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo__icon {
  width: 32px;
  height: 32px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(0, 210, 100, 0.45);
}

.logo__icon svg {
  width: 18px;
  height: 18px;
  fill: #070a0c;
}

.logo__dot {
  color: var(--green);
}

.logo__img {
  height: 40px;
  width: auto;
  display: block;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--green);
  color: #070a0c;
  box-shadow: 0 4px 20px rgba(0, 210, 100, 0.3);
}

.btn-primary:hover {
  background: #00e870;
  box-shadow: 0 6px 28px rgba(0, 210, 100, 0.5);
  transform: translateY(-1px);
  color: #070a0c;
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(0, 210, 100, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  opacity: 1;
}

.btn-lg {
  padding: 0.95rem 2.25rem;
  font-size: 1.05rem;
}

.btn-full { width: 100%; }

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  padding: 6rem 0 5rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(0, 210, 100, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 60%, rgba(0, 210, 100, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 20%, transparent 80%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 210, 100, 0.1);
  border: 1px solid rgba(0, 210, 100, 0.25);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.hero__badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--green); }
  50%       { opacity: 0.5; box-shadow: 0 0 2px var(--green); }
}

.hero__title {
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
}

.hero__title em {
  font-style: normal;
  color: var(--green);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 2.25rem;
  font-weight: 500;
}

.hero__cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-weight: 500;
}

/* ── Features Section ──────────────────────────────────────── */
.features {
  background: linear-gradient(180deg, transparent 0%, rgba(0,210,100,0.03) 50%, transparent 100%);
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.section__title {
  margin-bottom: 0.75rem;
}

.section__sub {
  color: var(--text-dim);
  max-width: 520px;
  font-size: 1rem;
  font-weight: 500;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
  border-color: rgba(0, 210, 100, 0.3);
  box-shadow: 0 4px 24px rgba(0, 210, 100, 0.08);
}

.feature-card__icon {
  width: 42px; height: 42px;
  background: rgba(0, 210, 100, 0.1);
  border: 1px solid rgba(0, 210, 100, 0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.feature-card__desc {
  font-size: 0.87rem;
  color: var(--text-dim);
  line-height: 1.6;
  font-weight: 400;
}

/* ── Pricing Section ───────────────────────────────────────── */
.pricing {
  background: var(--bg);
}

.pricing-card {
  max-width: 420px;
  margin: 3rem auto 0;
  background: var(--bg-card);
  border: 1px solid rgba(0, 210, 100, 0.3);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-glow), var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.pricing-card__badge {
  display: inline-block;
  background: rgba(0, 210, 100, 0.12);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.pricing-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.4rem;
}

.pricing-card__price .amount {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.pricing-card__price .currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dim);
}

.pricing-card__price .period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-card__tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.75rem;
}

.pricing-card__list {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-card__list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  padding: 0.45rem 0;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.pricing-card__list li:last-child { border-bottom: none; }

.pricing-card__list .check {
  color: var(--green);
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ── Trust / Uptime bar ────────────────────────────────────── */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
  background: rgba(0,210,100,0.02);
}

.trust__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dim);
}

.trust__item strong {
  color: var(--text);
  font-weight: 800;
}

.trust__dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  flex-shrink: 0;
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 2rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  border-top: 1px solid var(--border);
}

footer a { color: var(--text-muted); }
footer a:hover { color: var(--green); opacity: 1; }


/* ══════════════════════════════════════════════════════════
   ONBOARDING WIZARD
   ══════════════════════════════════════════════════════════ */

.ob-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.ob-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}

.ob-header .logo { font-size: 1rem; }
.ob-header .logo__img { height: 32px; }

.ob-progress-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Steps indicator ───────────────────────────────────────── */
.ob-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1.75rem 1.25rem 0;
}

.ob-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  max-width: 160px;
  position: relative;
}

.ob-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  left: calc(50% + 16px);
  right: calc(-50% + 16px);
  height: 1.5px;
  background: var(--border);
  transition: background 0.35s ease;
}

.ob-step.completed:not(:last-child)::after {
  background: var(--green);
}

.ob-step__num {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  transition: all 0.25s ease;
  z-index: 1;
}

.ob-step.active .ob-step__num {
  background: var(--green);
  border-color: var(--green);
  color: #070a0c;
  box-shadow: 0 0 14px rgba(0, 210, 100, 0.45);
}

.ob-step.completed .ob-step__num {
  background: rgba(0, 210, 100, 0.15);
  border-color: var(--green);
  color: var(--green);
}

.ob-step__label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-align: center;
}

.ob-step.active .ob-step__label { color: var(--green); }
.ob-step.completed .ob-step__label { color: var(--text-dim); }

/* ── Main content area ─────────────────────────────────────── */
.ob-main {
  flex: 1;
  padding: 2rem 1.25rem 3rem;
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
}

.ob-panel {
  display: none;
  animation: fadeSlide 0.3s ease forwards;
}

.ob-panel.active { display: block; }

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

.ob-panel__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  margin-top: 1rem;
}

.ob-panel__sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* ── Form fields ───────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.form-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 210, 100, 0.12);
}

.form-input:valid:not(:placeholder-shown) {
  border-color: rgba(0, 210, 100, 0.4);
}

/* ── Number cards ──────────────────────────────────────────── */
.num-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.num-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  position: relative;
  transition: border-color 0.2s;
}

.num-card:focus-within { border-color: rgba(0,210,100,0.3); }

.num-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.num-card__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.num-card__remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
}

.num-card__remove:hover {
  color: #ff4a6a;
  background: rgba(255, 74, 106, 0.1);
}

.num-card__row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.num-card__toggle-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.toggle-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

/* Custom toggle switch */
.toggle {
  position: relative;
  display: inline-flex;
  width: 38px; height: 22px;
  cursor: pointer;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}

.toggle__track {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 999px;
  transition: background 0.22s ease;
}

.toggle input:checked + .toggle__track {
  background: var(--green);
}

.toggle__thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.toggle input:checked ~ .toggle__thumb {
  transform: translateX(16px);
}

.num-card__usuario-field {
  margin-top: 0.65rem;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}

.num-card__usuario-field.visible {
  max-height: 80px;
  opacity: 1;
}

.btn-add-num {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-add-num:hover:not(:disabled) {
  border-color: var(--green);
  color: var(--green);
  background: rgba(0, 210, 100, 0.04);
}

.btn-add-num:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── Summary step ──────────────────────────────────────────── */
.summary-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.summary-block__title {
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.summary-row:last-child { border-bottom: none; }

.summary-row__key {
  color: var(--text-muted);
  font-weight: 500;
}

.summary-row__val {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  max-width: 58%;
  word-break: break-word;
}

.summary-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1rem;
  background: rgba(0, 210, 100, 0.06);
  border-top: 1px solid rgba(0, 210, 100, 0.2);
}

.summary-price-row .label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.summary-price-row .price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -0.03em;
}

/* ── Navigation row ────────────────────────────────────────── */
.ob-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.ob-nav .btn { flex: 1; }

/* ── Error / hint ──────────────────────────────────────────── */
.ob-error {
  background: rgba(255, 74, 106, 0.08);
  border: 1px solid rgba(255, 74, 106, 0.25);
  border-radius: var(--radius-sm);
  color: #ff7a92;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
  margin-top: 0.75rem;
  display: none;
}

.ob-error.visible { display: block; }

/* ── Admin override (basic) ────────────────────────────────── */
.admin-wrap {
  max-width: 980px;
  margin: 2rem auto;
  padding: 0 1.25rem;
}

.admin-wrap h1 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

th {
  text-align: left;
  padding: 0.6rem 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}

td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  vertical-align: top;
}

tr:hover td { background: rgba(255,255,255,0.02); }

.admin-login-wrap {
  max-width: 340px;
  margin: 5rem auto;
  padding: 0 1.25rem;
}

.admin-login-wrap h2 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

/* ── Admin list extras ─────────────────────────────────────── */
.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
}

.inline-form {
  display: inline-block;
  margin-bottom: 0.4rem;
}

.actions-cell {
  min-width: 220px;
}

.links-editor {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.link-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.link-numero {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dim);
  white-space: nowrap;
  min-width: 80px;
}

.link-input {
  flex: 1;
  padding: 0.4rem 0.65rem;
  font-size: 0.82rem;
}

/* Estado badges */
.estado-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.estado-pagado       { background: rgba(0,210,100,0.12); color: var(--green); border-color: rgba(0,210,100,0.3); }
.estado-en_provisioning { background: rgba(255,200,50,0.1); color: #ffc832; border-color: rgba(255,200,50,0.25); }
.estado-conexion_enviada { background: rgba(80,140,255,0.1); color: #7aacff; border-color: rgba(80,140,255,0.25); }
.estado-activo       { background: rgba(0,210,100,0.2); color: #00ff7a; border-color: rgba(0,210,100,0.5); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 4rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .features__grid { grid-template-columns: 1fr; }
  .trust__row { gap: 1.5rem; }
  .num-card__row { grid-template-columns: 1fr; }
  .ob-step__label { display: none; }
}

/* ── Thank-you page ────────────────────────────────────────── */
.gracias-check {
  width: 72px; height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(0, 210, 100, 0.12);
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 2.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 26px rgba(0, 210, 100, 0.35);
}
.gracias-steps {
  text-align: left;
  max-width: 560px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 1rem;
}
.gracias-step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}
.gracias-step__num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--green); color: #070a0c;
  font-weight: 800; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
}
.gracias-step strong { display: block; margin-bottom: 0.2rem; color: var(--text); }
.gracias-step p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.gracias-note {
  max-width: 560px; margin: 2rem auto 0;
  color: var(--text-muted); font-size: 0.9rem;
  background: rgba(0,210,100,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
