/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Poppins', -apple-system, sans-serif;
  color: #0a0a0a;
  background: #fff;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY ─── */
.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8c8c8c;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-align: center;
}
.section-sub {
  font-size: 17px;
  color: #6b6b6b;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  font-weight: 300;
}
.section-label { text-align: center; }

/* ─── ANIMATIONS ─── */
.anim {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.01em;
}
.btn-primary {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}
.btn-primary:hover {
  background: #333;
  border-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.btn-outline {
  background: transparent;
  color: #0a0a0a;
  border-color: #d4d4d4;
}
.btn-outline:hover {
  border-color: #0a0a0a;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: #0a0a0a;
  border-color: transparent;
}
.btn-ghost:hover { color: #555; }
.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-block { width: 100%; }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.nav.scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.logo span { font-weight: 300; color: #8c8c8c; }
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: #6b6b6b;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: #0a0a0a; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 8px 20px; font-size: 13px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 22px;
  height: 1.5px;
  background: #0a0a0a;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8c8c8c;
  border: 1px solid #e5e5e5;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.hero-title {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: #6b6b6b;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 12px;
  color: #8c8c8c;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: #e5e5e5;
}
.hero-gradient {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(200,200,200,0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ─── LOGOS / INDUSTRIES BAR ─── */
.logos {
  padding: 60px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}
.logos-label {
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  color: #777;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logos-row span {
  font-size: 14px;
  font-weight: 500;
  color: #8c8c8c;
  letter-spacing: 0.5px;
}

/* ─── PROBLEM ─── */
.problem {
  padding: 120px 0;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.problem-card {
  padding: 36px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.problem-card:hover {
  border-color: #d4d4d4;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.problem-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fafafa;
  margin-bottom: 20px;
  color: #0a0a0a;
}
.problem-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.problem-card p {
  font-size: 14px;
  color: #6b6b6b;
  line-height: 1.7;
  font-weight: 300;
}

/* ─── HOW IT WORKS ─── */
.how {
  padding: 120px 0;
  background: #fafafa;
}
.steps {
  max-width: 720px;
  margin: 48px auto 0;
}
.step {
  display: flex;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid #e5e5e5;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-size: 48px;
  font-weight: 600;
  color: #e5e5e5;
  line-height: 1;
  min-width: 72px;
  letter-spacing: -0.03em;
  transition: color 0.4s;
}
.step:hover .step-num { color: #0a0a0a; }
.step-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step-content p {
  font-size: 15px;
  color: #6b6b6b;
  font-weight: 300;
  line-height: 1.7;
}

/* ─── FEATURES ─── */
.features {
  padding: 120px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  padding: 32px 28px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover {
  border-color: #d4d4d4;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fafafa;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 13px;
  color: #6b6b6b;
  line-height: 1.65;
  font-weight: 300;
}

/* ─── USE CASES ─── */
.use-cases {
  padding: 120px 0;
  background: #0a0a0a;
  color: #fff;
}
.use-cases .section-label { color: #666; }
.use-cases .section-title { color: #fff; }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.case-card {
  padding: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.case-card:hover {
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-4px);
  background: rgba(255,255,255,0.03);
}
.case-industry {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 12px;
}
.case-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.case-card p {
  font-size: 14px;
  color: #999;
  line-height: 1.7;
  font-weight: 300;
}

/* ─── DEMO ─── */
.demo {
  padding: 120px 0;
}
.demo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.demo-text .section-title {
  text-align: left;
  font-size: clamp(28px, 4vw, 42px);
}
.demo-desc {
  font-size: 15px;
  color: #6b6b6b;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 32px;
}
.demo-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.demo-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  color: #333;
}
.demo-feat svg { color: #0a0a0a; flex-shrink: 0; }

/* Widget Mock */
.widget-mock {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.05);
  overflow: hidden;
  max-width: 380px;
  margin-left: auto;
}
.widget-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #0a0a0a;
  color: #fff;
}
.widget-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}
.widget-name { font-size: 14px; font-weight: 500; }
.widget-status { font-size: 11px; color: #8c8c8c; }
.widget-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  background: #fafafa;
}
.widget-msg p {
  font-size: 13px;
  line-height: 1.6;
  padding: 12px 16px;
  border-radius: 12px;
}
.widget-msg.bot p {
  background: #fff;
  color: #333;
  border: 1px solid #eee;
  border-radius: 12px 12px 12px 4px;
}
.widget-msg.user p {
  background: #0a0a0a;
  color: #fff;
  border-radius: 12px 12px 4px 12px;
  margin-left: auto;
  max-width: 85%;
}
.widget-source {
  display: block;
  font-size: 10px;
  color: #999;
  margin-top: 6px;
  padding-left: 16px;
}
.widget-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: #999;
}

/* ─── PRICING ─── */
.pricing {
  padding: 120px 0;
  background: #fafafa;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.price-card {
  background: #fff;
  padding: 40px 36px;
  border-radius: 16px;
  border: 1px solid #e5e5e5;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.price-card.featured {
  border-color: #0a0a0a;
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0a0a0a;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-tier {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8c8c8c;
  margin-bottom: 16px;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 16px;
}
.price-currency {
  font-size: 24px;
  font-weight: 500;
  color: #333;
}
.price-value {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-period {
  font-size: 14px;
  color: #8c8c8c;
  font-weight: 300;
  margin-left: 4px;
}
.price-desc {
  font-size: 14px;
  color: #6b6b6b;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 28px;
}
.price-features {
  margin-bottom: 32px;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  padding: 8px 0;
  color: #333;
}
.price-features li svg {
  flex-shrink: 0;
  color: #0a0a0a;
}
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: #8c8c8c;
  margin-top: 40px;
  font-weight: 300;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  padding: 120px 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  padding: 36px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:hover {
  border-color: #d4d4d4;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.trust-icon {
  margin-bottom: 20px;
  color: #0a0a0a;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.75;
  font-weight: 300;
  color: #333;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 500;
}
.testimonial-role {
  font-size: 12px;
  color: #8c8c8c;
  font-weight: 300;
}

/* ─── FAQ ─── */
.faq {
  padding: 120px 0;
  background: #fafafa;
}
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}
.faq-item {
  border-bottom: 1px solid #e5e5e5;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  color: #0a0a0a;
  letter-spacing: -0.01em;
}
.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: #8c8c8c;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p {
  padding-bottom: 24px;
  font-size: 14px;
  color: #6b6b6b;
  line-height: 1.7;
  font-weight: 300;
}
.faq-answer code {
  background: #eee;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}

/* ─── CTA ─── */
.cta {
  padding: 120px 0;
  background: #0a0a0a;
  color: #fff;
  text-align: center;
}
.cta-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.cta-sub {
  font-size: 17px;
  color: #8c8c8c;
  font-weight: 300;
  margin-bottom: 40px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta .btn-primary {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}
.cta .btn-primary:hover {
  background: #e5e5e5;
  border-color: #e5e5e5;
}
.cta .btn-ghost { color: #8c8c8c; }
.cta .btn-ghost:hover { color: #fff; }

/* ─── FOOTER ─── */
.footer {
  padding: 80px 0 40px;
  background: #050505;
  color: #999;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .logo { margin-bottom: 16px; display: inline-block; color: #fff; }
.footer-brand .logo span { color: #666; }
.footer-brand p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: #666;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  font-weight: 300;
  color: #999;
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  text-align: center;
  font-size: 12px;
  color: #666;
  font-weight: 300;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid #e5e5e5;
  }
  .nav-actions .btn { display: none; }
  .hero { padding: 120px 0 80px; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 22px; }
  .problem-grid,
  .cases-grid,
  .testimonial-grid,
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .features-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .demo-inner { grid-template-columns: 1fr; gap: 48px; }
  .demo-text .section-title { text-align: center; }
  .demo-desc { text-align: center; }
  .demo-features { align-items: center; }
  .widget-mock { margin: 0 auto; }
  .step { gap: 24px; }
  .step-num { font-size: 36px; min-width: 52px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .section-title { font-size: clamp(28px, 5vw, 52px); }
  .hero-title { font-size: clamp(34px, 6vw, 72px); }
  .price-card.featured { order: -1; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }
  .logos-row { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
