@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0c0c0f;
  --white:   #ffffff;
  --bg:      #fafafa;
  --surface: #f4f4f6;
  --border:  #e5e5ea;
  --muted:   #6e6e80;
  --muted2:  #9898a8;
  --accent:  #4f46e5;
  --accent-h:#4338ca;
  --green:   #16a34a;
  --radius:  12px;
  --shadow:  0 1px 3px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 2px 8px rgba(0,0,0,.06), 0 20px 60px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  height: 60px; gap: 32px;
}
.logo {
  font-size: 1.05rem; font-weight: 800;
  color: var(--black); letter-spacing: -0.3px;
  display: flex; align-items: center; gap: 9px;
  flex-shrink: 0;
}
.logo-icon {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 8px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.logo-icon svg { display: block; }
.logo span { color: var(--black); }

nav { display: flex; gap: 0; flex: 1; }
nav a {
  font-size: 0.84rem; font-weight: 500;
  color: var(--muted); padding: 7px 13px;
  border-radius: 8px;
  transition: color .18s, background .18s;
}
nav a:hover, nav a.active { color: var(--black); }
nav a.active { font-weight: 600; }

.btn-nav {
  margin-left: auto; flex-shrink: 0;
  background: var(--accent); color: #fff;
  padding: 8px 20px; border-radius: 8px;
  font-size: 0.84rem; font-weight: 700;
  letter-spacing: -0.1px;
  transition: background .18s, transform .15s;
}
.btn-nav:hover { background: var(--accent-h); transform: translateY(-1px); }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent); color: #fff;
  padding: 13px 26px; border-radius: 9px;
  font-size: 0.92rem; font-weight: 700; letter-spacing: -0.1px;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(79,70,229,.35);
}
.btn-primary:hover { background: var(--accent-h); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79,70,229,.4); color: #fff; }
.btn-primary.big { padding: 15px 30px; font-size: 1rem; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border); color: var(--black);
  background: var(--white); padding: 12px 24px;
  border-radius: 9px; font-size: 0.92rem; font-weight: 600;
  transition: all .18s;
}
.btn-outline:hover { border-color: #c7c7d4; background: var(--surface); }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  padding: 72px 0 0;
  background: var(--white);
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; align-items: end;
}

.hero-text { padding-bottom: 72px; padding-right: 48px; }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--border);
  background: var(--white);
  border-radius: 999px; padding: 5px 14px 5px 8px;
  font-size: 0.78rem; font-weight: 600; color: var(--muted);
  margin-bottom: 28px; letter-spacing: 0.1px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); display: block; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(22,163,74,.15);
}

.hero-text h1 {
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -2.5px; color: var(--black);
  margin-bottom: 20px;
}
.hero-text h1 .accent { color: var(--accent); }

