/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --indigo: #4F46E5;
  --indigo-dark: #4338CA;
  --indigo-light: #818CF8;
  --indigo-50: #EEF2FF;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;
  --green: #10B981;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-lg: 0 20px 40px -12px rgba(0,0,0,.12);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,.18);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-dark); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; }

.btn:not(.btn-outline):not(.btn-white):not(.btn-ghost) {
  background: var(--indigo);
  color: var(--white);
  box-shadow: 0 1px 3px rgba(79,70,229,.3), 0 4px 12px rgba(79,70,229,.15);
}
.btn:not(.btn-outline):not(.btn-white):not(.btn-ghost):hover {
  background: var(--indigo-dark);
  box-shadow: 0 1px 3px rgba(79,70,229,.4), 0 8px 20px rgba(79,70,229,.2);
}

.btn-outline {
  background: transparent;
  color: var(--slate-700);
  border: 1.5px solid var(--slate-200);
}
.btn-outline:hover { border-color: var(--slate-400); color: var(--slate-900); }

.btn-white {
  background: var(--white);
  color: var(--indigo);
  box-shadow: var(--shadow);
}
.btn-white:hover { box-shadow: var(--shadow-lg); }

.btn-ghost {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn-ghost:hover { background: rgba(255,255,255,.25); }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--slate-900);
  text-decoration: none;
}
.logo svg { overflow: visible; }
.logo-icon-wrap {
  position: relative;
  display: inline-flex;
  border-radius: 50%;
}
.dual-orbit-ring1 { transform-origin: 19px 19px; animation: dualOrbitSpin 4s linear infinite; }
.dual-orbit-ring2 { transform-origin: 19px 19px; animation: dualOrbitSpinReverse 5s linear infinite; }
@keyframes dualOrbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes dualOrbitSpinReverse { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
.logo:hover { color: var(--slate-900); }

.nav-links {
  display: flex;
  gap: 32px;
  margin-right: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--slate-900); }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all .3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 160px 0 100px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--indigo-50) 0%, var(--white) 100%);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--slate-600);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--slate-900);
}
.hero-stat span {
  font-size: 13px;
  color: var(--slate-500);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--slate-200);
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(79,70,229,.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Social Proof ── */
.social-proof {
  padding: 48px 0;
  border-bottom: 1px solid var(--slate-100);
}
.social-proof p {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.logo-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logo-placeholder {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-300);
  padding: 8px 0;
}

/* ── Problem / Solution ── */
.problem-section { padding: 80px 0; }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.problem-card, .solution-card {
  padding: 40px;
  border-radius: var(--radius-lg);
}

.problem-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
}
.solution-card {
  background: var(--indigo-50);
  border: 1px solid rgba(79,70,229,.15);
}

.problem-icon { font-size: 32px; margin-bottom: 16px; }

.problem-card h3, .solution-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 20px;
}

.problem-card ul, .solution-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.problem-card li, .solution-card li {
  font-size: 15px;
  padding-left: 24px;
  position: relative;
}
.problem-card li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #EF4444;
  font-weight: 700;
  font-size: 13px;
}
.solution-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}

/* ── Section Headers ── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-badge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--indigo-50);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 17px;
  color: var(--slate-500);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Features ── */
.features {
  padding: 100px 0;
  background: var(--slate-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .25s;
}
.feature-card:hover {
  border-color: var(--indigo-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--indigo-50);
  border-radius: 10px;
  color: var(--indigo);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ── How It Works ── */
.how-it-works { padding: 100px 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: var(--slate-200);
}

.step { text-align: center; position: relative; }

.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--indigo);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ── Pricing ── */
.pricing {
  padding: 100px 0;
  background: var(--slate-50);
}

.pricing-card {
  max-width: 540px;
  margin: 0 auto;
}

.pricing-card-inner {
  background: var(--white);
  border: 2px solid var(--indigo);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-xl);
}

.pricing-header { text-align: center; margin-bottom: 32px; }
.pricing-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 8px;
}

.price { margin-bottom: 12px; }
.price-amount {
  font-size: 56px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
}
.price-period {
  font-size: 16px;
  color: var(--slate-500);
  font-weight: 500;
}

.pricing-desc {
  font-size: 15px;
  color: var(--slate-500);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--slate-700);
}
.pricing-features svg { flex-shrink: 0; }

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--slate-400);
  margin-top: 12px;
}

.pricing-volume {
  text-align: center;
  margin-top: 24px;
  padding: 20px;
  background: var(--indigo-50);
  border-radius: var(--radius);
}
.pricing-volume h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
}
.pricing-volume p {
  font-size: 14px;
  color: var(--slate-600);
}

/* ── Testimonials ── */
.testimonials { padding: 100px 0; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 32px;
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card > p {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--indigo-50);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--slate-900);
}
.testimonial-author span {
  font-size: 13px;
  color: var(--slate-500);
}

