/* ============================================
   JOGI AI - MAIN STYLESHEET
   Production-Ready | SEO Optimized | Fast
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  color-scheme: dark;
  --primary: #4f9eff;
  --primary-light: #7ab8ff;
  --accent: #00d4aa;
  --accent-hover: #00b894;
  --accent-glow: rgba(0, 212, 170, 0.15);
  --text-on-accent: #0a2540;
  --secondary: #635bff;
  --secondary-light: #7c75ff;
  --text: #e6edf3;
  --text-light: #9da7b0;
  --text-muted: #939da6;
  --bg: #0d1117;
  --bg-alt: #161b22;
  --bg-dark: #010409;
  --surface: #1c2128;
  --border: #30363d;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 30px rgba(0, 212, 170, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --navbar-bg: rgba(13, 17, 23, 0.95);
  --hero-gradient: linear-gradient(170deg, #0f1923 0%, #0d1117 50%, #0a1a0f 100%);
  /* White & semi-transparent white design tokens */
  --white: #ffffff;
  --color-error: #ef4444;
  --color-success: #10b981;
  --color-whatsapp: #25d366;
  --color-twitter: #1da1f2;
  --color-linkedin: #0077b5;
  --color-facebook: #1877f2;
  --color-star: #f59e0b;
  --white-75: rgba(255, 255, 255, 0.75);
  --white-70: rgba(255, 255, 255, 0.70);
  --white-60: rgba(255, 255, 255, 0.60);
  --white-10: rgba(255, 255, 255, 0.10);
  --white-08: rgba(255, 255, 255, 0.08);
  --white-05: rgba(255, 255, 255, 0.05);
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-display);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; touch-action: manipulation; max-width: 100%; }

/* Utility: hide elements (used by blog filter JS) */
.hidden { display: none !important; }

/* Accessibility: skip-to-main-content link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 16px;
  z-index: 10000;
  padding: 10px 20px;
  background: var(--accent);
  color: var(--text-on-accent);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
}
.skip-link:focus {
  left: 16px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { color: var(--text-light); margin-bottom: 1rem; }
.text-accent { color: var(--accent); }
.text-secondary { color: var(--secondary); }
.text-center { text-align: center; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: var(--white-75);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header .badge {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-dark .section-header .badge {
  background: rgba(0, 212, 170, 0.15);
}

.section-header h2 {
  margin-bottom: 16px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-on-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--text-on-accent);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--surface);
  color: var(--primary);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navbar-bg);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}
/* Avoid inline style="height:50px;width:auto;" on every page's logo img */
.nav-logo img {
  height: 50px;
  width: auto;
}
.footer-logo img {
  height: 44px;
  width: auto;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta .btn {
  min-width: 140px;
  text-align: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--hero-gradient);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 91, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}

