/* ── SCB Widget Landing Page Styles ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ac: #3d9e6b;
  --ac2: #2a7a50;
  --ac3: #6dc48e;
  --dark: #f5f3ee;
  --dark2: #ece8df;
  --text: #2a3828;
  --muted: #6b7c6e;
  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: rgba(61, 158, 107, 0.18);
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  background: rgba(245, 243, 238, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
}

.nav-logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.nav-logo-text { font-weight: 700; font-size: 17px; letter-spacing: -0.3px; color: var(--text); }

.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 14px; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.2s; white-space: nowrap;
}

.btn-ghost {
  background: transparent; color: var(--muted);
  border: 1px solid var(--card-border);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(61,158,107,0.35); background: rgba(61,158,107,0.06); }

.btn-primary {
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  color: #fff; box-shadow: 0 4px 20px rgba(61, 158, 107, 0.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(61, 158, 107, 0.45); }

.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }

.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid rgba(61, 158, 107, 0.35);
}
.btn-outline:hover { background: rgba(61,158,107,0.07); border-color: rgba(61,158,107,0.55); }

/* ── HERO ── */
.hero {
  min-height: auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 140px 24px 60px;
  position: relative; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(61,158,107,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(42,122,80,0.09) 0%, transparent 60%),
    linear-gradient(180deg, #f5f3ee 0%, #ece8df 100%);
}

.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.035;
  background-image:
    linear-gradient(rgba(61,158,107,0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,158,107,0.8) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { position: relative; z-index: 1; max-width: 820px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(61,158,107,0.12); border: 1px solid rgba(61,158,107,0.28);
  color: var(--ac2); font-size: 13px; font-weight: 600;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ac); animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px); font-weight: 800;
  line-height: 1.1; letter-spacing: -2px; margin-bottom: 24px;
  background: linear-gradient(135deg, #1e2e20 0%, #3a5040 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px); color: var(--muted);
  max-width: 580px; margin: 0 auto 40px; line-height: 1.7;
}

.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; margin-bottom: 64px;
}

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--card-border);
}

.hero-stat { text-align: center; }
.hero-stat-num { font-size: 28px; font-weight: 800; color: var(--ac2); letter-spacing: -1px; }
.hero-stat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ── SECTION SHARED ── */
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ac); margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  letter-spacing: -1px; color: var(--text); text-align: center;
  margin-bottom: 16px; line-height: 1.2;
}

.section-sub {
  font-size: 16px; color: var(--muted); text-align: center;
  max-width: 520px; margin: 0 auto 48px; line-height: 1.7;
}

/* ── VIDEO SECTION ── */
.video-section {
  padding: 80px 24px;
  display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark2) 100%);
}

.video-wrapper {
  width: 100%; max-width: 900px;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 40px 100px rgba(0,0,0,0.12), 0 0 0 1px rgba(61,158,107,0.12);
  position: relative; background: #1a2e1e;
}

.video-placeholder {
  width: 100%; aspect-ratio: 16/9;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #d8ede0 0%, #c8e0d0 100%);
  gap: 20px; cursor: pointer;
}

.video-play-btn {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(61,158,107,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none; pointer-events: none;
}

.video-placeholder:hover .video-play-btn {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(61,158,107,0.65);
}

.video-placeholder-text { color: var(--muted); font-size: 15px; }

.video-wrapper video {
  width: 100%; display: block;
  aspect-ratio: 16/9; object-fit: cover;
}

/* ── FEATURES ── */
.features-section { padding: 100px 24px; max-width: 1200px; margin: 0 auto; }
.features-header { text-align: center; margin-bottom: 64px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #fff; border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 32px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.feature-card:hover {
  border-color: rgba(61,158,107,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(61,158,107,0.1);
}

.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(61,158,107,0.1); border: 1px solid rgba(61,158,107,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── HOW IT WORKS ── */
.how-section {
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--dark2) 0%, var(--dark) 100%);
}

.how-inner { max-width: 1100px; margin: 0 auto; text-align: center; }

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px; margin-top: 64px;
}

.how-step { text-align: center; }

.how-step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(61,158,107,0.35);
}

.how-step h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.how-step p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── CHATBOT INFO ── */
.chatbot-section { padding: 100px 24px; background: var(--dark); }

.chatbot-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

.chatbot-content h2 {
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 800;
  color: var(--text); margin-bottom: 20px; letter-spacing: -1px; line-height: 1.2;
}

