/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ===== Powered Banner ===== */
.powered-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  background: #1a1a1a; color: #999; font-size: 12px; font-weight: 500;
  padding: 7px 0; text-align: center;
}
.powered-banner-inner {
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.powered-banner a { display: inline-flex; transition: opacity .15s; }
.powered-banner a:hover { opacity: .8; }
.powered-banner img { height: 22px; display: block; }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  transition: background .2s, box-shadow .2s, padding .2s;
}
.nav.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: #555; transition: color .15s; }
.nav-links a:hover { color: #111; }
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #333;
  margin: 5px 0; transition: transform .2s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 600;
  transition: all .15s; cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%); color: #fff; box-shadow: 0 2px 8px rgba(99,102,241,.3); }
.btn-primary:hover { background: linear-gradient(135deg, #5558E6 0%, #7C4FE0 100%); box-shadow: 0 4px 16px rgba(99,102,241,.4); }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }
.btn-ghost { background: transparent; color: #555; }
.btn-ghost:hover { color: #111; background: #f5f5f5; }
.btn-outline { background: #fff; color: #111; border: 1.5px solid #ddd; }
.btn-outline:hover { border-color: #111; }

/* ===== Hero ===== */
.hero {
  padding: 196px 0 100px;
  text-align: center;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  background: #f0f0f0; color: #555; font-size: 13px; font-weight: 500;
  margin-bottom: 24px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  max-width: 720px; margin: 0 auto 20px;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, #111 0%, #555 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px; color: #666; max-width: 540px; margin: 0 auto 36px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-visual {
  margin-top: 64px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04);
  max-width: 960px; margin-left: auto; margin-right: auto;
  background: #f9f9f9;
  color: #aaa; font-size: 14px;
}

/* ===== Logos ===== */
.logos-section { padding: 60px 0; text-align: center; border-top: 1px solid #f0f0f0; }
.logos-section p { font-size: 13px; color: #999; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 28px; }
.logos-row { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.logo-item { display: flex; align-items: center; gap: 10px; opacity: 0.7; transition: opacity .2s; }
.logo-item:hover { opacity: 1; }
.logo-item span { font-size: 15px; font-weight: 600; color: #666; letter-spacing: -0.01em; }
.logo-item svg { flex-shrink: 0; }

/* ===== Hero Features (key differentiators) ===== */
.hero-features { padding: 100px 0; background: #fafafa; }
.hero-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hero-feature {
  padding: 32px; border-radius: 20px; background: #fff;
  border: 1px solid #e8e8e8; transition: border-color .2s, box-shadow .3s;
  display: flex; flex-direction: column; overflow: hidden;
}
.hero-feature:hover { border-color: #d0d0d0; box-shadow: 0 12px 40px rgba(0,0,0,.06); }
.hero-feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: #f5f5f5; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0; overflow: hidden;
}
.hero-feature-icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hero-feature h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.01em; }
.hero-feature > p { font-size: 13px; color: #666; line-height: 1.7; margin-bottom: 16px; }
.hero-feature-list { list-style: none; margin-top: auto; border-top: 1px solid #f0f0f0; padding-top: 16px; }
.hero-feature-list li {
  padding: 5px 0; font-size: 13px; color: #555; line-height: 1.5;
  display: flex; align-items: flex-start; gap: 8px;
}
.hero-feature-list li::before {
  content: '✓'; color: #22c55e; font-weight: 700; flex-shrink: 0; font-size: 13px; margin-top: 1px;
}

/* ===== Features ===== */
.features { padding: 100px 0; }
.section-header { text-align: center; max-width: 560px; margin: 0 auto 64px; }
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: #888; margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-header p { font-size: 16px; color: #666; line-height: 1.7; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card {
  padding: 32px; border-radius: 16px; border: 1px solid #eee;
  transition: border-color .2s, box-shadow .2s;
}
.feature-card:hover { border-color: #ddd; box-shadow: 0 8px 32px rgba(0,0,0,.04); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: #f5f5f5; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 20px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #666; line-height: 1.65; }

/* ===== How It Works ===== */
.how-it-works { padding: 100px 0; background: #fafafa; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; counter-reset: step; }
.step { text-align: center; counter-increment: step; }
.step-number {
  width: 52px; height: 52px; border-radius: 50%; background: #111; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; margin: 0 auto 20px;
}
.step-number::after { content: counter(step); }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: #666; line-height: 1.65; max-width: 280px; margin: 0 auto; }

/* ===== Integrations ===== */
.integrations { padding: 100px 0; }
.integrations-grid {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-top: 48px;
}
.integration-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 100px; border: 1px solid #eee;
  font-size: 14px; font-weight: 600; transition: all .2s;
  background: #fff;
}
.integration-pill:hover { border-color: #ccc; box-shadow: 0 4px 12px rgba(0,0,0,.04); }
.integration-pill svg { flex-shrink: 0; }

/* ===== Pricing ===== */
.pricing { padding: 100px 0; background: #fafafa; }
.pricing-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 800px; margin: 0 auto; }
.pricing-card {
  padding: 40px; border-radius: 16px; background: #fff;
  border: 1px solid #eee;
}
.pricing-card.featured {
  border-color: #111; position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; background: #111; color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: 100px;
}
.pricing-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pricing-card .price {
  font-size: 48px; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 4px;
}
.pricing-card .price span { font-size: 16px; font-weight: 500; color: #888; }
.pricing-card .price-note { font-size: 13px; color: #888; margin-bottom: 24px; }
.pricing-card ul { list-style: none; margin-bottom: 32px; }
.pricing-card li {
  padding: 8px 0; font-size: 14px; color: #555;
  display: flex; align-items: flex-start; gap: 10px;
}
.pricing-card li::before {
  content: '✓'; color: #22c55e; font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.pricing-card .btn { width: 100%; }
.pricing-included {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px; padding: 12px 16px; border-radius: 10px;
  background: #fef3e2; border: 1px solid #fde0b0;
  font-size: 12px; color: #666; line-height: 1.4;
}
.pricing-included img { height: 28px; flex-shrink: 0; }
.pricing-included strong { color: #111; }

/* ===== CTA ===== */
.cta {
  padding: 100px 0; text-align: center;
  background: #111; color: #fff;
}
.cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 16px;
}
.cta p { font-size: 16px; color: #999; max-width: 480px; margin: 0 auto 32px; line-height: 1.7; }
.cta .btn-primary { background: #fff; color: #6366F1; box-shadow: 0 2px 8px rgba(255,255,255,.2); }
.cta .btn-primary:hover { background: #f5f4ff; box-shadow: 0 4px 16px rgba(255,255,255,.3); }

/* ===== Footer ===== */
.footer { padding: 64px 0 32px; border-top: 1px solid #eee; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 28px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: #888; line-height: 1.65; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; color: #333; }
.footer-col a { display: block; font-size: 14px; color: #888; padding: 4px 0; transition: color .15s; }
.footer-col a:hover { color: #333; }
.footer-powered {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 24px 0; margin-bottom: 24px; border-top: 1px solid #eee;
}
.footer-powered span { font-size: 13px; color: #999; font-weight: 500; }
.footer-powered a { display: inline-flex; transition: opacity .15s; }
.footer-powered a:hover { opacity: .7; }
.footer-powered img { height: 24px; display: block; }
.footer-bottom { border-top: 1px solid #eee; padding-top: 24px; }
.footer-bottom p { font-size: 13px; color: #aaa; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: #fff; flex-direction: column; padding: 80px 32px 32px;
    gap: 20px; box-shadow: -8px 0 32px rgba(0,0,0,.1);
    transition: right .3s ease;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 16px; }
  .nav-links .btn { width: 100%; text-align: center; }

  .hero-features-grid { grid-template-columns: 1fr; gap: 20px; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .hero { padding: 156px 0 60px; }
  .hero-visual { margin-top: 40px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; }
}
