/* ===== Trámites/IA — Design System ===== */

:root {
  --bg: #fafafa;
  --bg-white: #ffffff;
  --bg-dark: #1a1a2e;
  --bg-elevated: #ffffff;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --text: #111827;
  --text-2: #4b5563;
  --text-3: #9ca3af;
  --accent: #1a1a2e;
  --accent-hover: #16163a;
  --accent-light: #f0f0f5;
  --gold: #e8c547;
  --gold-light: #fef9e7;
  --green: #16a34a;
  --green-light: #f0fdf4;
  --red: #dc2626;
  --red-light: #fef2f2;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.1);
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --header-h: 56px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s var(--ease);
  white-space: nowrap;
  line-height: 1.4;
}
.btn:active { transform: scale(.98); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }

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

.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: var(--accent-light); }

.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #b91c1c; }

.btn-lg { padding: 12px 24px; font-size: 15px; border-radius: var(--radius); }
.btn-block { width: 100%; }
.btn-link { background: none; border: none; color: var(--accent); font-weight: 600; cursor: pointer; font-size: inherit; font-family: var(--font); text-decoration: underline; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ===== HEADER ===== */
.header {
  height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}

.header-wordmark {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.3px;
}
.header-wordmark em {
  font-style: normal;
  color: var(--gold);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 32px;
}

.header-nav a, .header-nav button {
  padding: 6px 12px;
  font-size: 13.5px;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: all .15s var(--ease);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 500;
}
.header-nav a:hover, .header-nav button:hover { color: var(--text); background: var(--accent-light); text-decoration: none; }
.header-nav a.active, .header-nav button.active { color: var(--text); background: var(--accent-light); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.mobile-menu-btn span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 1px; }

.mobile-nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.3); z-index: 99; backdrop-filter: blur(2px); }
.mobile-nav.open { display: block; }
.mobile-nav-content { background: var(--bg-white); padding: 12px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-content a, .mobile-nav-content button { padding: 12px 14px; font-size: 15px; color: var(--text); border-radius: var(--radius-sm); background: none; border: none; cursor: pointer; font-family: var(--font); font-weight: 500; text-align: left; }
.mobile-nav-content a:hover, .mobile-nav-content button:hover { background: var(--accent-light); text-decoration: none; }

/* ===== HERO ===== */
.hero {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 32px 80px;
}

.hero-content { flex: 1; min-width: 0; }

.hero-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
}

.hero-content h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
  color: var(--text);
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-cta { display: flex; gap: 10px; margin-bottom: 32px; }

.hero-proof { display: flex; align-items: center; gap: 12px; }
.hero-proof-avatars { display: flex; }
.hero-proof-avatars span {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -6px;
  border: 2px solid var(--bg-white);
}
.hero-proof p { font-size: 13px; color: var(--text-3); }
.hero-proof p strong { color: var(--text-2); }

.hero-visual { flex: 0 0 420px; }

/* Terminal card */
.hero-terminal {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.05) inset;
}
.terminal-bar {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.1); display: block; }
.terminal-dots i:first-child { background: #ff5f57; }
.terminal-dots i:nth-child(2) { background: #febc2e; }
.terminal-dots i:last-child { background: #28c840; }
.terminal-bar span { font-size: 12px; color: rgba(255,255,255,.4); font-family: var(--mono); }

.terminal-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }

.t-msg { font-size: 13.5px; line-height: 1.55; }
.t-label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }

.t-user { color: rgba(255,255,255,.85); padding: 10px 14px; background: rgba(255,255,255,.06); border-radius: var(--radius-sm); border-left: 2px solid var(--gold); }
.t-user .t-label { color: var(--gold); }

.t-bot { color: rgba(255,255,255,.7); padding: 10px 14px; }
.t-bot .t-label { color: rgba(255,255,255,.35); }
.t-content p { margin-bottom: 8px; }
.t-content ul { padding-left: 16px; margin-bottom: 8px; }
.t-content li { margin-bottom: 3px; }
.t-content strong { color: rgba(255,255,255,.9); }
.t-content a { color: var(--gold); }

.t-cursor { width: 8px; height: 16px; background: var(--gold); border-radius: 1px; animation: blink 1s step-end infinite; margin-left: 14px; }
@keyframes blink { 50% { opacity: 0; } }

/* ===== HOW IT WORKS ===== */
.section-inner { max-width: 960px; margin: 0 auto; padding: 72px 32px; }
.section-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: var(--text-3); margin-bottom: 8px; }

