@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/inter-800.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/fonts/inter-900.ttf') format('truetype');
}

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-low: #f1f5f9;
  --surface-high: #e2e8f0;
  --text: #0f172a;
  --muted: #475569;
  --soft: #64748b;
  --line: #cbd5e1;
  --primary: #2563eb;
  --primary-bright: #3b82f6;
  --primary-soft: #dbeafe;
  --secondary-soft: #e0e7ff;
  --radius: 16px;
  --radius-lg: 32px;
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea, select {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(203, 213, 225, 0.4);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(16px);
}

.brand-word {
  color: #0f172a;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.nav {
  display: flex;
  gap: 32px;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover,
.nav-link-secondary:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link-secondary {
  color: #475569;
  font-size: 14px;
  font-weight: 600;
}

.small-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
  font-size: 13px;
  font-weight: 700;
}

.menu-button {
  display: none;
}

/* HERO */
.hero {
  position: relative;
  padding: 40px 0 80px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: var(--bg);
}

.grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #cbd5e1 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: stretch;
  padding: 0;
}

.status-pill {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 6px 14px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-pill span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary-bright);
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #0f172a;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-text {
  max-width: 580px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.trust-utp {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--surface-high);
  box-shadow: var(--shadow-soft);
}

.utp-item {
  display: flex;
  flex-direction: column;
}

.utp-item strong {
  font-size: 24px;
  color: var(--primary);
  font-weight: 900;
  line-height: 1;
}

.utp-item span {
  font-size: 12px;
  color: var(--soft);
  margin-top: 4px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  transition: all 200ms ease;
}

.button.primary {
  padding: 0 28px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
}

.button.primary:hover {
  transform: translateY(-2px);
  background: var(--primary-bright);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.3);
}

.button.text {
  color: var(--primary);
  background: transparent;
  padding: 0 16px;
}

.button.text:hover {
  color: var(--primary-bright);
}

/* B2B Visual */
.b2b-visual {
  position: relative;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--surface-high);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-mockup {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mockup-header {
  height: 40px;
  background: var(--surface-low);
  border-bottom: 1px solid var(--surface-high);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.m-line {
  height: 12px;
  background: var(--surface-high);
  border-radius: 6px;
}

.w-80 { width: 80%; }
.w-60 { width: 60%; }
.w-40 { width: 40%; }
.w-90 { width: 90%; }

.m-chart {
  height: 120px;
  background: linear-gradient(180deg, var(--primary-soft) 0%, transparent 100%);
  border-top: 3px solid var(--primary);
  border-radius: 4px;
  margin: 10px 0;
}


/* SECTIONS */
section {
  padding: 100px 0;
}

.services-section, .cases-section, .process-section, .faq-section {
  background: var(--surface);
}

.problems-section, .ai-section, .tech-section, .pricing-section, .target-section, .contact-section {
  background: var(--bg);
}

.section-code {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.center-heading {
  text-align: center;
  margin-bottom: 60px;
}

.center-heading h2 {
  max-width: 800px;
  margin: 0 auto;
}

.center-heading p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg);
  padding: 40px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--surface-high);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: var(--primary-soft);
}

.icon-wrap {
  width: 56px;
  height: 56px;
  background: #ffffff;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

.service-card p {
  color: var(--muted);
  line-height: 1.6;
}

/* PROBLEMS (COMPARISON) */
.section-title {
  margin-bottom: 50px;
}

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

.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--surface-high);
  overflow: hidden;
}

.comp-bad, .comp-good {
  padding: 24px 30px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.comp-bad {
  background: #fff5f5;
  color: #991b1b;
}

.comp-good {
  background: #f0fdf4;
  color: #166534;
  font-weight: 600;
}

/* CASES */
.cases-grid {
  display: grid;
  gap: 40px;
}

.case-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--surface-high);
}

.case-img {
  background: var(--surface-high);
  min-height: 300px;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--soft);
  font-weight: 700;
  font-size: 18px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.case-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-text p {
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.case-text strong {
  color: var(--text);
}

.case-results {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--surface-high);
}

.res-item span {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.res-item small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--soft);
  text-transform: uppercase;
  font-weight: 700;
}

/* AI AGENTS */
.ai-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ai-lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 30px;
}

