/* ═══════════════════════════════════════════════════════════
   SBRLogic SaaS — Landing styles
   Paleta: Azul profundo (brand) + roxo (accent) + neutros
   ═══════════════════════════════════════════════════════════ */

:root {
  --brand-50:  #EEF4FF;
  --brand-100: #DBE7FF;
  --brand-500: #3B82F6;
  --brand-600: #2563EB;
  --brand-700: #1D4ED8;
  --brand-900: #1E3A8A;
  --accent-500: #8B5CF6;
  --accent-600: #7C3AED;
  --success: #10B981;
  --warning: #F59E0B;
  --danger:  #EF4444;
  --gray-50:  #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --radius:   10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(17,24,39,0.06);
  --shadow:    0 4px 12px rgba(17,24,39,0.08);
  --shadow-lg: 0 20px 40px rgba(17,24,39,0.12);
  --max-w:   1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--gray-800);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.4em; line-height: 1.2; color: var(--gray-900); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4vw + 1rem, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--gray-600); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--gray-100); padding: 0.1em 0.4em; border-radius: 4px; font-size: 0.9em; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ═══ NAV ═══ */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.5rem;
}
.logo { display: inline-flex; align-items: center; gap: 0.2rem; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.03em; }
.logo-mark {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-600), var(--accent-600));
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
}
.logo-word { color: var(--gray-900); }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a { color: var(--gray-600); font-size: 0.94rem; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--brand-700); }
.nav-cta { display: flex; gap: 0.6rem; }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600; font-size: 0.94rem;
  cursor: pointer; border: 1px solid transparent;
  transition: all 0.15s ease-out;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-600), var(--accent-600));
  box-shadow: 0 4px 14px rgba(37,99,235,0.28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37,99,235,0.38); }
.btn-ghost {
  color: var(--gray-700); background: transparent; border-color: var(--gray-200);
}
.btn-ghost:hover { background: var(--gray-50); border-color: var(--gray-300); }
.btn-lg { padding: 0.9rem 1.6rem; font-size: 1rem; border-radius: 12px; }

/* ═══ HERO ═══ */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1000px 500px at 10% -10%, var(--brand-50) 0%, transparent 60%),
              radial-gradient(800px 400px at 110% 10%, rgba(139,92,246,0.12) 0%, transparent 55%),
              #fff;
  padding: 5rem 0 5rem;
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem;
  align-items: center;
}
.hero-copy { max-width: 600px; }
.pill {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  font-size: 0.82rem; font-weight: 600;
  margin-bottom: 1.5rem;
}
.lead { font-size: 1.18rem; color: var(--gray-600); margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: 0.8rem; margin-bottom: 2rem; flex-wrap: wrap; }
.hero-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.hero-bullets li {
  padding-left: 1.8rem; position: relative; color: var(--gray-700); font-size: 0.97rem;
}
.hero-bullets li::before {
  content: ''; position: absolute; left: 0; top: 0.45rem;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--success); opacity: 0.15;
}
.hero-bullets li::after {
  content: ''; position: absolute; left: 5px; top: 0.65rem;
  width: 8px; height: 5px; border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success); transform: rotate(-45deg);
}

