:root {
    --green: #189A54;
    --green-dark: #0E7A42;
    --green-darkest: #0A3826;
    --green-bg: #E8F6EE;
    --green-bg-2: #F1FAF4;
    --ink: #10161B;
    --ink-soft: #4B5560;
    --gray: #6B7684;
    --border: #E7EBEE;
    --bg-alt: #F7FAF8;
    --shadow: 0 20px 50px -18px rgba(16, 22, 27, 0.18);
    --shadow-lg: 0 30px 70px -20px rgba(16, 22, 27, 0.22), 0 10px 25px -10px rgba(16, 22, 27, 0.12);
    --shadow-glow: 0 20px 50px -18px rgba(16, 22, 27, 0.18), 0 0 0 1px rgba(24,154,84,0.04), 0 12px 32px -12px rgba(24,154,84,0.18);
    --font-display: 'Poppins', 'Inter', sans-serif;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  img, svg { display: block; }
  .wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 14.5px;
    padding: 12px 22px; border-radius: 8px;
    border: 1px solid transparent; cursor: pointer;
    transition: all .18s ease; white-space: nowrap;
  }
  .btn-primary {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(24,154,84,0.45);
    transition: all .22s cubic-bezier(.2,.9,.3,1.3);
  }
  .btn-primary:hover {
    background: linear-gradient(135deg, var(--green-dark), var(--green-darkest));
    box-shadow: 0 14px 30px -10px rgba(24,154,84,0.55);
    transform: translateY(-2px);
  }
  .btn-outline { background: #fff; color: var(--ink); border-color: var(--border); }
  .btn-outline:hover { border-color: var(--green); color: var(--green); }
  .btn-white { background: #fff; color: var(--green-darkest); }
  .btn-white:hover { background: #EFEFEF; }
  .eyebrow {
    display: inline-flex; align-items: center;
    background: var(--green-bg); color: var(--green-dark);
    font-size: 13px; font-weight: 600;
    padding: 7px 16px; border-radius: 999px;
    margin-bottom: 22px;
  }

  /* ── Header ─────────────────────────────────────── */
  header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }
  .nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 32px; max-width: 1240px; margin: 0 auto;
  }
  .logo { display: flex; align-items: baseline; gap: 8px; }
  .logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
  .logo-text { display: flex; flex-direction: column; line-height: 1; }
  .logo-perkly { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--ink); letter-spacing: -0.01em; }
  .logo-commerce {
    font-family: 'Caveat', cursive; font-weight: 700; font-size: 19px;
    color: var(--green); margin-top: -4px; margin-left: 2px;
  }
  .nav-links { display: flex; align-items: center; gap: 34px; }
  .nav-links a.navlink {
    font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
    display: flex; align-items: center; gap: 4px;
    position: relative; padding-bottom: 2px;
  }
  .nav-links a.navlink::after {
    content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
    background: var(--green); transition: width .25s ease;
  }
  .nav-links a.navlink:hover::after { width: 100%; }
  .nav-links a.navlink:hover { color: var(--ink); }
  .nav-right { display: flex; align-items: center; gap: 22px; }
  .caret { width: 9px; height: 9px; opacity: .55; }
  .nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 32px; height: 32px; padding: 6px; flex-direction: column; gap: 5px;
  }
  .nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; }

  /* ── Hero ───────────────────────────────────────── */
  .hero {
    padding: 36px 0 240px;
    position: relative;
    overflow: visible;
  }
  .hero::before {
    content: '';
    position: absolute; top: -60px; right: -8%;
    width: 480px; height: 480px; border-radius: 50%;
    background: radial-gradient(circle, rgba(24,154,84,0.06), rgba(24,154,84,0) 70%);
    z-index: 0; pointer-events: none;
  }
  .hero .hero-grid { position: relative; z-index: 1; }
  .hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  }
  .hero h1 {
    font-family: var(--font-display);
    font-size: 56px; font-weight: 700; letter-spacing: -0.01em;
    line-height: 1.1; color: var(--ink); margin-bottom: 22px;
  }
  .hero h1 .green { color: var(--green); }
  .hero p.lead {
    font-size: 17px; color: var(--gray); max-width: 460px;
    margin-bottom: 30px; line-height: 1.65;
  }
  .hero-ctas { display: flex; gap: 14px; margin-bottom: 46px; }
  .play-icon {
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--green-bg); display: inline-flex;
    align-items: center; justify-content: center; flex-shrink: 0;
  }
  .feat-row { display: flex; gap: 20px; flex-wrap: wrap; }
  .feat-item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 108px; }
  .feat-icon {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--green-bg); display: flex; align-items: center; justify-content: center;
  }
  .feat-item span { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.35; }

  /* ── Hero visual ────────────────────────────────── */
  .hero-visual { position: relative; animation: cardFloat 7s ease-in-out infinite; }
  @keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  .dashboard-card {
    background: #fff; border: 1px solid var(--border); border-radius: 16px;
    box-shadow: var(--shadow-glow); overflow: hidden; position: relative; z-index: 2;
  }
  .dash-header {
    display: flex; align-items: center; gap: 8px;
    padding: 16px 20px; border-bottom: 1px solid var(--border);
  }
  .dash-header .logo-mark { width: 22px; height: 22px; }
  .dash-header .logo-perkly { font-size: 14px; }
  .dash-header .logo-commerce { font-size: 12px; }
  .dash-body { display: grid; grid-template-columns: 118px 1fr; min-height: 340px; }
  .dash-nav { border-right: 1px solid var(--border); padding: 14px 10px; }
  .dash-nav-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 11.5px; font-weight: 500; color: var(--gray);
    padding: 8px 8px; border-radius: 7px; margin-bottom: 2px;
  }
  .dash-nav-item.active { background: var(--green-bg); color: var(--green-dark); font-weight: 600; }
  .dash-nav-item .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .6; flex-shrink: 0; }
  .dash-main { padding: 16px 18px; }
  .dash-main h4 { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
  .dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
  .dash-stat { }
  .dash-stat .lbl { font-size: 9.5px; color: var(--gray); margin-bottom: 4px; }
  .dash-stat .val { font-size: 13.5px; font-weight: 700; }
  .dash-stat .delta { font-size: 9px; color: var(--green); font-weight: 600; margin-top: 2px; }
  .dash-panels { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
  .dash-panel {
    border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; height: 108px;
  }
  .dash-panel .ptitle { font-size: 10px; font-weight: 700; margin-bottom: 8px; }
  .sparkline { height: 55px; }
  .donut-wrap { display: flex; align-items: center; gap: 8px; }
  .legend { font-size: 8px; color: var(--gray); }
  .legend div { display: flex; align-items: center; gap: 4px; margin-bottom: 2px; }
  .legend .sw { width: 6px; height: 6px; border-radius: 50%; }

  .chat-float {
    position: absolute; left: 3%; bottom: -45%; width: 66%;
    background: #fff; border: 1px solid var(--border); border-radius: 14px;
    box-shadow: var(--shadow); padding: 16px; z-index: 3;
  }
  .chat-bubble-in {
    background: var(--bg-alt); border-radius: 10px 10px 10px 2px;
    padding: 8px 12px; font-size: 11.5px; color: var(--ink-soft); max-width: 78%;
    display: flex; gap: 6px; align-items: flex-start; margin-bottom: 8px;
  }
  .chat-bubble-out {
    background: var(--green); color: #fff; border-radius: 10px 10px 2px 10px;
    padding: 8px 12px; font-size: 11.5px; max-width: 78%; margin-left: auto; margin-bottom: 12px;
  }
  .chat-products { display: flex; gap: 8px; margin-bottom: 8px; }
  .chat-products .pimg {
    width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0;
  }
  .chat-cta { font-size: 11px; font-weight: 700; color: var(--green); text-align: center; }

  .orbit-chain {
    position: absolute; right: -15%; top: -2%; width: 349px; height: 437px; z-index: 5;
  }
  .orbit-icon {
    width: 40px; height: 40px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; box-shadow: var(--shadow);
    position: absolute; overflow: hidden;
  }
  .orbit-icon img { width: 130%; height: 130%; object-fit: contain; }
  .orbit-path { position: absolute; top: 0; left: 0; z-index: 4; }

  /* ── Section shell ──────────────────────────────── */
  section.pad { padding: 40px 0; }
  .section-head { text-align: center; max-width: 700px; margin: 0 auto 52px; }
  .section-head h2 { font-family: var(--font-display); font-size: 32px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
  .section-head p { color: var(--gray); font-size: 15.5px; }

  /* ── Feature grid ───────────────────────────────── */
  .feature-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  }
  .fcard {
    border: 1px solid var(--border); border-radius: 14px; padding: 26px 24px;
    transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
  }
  .fcard:hover { box-shadow: var(--shadow-glow); border-color: transparent; transform: translateY(-6px); }
  .fcard:hover .ficon { transform: scale(1.1); }
  .fcard .ficon {
    width: 46px; height: 46px; border-radius: 50%; background: var(--green-bg);
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
    transition: transform .25s cubic-bezier(.2,.9,.3,1.3);
  }
  .fcard h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
  .fcard p { font-size: 13.5px; color: var(--gray); line-height: 1.55; }

  /* ── Logos ──────────────────────────────────────── */
  .logos-strip { text-align: center; padding: 50px 0 70px; }
  .logos-strip p { color: var(--gray); font-size: 13.5px; margin-bottom: 34px; font-weight: 500; }
  .logos-row {
    display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap;
    opacity: .55;
  }
  .logos-row .lg { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 15px; color: var(--ink); }
  .logos-row .lg svg { width: 18px; height: 18px; }

  /* ── Growth split ───────────────────────────────── */
  .growth { background: var(--bg-alt); padding: 40px 0; }
  .growth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .growth-eyebrow { color: var(--green); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
  .growth h2 { font-family: var(--font-display); font-size: 32px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.18; margin-bottom: 16px; }
  .growth p.desc { color: var(--gray); font-size: 15px; margin-bottom: 26px; max-width: 420px; line-height: 1.6; }
  .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .stat-card {
    background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px;
    transition: box-shadow .25s ease, transform .25s ease;
  }
  .stat-card:hover { box-shadow: var(--shadow-glow); transform: translateY(-4px); }
  .stat-icon {
    width: 38px; height: 38px; border-radius: 50%; background: var(--green);
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  }
  .stat-card .num { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
  .stat-card .lbl { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
  .stat-card .sub { font-size: 12px; color: var(--gray); line-height: 1.4; }

  /* ── CTA banner ─────────────────────────────────── */
  .cta-banner {
    background: linear-gradient(120deg, var(--green-darkest), #0D4530);
    background-image:
      radial-gradient(circle at 85% 20%, rgba(24,154,84,0.35), transparent 45%),
      linear-gradient(120deg, var(--green-darkest), #0D4530);
    border-radius: 22px; margin: 40px auto; max-width: 1176px;
    padding: 46px 52px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
    color: #fff; box-shadow: 0 30px 60px -20px rgba(10,58,38,0.5);
  }
  .cta-left { display: flex; align-items: center; gap: 26px; }
  .cta-shop-icon { width: 68px; height: 68px; flex-shrink: 0; }
  .cta-banner h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
  .cta-banner p { color: rgba(255,255,255,.75); font-size: 14px; max-width: 380px; }

  footer { border-top: 1px solid var(--border); padding: 40px 0; text-align: center; color: var(--gray); font-size: 13px; }

  /* ── Responsive ─────────────────────────────────── */
  @media (max-width: 980px) {
    .nav-toggle { display: flex; }
    .nav-links {
      display: none; position: absolute; top: 100%; left: 0; right: 0;
      background: #fff; border-bottom: 1px solid var(--border);
      flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 32px 16px;
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--border); }
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 42px; }
    .hero-visual { margin-top: 60px; }
    .chat-float { position: static; width: 100%; margin-top: 20px; }
    .orbit-chain { display: none; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .growth-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .cta-banner { flex-direction: column; text-align: center; padding: 36px 28px; }
    .cta-left { flex-direction: column; }
  }
  @media (max-width: 600px) {
    .feature-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 34px; }
    .wrap { padding: 0 20px; }
  }
  a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }

  /* ── Scroll reveal ──────────────────────────────────────── */
  .reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-group .reveal:nth-child(1) { transition-delay: 0ms; }
  .reveal-group .reveal:nth-child(2) { transition-delay: 80ms; }
  .reveal-group .reveal:nth-child(3) { transition-delay: 160ms; }
  .reveal-group .reveal:nth-child(4) { transition-delay: 240ms; }
  .reveal-group .reveal:nth-child(5) { transition-delay: 320ms; }
  .reveal-group .reveal:nth-child(6) { transition-delay: 400ms; }

  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-visual { animation: none; }
    .btn-primary, .fcard, .stat-card { transition: none; }
  }
