/* ============================================================
   Chatbot Flow — landing.css
   Complete stylesheet for all landing page components
   ============================================================ */

/* ----------------------------------------------------------
   1. RESET & BASE
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1f2937;
  line-height: 1.65;
  background: #fff;
  overflow-x: hidden;
}

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

a {
  color: #4F46E5;
  text-decoration: none;
}

a:hover { text-decoration: underline; }

ul, ol { list-style: none; }

button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ----------------------------------------------------------
   2. LAYOUT
   ---------------------------------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.container-wide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

section {
  padding: clamp(48px, 8vw, 88px) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-header .subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: #6b7280;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 8px;
}

/* ----------------------------------------------------------
   3. SITE BANNER (top promo bar)
   ---------------------------------------------------------- */
.site-banner {
  background: #4F46E5;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  z-index: 60;
}

.site-banner a {
  color: #c7d2fe;
  text-decoration: underline;
  margin-left: 6px;
}

.site-banner a:hover { color: #fff; }

/* ----------------------------------------------------------
   4. NAVIGATION
   ---------------------------------------------------------- */
.site-nav {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: #4F46E5;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo:hover { text-decoration: none; color: #4338CA; }

.logo img {
  height: 40px;
  width: auto;
}

/* Nav links wrapper */
.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-item > a,
.nav-item > button {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #374151;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  text-decoration: none;
  background: none;
  border: none;
  white-space: nowrap;
}

.nav-item > a:hover,
.nav-item > button:hover {
  background: #f3f4f6;
  color: #4F46E5;
  text-decoration: none;
}

.nav-item > a.active,
.nav-item > button.active {
  color: #4F46E5;
}

/* Dropdown chevron */
.nav-chevron {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  transition: transform 0.2s;
}

.nav-item:hover .nav-chevron,
.nav-item:focus-within .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown menus */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,.12);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  transform-origin: top center;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.1s;
}

.nav-dropdown a:hover {
  background: #f5f3ff;
  color: #4F46E5;
  text-decoration: none;
}

.nav-dropdown .dropdown-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.nav-dropdown .dropdown-label {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 400;
  display: block;
  line-height: 1.2;
}