.ai-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.ai-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 16px;
}

.ai-features li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.ai-features strong {
  color: var(--text);
}

.ai-alert {
  display: flex;
  gap: 16px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 20px;
  border-radius: 12px;
}

.ai-alert .icon {
  font-size: 24px;
}

.ai-alert p {
  margin: 0;
  color: #92400e;
  font-size: 14px;
  line-height: 1.5;
}

.ai-visual {
  background: #ffffff;
  border-radius: 20px;
  height: 400px;
  display: grid;
  place-items: center;
  border: 1px solid var(--surface-high);
  box-shadow: var(--shadow-soft);
}

.ai-spheres {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sphere {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

.s1 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.s2 { background: linear-gradient(135deg, #10b981, #047857); }
.s3 { background: linear-gradient(135deg, #f59e0b, #b45309); }
.s4 { background: linear-gradient(135deg, #8b5cf6, #5b21b6); }

/* TARGET / FOR WHOM */
.target-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.t-tag {
  padding: 14px 28px;
  background: #ffffff;
  border: 1px solid var(--surface-high);
  border-radius: 999px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

/* PROCESS */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--surface-high);
}

.step-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary-soft);
  margin-bottom: 16px;
}

.step-card h4 {
  margin: 0 0 10px;
  font-size: 20px;
}

.step-card p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* TECH STACK */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.tech-item {
  padding: 12px 24px;
  background: #ffffff;
  border: 1px solid var(--surface-high);
  border-radius: 8px;
  font-weight: 600;
  color: var(--muted);
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.price-card {
  position: relative;
  background: #ffffff;
  padding: 40px 24px;
  border-radius: 20px;
  border: 1px solid var(--surface-high);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.price-card.highlight {
  border: 2px solid var(--primary);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.15);
  transform: scale(1.05);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.price-card h4 {
  margin: 0 0 20px;
  font-size: 18px;
  color: var(--muted);
}

.price-val {
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
}

/* FAQ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--surface-high);
  border-radius: 12px;
}

.faq-item summary {
  padding: 24px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--primary);
  font-size: 24px;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-content {
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.6;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 20px;
}

.contact-copy p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--surface-high);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

.contact-card:hover {
  border-color: var(--primary);
}

.c-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.c-info small {
  display: block;
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.c-info strong {
  font-size: 18px;
  color: var(--text);
}

.contact-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--surface-high);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
}

.checkbox-label {
  flex-direction: row !important;
  align-items: center;
  gap: 12px !important;
  font-weight: 400 !important;
  color: var(--muted) !important;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
}

.checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
}

/* FOOTER */
.site-footer {
  background: #0f172a;
  color: #f8fafc;
  padding: 80px 0 30px;
}

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

.footer-logo {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
}

.footer-brand p {
  margin-top: 16px;
  color: #94a3b8;
  max-width: 320px;
  line-height: 1.6;
}

.site-footer h4 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 16px;
}

.footer-nav, .footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer a {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-contacts p {
  color: #94a3b8;
  margin: 0;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
  line-height: 1.5;
}

.legal-text {
  font-size: 12px;
  color: #475569;
}

/* ROI SECTION */
.roi-section {
  background: var(--surface);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.pain-card {
  background: #fff;
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.05);
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: #ef4444;
}

.p-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.pain-card h4 {
  margin: 0 0 12px;
  font-size: 20px;
}

.p-desc {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.p-result {
  background: #fef2f2;
  color: #991b1b;
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.highlight-tag {
  background: var(--primary-soft) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}

.guarantee-card {
  background: #f0fdf4 !important;
  border-color: #86efac !important;
}

.guarantee-card .step-num {
  color: #16a34a !important;
}

/* AI WIDGET */
.ai-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ai-widget-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-widget-btn:hover {
  transform: scale(1.1);
  background: var(--primary-bright);
}

.ai-widget-icon {
  font-size: 32px;
}

.ai-widget-window {
  width: 360px;
  height: 500px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--surface-high);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-widget-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ai-widget-header {
  background: var(--primary);
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-widget-info strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.ai-widget-info small {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: var(--primary-soft);
}

.ai-widget-info small::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  margin-right: 6px;
}

.ai-widget-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.ai-widget-close:hover {
  opacity: 1;
}

.ai-widget-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg);
}

.ai-msg {
  display: flex;
  max-width: 85%;
}

.ai-bot-msg {
  align-self: flex-start;
}

.ai-user-msg {
  align-self: flex-end;
}

.msg-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ai-bot-msg .msg-bubble {
  background: #ffffff;
  color: var(--text);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--surface-high);
}

.ai-user-msg .msg-bubble {
  background: var(--primary);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.ai-widget-input {
  display: flex;
  padding: 16px;
  background: #ffffff;
  border-top: 1px solid var(--surface-high);
}

.ai-widget-input input {
  flex: 1;
  border: none;
  background: var(--bg);
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
  outline: none;
}

.ai-widget-input input:focus {
  box-shadow: inset 0 0 0 1px var(--primary);
}

.ai-widget-input button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  margin-left: 12px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.ai-widget-input button:hover {
  background: var(--primary-bright);
}

.ai-typing {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  align-items: center;
}

.ai-typing span {
  width: 6px;
  height: 6px;
  background: var(--soft);
  border-radius: 50%;
  animation: ai-bounce 1.4s infinite ease-in-out both;
}

.ai-typing span:nth-child(1) { animation-delay: -0.32s; }
.ai-typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes ai-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* CLIENTS STRIP */
.clients-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

.client-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: -0.5px;
  opacity: 0.5;
  transition: all 0.3s;
  cursor: default;
}

.client-logo:hover {
  opacity: 1;
  color: var(--primary);
  transform: scale(1.05);
}

/* MODAL */
.modal {
  display: none; 
  position: fixed; 
  z-index: 2000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(15, 23, 42, 0.7); 
  backdrop-filter: blur(4px);
}
.modal-content {
  background-color: #fff;
  margin: 10vh auto; 
  padding: 40px;
  width: 90%;
  max-width: 600px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.close-modal {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--text-muted);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}
.close-modal:hover {
  color: #000;
}
.modal-content h2 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 20px;
}
.modal-content p {
  color: var(--muted);
  margin-bottom: 16px;
}

/* MEDIA QUERIES */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  h1 { margin: 0 auto 24px; }
  .hero-text { margin: 0 auto 32px; }
  .trust-utp { justify-content: center; }
  .hero-actions { justify-content: center; }
  .comp-row { grid-template-columns: 1fr; gap: 0; }
  .case-card { grid-template-columns: 1fr; }
  .case-img { min-height: 200px; }
  .ai-flex { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav, .header-actions .nav-link-secondary { display: none; }
  .menu-button { display: block; background: transparent; border: 0; padding: 10px; }
  .menu-button span { display: block; width: 24px; height: 2px; background: #0f172a; margin: 5px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.highlight { transform: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* Calculator Styles */
.styled-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  margin-top: 10px;
}
.styled-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
  transition: transform 0.2s, background 0.2s;
}
.styled-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  background: #60a5fa;
}
.styled-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
  transition: transform 0.2s, background 0.2s;
}
.styled-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
  background: #60a5fa;
}

@media (max-width: 768px) {
  .calc-grid {
    grid-template-columns: 1fr !important;
  }
}

/* CALCULATOR MODULE */
.calculator-section {
  margin-top: 60px;
  background: var(--surface);
  border: 1px solid var(--surface-high);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.calc-header {
  text-align: center;
  margin-bottom: 40px;
}

.calc-header h3 {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--text);
}

.calc-header p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.calc-group {
  display: flex;
  flex-direction: column;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.calc-label-row label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.calc-label-row span {
  font-weight: 800;
  color: var(--primary);
  font-size: 16px;
}

.styled-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: var(--surface-high);
  border-radius: 4px;
  outline: none;
}

.styled-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  transition: transform 0.2s;
}

.styled-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-results {
  background: var(--surface-low);
  border: 1px solid var(--surface-high);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-res-item .res-label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-weight: 600;
}

.calc-res-item .res-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}

.calc-res-total {
  border-top: 1px solid var(--surface-high);
  padding-top: 24px;
  margin-top: 8px;
}

.calc-res-total .total-label {
  font-size: 14px;
  color: #ef4444;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.calc-res-total .total-val {
  font-size: 42px;
  font-weight: 900;
  color: #ef4444;
  line-height: 1;
  text-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}