.hero-content .hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-content h1 {
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .hero-desc {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 520px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-content .btn-group {
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

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

.hero-stats .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-stats .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  animation: fadeInRight 0.8s ease 0.3s both;
}

.hero-visual .hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-visual .hero-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: calc(var(--radius-lg) + 2px);
  z-index: -1;
  opacity: 0.3;
}

.workflow-demo {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.workflow-step:hover {
  background: var(--accent-glow);
  transform: translateX(4px);
}

.workflow-step .step-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.workflow-step .step-icon.blue { background: #dbeafe; }
.workflow-step .step-icon.green { background: #d1fae5; }
.workflow-step .step-icon.purple { background: #ede9fe; }
.workflow-step .step-icon.orange { background: #ffedd5; }

.workflow-step .step-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--primary);
}

.workflow-step .step-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.workflow-connector {
  width: 2px;
  height: 20px;
  background: linear-gradient(to bottom, var(--accent), var(--secondary));
  margin-left: 38px;
  opacity: 0.4;
}

/* --- Card Styles --- */
.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid var(--border);
  will-change: transform;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card-icon.green { background: #d1fae5; }
.card-icon.blue { background: #dbeafe; }
.card-icon.purple { background: #ede9fe; }
.card-icon.orange { background: #ffedd5; }
.card-icon.pink { background: #fce7f3; }
.card-icon.cyan { background: #cffafe; }

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9rem;
}

/* --- Problem/Solution Section --- */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.problem-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.problem-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.problem-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.problem-item .icon.red { background: #fee2e2; }
.problem-item .icon.green { background: #d1fae5; }

.problem-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.problem-item p {
  font-size: 0.82rem;
  margin-bottom: 0;
}

/* --- How It Works --- */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--secondary));
  opacity: 0.3;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.3);
}

.step-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.step-card p {
  font-size: 0.85rem;
}

/* --- Industry Cards --- */
.industry-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
  will-change: transform;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.industry-card .industry-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  background: var(--accent-glow);
}

.industry-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.industry-card .learn-more {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.industry-card:hover .learn-more {
  gap: 8px;
}

/* --- Use Cases --- */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.usecase-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.usecase-item:hover {
  background: var(--white-08);
  border-color: var(--accent);
}

.usecase-item .uc-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 212, 170, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.usecase-item h4 {
  color: var(--white);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.usecase-item p {
  font-size: 0.82rem;
  color: var(--white-60);
  margin-bottom: 0;
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--color-star);
  font-size: 1rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
}

.testimonial-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- CTA Section --- */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-inner p {
  color: var(--white-75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* --- Lead Form --- */
.lead-form-section {
  padding: 80px 0;
}

.lead-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.lead-form-container h2 {
  text-align: center;
  margin-bottom: 8px;
}

.lead-form-container > p {
  text-align: center;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem; /* ≥16px prevents iOS Safari auto-zoom which causes horizontal scroll */
  transition: var(--transition);
  background: var(--bg-alt);
  color: var(--text);
  -webkit-appearance: none;
  touch-action: manipulation;
  max-width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--surface);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.field-error {
  display: block;
  color: var(--color-error);
  font-size: 0.78rem;
  margin-top: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: var(--text-on-accent);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 2px solid var(--border);
  transition: var(--transition);
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured .pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--text-on-accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 50px;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.pricing-card .price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-card .pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-card .pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

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

.pricing-card .pricing-features li .check {
  color: var(--accent);
  font-weight: 700;
}

.pricing-card .pricing-features li .cross {
  color: var(--border);
}

/* --- FAQ --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--accent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  width: 100%;
  text-align: left;
  background: var(--surface);
}

.faq-question .faq-toggle {
  font-size: 1.3rem;
  transition: var(--transition);
  color: var(--accent);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Blog Cards --- */
.blog-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  will-change: transform;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card .blog-image {
  height: 200px;
  background: linear-gradient(135deg, var(--accent-glow), rgba(99, 91, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card .blog-content {
  padding: 24px;
}

.blog-card .blog-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.blog-card .blog-meta span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.blog-card .blog-meta .category {
  color: var(--accent);
  font-weight: 600;
}

.blog-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.blog-card .read-more {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* --- Case Study --- */
.case-study-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.case-study-card:hover {
  box-shadow: var(--shadow-md);
}

.case-study-header {
  padding: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}

.case-study-header .cs-industry {
  display: inline-block;
  background: rgba(0, 212, 170, 0.2);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.case-study-header h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.case-study-body {
  padding: 32px;
}

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.cs-metric {
  text-align: center;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}

.cs-metric .metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.cs-metric .metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item .ci-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.map-placeholder {
  width: 100%;
  height: 250px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-top: 24px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  padding: 40px 0 20px;
  color: var(--white-70);
}

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

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  margin-bottom: 20px;
  color: var(--white-60);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--text-on-accent);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 0.85rem;
  color: var(--white-60);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--white-10);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: var(--white-60);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* Lift WhatsApp button above sticky blog CTA bar when it's visible */
body.sticky-cta-open .whatsapp-float {
  bottom: 80px;
}
@media (max-width: 600px) {
  body.sticky-cta-open .whatsapp-float {
    bottom: 115px;
  }
}

/* --- Page Header --- */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(170deg, #f0f9ff 0%, #ffffff 50%, #f0fdf4 100%);
  text-align: center;
}

.page-header h1 {
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--accent);
}

/* --- Service Detail --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail .service-content h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.service-detail .service-visual {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  font-size: 4rem;
}

.benefit-list {
  margin: 16px 0 20px;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.benefit-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

/* --- Industry Detail --- */
.industry-detail {
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}

.industry-detail:last-child {
  border-bottom: none;
}

.industry-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.industry-detail-header .id-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.industry-detail-header h2 {
  font-size: 1.5rem;
}

.industry-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.pain-points, .solutions {
  padding: 24px;
  border-radius: var(--radius-md);
}

.pain-points {
  background: #fef2f2;
  border: 1px solid #fee2e2;
}

.solutions {
  background: #f0fdf4;
  border: 1px solid #d1fae5;
}

.pain-points h4, .solutions h4 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.pain-points li, .solutions li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pain-points li::before {
  content: '✕';
  color: var(--color-error);
  font-weight: 700;
  flex-shrink: 0;
}

.solutions li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.roi-box {
  margin-top: 24px;
  padding: 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-md);
  color: var(--white);
}

.roi-box h4 {
  color: var(--accent);
  margin-bottom: 12px;
}

.roi-stats {
  display: flex;
  gap: 30px;
}

.roi-stat .rs-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.roi-stat .rs-label {
  font-size: 0.8rem;
  color: var(--white-70);
}

/* --- Trust Badges --- */
.trust-bar {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-item .ti-icon {
  font-size: 1.2rem;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-container { grid-template-columns: repeat(2, 1fr); }
  .steps-container::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta .btn {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-stats {
    justify-content: center;
  }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .problems-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .industry-content { grid-template-columns: 1fr; }
  .roi-stats { flex-direction: column; gap: 12px; }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .case-study-metrics {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 120px 0 60px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .btn-group { flex-direction: column; }
  .lead-form-container { padding: 32px 20px; }
  .trust-items { flex-direction: column; gap: 16px; }
}

/* --- Hero Image --- */
.hero-image-wrapper {
  position: relative;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  will-change: transform;
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.03);
}

.hero-image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(99, 91, 255, 0.10));
  pointer-events: none;
}

/* --- Section Image Banners --- */
.section-image-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  max-height: 300px;
  box-shadow: var(--shadow-md);
}

.section-image-banner img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.section-image-banner:hover img {
  transform: scale(1.03);
}

.section-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.05) 80%,
    rgba(255, 255, 255, 0.15) 100%
  );
  pointer-events: none;
}

.how-it-works-banner .section-image-overlay {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.05) 70%,
    rgba(255, 255, 255, 0.15) 100%
  );
}

/* --- Testimonials Section Background --- */
.testimonials-section {
  position: relative;
  background:
    linear-gradient(170deg, rgba(240, 249, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 50%, rgba(240, 253, 244, 0.9) 100%),
    url('../images/testimonial-bg.jpg') center/cover no-repeat;
}

/* --- CTA with Background Image --- */
.cta-with-bg {
  position: relative;
  overflow: hidden;
}

.cta-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

/* --- Responsive Image Adjustments --- */
@media (max-width: 768px) {
  .hero-image {
    height: 200px;
  }
  .section-image-banner {
    max-height: 200px;
    margin-bottom: 30px;
  }
  .section-image-banner img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .hero-image {
    height: 160px;
  }
  .section-image-banner {
    max-height: 160px;
    margin-bottom: 24px;
  }
  .section-image-banner img {
    height: 160px;
  }
}

/* --- Reading Progress Bar --- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  z-index: 1001;
  transition: width 0.1s linear;
}

/* --- Share Buttons --- */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 32px;
  flex-wrap: wrap;
}

.share-bar span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
  text-decoration: none;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.share-btn.twitter { background: var(--color-twitter); }
.share-btn.linkedin { background: var(--color-linkedin); }
.share-btn.facebook { background: var(--color-facebook); }
.share-btn.whatsapp { background: var(--color-whatsapp); }
.share-btn.copy-link { background: var(--primary); cursor: pointer; border: none; }

/* --- Blog Category Filters --- */
.category-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.category-filters .filter-btn {
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
  font-family: inherit;
}

.category-filters .filter-btn.active,
.category-filters .filter-btn:hover {
  background: var(--accent);
  color: var(--text-on-accent);
}


/* ============================================
   FOCUS STYLES (Accessibility — WCAG 2.1 AA)
   ============================================ */

/* Remove browser outline only for pointer/touch interactions that have visible
   feedback through other means (e.g. hover state). Keyboard users still see
   the :focus-visible outline. This pattern is preferred over plain :focus
   { outline: none } which hides outlines for keyboard users too. */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Filter buttons: indicate active/pressed state for AT users */
.filter-btn[aria-pressed="true"] {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.btn:focus-visible,
.form-submit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.hamburger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}


.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: var(--radius-sm);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ============================================
   DARK MODE — always-on component overrides
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, #1a3a5c 0%, #0d2540 100%);
}
.case-study-header {
  background: linear-gradient(135deg, #1c2d40, #243447);
}
.roi-box {
  background: linear-gradient(135deg, #1c2d40, #243447);
}
.pain-points {
  background: #2a1215;
  border-color: #4a2226;
}
.pain-points h4 {
  color: #f87171;
}
.solutions {
  background: #0d2818;
  border-color: #1e4d30;
}
.solutions h4 {
  color: var(--accent);
}

/* --- Prefers Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
  .reading-progress {
    transition: none;
  }
}

/* --- Performance: CSS Containment ───────────────────────────────────────── */
/* Prevents layout recalculation from leaking outside self-contained components */
.blog-card,
.service-card,
.stat-item,
.testimonial-card,
.industry-card,
.faq-item {
  contain: layout style;
}

/* content-visibility: auto — browser skips off-screen rendering work.
   contain-intrinsic-size: auto preserves scroll position via remembered height.
   Applied only to fully static containers without IntersectionObserver targets
   that need to trigger before the container itself is in view.              */
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 350px;
}

/* will-change only on elements that are actively animated */
.fade-in:not(.visible) {
  will-change: opacity, transform;
}
.reading-progress {
  will-change: width;
}

/* Prevent layout shift from images that load after first paint */
img {
  aspect-ratio: attr(width) / attr(height);
}

/* --- Print --- */
@media print {
  .navbar, .whatsapp-float, .footer, .reading-progress, .share-bar { display: none; }
  .hero { padding-top: 20px; }
  body { font-size: 12pt; }
}

/* =============================================================================
   GROWTH FEATURES
   Annual toggle · Blog search · Exit-intent popup · Sticky CTA · WhatsApp pulse
   ============================================================================= */

/* ── Pricing: Annual / Monthly Toggle ─────────────────────────────────────── */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.pricing-toggle-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition);
}
.pricing-toggle-label.active {
  color: var(--text);
  font-weight: 700;
}
.pricing-toggle-label .savings-pill {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  margin-left: 6px;
  vertical-align: middle;
}
/* The toggle switch */
.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  cursor: pointer;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 28px;
  transition: var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 4px;
  top: 4px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--accent);
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}
.toggle-switch:focus-within .toggle-slider {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
/* Strike-through on original price when annual is active */
.price-original {
  display: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.annual-active .price-original { display: block; }
.annual-active .price-period::after {
  content: ' (billed annually)';
  font-size: 0.7em;
  color: var(--accent);
}

/* ── Blog: Search Input ────────────────────────────────────────────────────── */
.blog-search-wrap {
  margin-bottom: 20px;
}
.blog-search {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}
.blog-search-input {
  width: 100%;
  padding: 12px 44px 12px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.blog-search-input::placeholder { color: var(--text-muted); }
.blog-search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.blog-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 1rem;
}
.blog-no-results {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  grid-column: 1 / -1;
}
.blog-no-results.visible { display: block; }
.blog-no-results h3 { color: var(--text); margin-bottom: 8px; }

/* ── Exit-Intent Popup ─────────────────────────────────────────────────────── */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.exit-popup-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}
.exit-popup {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 48px 40px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 212, 170, 0.1);
}
.exit-popup-overlay.visible .exit-popup {
  transform: translateY(0) scale(1);
}
.exit-popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
  background: none;
  border: none;
  padding: 4px 8px;
}
.exit-popup-close:hover { color: var(--text); }
.exit-popup-emoji { font-size: 2.8rem; margin-bottom: 16px; display: block; }
.exit-popup h2 {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}
.exit-popup p {
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}
.exit-popup-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.exit-popup-dismiss {
  text-align: center;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: none;
  padding: 0;
  display: block;
  width: 100%;
}
.exit-popup-dismiss:hover { color: var(--text); }
@media (max-width: 540px) {
  .exit-popup { padding: 36px 24px; }
  .exit-popup h2 { font-size: 1.35rem; }
}