.chatbot-content p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }

.chatbot-points {
  list-style: none; display: flex; flex-direction: column;
  gap: 14px; margin-top: 28px;
}

.chatbot-points li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--muted);
}

.point-icon {
  width: 24px; height: 24px; border-radius: 8px;
  background: rgba(61,158,107,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}

.chatbot-demo {
  background: #fff; border: 1px solid var(--card-border);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.1);
}

.demo-header {
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  padding: 16px 20px; display: flex; align-items: center; gap: 12px;
}

.demo-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}

.demo-header-text .name { font-size: 14px; font-weight: 700; color: #fff; }
.demo-header-text .status { font-size: 11px; color: rgba(255,255,255,0.7); }

.demo-messages {
  padding: 20px; display: flex; flex-direction: column;
  gap: 14px; min-height: 240px; background: #f8faf8;
}

.demo-msg { display: flex; gap: 10px; align-items: flex-end; }
.demo-msg.user { flex-direction: row-reverse; }

.demo-bubble {
  max-width: 75%; padding: 10px 14px;
  border-radius: 14px; font-size: 13px; line-height: 1.6;
}

.demo-msg.bot .demo-bubble {
  background: #fff; color: var(--text);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.demo-msg.user .demo-bubble {
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  color: #fff; border-bottom-right-radius: 4px;
}

.demo-bot-av {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.demo-footer {
  padding: 12px 16px; border-top: 1px solid var(--card-border);
  display: flex; gap: 10px; background: #fff;
}

.demo-input {
  flex: 1; background: #f5f7f5;
  border: 1px solid var(--card-border); border-radius: 8px;
  padding: 9px 14px; font-size: 13px; color: var(--muted);
}

.demo-send {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; flex-shrink: 0;
}

/* ── PRICING ── */
.pricing-section {
  padding: 100px 24px 60px;
  background: linear-gradient(180deg, var(--dark2) 0%, var(--dark) 100%);
}

.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-header { text-align: center; margin-bottom: 64px; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: start;
}

.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.pricing-enterprise-note {
  margin-top: 40px;
}

.pricing-enterprise-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, rgba(61,158,107,0.12) 0%, rgba(42,122,80,0.06) 100%);
  border: 1px solid rgba(61,158,107,0.3);
  border-radius: var(--radius);
  padding: 32px 40px;
}

.pricing-enterprise-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pricing-enterprise-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ac);
  background: rgba(61,158,107,0.15);
  border: 1px solid rgba(61,158,107,0.3);
  border-radius: 100px;
  padding: 3px 12px;
  width: fit-content;
}

.pricing-enterprise-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.3px;
}

.pricing-enterprise-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  max-width: 560px;
}

.pricing-enterprise-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.pricing-card {
  background: #fff; border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 24px 24px;
  position: relative; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(61,158,107,0.12); }

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(61,158,107,0.08), rgba(42,122,80,0.04));
  border-color: rgba(61,158,107,0.45);
  box-shadow: 0 0 0 1px rgba(61,158,107,0.2), 0 20px 60px rgba(61,158,107,0.12);
}

.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  padding: 5px 18px; border-radius: 100px; white-space: nowrap;
}

.pricing-plan {
  font-size: 13px; font-weight: 700; color: var(--ac);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px;
}

.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.pricing-price-num { font-size: 38px; font-weight: 800; color: var(--text); letter-spacing: -2px; }
.pricing-price-period { font-size: 13px; color: var(--muted); }

.pricing-desc { font-size: 13px; color: var(--muted); margin-bottom: 16px; line-height: 1.5; }
.pricing-divider { height: 1px; background: var(--card-border); margin-bottom: 14px; }

.pricing-features {
  list-style: none; display: flex; flex-direction: column;
  gap: 7px; margin-bottom: 20px;
}

.pricing-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--muted);
}

.check {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(61,158,107,0.12); border: 1px solid rgba(61,158,107,0.28);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}

.pricing-features li.dim { opacity: 0.4; }
.pricing-cta { width: 100%; text-align: center; justify-content: center; }

/* ── CTA BANNER ── */
.cta-section { padding: 100px 24px; text-align: center; background: var(--dark); }