.how-it-works h3, .popular h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 40px;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step-connector { padding-top: 20px; flex-shrink: 0; display: flex; align-items: center; }

.step-card {
  flex: 1;
  padding: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-number {
  width: 32px; height: 32px;
  background: var(--accent);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  font-family: var(--mono);
}
.step-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.step-card p { font-size: 14px; color: var(--text-2); line-height: 1.5; }

/* ===== POPULAR ===== */
.popular { background: var(--bg-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.tramites-grid { display: flex; flex-wrap: wrap; gap: 8px; }

.tramite-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13.5px;
  font-family: var(--font);
  font-weight: 500;
  cursor: pointer;
  transition: all .15s var(--ease);
  color: var(--text);
}
.tramite-chip:hover { border-color: var(--accent); background: var(--accent-light); }
.tramite-chip:active { transform: scale(.97); }
.tramite-chip svg { opacity: .5; flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer { padding: 40px 32px; }
.footer-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--text); }
.footer-copy { font-size: 13px; color: var(--text-3); flex: 1; }
.footer-links { display: flex; gap: 8px; font-size: 13px; color: var(--text-3); }
.footer-links a { color: var(--text-2); }
.footer-links span { color: var(--border); }

.btn-download-pdf { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: 13px; margin-top: 8px; }
.btn-download-pdf svg { flex-shrink: 0; }

.powered-by {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.powered-by svg { flex-shrink: 0; }
.powered-name { font-weight: 600; color: var(--text-2); }

/* ===== CHAT ===== */
.chat-layout { display: flex; height: calc(100vh - var(--header-h)); }

.chat-sidebar {
  width: 260px;
  border-right: 1px solid var(--border);
  background: var(--bg-white);
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-history { display: flex; flex-direction: column; gap: 2px; }
.sidebar-item {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  transition: all .12s var(--ease);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font);
  width: 100%;
}
.sidebar-item:hover { background: var(--accent-light); color: var(--text); }
.sidebar-item.active { background: var(--accent-light); color: var(--text); font-weight: 500; }

.chat-main { flex: 1; display: flex; flex-direction: column; min-width: 0; background: var(--bg); }

.chat-messages { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 16px; }

.chat-welcome { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 20px; flex: 1; }
.chat-welcome-icon { margin-bottom: 16px; }
.chat-welcome h3 { font-size: 22px; margin-bottom: 6px; letter-spacing: -.3px; }
.chat-welcome p { color: var(--text-2); margin-bottom: 24px; font-size: 15px; }
.quick-prompts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

.message { max-width: 760px; width: 100%; margin: 0 auto; }
.message-user { display: flex; justify-content: flex-end; }
.message-user .message-content {
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius) var(--radius) 4px var(--radius);
  max-width: 70%;
  font-size: 14.5px;
  line-height: 1.5;
}

.message-assistant { display: flex; gap: 10px; }
.message-avatar {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.message-avatar::after { content: ''; display: block; width: 10px; height: 10px; background: var(--gold); border-radius: 2px; }

.message-assistant .message-content {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14.5px;
  line-height: 1.7;
  flex: 1;
  min-width: 0;
}

/* Markdown */
.message-content h1, .message-content h2, .message-content h3 { margin-top: 16px; margin-bottom: 6px; font-weight: 600; letter-spacing: -.2px; }
.message-content h1 { font-size: 18px; }
.message-content h2 { font-size: 16px; }
.message-content h3 { font-size: 15px; }
.message-content p { margin-bottom: 8px; }
.message-content ul, .message-content ol { margin-bottom: 8px; padding-left: 18px; }
.message-content li { margin-bottom: 3px; }
.message-content strong { font-weight: 600; }
.message-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.message-content code { background: var(--accent-light); padding: 2px 5px; border-radius: 3px; font-size: 13px; font-family: var(--mono); }
.message-content pre { background: var(--bg-dark); color: #e2e8f0; padding: 14px; border-radius: var(--radius-sm); overflow-x: auto; margin: 8px 0; font-family: var(--mono); font-size: 13px; }
.message-content pre code { background: none; padding: 0; color: inherit; }
.message-content blockquote { border-left: 2px solid var(--border); padding-left: 12px; margin: 8px 0; color: var(--text-2); }

.searching-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--gold-light);
  border-radius: 100px;
  font-size: 12.5px;
  color: #92700c;
  font-weight: 500;
  margin-bottom: 8px;
}
.searching-indicator .spinner { width: 12px; height: 12px; border: 2px solid #f5e6a3; border-top-color: #92700c; border-radius: 50%; animation: spin .6s linear infinite; }

.typing-indicator { display: flex; gap: 4px; padding: 8px; }
.typing-indicator span { width: 6px; height: 6px; background: var(--text-3); border-radius: 50%; animation: bounce 1.4s infinite ease-in-out; }
.typing-indicator span:nth-child(2) { animation-delay: .2s; }
.typing-indicator span:nth-child(3) { animation-delay: .4s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(.6); } 40% { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

.chat-input-area { padding: 14px 24px 18px; border-top: 1px solid var(--border-light); background: var(--bg-white); }
.chat-input-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 10px;
  transition: border-color .15s var(--ease);
}
.chat-input-wrapper:focus-within { border-color: var(--accent); }

#chatInput { flex: 1; border: none; background: none; font-family: var(--font); font-size: 14.5px; line-height: 1.5; resize: none; outline: none; max-height: 150px; color: var(--text); }
#chatInput::placeholder { color: var(--text-3); }

.btn-send {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .15s var(--ease);
}
.btn-send:hover { background: var(--accent-hover); }
.btn-send:disabled { background: var(--border); cursor: not-allowed; }

.chat-input-info { display: flex; justify-content: space-between; align-items: center; padding-top: 5px; font-size: 12px; color: var(--text-3); }
.credits-badge { padding: 2px 9px; background: var(--accent-light); color: var(--accent); border-radius: 100px; font-weight: 600; font-size: 12px; }

/* ===== AUTH ===== */
.auth-container { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--bg); }
.auth-card { width: 100%; max-width: 400px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; box-shadow: var(--shadow); }
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-header svg { margin-bottom: 14px; }
.auth-header h2 { font-size: 22px; margin-bottom: 6px; letter-spacing: -.3px; }
.auth-header p { color: var(--text-2); font-size: 14px; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 5px; color: var(--text); }
.form-group input, .form-group select {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--bg-white);
  transition: border-color .15s var(--ease);
  outline: none;
}
.form-group input:focus, .form-group select:focus { border-color: var(--accent); }