/* ── Sticky Blog CTA Bar ───────────────────────────────────────────────────── */
.sticky-blog-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}
.sticky-blog-cta.visible { transform: translateY(0); }
.sticky-blog-cta p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}
.sticky-blog-cta p strong { color: var(--accent); }
.sticky-cta-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.sticky-cta-close:hover { color: var(--text); }
@media (max-width: 600px) {
  .sticky-blog-cta { flex-direction: column; gap: 10px; padding: 14px 40px 14px 16px; }
  .sticky-blog-cta p { font-size: 0.82rem; text-align: center; }
}

/* ── WhatsApp Float: Pulse Animation + Tooltip ─────────────────────────────── */
.whatsapp-float {
  /* existing styles preserved via cascade; we add pulse ring */
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--color-whatsapp);
  opacity: 0;
  animation: wa-pulse 2.5s ease-out infinite;
}
.whatsapp-float::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--surface);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.whatsapp-float:hover::after { opacity: 1; }
@keyframes wa-pulse {
  0%   { opacity: 0.7; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(1.5); }
  100% { opacity: 0;   transform: scale(1.5); }
}
@media (max-width: 768px) {
  .whatsapp-float::after { display: none; }
}

/* ── Social Proof: Star Rating Bar ─────────────────────────────────────────── */
.social-proof-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.social-proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.social-proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 32px;
}
.social-proof-stars { color: var(--color-star); font-size: 1.1rem; letter-spacing: 2px; }
.social-proof-number { font-size: 1.4rem; font-weight: 700; color: var(--accent); }
.social-proof-label { font-size: 0.78rem; color: var(--text-muted); text-align: center; }
.social-proof-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }
@media (max-width: 600px) {
  .social-proof-inner { gap: 16px; }
  .social-proof-divider { display: none; }
  .social-proof-item { padding: 0 16px; }
}