/* Nav right (CTA + lang) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Lang switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #f3f4f6;
  border-radius: 6px;
  padding: 3px;
}

.lang-switcher a {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
}

.lang-switcher a.active {
  background: #fff;
  color: #4F46E5;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

.lang-switcher a:hover { color: #4F46E5; text-decoration: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 100;
  overflow-y: auto;
  padding: 20px 24px 40px;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav.open { display: flex; }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mobile-nav-close {
  font-size: 28px;
  cursor: pointer;
  color: #6b7280;
  background: none;
  border: none;
  line-height: 1;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.mobile-nav a:hover { color: #4F46E5; }

.mobile-nav .mobile-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9ca3af;
  padding: 16px 0 6px;
}

/* Buttons inside mobile nav must not inherit link colour/border */
.mobile-nav .btn {
  color: #fff;
  border-bottom: none;
  text-decoration: none;
}
.mobile-nav .btn:hover { color: #fff; text-decoration: none; }
.mobile-nav .btn-outline {
  color: #4F46E5;
  border-bottom: none;
}
.mobile-nav .btn-outline:hover { color: #4F46E5; text-decoration: none; }

/* Mobile language switcher — large tap targets */
.mobile-lang-switcher {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
}
.mobile-lang-switcher a {
  flex: 1;
  text-align: center;
  padding: 13px 8px;
  border-radius: 8px;
  border: 2px solid #e5e7eb;
  color: #6b7280;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 2px solid #e5e7eb; /* override .mobile-nav a's bottom border */
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.mobile-lang-switcher a.active {
  border-color: #4F46E5;
  color: #4F46E5;
  background: #eef2ff;
}
.mobile-lang-switcher a:hover { color: #4F46E5; border-color: #4F46E5; }

/* ----------------------------------------------------------
   5. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  background: #4F46E5;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  border: 2px solid #4F46E5;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  min-height: 46px;
  white-space: nowrap;
}

.btn:hover {
  background: #4338CA;
  border-color: #4338CA;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn:active { transform: translateY(1px); }

.btn:focus-visible {
  outline: 3px solid #818cf8;
  outline-offset: 2px;
}

.btn-outline {
  background: transparent;
  color: #4F46E5;
}

.btn-outline:hover {
  background: #4F46E5;
  color: #fff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.btn-white {
  background: #fff;
  color: #4F46E5;
  border-color: #fff;
}

.btn-white:hover {
  background: #f5f3ff;
  border-color: #f5f3ff;
  color: #4338CA;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
  min-height: 38px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
  min-height: 54px;
  border-radius: 10px;
}

/* ----------------------------------------------------------
   6. HERO
   ---------------------------------------------------------- */
.hero {
  padding: clamp(56px, 10vw, 104px) 0;
  text-align: center;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 60%, #e0e7ff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99,102,241,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(79, 70, 229, 0.1);
  color: #4F46E5;
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  text-decoration: none;
}

.hero-badge:hover { text-decoration: none; background: rgba(79,70,229,.15); }

.hero-headline {
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.12;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin: 0 auto 20px;
}

.hero-headline em {
  font-style: normal;
  color: #4F46E5;
}

.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: #4b5563;
  max-width: 660px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-note {
  font-size: 13px;
  color: #9ca3af;
  margin-top: -36px;
  margin-bottom: 36px;
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(79,70,229,.15);
  margin-top: 8px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #4F46E5;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
}

/* ----------------------------------------------------------
   7. STATS BAR
   ---------------------------------------------------------- */
.stats-bar {
  background: #4F46E5;
  padding: 28px 0;
}

.stats-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-number {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 4px;
}

/* ----------------------------------------------------------
   8. TRUST BAR
   ---------------------------------------------------------- */
.trust-bar {
  padding: 24px 0;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

.trust-item svg,
.trust-item .trust-icon {
  color: #10b981;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   9. FEATURE CARDS
   ---------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
}

.feature-card {
  padding: 28px 24px;
  background: #f9fafb;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.15s, transform 0.15s;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.1);
  transform: translateY(-2px);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature-card p {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #4F46E5;
  border-radius: 12px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-icon.green  { background: #10b981; }
.feature-icon.orange { background: #f59e0b; }
.feature-icon.pink   { background: #ec4899; }
.feature-icon.blue   { background: #3b82f6; }

/* ----------------------------------------------------------
   10. TESTIMONIALS
   ---------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.15s;
}

.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.testimonial-rating {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  font-size: 18px;
}

.testimonial-quote {
  font-size: 15.5px;
  color: #374151;
  line-height: 1.65;
  flex: 1;
  font-style: italic;
}

.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f3f4f6;
  padding-top: 16px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #4F46E5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.testimonial-author-name {
  font-weight: 600;
  color: #111827;
  font-size: 14px;
}

.testimonial-author-role {
  color: #6b7280;
  font-size: 13px;
}

/* ----------------------------------------------------------
   11. PRICING
   ---------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.plan {
  padding: 36px 28px;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  position: relative;
  transition: box-shadow 0.15s;
}

.plan:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}

.plan.featured {
  border-color: #4F46E5;
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.15);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #4F46E5;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #6b7280;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-price {
  font-size: clamp(38px, 5vw, 50px);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.plan-price span.period {
  font-size: 16px;
  color: #6b7280;
  font-weight: 400;
  letter-spacing: 0;
}

.plan-price span.tax {
  font-size: 13px;
  color: #9ca3af;
  font-weight: 400;
}

.plan-tagline {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 24px;
  min-height: 40px;
}

.plan-features {
  list-style: none;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plan-features li {
  padding: 7px 0;
  color: #374151;
  font-size: 14.5px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-bottom: 1px solid #f3f4f6;
}

.plan-features li:last-child { border-bottom: none; }

.plan-features li .check {
  color: #10b981;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-features li .cross {
  color: #d1d5db;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-cta {
  display: block;
  text-align: center;
}

.plan-option {
  background: #f9fafb;
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 12px;
  border: 1px solid #e5e7eb;
}

.plan-option-name {
  font-weight: 600;
  font-size: 14px;
  color: #374151;
  margin-bottom: 4px;
}

.plan-option-price {
  font-size: 20px;
  font-weight: 700;
  color: #4F46E5;
}

.plan-option-price span {
  font-size: 13px;
  color: #6b7280;
  font-weight: 400;
}

/* ----------------------------------------------------------
   12. COMPARISON TABLE
   ---------------------------------------------------------- */
.comparison-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.comparison-table th {
  background: #f9fafb;
  padding: 16px 20px;
  text-align: center;
  font-weight: 700;
  color: #111827;
  border-bottom: 2px solid #e5e7eb;
  white-space: nowrap;
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table th.highlight {
  background: #4F46E5;
  color: #fff;
}

.comparison-table td {
  padding: 13px 20px;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
  text-align: center;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table tr:hover td { background: #fafafa; }

.comparison-check {
  color: #10b981;
  font-size: 18px;
  font-weight: 700;
}

.comparison-cross {
  color: #d1d5db;
  font-size: 18px;
}

.comparison-table .highlight-col {
  background: rgba(79,70,229,.04);
}

/* ----------------------------------------------------------
   13. FAQ ACCORDION (CSS only, uses details/summary)
   ---------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.faq-item[open] {
  box-shadow: 0 4px 12px rgba(79,70,229,.1);
  border-color: #c7d2fe;
}

.faq-question {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 16px;
  color: #111827;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: #4F46E5;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover { color: #4F46E5; }

.faq-answer {
  padding: 0 20px 20px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
}

.faq-answer p + p { margin-top: 10px; }
.faq-answer a { color: #4F46E5; }

/* ----------------------------------------------------------
   14. CTA SECTIONS
   ---------------------------------------------------------- */
.cta-section {
  padding: clamp(56px, 8vw, 96px) 0;
  text-align: center;
  background: #f5f3ff;
}

.cta-section h2 {
  font-size: clamp(26px, 4.5vw, 42px);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: clamp(15px, 2vw, 18px);
  color: #6b7280;
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-section .cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section.dark {
  background: #1e1b4b;
}

.cta-section.dark h2 { color: #fff; }
.cta-section.dark p  { color: #a5b4fc; }

.cta-section.gradient {
  background: linear-gradient(135deg, #4F46E5 0%, #7c3aed 100%);
}

.cta-section.gradient h2 { color: #fff; }
.cta-section.gradient p  { color: rgba(255,255,255,.8); }

/* ----------------------------------------------------------
   15. BLOG / CONTENT CARDS
   ---------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 28px;
}

.blog-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s, transform 0.15s;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,.1);
  transform: translateY(-3px);
  text-decoration: none;
}

.blog-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #ede9fe, #e0e7ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-tag {
  display: inline-block;
  padding: 3px 10px;
  background: #ede9fe;
  color: #4F46E5;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.blog-card-date {
  font-size: 12px;
  color: #9ca3af;
}

.blog-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}

.blog-card:hover .blog-card-title { color: #4F46E5; }

.blog-card-excerpt {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  flex: 1;
}

.blog-card-read-more {
  font-size: 14px;
  font-weight: 600;
  color: #4F46E5;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

/* ----------------------------------------------------------
   16. SOLUTION PAGES
   ---------------------------------------------------------- */
.solution-hero {
  padding: clamp(56px, 9vw, 100px) 0;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  text-align: center;
}

.solution-hero h1 {
  font-size: clamp(30px, 5.5vw, 52px);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.solution-hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: #4b5563;
  max-width: 640px;
  margin: 0 auto 32px;
}

.solution-features {
  padding: clamp(48px, 7vw, 80px) 0;
}

.solution-cta {
  background: linear-gradient(135deg, #4F46E5 0%, #7c3aed 100%);
  padding: clamp(48px, 7vw, 80px) 0;
  text-align: center;
  color: #fff;
}

.solution-cta h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 700; margin-bottom: 14px; }
.solution-cta p  { font-size: 17px; opacity: .85; margin-bottom: 28px; }

.use-case-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.use-case-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.use-case-number {
  width: 36px;
  height: 36px;
  background: #4F46E5;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   17. STEP PROCESS
   ---------------------------------------------------------- */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.steps-list::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(to bottom, #4F46E5, #c7d2fe);
}

.step-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: #4F46E5;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px #e0e7ff;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.step-content p {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.65;
}

/* ----------------------------------------------------------
   18. PROSE (long-form content)
   ---------------------------------------------------------- */
.prose {
  max-width: 780px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
}

.prose h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #111827;
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
}

.prose h3 {
  font-size: clamp(19px, 2.5vw, 22px);
  font-weight: 700;
  color: #111827;
  margin: 28px 0 12px;
}

.prose p { margin-bottom: 18px; }

.prose ul, .prose ol {
  margin: 0 0 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }

.prose li { color: #4b5563; }

.prose blockquote {
  border-left: 4px solid #4F46E5;
  padding: 16px 20px;
  margin: 24px 0;
  background: #f5f3ff;
  border-radius: 0 8px 8px 0;
  color: #374151;
  font-style: italic;
}

.prose a { color: #4F46E5; text-decoration: underline; }
.prose a:hover { color: #4338CA; }

.prose strong { font-weight: 700; color: #111827; }

.prose code {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
}

.prose pre {
  background: #1e1b4b;
  padding: 20px;
  border-radius: 10px;
  overflow-x: auto;
  margin-bottom: 18px;
}

.prose pre code {
  background: none;
  color: #c7d2fe;
  padding: 0;
  font-size: 14px;
}

/* ----------------------------------------------------------
   19. FOOTER
   ---------------------------------------------------------- */
.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #9ca3af;
  margin-top: 12px;
  max-width: 260px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  margin-bottom: 4px;
}

.footer-logo:hover { text-decoration: none; color: #a5b4fc; }

.footer-logo img { height: 36px; width: auto; }

.footer-col {}

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #9ca3af;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.1s;
}

.footer-links a:hover { color: #a5b4fc; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer-bottom a {
  color: #6b7280;
  text-decoration: none;
}

.footer-bottom a:hover { color: #a5b4fc; }

.footer-bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------
   20. FORM ELEMENTS
   ---------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  color: #111827;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-control:focus {
  border-color: #4F46E5;
  box-shadow: 0 0 0 3px rgba(79,70,229,.15);
}

.form-control::placeholder { color: #9ca3af; }

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  font-size: 12px;
  color: #9ca3af;
}

.form-error {
  font-size: 12px;
  color: #ef4444;
}

/* Flash messages */
.flash-success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 24px;
}

.flash-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 24px;
}

/* ----------------------------------------------------------
   21. BREADCRUMB
   ---------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}

.breadcrumb a:hover { color: #4F46E5; }

.breadcrumb-sep { color: #d1d5db; }

/* ----------------------------------------------------------
   22. ARTICLE / GUIDE HEADER
   ---------------------------------------------------------- */
.article-header {
  text-align: center;
  padding: clamp(40px, 7vw, 80px) 0 clamp(32px, 5vw, 56px);
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.article-header h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #6b7280;
}

/* ----------------------------------------------------------
   23. INLINE HIGHLIGHT BOXES
   ---------------------------------------------------------- */
.highlight-box {
  background: #f5f3ff;
  border-left: 4px solid #4F46E5;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}

.highlight-box p { color: #374151; margin: 0; }

.info-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 24px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.info-box .info-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ----------------------------------------------------------
   24. BADGE / PILL
   ---------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.badge-indigo  { background: #ede9fe; color: #4F46E5; }
.badge-green   { background: #d1fae5; color: #065f46; }
.badge-orange  { background: #fef3c7; color: #92400e; }
.badge-red     { background: #fee2e2; color: #991b1b; }
.badge-gray    { background: #f3f4f6; color: #374151; }

/* ----------------------------------------------------------
   25. PAGE-LEVEL HERO (for inner pages)
   ---------------------------------------------------------- */
.page-hero {
  padding: clamp(40px, 7vw, 72px) 0;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: clamp(15px, 2vw, 19px);
  color: #4b5563;
  max-width: 620px;
  margin: 0 auto 28px;
}

/* ----------------------------------------------------------
   26. SECTION DIVIDERS
   ---------------------------------------------------------- */
.bg-gray { background: #f9fafb; }
.bg-white { background: #fff; }
.bg-indigo-light { background: #f5f3ff; }
.bg-dark { background: #111827; }

/* ----------------------------------------------------------
   27. UTILITIES
   ---------------------------------------------------------- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ----------------------------------------------------------
   28. RESPONSIVE — 768px
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  .nav-center { display: none; }
  .hamburger  { display: flex; }

  /* On mobile: hide all nav-right links/buttons — they live in the overlay */
  .nav-right > a,
  .nav-right .lang-switcher { display: none; }

  /* Prevent any overflow on the nav bar itself */
  .site-nav .container { overflow: hidden; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .hero-stats {
    gap: 28px;
  }

  .steps-list::before { display: none; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------
   29. RESPONSIVE — 480px
   ---------------------------------------------------------- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  .cta-section .cta-actions { flex-direction: column; align-items: center; }
  .cta-section .cta-actions .btn { width: 100%; max-width: 320px; }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .plan { padding: 28px 20px; }

  .logo img { height: 34px; }
  .logo { font-size: 18px; }

  .site-banner { font-size: 12px; }
}

/* ----------------------------------------------------------
   30. ACCESSIBILITY
   ---------------------------------------------------------- */
:focus-visible {
  outline: 3px solid #818cf8;
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 10px 16px;
  background: #4F46E5;
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  text-decoration: none;
}