/* ── FAQ ── */
.faq {
  padding: 100px 0;
  background: var(--slate-50);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: var(--indigo-light); }

.faq-item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-900);
  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: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--slate-400);
  transition: transform .2s;
}
.faq-item[open] summary::after {
  content: '−';
  color: var(--indigo);
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.7;
}

/* ── CTA ── */
.cta {
  padding: 100px 0;
  background: var(--slate-900);
  text-align: center;
}
.cta h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cta p {
  font-size: 17px;
  color: var(--slate-400);
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
  padding: 64px 0 32px;
  background: var(--slate-900);
  border-top: 1px solid var(--slate-800);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo span { color: var(--white); }
.footer-brand p {
  font-size: 14px;
  color: var(--slate-400);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.footer-links a {
  font-size: 14px;
  color: var(--slate-400);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--slate-800);
}
.footer-bottom p {
  font-size: 13px;
  color: var(--slate-500);
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav .btn-sm:not(.nav-cta) { display: none; }
  .nav .nav-cta { padding: 6px 14px; font-size: 13px; }
  .mobile-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
  }

  .hero { padding: 120px 0 60px; }
  .hero h1 br { display: none; }

  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .hero-proof { gap: 24px; }
  .hero-stat-divider { display: none; }

  .pricing-card-inner { padding: 28px; }
  .price-amount { font-size: 44px; }
}

/* ── Chat Widget ── */
#axwel-chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 9999; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }

.acw-fab {
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: var(--indigo); color: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(79,70,229,.4);
  transition: transform .2s, box-shadow .2s;
}
.acw-fab:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(79,70,229,.5); }
.acw-fab-close { display: none; }
.acw-open .acw-fab-chat { display: none; }
.acw-open .acw-fab-close { display: block; }

.acw-panel {
  display: none; position: absolute; bottom: 72px; right: 0;
  width: 380px; max-height: 520px; border-radius: var(--radius); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-xl);
  flex-direction: column; border: 1px solid var(--slate-200);
}
.acw-open .acw-panel { display: flex; }

.acw-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: var(--indigo); color: var(--white);
}
.acw-header-info { display: flex; align-items: center; gap: 10px; }
.acw-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.acw-header-title { font-weight: 600; font-size: 14px; }
.acw-header-status { font-size: 11px; opacity: .8; }
.acw-header-status.acw-offline { color: #fca5a5; }
.acw-header-close {
  background: none; border: none; color: var(--white); font-size: 22px;
  cursor: pointer; line-height: 1; padding: 0 2px; opacity: .8;
}
.acw-header-close:hover { opacity: 1; }

.acw-messages {
  flex: 1; overflow-y: auto; padding: 16px; display: flex;
  flex-direction: column; gap: 10px; min-height: 260px; max-height: 340px;
}

.acw-msg {
  max-width: 82%; padding: 10px 14px; border-radius: 14px;
  font-size: 13px; line-height: 1.5; word-wrap: break-word;
}
.acw-msg-bot {
  background: var(--slate-100); color: var(--slate-800);
  align-self: flex-start; border-bottom-left-radius: 4px;
}
.acw-msg-user {
  background: var(--indigo); color: var(--white);
  align-self: flex-end; border-bottom-right-radius: 4px;
}

/* Typing indicator */
.acw-typing { display: flex; gap: 4px; padding: 12px 16px; }
.acw-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--slate-400);
  animation: acw-bounce .6s infinite alternate;
}
.acw-typing span:nth-child(2) { animation-delay: .15s; }
.acw-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes acw-bounce { to { opacity: .3; transform: translateY(-4px); } }

.acw-suggestions {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px;
}
.acw-suggestion {
  font-size: 12px; padding: 6px 12px; border-radius: 16px;
  border: 1px solid var(--slate-200); background: var(--white);
  color: var(--indigo); cursor: pointer; font-family: inherit;
  transition: background .15s, border-color .15s;
}
.acw-suggestion:hover { background: var(--indigo-50); border-color: var(--indigo-light); }

.acw-input-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-top: 1px solid var(--slate-200);
}
.acw-input {
  flex: 1; border: 1px solid var(--slate-200); border-radius: 8px;
  padding: 8px 12px; font-size: 13px; font-family: inherit;
  outline: none; transition: border-color .15s;
}
.acw-input:focus { border-color: var(--indigo-light); }
.acw-send {
  width: 36px; height: 36px; border-radius: 8px; border: none;
  background: var(--indigo); color: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.acw-send:hover { background: var(--indigo-dark); }

/* Mobile */
@media (max-width: 480px) {
  .acw-panel { width: calc(100vw - 32px); right: -8px; bottom: 68px; max-height: 70vh; }
}


/* ── Scroll Animations (JS-dependent) ── */
.js-loaded .animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.js-loaded .animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