.cta-inner {
  max-width: 700px; margin: 0 auto;
  background: linear-gradient(135deg, rgba(61,158,107,0.1), rgba(42,122,80,0.05));
  border: 1px solid rgba(61,158,107,0.3);
  border-radius: 24px; padding: 64px 48px;
  box-shadow: 0 0 80px rgba(61,158,107,0.08);
}

.cta-inner h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  color: var(--text); margin-bottom: 16px; letter-spacing: -1px;
}

.cta-inner p { font-size: 16px; color: var(--muted); margin-bottom: 36px; line-height: 1.7; }

.cta-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--card-border);
  padding: 60px 40px 32px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px; color: var(--muted); line-height: 1.7;
  max-width: 280px; margin-top: 16px;
}

.footer-col h4 {
  font-size: 13px; font-weight: 700; color: var(--text);
  margin-bottom: 16px; letter-spacing: 0.04em;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 14px; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding-top: 32px; border-top: 1px solid var(--card-border);
}

.footer-bottom p { font-size: 13px; color: var(--muted); }

.footer-legal { display: flex; gap: 24px; }

.footer-legal a {
  font-size: 13px; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.footer-legal a:hover { color: var(--text); }

/* ── AUTH PAGES ── */
.auth-page {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #f5f3ee 0%, #ece8df 50%, #f5f3ee 100%);
}

.auth-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 32px;
  text-decoration: none; color: var(--text);
}

.auth-logo-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  display: flex; align-items: center; justify-content: center;
}

.auth-logo-text { font-weight: 700; font-size: 20px; color: var(--text); }

.auth-card {
  background: #fff; border-radius: 20px;
  padding: 40px; width: 100%; max-width: 420px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.1);
  border: 1px solid var(--card-border);
}

.auth-card h1 { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.auth-card .subtitle { font-size: 14px; color: var(--muted); margin-bottom: 28px; }

.form-group { margin-bottom: 16px; }

.form-label {
  display: block; font-size: 11px; font-weight: 600;
  color: var(--muted); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.05em;
}

.form-input {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  border: 1.5px solid #e5e7eb; font-size: 14px; color: var(--text);
  background: #f9fafb; transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus { border-color: var(--ac); box-shadow: 0 0 0 3px rgba(61,158,107,0.12); }

.form-error {
  display: none; font-size: 13px; color: #dc2626;
  background: #fef2f2; border: 1px solid #fecaca;
  border-radius: 8px; padding: 10px 12px; margin-top: 4px;
}

.btn-submit {
  width: 100%; padding: 12px; border-radius: 10px;
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  color: #fff; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.2s; box-shadow: 0 4px 16px rgba(61,158,107,0.3);
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(61,158,107,0.45); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.auth-switch {
  margin-top: 20px; text-align: center;
  font-size: 14px; color: var(--muted);
}

.auth-switch a {
  color: var(--ac); font-weight: 600;
  text-decoration: none; margin-left: 4px;
}
.auth-switch a:hover { text-decoration: underline; }

.auth-back {
  margin-top: 20px; text-align: center;
}

.auth-back a {
  font-size: 13px; color: var(--muted);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.auth-back a:hover { color: var(--text); }

/* ── SPINNER ── */
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
  display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── POLICY PAGES ── */
.policy-page {
  min-height: 100vh;
  background: var(--dark);
}

.policy-hero {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--dark) 100%);
  padding: 120px 24px 60px;
  text-align: center;
  border-bottom: 1px solid var(--card-border);
}

.policy-hero h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 800;
  color: var(--text); letter-spacing: -1.5px; margin-bottom: 12px;
}

.policy-hero p { font-size: 15px; color: var(--muted); }

.policy-content {
  max-width: 800px; margin: 0 auto;
  padding: 60px 24px 80px;
}

.policy-section { margin-bottom: 48px; }

.policy-section h2 {
  font-size: 22px; font-weight: 700; color: var(--text);
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--card-border);
}

.policy-section h3 {
  font-size: 16px; font-weight: 600; color: var(--text);
  margin: 20px 0 8px;
}

.policy-section p {
  font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 12px;
}

.policy-section ul, .policy-section ol {
  padding-left: 20px; color: var(--muted); font-size: 15px; line-height: 1.8;
}

.policy-section ul li, .policy-section ol li { margin-bottom: 8px; }

.policy-placeholder {
  background: #fff; border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 32px; margin-bottom: 24px;
  text-align: center;
}