/* ── Sticky Blog CTA bar — inner element styles ─────────────────────────────── */
/* Note: .sticky-blog-cta-inner is a child of .sticky-blog-cta which already
   handles position, background, padding, and flex layout. This block
   only styles the text and close button children. */
.sticky-blog-cta-inner { display: contents; }
.sticky-blog-cta-text {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
  min-width: 160px;
  text-align: center;
  font-weight: 500;
}
.sticky-blog-cta-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  flex-shrink: 0;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.sticky-blog-cta-close:hover { color: var(--text); }

/* ── GA4 / Analytics: Click-tracking ripple (visual feedback) ──────────────── */
[data-track]:not(.btn):not(a) { cursor: pointer; }

/* ── Pricing: per-seat upsell hint ─────────────────────────────────────────── */
.pricing-upsell {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 20px;
  font-size: 0.83rem;
  color: var(--accent);
  font-weight: 500;
}

/* ── Urgency / Trust micro-copy ─────────────────────────────────────────────── */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.3px;
}
.urgency-badge::before { content: '🔥'; }

/* ── Blog search: empty state on filter+search combined ────────────────────── */
.blog-results-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin: -8px 0 16px;
  min-height: 20px;
  transition: opacity 0.2s;
}

/* ── Utility classes (replacing inline styles) ─────────────────────────────── */
.section-cta-wrap {
  text-align: center;
  margin-top: 40px;
}
.section-intro-text {
  max-width: 700px;
  margin: 0 auto 20px;
  font-size: 1.05rem;
}
.nav-logo img,
.footer-logo img {
  height: auto;
}
.nav-logo img { height: 50px; }
.footer-logo img { height: 44px; }