.form-error { padding: 9px 12px; background: var(--red-light); color: var(--red); border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 14px; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--text-2); }

/* ===== PLANS ===== */
.plans-container { max-width: 960px; margin: 0 auto; padding: 56px 24px; }
.plans-header { text-align: center; margin-bottom: 40px; }
.plans-header .section-label { margin-bottom: 6px; }
.plans-header h2 { font-size: 30px; font-weight: 700; letter-spacing: -.5px; margin-bottom: 6px; }
.plans-header p { color: var(--text-2); font-size: 15px; }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }

.plan-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
}
.plan-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.plan-badge {
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  padding: 3px 12px;
  background: var(--accent);
  color: var(--gold);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.plan-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; margin-top: 4px; }
.plan-price { margin-bottom: 4px; }
.plan-price .price { font-size: 36px; font-weight: 700; letter-spacing: -1px; }
.plan-price .period { font-size: 14px; color: var(--text-3); }
.plan-desc { font-size: 13px; color: var(--text-3); margin-bottom: 20px; }

.plan-features { list-style: none; margin-bottom: 22px; }
.plan-features li { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 14px; color: var(--text); }
.plan-features li.muted { color: var(--text-3); }
.plan-features li svg { flex-shrink: 0; }

.plans-single { text-align: center; color: var(--text-2); font-size: 14px; padding-top: 4px; }