.policy-placeholder p { font-size: 14px; color: var(--muted); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .chatbot-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); max-width: none; }
}

@media (max-width: 600px) {
  .hero { padding: 100px 20px 60px; }
  .hero-stats { gap: 24px; }
  .cta-inner { padding: 40px 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  footer { padding: 48px 20px 24px; }
  .auth-card { padding: 28px 20px; }
  .pricing-grid-4 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* ── POLICY PAGE EXTRAS ── */
.policy-toc {
  background: rgba(61,158,107,.06); border: 1px solid rgba(61,158,107,.18);
  border-radius: 14px; padding: 20px 24px; margin-bottom: 40px;
}
.policy-toc h3 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.policy-toc ol { padding-left: 18px; margin: 0; }
.policy-toc li { font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.policy-toc a { color: var(--ac); text-decoration: none; }
.policy-toc a:hover { text-decoration: underline; }
.policy-table-wrap { overflow-x: auto; margin: 16px 0; }
.policy-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.policy-table th { background: rgba(61,158,107,.08); color: var(--text); font-weight: 600; padding: 10px 14px; text-align: left; border-bottom: 2px solid rgba(61,158,107,.2); }
.policy-table td { padding: 10px 14px; border-bottom: 1px solid var(--card-border); color: var(--muted); vertical-align: top; }
.policy-table tr:last-child td { border-bottom: none; }
.policy-table code { background: rgba(61,158,107,.1); padding: 2px 6px; border-radius: 4px; font-size: 12px; color: var(--ac2); }
.policy-contact-box {
  background: rgba(61,158,107,.06); border: 1px solid rgba(61,158,107,.18);
  border-radius: 12px; padding: 18px 22px; margin: 16px 0;
}
.policy-contact-box p { margin: 0 0 4px; font-size: 14px; color: var(--text); }
.policy-contact-box a { color: var(--ac); }
/* Cookie category badges */
.cookie-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.cookie-badge-essential { background: rgba(61,158,107,.15); color: #2a7a50; }
.cookie-badge-analytics { background: rgba(99,102,241,.12); color: #4338ca; }
.cookie-badge-prefs { background: rgba(245,158,11,.12); color: #b45309; }
.cookie-category { margin-bottom: 20px; }
.cookie-category-header { background: #f8faf8; border-radius: 12px; padding: 16px 18px; }
.cookie-category-title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cookie-category-title h3 { margin: 0; font-size: 15px; }
.cookie-category-header p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.6; }
.cookie-manage-box {
  display: flex; align-items: flex-start; gap: 16px;
  background: rgba(61,158,107,.06); border: 1px solid rgba(61,158,107,.18);
  border-radius: 14px; padding: 20px; margin: 20px 0;
}
.cookie-manage-icon { color: #3d9e6b; flex-shrink: 0; margin-top: 2px; }
.cookie-manage-box h4 { font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.cookie-manage-box p { font-size: 13.5px; color: var(--muted); margin: 0; }
/* Footer cookie button */
.footer-cookie-btn {
  background: none; border: none; color: inherit; cursor: pointer;
  font-size: inherit; padding: 0; text-decoration: none;
  font-family: inherit; opacity: .8; transition: opacity .2s;
}
.footer-cookie-btn:hover { opacity: 1; text-decoration: underline; }
/* ── GOOGLE OAUTH BUTTON ── */
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 11px 20px; border-radius: 10px;
  background: #fff; color: #3c4043;
  border: 1.5px solid #dadce0;
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background 0.18s, box-shadow 0.18s;
  font-family: inherit; text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.btn-google:hover {
  background: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.btn-google:disabled {
  opacity: 0.6; cursor: not-allowed;
}
.btn-google svg { flex-shrink: 0; }

/* ── AUTH DIVIDER ── */
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0; color: #9ca3af; font-size: 12px; font-weight: 500;
}
.auth-divider::before,
.auth-divider::after {
  content: ''; flex: 1; height: 1px; background: #e5e7eb;
}

/* ── reCAPTCHA v3 — hide the floating badge; legal notice shown inline ── */
.grecaptcha-badge { visibility: hidden !important; }

.recaptcha-notice {
  margin-top: 14px; text-align: center;
  font-size: 11px; color: #9ca3af; line-height: 1.6;
}
.recaptcha-notice a {
  color: var(--muted); text-decoration: underline;
}
.recaptcha-notice a:hover { color: var(--text); }