/* ── AI Business Twin promo section ───────────────────────────────────────── */
.abt-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.abt-badge {
  display: inline-flex;
  margin-bottom: 20px;
}
.abt-desc {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}
.abt-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.abt-check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-light);
}
.abt-check-list li .check-mark {
  color: var(--accent);
  font-weight: 700;
}
.abt-preview-card {
  background: linear-gradient(135deg, #050d1a, #0a1628);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(0, 212, 170, 0.2);
  position: relative;
  overflow: hidden;
}
.abt-preview-card .glow-orb {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.abt-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.abt-card-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #00d4aa, #635bff);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.abt-card-title {
  color: #fff;
  font-weight: 700;
  margin: 0;
  font-size: 0.95rem;
}
.abt-card-subtitle {
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  font-size: 0.75rem;
}
.abt-live-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}
.abt-live-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.abt-agents-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.abt-agent-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.abt-agent-icon {
  font-size: 1.2rem;
}
.abt-agent-name {
  color: #fff;
  font-weight: 600;
  margin: 0;
  font-size: 0.85rem;
}
.abt-agent-desc {
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  font-size: 0.75rem;
}
.abt-stats-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}
.abt-stat-cell {
  background: rgba(0, 212, 170, 0.08);
  border-radius: 10px;
  padding: 10px 8px;
}
.abt-stat-value {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0;
}
.abt-stat-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
  margin: 4px 0 0;
}
@media (max-width: 768px) {
  .abt-promo-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.cta-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.exit-popup-ctas .btn {
  justify-content: center;
}
.btn-group-center {
  justify-content: center;
}
.form-privacy-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
}
.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-address a,
.footer-address span {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-address a:hover {
  color: var(--primary);
}