/* Visual card */
.hero-visual { display: flex; justify-content: center; }
.visual-card {
  width: 100%; max-width: 460px;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(1deg);
  transition: transform 0.4s ease;
}
.visual-card:hover { transform: rotate(0); }
.visual-header {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #EF4444; }
.dot-y { background: #F59E0B; }
.dot-g { background: #10B981; }
.visual-title { margin-left: auto; font-size: 0.85rem; color: var(--gray-500); font-weight: 500; }
.visual-body { padding: 1.4rem; display: grid; gap: 1rem; }
.mini-stat {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 0.8rem;
  padding: 0.9rem 1rem;
  background: var(--gray-50); border-radius: var(--radius); border: 1px solid var(--gray-200);
}
.mini-stat-label { color: var(--gray-600); font-size: 0.88rem; }
.mini-stat-value { font-size: 1.15rem; font-weight: 700; color: var(--gray-900); }
.mini-stat-trend { font-size: 0.8rem; font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 6px; }
.mini-stat-trend.up { color: var(--success); background: #D1FAE5; }
.visual-bar {
  display: flex; overflow: hidden; border-radius: var(--radius); font-size: 0.78rem; color: #fff; font-weight: 600;
}
.bar-segment { padding: 0.55rem 0.5rem; width: calc(var(--w)); text-align: center; overflow: hidden; white-space: nowrap; }
.seg-conectadas { background: var(--success); }
.seg-maquina    { background: var(--warning); }
.seg-nao        { background: var(--gray-400); }

@media (max-width: 900px) {
  .hero { padding: 3rem 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ═══ SECTION HEAD ═══ */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow {
  display: inline-block; color: var(--brand-700); font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.7rem;
}
.section-head h2 { margin-bottom: 0.7rem; }
.section-head p { font-size: 1.05rem; color: var(--gray-600); }

/* ═══ FEATURES ═══ */
.features { padding: 5rem 0; background: var(--gray-50); }
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem;
}
.feature {
  background: #fff; padding: 1.8rem;
  border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.feature h3 { margin-bottom: 0.4rem; }
.feature p { margin: 0; font-size: 0.95rem; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.feature-icon::after {
  content: ''; position: absolute; inset: 9px;
  background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: brightness(0) invert(1);
}
.icon-crm::after       { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/><circle cx='8.5' cy='7' r='4'/><path d='M20 8v6M17 11h6'/></svg>"); }
.icon-dialer::after    { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>"); }
.icon-messaging::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/></svg>"); }
.icon-ai::after        { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/><path d='M2 12h20'/></svg>"); }
.icon-monitoring::after{ background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 12h-4l-3 9L9 3l-3 9H2'/></svg>"); }
.icon-academy::after   { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 10v6M2 10l10-5 10 5-10 5-10-5z'/><path d='M6 12v5c3 3 9 3 12 0v-5'/></svg>"); }

/* ═══ PRICING ═══ */
.pricing { padding: 5rem 0; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.pricing-loading { grid-column: 1 / -1; text-align: center; color: var(--gray-500); padding: 3rem 0; }
.plan {
  background: #fff; padding: 2rem 1.8rem;
  border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
  display: flex; flex-direction: column; gap: 1.2rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.plan:hover { border-color: var(--brand-500); box-shadow: var(--shadow); transform: translateY(-2px); }
.plan.plan-destaque { border: 2px solid var(--brand-600); box-shadow: var(--shadow-lg); position: relative; }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-600), var(--accent-600));
  color: #fff; padding: 0.3rem 0.9rem;
  border-radius: 999px; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.plan-name { font-size: 1.3rem; font-weight: 700; color: var(--gray-900); }
.plan-desc { color: var(--gray-600); font-size: 0.93rem; min-height: 2.8em; margin: 0; }
.plan-price { display: flex; align-items: baseline; gap: 0.3rem; }
.plan-price .value { font-size: 2.4rem; font-weight: 800; color: var(--gray-900); letter-spacing: -0.03em; }
.plan-price .unit  { color: var(--gray-500); font-size: 0.92rem; }
.plan-limits { color: var(--gray-600); font-size: 0.88rem; padding: 0.9rem 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); display: grid; gap: 0.3rem; }
.plan-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.plan-features li {
  padding-left: 1.6rem; position: relative; font-size: 0.94rem; color: var(--gray-700);
}
.plan-features li::before {
  content: '✓'; position: absolute; left: 0; top: -1px;
  color: var(--success); font-weight: 700;
}
.plan-cta { margin-top: auto; }

/* Add-ons */
.addons h3 { margin-bottom: 1.2rem; text-align: center; }
.addons-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.addon {
  background: #fff; padding: 1.4rem;
  border-radius: var(--radius); border: 1px solid var(--gray-200);
  display: grid; gap: 0.4rem;
}
.addon-name { font-weight: 700; color: var(--gray-900); }
.addon-desc { color: var(--gray-600); font-size: 0.9rem; margin: 0; }
.addon-price { color: var(--brand-700); font-weight: 700; font-size: 1.05rem; margin-top: 0.3rem; }

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ═══ TARIFAS ═══ */
.tarifas { padding: 5rem 0; background: var(--gray-50); }
.tarifas-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.tarifa-cat {
  background: #fff; padding: 1.4rem;
  border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
}
.tarifa-cat h4 {
  color: var(--brand-700); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.8rem;
}
.tarifa-row {
  display: grid; grid-template-columns: 1fr auto;
  padding: 0.55rem 0; border-top: 1px solid var(--gray-100);
  gap: 0.8rem; font-size: 0.94rem;
}
.tarifa-row:first-of-type { border-top: 0; }
.tarifa-nome { color: var(--gray-700); }
.tarifa-preco { font-weight: 700; color: var(--gray-900); white-space: nowrap; }
.tarifa-unit { color: var(--gray-500); font-weight: 400; font-size: 0.82rem; }

/* ═══ FAQ ═══ */
.faq { padding: 5rem 0; }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 0.6rem; }
.faq-list details {
  background: #fff; padding: 1.1rem 1.3rem;
  border-radius: var(--radius); border: 1px solid var(--gray-200);
  transition: border-color 0.15s;
}
.faq-list details[open] { border-color: var(--brand-500); }
.faq-list summary {
  cursor: pointer; font-weight: 600; color: var(--gray-900);
  list-style: none; position: relative; padding-right: 1.5rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; position: absolute; right: 0; top: 0;
  font-size: 1.4rem; color: var(--gray-400); font-weight: 400;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0.8rem 0 0; color: var(--gray-600); font-size: 0.95rem; }

/* ═══ CTA FINAL ═══ */
.cta-final {
  background: linear-gradient(135deg, var(--brand-700), var(--accent-600));
  color: #fff; padding: 5rem 0; text-align: center;
}
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-final .btn { background: #fff; color: var(--brand-700); }
.cta-final .btn:hover { background: var(--gray-50); }

/* ═══ FOOTER ═══ */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3.5rem 0 0;
}
.footer-inner {
  display: grid; grid-template-columns: 1.3fr 2fr; gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p { color: var(--gray-400); margin: 1rem 0 0; max-width: 320px; font-size: 0.93rem; }
.footer-brand .logo-word { color: #fff; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-cols h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.8rem; }
.footer-cols a { display: block; padding: 0.2rem 0; color: var(--gray-400); font-size: 0.9rem; }
.footer-cols a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding: 1.4rem 0;
  font-size: 0.85rem;
  color: var(--gray-500);
}

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ═══ FORMS ═══ */
.form-shell {
  min-height: 100vh; display: grid;
  grid-template-columns: 1fr 1fr; background: #fff;
}
.form-side {
  padding: 3rem 3rem; max-width: 560px; width: 100%; margin: 0 auto;
  display: flex; flex-direction: column; justify-content: center;
}
.form-brand-side {
  background: linear-gradient(135deg, var(--brand-700), var(--accent-600));
  color: #fff; padding: 3rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.form-brand-side::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px 300px at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 70%),
              radial-gradient(500px 400px at 80% 80%, rgba(139,92,246,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.form-brand-content { position: relative; z-index: 1; max-width: 440px; margin: 0 auto; width: 100%; }
.form-brand-content .logo-word { color: #fff; }
.form-brand-content h2 { color: #fff; margin-bottom: 1rem; }
.form-brand-content p { color: rgba(255,255,255,0.9); margin-bottom: 1.8rem; }
.form-brand-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.form-brand-features li {
  padding-left: 2.2rem; position: relative; color: rgba(255,255,255,0.95); font-size: 0.97rem;
}
.form-brand-features li::before {
  content: '✓'; position: absolute; left: 0; top: -1px;
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.2); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.form-title { font-size: 1.8rem; margin-bottom: 0.4rem; }
.form-subtitle { color: var(--gray-600); margin-bottom: 2rem; }

.form-group { margin-bottom: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label {
  display: block; font-size: 0.86rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: 0.35rem;
}
.form-input, .form-select {
  width: 100%; padding: 0.7rem 0.9rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px; font-size: 0.96rem;
  font-family: inherit; color: var(--gray-900);
  background: #fff; transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus, .form-select:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.form-hint { display: block; font-size: 0.82rem; color: var(--gray-500); margin-top: 0.3rem; }
.form-hint.error { color: var(--danger); }
.form-hint.success { color: var(--success); }
.subdomain-group {
  display: grid; grid-template-columns: 1fr auto; align-items: stretch;
}
.subdomain-group .form-input {
  border-top-right-radius: 0; border-bottom-right-radius: 0;
}
.subdomain-suffix {
  padding: 0.7rem 0.9rem; background: var(--gray-100);
  border: 1px solid var(--gray-300); border-left: 0;
  border-top-right-radius: 8px; border-bottom-right-radius: 8px;
  color: var(--gray-600); font-size: 0.94rem;
  display: flex; align-items: center;
}

.form-check { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--gray-700); margin: 1.2rem 0; }
.form-check input { margin-top: 0.2rem; width: 16px; height: 16px; accent-color: var(--brand-600); }
.form-check a { color: var(--brand-700); text-decoration: underline; }

.plan-select-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 0.5rem; }
.plan-select-card {
  border: 2px solid var(--gray-200); border-radius: 10px;
  padding: 0.9rem; cursor: pointer; background: #fff;
  transition: border-color 0.15s, background 0.15s;
  text-align: center;
}
.plan-select-card input { display: none; }
.plan-select-card:hover { border-color: var(--brand-300, #93C5FD); }
.plan-select-card.selected {
  border-color: var(--brand-600);
  background: var(--brand-50);
}
.plan-select-card .plan-name { font-size: 1rem; }
.plan-select-card .plan-price .value { font-size: 1.4rem; }

.btn-full { width: 100%; }
.form-footer { text-align: center; margin-top: 1.2rem; color: var(--gray-600); font-size: 0.9rem; }
.form-footer a { color: var(--brand-700); font-weight: 600; }

.alert {
  padding: 0.8rem 1rem; border-radius: 8px; margin-bottom: 1rem;
  font-size: 0.93rem;
}
.alert-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.alert-info    { background: var(--brand-50); color: var(--brand-900); border: 1px solid var(--brand-100); }

@media (max-width: 900px) {
  .form-shell { grid-template-columns: 1fr; }
  .form-brand-side { padding: 2rem; min-height: 220px; }
  .form-side { padding: 2rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .plan-select-grid { grid-template-columns: 1fr; }
}

/* ═══ RESPONSIVE REFINEMENTS ═══ */
@media (max-width: 500px) {
  .nav-cta .btn-ghost { display: none; }
  h1 { font-size: 2rem; }
  .btn-lg { padding: 0.75rem 1.3rem; font-size: 0.94rem; }
  .hero { padding: 2.5rem 0 3rem; }
}