/* ===== HISTORY ===== */
.history-container { max-width: 760px; margin: 0 auto; padding: 36px 24px; }
.history-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.history-header h2 { font-size: 22px; letter-spacing: -.3px; }
.history-list { display: flex; flex-direction: column; gap: 6px; }

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .12s var(--ease);
}
.history-item:hover { border-color: var(--text-3); }
.history-item-title { font-weight: 500; font-size: 14px; }
.history-item-date { font-size: 12px; color: var(--text-3); }
.history-item-actions { display: flex; gap: 6px; }
.history-item-actions button { padding: 5px 8px; background: none; border: 1px solid var(--border); border-radius: 4px; cursor: pointer; font-size: 12px; color: var(--text-3); font-family: var(--font); transition: all .12s var(--ease); }
.history-item-actions button:hover { border-color: var(--red); color: var(--red); }

.empty-state { text-align: center; padding: 64px 20px; }
.empty-state svg { margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; margin-bottom: 6px; }
.empty-state p { color: var(--text-2); margin-bottom: 18px; font-size: 14px; }

/* ===== PROFILE ===== */
.profile-container { max-width: 520px; margin: 0 auto; padding: 36px 24px; display: flex; flex-direction: column; gap: 16px; }
.profile-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 22px; }
.profile-card h2 { font-size: 20px; margin-bottom: 18px; letter-spacing: -.3px; }
.profile-card h3 { font-size: 16px; margin-bottom: 10px; }
.plan-info { padding: 10px 14px; background: var(--bg); border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 14px; }

/* ===== SUCCESS ===== */
.success-container { min-height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.success-container svg { margin-bottom: 20px; }
.success-container h2 { font-size: 26px; margin-bottom: 8px; letter-spacing: -.3px; }
.success-container p { color: var(--text-2); margin-bottom: 28px; font-size: 15px; }

/* ===== TOAST ===== */
.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 6px; }
.toast { padding: 12px 18px; border-radius: var(--radius-sm); font-size: 14px; font-family: var(--font); box-shadow: var(--shadow-lg); animation: slideIn .25s var(--ease); max-width: 360px; }
.toast.success { background: var(--green); color: #fff; }
.toast.error { background: var(--red); color: #fff; }
.toast.info { background: var(--accent); color: #fff; }
@keyframes slideIn { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-nav, .header-actions { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero-inner { flex-direction: column; padding: 40px 20px 48px; gap: 36px; }
  .hero-content { text-align: center; }
  .hero-content h2 { font-size: 30px; }
  .hero-subtitle { font-size: 15px; margin: 0 auto 24px; }
  .hero-cta { justify-content: center; }
  .hero-proof { justify-content: center; }
  .hero-visual { flex: none; width: 100%; max-width: 380px; margin: 0 auto; }

  .section-inner { padding: 48px 20px; }
  .steps-grid { flex-direction: column; gap: 12px; }
  .step-connector { display: none; }

  .chat-sidebar { display: none; }
  .plans-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto 28px; }
  .message-user .message-content { max-width: 85%; }
  .auth-card { padding: 28px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