.hero-text > p {
  font-size: 1.05rem; color: var(--muted);
  max-width: 400px; line-height: 1.72;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-meta {
  display: flex; gap: 24px; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.meta-item { display: flex; align-items: center; gap: 7px; }
.meta-item strong { font-size: 0.88rem; font-weight: 700; color: var(--black); }
.meta-item span { font-size: 0.78rem; color: var(--muted2); display: block; }
.meta-sep { width: 1px; height: 28px; background: var(--border); }

/* Hero visual — app mockup */
.hero-visual {
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  border-radius: 24px 0 0 0;
  padding: 36px 36px 0;
  position: relative;
  min-height: 480px;
  display: flex; align-items: flex-end;
}

.app-window {
  width: 100%;
  background: var(--white);
  border-radius: 14px 14px 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.app-titlebar {
  background: #f8f8fa;
  border-bottom: 1px solid var(--border);
  padding: 11px 14px;
  display: flex; align-items: center; gap: 10px;
}
.titlebar-dots { display: flex; gap: 6px; }
.titlebar-dots span { width: 11px; height: 11px; border-radius: 50%; }
.titlebar-dots span:nth-child(1) { background: #ff5f57; }
.titlebar-dots span:nth-child(2) { background: #febc2e; }
.titlebar-dots span:nth-child(3) { background: #28c840; }
.titlebar-name { font-size: 0.76rem; font-weight: 600; color: var(--muted); margin-left: auto; margin-right: auto; }

.app-body {
  display: grid; grid-template-columns: 1fr 200px;
}
.app-canvas {
  position: relative; height: 280px;
  overflow: hidden;
  border-right: 1px solid var(--border);
}
.canvas-before {
  position: absolute; top: 0; left: 0; bottom: 0; right: 50%;
  background:
    radial-gradient(ellipse 70% 70% at 40% 35%, rgba(200,175,130,.6) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 65% 60%, rgba(120,150,200,.35) 0%, transparent 55%),
    #d0ccc6;
  filter: blur(4.5px) saturate(.5) brightness(.85);
}
.canvas-after {
  position: absolute; top: 0; left: 50%; bottom: 0; right: 0;
  background:
    radial-gradient(ellipse 70% 70% at 40% 35%, rgba(215,185,130,.85) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 65% 60%, rgba(130,160,215,.6) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 25% 70%, rgba(130,200,155,.35) 0%, transparent 40%),
    linear-gradient(150deg, #e8e0d4 0%, #d4ccc0 100%);
}
.canvas-line {
  position: absolute; top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 2px; background: rgba(255,255,255,.9); z-index: 2;
}
.canvas-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 34px; height: 34px; background: #fff;
  border-radius: 50%; z-index: 3;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  font-size: 0.7rem; font-weight: 900; color: var(--black);
}
.canvas-labels {
  position: absolute; bottom: 12px; z-index: 4;
  display: flex; width: 100%; padding: 0 12px;
  justify-content: space-between;
}
.clabel {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 1.5px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(4px);
  padding: 3px 9px; border-radius: 999px;
  color: var(--muted);
}
.clabel.after-lbl { color: var(--accent); }

.app-sidebar {
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.sidebar-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted2); margin-bottom: 2px;
}
.sidebar-row { margin-bottom: 8px; }
.sidebar-row .sidebar-label { margin-bottom: 6px; }
.slider-track { height: 4px; background: var(--border); border-radius: 999px; position: relative; }
.slider-track::before {
  content: '';
  position: absolute; top: 0; left: 0; height: 100%;
  background: var(--accent); border-radius: 999px;
}
.sl-70::before { width: 70%; }
.sl-45::before { width: 45%; }
.sl-80::before { width: 80%; }
.sl-60::before { width: 60%; }
.slider-thumb {
  position: absolute; top: 50%; width: 12px; height: 12px;
  background: var(--accent); border: 2px solid #fff;
  border-radius: 50%; transform: translateY(-50%);
  box-shadow: 0 1px 4px rgba(79,70,229,.4);
}
.sl-70 .slider-thumb { left: calc(70% - 6px); }
.sl-45 .slider-thumb { left: calc(45% - 6px); }
.sl-80 .slider-thumb { left: calc(80% - 6px); }
.sl-60 .slider-thumb { left: calc(60% - 6px); }

.toggle-row { display: flex; justify-content: space-between; align-items: center; }
.toggle-label { font-size: 0.78rem; font-weight: 500; color: var(--black); }
.toggle-pill { width: 32px; height: 17px; border-radius: 999px; position: relative; }
.toggle-pill.on { background: var(--accent); }
.toggle-pill.off { background: var(--border); }
.toggle-pill::after {
  content: ''; position: absolute;
  top: 2px; width: 13px; height: 13px;
  background: #fff; border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.toggle-pill.on::after { left: calc(100% - 15px); }
.toggle-pill.off::after { left: 2px; }

.enhance-btn {
  margin-top: auto;
  background: var(--accent); color: #fff;
  border-radius: 8px; padding: 9px;
  font-size: 0.78rem; font-weight: 700;
  text-align: center;
}

/* Float badge on window */
.app-badge {
  position: absolute; top: 24px; right: -16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 14px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap; z-index: 10;
}
.ab-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: #eef2ff;
  display: grid; place-items: center;
  font-size: 1rem; flex-shrink: 0;
}
.ab-text strong { display: block; font-size: 0.82rem; font-weight: 700; color: var(--black); }
.ab-text span { font-size: 0.72rem; color: var(--muted2); }

/* ─── LOGOS ───────────────────────────────────────────────── */
.logos-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0; background: var(--white);
}
.logos-inner {
  display: flex; align-items: center; gap: 40px;
  overflow: hidden;
}
.logos-label { font-size: 0.75rem; font-weight: 600; color: var(--muted2); white-space: nowrap; flex-shrink: 0; }
.logos-list { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.logo-badge {
  font-size: 0.8rem; font-weight: 700; color: var(--muted);
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 6px 14px; letter-spacing: 0.3px;
}

/* ─── STATS ───────────────────────────────────────────────── */
.stats { background: var(--bg); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 32px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat span {
  display: block; font-size: 2.4rem; font-weight: 800;
  color: var(--black); letter-spacing: -2px; margin-bottom: 4px;
  line-height: 1;
}
.stat p { font-size: 0.82rem; color: var(--muted); }

/* ─── SECTIONS ────────────────────────────────────────────── */
.section { padding: 96px 0; }
.bg-light { background: var(--bg); }

.section-eyebrow {
  display: block; text-align: center;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 800;
  text-align: center; letter-spacing: -1.5px;
  color: var(--black); margin-bottom: 12px;
}
.section-sub {
  text-align: center; color: var(--muted);
  font-size: 0.98rem; margin-bottom: 56px;
}

/* ─── FEATURES GRID ───────────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.feat-item { background: var(--white); padding: 32px 28px; }
.bg-light .feat-item { background: var(--bg); }
.feat-item:hover { background: var(--surface); }

.feat-num {
  font-size: 0.72rem; font-weight: 700; color: var(--muted2);
  letter-spacing: 0.5px; margin-bottom: 14px; display: block;
}
.feat-icon { font-size: 1.6rem; margin-bottom: 12px; }
.feat-item h3 { font-size: 0.95rem; font-weight: 700; color: var(--black); margin-bottom: 7px; }
.feat-item p { font-size: 0.84rem; color: var(--muted); line-height: 1.65; }
.center-btn { text-align: center; margin-top: 48px; }

/* ─── PRICING ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color .18s, box-shadow .18s;
}
.pricing-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 8px 32px rgba(79,70,229,.1);
}
.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(79,70,229,.15);
  position: relative;
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}
.plan-name {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted2);
  margin-bottom: 12px;
}
.plan-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price sup {
  font-size: 1.1rem;
  font-weight: 700;
  vertical-align: top;
  margin-top: 6px;
  display: inline-block;
}
.plan-price sub {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.plan-yearly {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.plan-yearly strong { color: #16a34a; }
.plan-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.plan-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 28px;
}
.plan-feature-list li {
  font-size: 0.875rem;
  color: var(--muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.plan-feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan-feature-list li.no::before { content: '–'; color: var(--muted2); }
.plan-feature-list li.no { color: var(--muted2); }
.btn-plan {
  display: block; text-align: center; padding: 12px 20px;
  border-radius: 10px; font-size: 0.9rem; font-weight: 700;
  transition: opacity .18s; text-decoration: none;
}
.btn-plan:hover { opacity: .85; }
.btn-plan.filled { background: var(--accent); color: #fff; }
.btn-plan.outline-plan { border: 1.5px solid var(--border); color: var(--black); }
.pricing-note { text-align: center; font-size: 0.84rem; color: var(--muted); margin-top: 20px; }

/* ─── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.testi {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
}
.testi-stars { color: #f59e0b; font-size: 0.85rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testi-name { font-size: 0.84rem; font-weight: 700; color: var(--black); }
.testi-role { font-size: 0.75rem; color: var(--muted2); }

/* ─── CTA BANNER ──────────────────────────────────────────── */
.cta-banner {
  padding: 96px 0; text-align: center;
  background: var(--black); position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(79,70,229,.18) 0%, transparent 70%);
}
.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800;
  letter-spacing: -1.5px; color: var(--white); margin-bottom: 12px;
  position: relative;
}
.cta-banner > .container > p { color: #666; font-size: 0.95rem; margin-bottom: 32px; position: relative; }
.cta-banner .btn-primary { background: var(--white); color: var(--black); box-shadow: none; position: relative; }
.cta-banner .btn-primary:hover { background: var(--surface); color: var(--black); box-shadow: none; transform: translateY(-2px); }

/* ─── PAGE HERO ───────────────────────────────────────────── */
.page-hero {
  padding: 72px 0 60px; text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 800;
  letter-spacing: -2px; color: var(--black); margin-bottom: 8px;
}
.page-hero p { color: var(--muted); font-size: 0.95rem; }

/* ─── DOWNLOAD ────────────────────────────────────────────── */
.download-section { padding: 96px 0; background: var(--bg); }
.download-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.download-text h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 800;
  letter-spacing: -1.5px; color: var(--black); margin-bottom: 12px;
}
.download-text > p { color: var(--muted); margin-bottom: 28px; font-size: 1rem; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 32px; }
.check-list li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.9rem; }
.check-list li::before {
  content: ''; width: 20px; height: 20px; border-radius: 50%;
  background: #dcfce7; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.small-note { font-size: 0.76rem; color: var(--muted2); margin-top: 12px; }

.sys-req {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.sys-req h4 {
  padding: 14px 22px; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.sys-req table { width: 100%; border-collapse: collapse; }
.sys-req td { padding: 12px 22px; font-size: 0.86rem; border-bottom: 1px solid var(--border); }
.sys-req tr:last-child td { border-bottom: none; }
.sys-req td:first-child { color: var(--muted); width: 88px; }

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer { background: var(--black); padding: 52px 0 32px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.footer .logo { color: var(--white); }
.footer .logo span { color: var(--white); }
.footer .logo-icon { background: rgba(255,255,255,0.08); }
.footer-brand p { color: #4a4a5a; font-size: 0.8rem; margin-top: 8px; }
.footer-links { display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: #4a4a5a; font-size: 0.8rem; padding: 6px 12px; border-radius: 8px; transition: color .18s; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: #2e2e3e; font-size: 0.73rem; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-text { padding-right: 0; padding-bottom: 48px; }
  .hero-visual { border-left: none; border-top: 1px solid var(--border); border-radius: 0; min-height: 360px; }
  .app-badge { right: 12px; }
  .download-inner { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  nav { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .section { padding: 64px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .logos-inner { flex-direction: column; gap: 14px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .download-inner { grid-template-columns: 1fr; }
}
