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

:root {
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-primary-light: #818cf8;
  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-border: #e2e8f0;
  --color-text: #0f172a;
  --color-muted: #64748b;
  --color-subtle: #94a3b8;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,.07);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.section { padding: 96px 0; }

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.18s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(99,102,241,.3);
}
.btn--primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(99,102,241,.4); }
.btn--ghost { background: transparent; color: var(--color-muted); }
.btn--ghost:hover { color: var(--color-text); background: var(--color-surface); }
.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--outline:hover { background: var(--color-primary); color: #fff; }
.btn--white { background: #fff; color: var(--color-primary); font-weight: 700; }
.btn--white:hover { background: #f1f5f9; transform: translateY(-1px); }
.btn--lg { padding: 14px 28px; font-size: 16px; border-radius: 10px; }
.btn--full { width: 100%; justify-content: center; }

/* ─── Badge ─────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  background: #f1f5f9;
  color: var(--color-muted);
  margin-bottom: 20px;
}
.badge--blue { background: #eff6ff; color: #3b82f6; }
.badge--green { background: #f0fdf4; color: #16a34a; }
.badge--purple { background: #faf5ff; color: #7c3aed; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--color-text);
}
.section-header p {
  font-size: 17px;
  color: var(--color-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ─── NAV ───────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nav.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  flex-shrink: 0;
}
.nav__logo strong { color: var(--color-primary); }
.logo-icon { font-size: 22px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  font-size: 14px;
  color: var(--color-muted);
  font-weight: 500;
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--color-text); }

.nav__ctas {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.2s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px;
  border-top: 1px solid var(--color-border);
  background: #fff;
}
.nav__mobile a { font-size: 15px; color: var(--color-muted); padding: 6px 0; }
.nav__mobile.open { display: flex; }

/* ─── HERO ──────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 96px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% -10%, rgba(99,102,241,.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero__text { max-width: 560px; }
.hero__text h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero__sub {
  font-size: 18px;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero__note {
  font-size: 13px;
  color: var(--color-subtle);
}
.hero__login {
  font-size: 14px;
  color: var(--color-subtle);
  margin-top: 4px;
}
.hero__login a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.hero__login a:hover { text-decoration: underline; }

/* Widget preview mockup */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.widget-preview {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  width: 320px;
  border: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
}
.widget-preview__bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.widget-preview__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}
.widget-preview__bar span:nth-child(1) { background: #fca5a5; }
.widget-preview__bar span:nth-child(2) { background: #fcd34d; }
.widget-preview__bar span:nth-child(3) { background: #86efac; }

.widget-preview__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}
.wp-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #06b6d4);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wp-name { font-weight: 700; font-size: 14px; }
.wp-sub { font-size: 11px; color: var(--color-subtle); }

.widget-preview__services { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.service-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: all 0.15s;
}
.service-card--active {
  border-color: var(--color-primary);
  background: #f5f3ff;
}
.service-icon { font-size: 18px; flex-shrink: 0; }
.service-name { font-size: 13px; font-weight: 600; }
.service-meta { font-size: 11px; color: var(--color-subtle); }
.service-check { margin-left: auto; color: var(--color-primary); font-weight: 700; font-size: 14px; }

.widget-preview__btn {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 11px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}
.widget-preview__steps {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.step { width: 8px; height: 8px; border-radius: 50%; background: #e2e8f0; }
.step.active { background: var(--color-primary); width: 20px; border-radius: 4px; }

/* Floating notifications */
.floating-notif {
  position: absolute;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  font-size: 12px;
  white-space: nowrap;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}
.floating-notif span { font-size: 20px; }
.floating-notif strong { display: block; font-weight: 700; font-size: 12px; }
.floating-notif--1 { bottom: 60px; left: -40px; animation-delay: 0s; }
.floating-notif--2 { top: 40px; right: -20px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

/* ─── SOCIAL PROOF ──────────────────────────────────────────────────────────── */
.social-proof {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0;
  text-align: center;
}
.social-proof__label {
  font-size: 13px;
  color: var(--color-subtle);
  font-weight: 500;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.industries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.industries span {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 14px;
  color: var(--color-muted);
  font-weight: 500;
}

/* ─── FEATURES ──────────────────────────────────────────────────────────────── */
.features { background: #fff; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.2s;
}
.feature-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: 0 4px 24px rgba(99,102,241,.1);
  transform: translateY(-2px);
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; margin-top: 14px; }
.feature-card p { font-size: 14px; color: var(--color-muted); line-height: 1.65; }
.feature-card code { background: #f1f5f9; padding: 1px 5px; border-radius: 4px; font-size: 12px; color: var(--color-primary); }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.feature-icon--purple { background: #faf5ff; }
.feature-icon--blue   { background: #eff6ff; }
.feature-icon--green  { background: #f0fdf4; }
.feature-icon--yellow { background: #fffbeb; }
.feature-icon--red    { background: #fef2f2; }
.feature-icon--teal   { background: #f0fdfa; }
.feature-icon--orange { background: #fff7ed; }
.feature-icon--pink   { background: #fdf2f8; }

/* ─── HOW IT WORKS ──────────────────────────────────────────────────────────── */
.how { background: var(--color-surface); }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 64px;
  justify-content: center;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 260px;
  flex: 1;
}
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(99,102,241,.3);
}
.step-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-content p { font-size: 14px; color: var(--color-muted); line-height: 1.65; }
.step-divider {
  flex: 0 0 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), #06b6d4);
  margin-top: 26px;
  border-radius: 2px;
  opacity: 0.3;
}

.demo-box {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow);
}
.demo-box__text h3 { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.demo-box__text p { font-size: 16px; color: var(--color-muted); margin-bottom: 24px; }

/* Phone mockup */
.phone-mockup {
  width: 200px;
  background: #1e293b;
  border-radius: 28px;
  padding: 16px 12px;
  box-shadow: 0 20px 48px rgba(0,0,0,.25);
}
.phone-screen {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  overflow: hidden;
}
.phone-header {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}
.phone-service {
  font-size: 11px;
  color: var(--color-muted);
  background: #f8fafc;
  padding: 6px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.phone-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.slot {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 5px;
  font-size: 11px;
  text-align: center;
  font-weight: 500;
  color: var(--color-muted);
}
.slot--active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.phone-btn {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

/* ─── PRICING ───────────────────────────────────────────────────────────────── */
.pricing { background: #fff; }

.trial-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(90deg, #f0fdf4, #dcfce7);
  border: 1px solid #86efac;
  border-radius: 12px;
  padding: 16px 24px;
  margin-bottom: 40px;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 40px;
}
.trial-icon { font-size: 28px; flex-shrink: 0; }
.trial-banner strong { display: block; font-size: 15px; color: #15803d; font-weight: 700; margin-bottom: 2px; }
.trial-banner span { font-size: 13px; color: #16a34a; }

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.plan-card {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}
.plan-card--featured {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(99,102,241,.15);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 99px;
  white-space: nowrap;
}
.plan-name { font-size: 15px; font-weight: 700; color: var(--color-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em; }
.plan-price { margin-bottom: 12px; }
.plan-amount { font-size: 48px; font-weight: 900; color: var(--color-text); line-height: 1; }
.plan-period { font-size: 14px; color: var(--color-muted); margin-left: 4px; }
.plan-desc { font-size: 14px; color: var(--color-muted); margin-bottom: 24px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-features li { font-size: 14px; color: var(--color-text); }

/* ─── CTA SECTION ───────────────────────────────────────────────────────────── */
/* ─── Founder ────────────────────────────────────────────────────────────── */
.founder { padding: 80px 0 40px; }
.founder-card {
  display: flex;
  gap: 40px;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  max-width: 860px;
  margin: 0 auto;
}
.founder-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #06b6d4 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
}
.founder-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.founder-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-text);
}
.founder-bio {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 580px;
}

.cta-section { padding: 80px 0; }
.cta-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, #06b6d4 100%);
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  color: #fff;
}
.cta-box h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; margin-bottom: 16px; }
.cta-box p { font-size: 18px; opacity: 0.85; margin-bottom: 32px; }

/* ─── FOOTER ────────────────────────────────────────────────────────────────── */
.footer {
  background: #0f172a;
  color: #94a3b8;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  padding: 64px 24px 48px;
  align-items: start;
}
.footer__brand .nav__logo { color: #fff; margin-bottom: 12px; }
.footer__brand p { font-size: 14px; color: #64748b; max-width: 280px; line-height: 1.65; }

.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-size: 13px; font-weight: 700; color: #cbd5e1; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.footer__col a { font-size: 14px; color: #64748b; transition: color 0.15s; }
.footer__col a:hover { color: #e2e8f0; }

.footer__bottom {
  border-top: 1px solid #1e293b;
  padding: 20px 24px;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__bottom a { color: var(--color-primary-light); }
.footer__bottom a:hover { color: #fff; }

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

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

  .nav__links, .nav__ctas { display: none; }
  .nav__burger { display: flex; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero__text { max-width: 100%; }
  .hero__sub { max-width: 100%; }
  .hero__actions { justify-content: center; }
  .hero__visual { justify-content: center; }
  .floating-notif--1 { bottom: -20px; left: 0; }
  .floating-notif--2 { top: -20px; right: 0; }

  .features__grid { grid-template-columns: 1fr; }

  .steps { flex-direction: column; align-items: center; }
  .step-divider { width: 2px; height: 40px; flex: 0 0 40px; margin-top: 0; }

  .demo-box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    text-align: center;
  }
  .demo-box__img { display: none; }

  .pricing__grid { grid-template-columns: 1fr; max-width: 400px; }

  .cta-box { padding: 48px 24px; }

  .founder-card { flex-direction: column; text-align: center; padding: 36px 24px; gap: 24px; }
  .founder-bio { max-width: 100%; }

  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0 64px; }
  .widget-preview { width: 100%; max-width: 320px; }
  .industries { gap: 6px; }
  .industries span { font-size: 12px; padding: 5px 12px; }
}
