/* ==========================================================================
   Shopping Assistant, demo stylesheet
   Calm, minimal, professional. Built for retailers & investors.
   ========================================================================== */

:root {
  --accent: #0e7c66;        /* deep teal-green, used sparingly */
  --accent-dark: #0a5f4e;
  --accent-soft: #e8f4f0;
  --ink: #10201b;
  --ink-2: #37474f;
  --muted: #6b7a80;
  --line: #e7ece9;
  --bg: #ffffff;
  --bg-soft: #f6f9f8;
  --shadow-sm: 0 1px 3px rgba(16, 32, 27, .06);
  --shadow: 0 10px 30px rgba(16, 32, 27, .08);
  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1120px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body); color: var(--ink); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, .brand-name { font-family: var(--font); letter-spacing: -0.02em; line-height: 1.15; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 780px; }
.center { text-align: center; }

/* ---------------------------- Buttons ---------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font); font-weight: 700; font-size: .96rem;
  padding: .8em 1.5em; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 8px 20px rgba(14, 124, 102, .28); }
.btn-outline { background: #fff; color: var(--accent-dark); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ---------------------------- Header ---------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; height: 66px; }
.brand { display: flex; align-items: center; gap: .55em; font-weight: 800; }
.brand-logo { width: 32px; height: 32px; }
.brand-name { font-size: 1.12rem; }
.brand-accent { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav-links a { font-weight: 600; font-size: .94rem; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-dark); }
.nav-cta { background: var(--ink); color: #fff !important; padding: .5em 1.1em; border-radius: 999px; }
.nav-cta:hover { background: var(--accent-dark); }

.header-right { display: flex; align-items: center; gap: 12px; margin-left: 1.4rem; }
.lang-switch { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button {
  font-family: var(--font); font-weight: 700; font-size: .8rem; color: var(--ink-2);
  background: none; border: 0; cursor: pointer; padding: .32em .75em; border-radius: 999px; transition: .15s;
}
.lang-switch button.active { background: #fff; color: var(--accent-dark); box-shadow: var(--shadow-sm); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; }

/* ---------------------------- Sections ---------------------------- */
.section { padding: clamp(52px, 8vw, 92px) 0; }
.section:nth-of-type(even) { background: var(--bg-soft); }
.section-head { max-width: 42em; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .09em; color: var(--accent-dark);
  margin-bottom: .9rem;
}
.section-head h2, .section h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; margin-top: .7rem; }
.body-p { color: var(--ink-2); font-size: 1.08rem; margin-top: 1rem; }
h2 + .body-p, .eyebrow + h2 { margin-top: .6rem; }

/* gentle reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { scroll-behavior: auto; } }

/* ---------------------------- Hero ---------------------------- */
.hero { padding: clamp(48px, 7vw, 88px) 0; background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 70%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 800; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); margin-top: 1.1rem; max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-actions.center { justify-content: center; }

.scope { margin-top: 2.2rem; }
.scope-line { font-size: .84rem; color: var(--muted); }
.store-logos { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .7rem; }
.store-chip {
  font-family: var(--font); font-weight: 700; font-size: .76rem; padding: .34em .7em; border-radius: 7px;
  background: var(--sc); color: var(--st);
}

.hero-visual { display: flex; justify-content: center; }
.mock-card {
  width: min(100%, 360px); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow);
}
.mock-head { display: flex; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: .95rem; }
.mock-tag { font-size: .82rem; font-weight: 700; color: var(--accent-dark); background: var(--accent-soft); padding: .26em .6em; border-radius: 7px; }
.mock-tag.hot { color: #9a6a00; background: #fdf2d6; }
.mock-result { margin-top: 10px; padding: 13px; border-radius: 12px; background: var(--ink); color: #fff; }
.mock-result div { font-size: .78rem; opacity: .85; }
.mock-result strong { font-size: 1.3rem; font-family: var(--font); }

.hero-retail { background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 80%); }
.hero-retail h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-top: .5rem; }
.hero-retail .lead { margin: 1.1rem auto 0; }

/* ---------------------------- Problem ---------------------------- */
.problem .eyebrow, .vision .eyebrow, .legal { }
.problem-list { list-style: none; margin-top: 1.4rem; display: grid; gap: .7rem; }
.problem-list li {
  position: relative; padding-left: 1.8rem; font-size: 1.08rem; color: var(--ink-2);
}
.problem-list li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent);
}

/* ---------------------------- Solution ---------------------------- */
.outcome-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.outcome {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px;
  text-align: center; font-family: var(--font); font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm);
}
.outcome-ico { display: block; font-size: 1.8rem; margin-bottom: 10px; }

/* ---------------------------- Demo ---------------------------- */
.demo-panel { max-width: 880px; margin: 0 auto; }
.demo-input-wrap { display: flex; gap: 12px; }
#list-input {
  flex: 1; font-family: var(--font-body); font-size: 1.02rem; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: #fff; resize: vertical; min-height: 64px; transition: border-color .15s, box-shadow .15s;
}
#list-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,124,102,.13); }
.demo-input-wrap .btn { align-self: flex-start; }
.demo-examples { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin: 13px 2px 0; color: var(--muted); font-size: .88rem; }
.chip {
  font-family: var(--font-body); font-size: .86rem; font-weight: 600; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); padding: .38em .9em; border-radius: 999px; cursor: pointer; transition: .15s;
}
.chip:hover { border-color: var(--accent); color: var(--accent-dark); }

.demo-result { margin-top: 24px; opacity: 0; transform: translateY(8px); transition: .35s; }
.demo-result.show { opacity: 1; transform: none; }
.empty-note { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px; text-align: center; color: var(--muted); }

.result-head-line { font-family: var(--font); font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; text-align: center; }
.result-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.result-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.result-card.best { border-color: rgba(14,124,102,.35); }
.result-card.split { background: var(--ink); color: #fff; border: 0; }
.rc-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; opacity: .82; }
.result-card.best .rc-label { color: var(--accent-dark); }
.rc-store { margin: 9px 0 5px; display: flex; gap: 6px; flex-wrap: wrap; }
.rc-total { font-family: var(--font); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.rc-sub { font-size: .9rem; margin-top: 7px; opacity: .92; }

.store-badge { font-family: var(--font); font-weight: 700; font-size: .8rem; padding: .3em .7em; border-radius: 7px; background: var(--sc); color: var(--st); display: inline-block; }
.store-badge.sm { font-size: .72rem; }

.breakdown { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.breakdown-title { font-family: var(--font); font-weight: 700; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--accent-soft); }
.bd-rows { display: flex; flex-direction: column; }
.bd-row { display: grid; grid-template-columns: 1.6fr auto auto 1fr; gap: 14px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.bd-row:last-child { border-bottom: 0; }
.bd-item { display: flex; align-items: center; gap: 10px; }
.bd-emoji { font-size: 1.3rem; }
.bd-name { font-weight: 600; font-size: .95rem; }
.bd-pack { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }
.bd-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag { font-size: .7rem; font-weight: 700; padding: .26em .55em; border-radius: 6px; white-space: nowrap; }
.tag.promo { color: #9a6a00; background: #fdf2d6; }
.tag.own { color: var(--accent-dark); background: var(--accent-soft); }
.bd-store { text-align: center; }
.bd-price { text-align: right; }
.bd-euro { font-family: var(--font); font-weight: 800; font-size: 1.02rem; display: block; }
.bd-unit { display: block; font-size: .76rem; color: var(--muted); }
.bd-checked { display: block; font-size: .72rem; color: var(--muted); }
.unresolved { margin-top: 14px; padding: 13px 16px; border-radius: 12px; background: #fdf6e6; border: 1px solid #f0e0b6; color: #7a5a12; font-size: .9rem; }
.result-footnote { margin-top: 14px; text-align: center; font-size: .8rem; color: var(--muted); }

/* ---------------------------- How it works ---------------------------- */
.how-steps { display: flex; align-items: stretch; justify-content: center; gap: 12px; flex-wrap: wrap; }
.how-step { flex: 1; min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-sm); }
.how-n { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font); font-weight: 800; color: #fff; background: var(--accent); margin-bottom: 12px; }
.how-step h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.how-step p { font-size: .92rem; color: var(--ink-2); }
.how-arrow { display: flex; align-items: center; font-size: 1.5rem; color: var(--muted); }

/* ---------------------------- Why / benefits ---------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 820px; margin: 0 auto; }
.why-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-weight: 600; box-shadow: var(--shadow-sm); }
.why-check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-weight: 800; flex-shrink: 0; }
.why-cta { text-align: center; margin-top: 2rem; }

.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.benefit h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.benefit p { font-size: .95rem; color: var(--ink-2); }

/* ---------------------------- Principles ---------------------------- */
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.principle { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.principle h3 { font-size: 1.08rem; margin-bottom: .4rem; color: var(--accent-dark); }
.principle p { font-size: .93rem; color: var(--ink-2); }

/* ---------------------------- Coming soon ---------------------------- */
.coming-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 860px; margin: 0 auto; }
.coming-item {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px;
  text-align: center; font-family: var(--font); font-weight: 600; font-size: .95rem; color: var(--ink-2);
}

/* ---------------------------- Vision ---------------------------- */
.vision-p { font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-family: var(--font); font-weight: 600; color: var(--ink); margin-top: 1rem; line-height: 1.4; }

/* ---------------------------- About ---------------------------- */
.about-inner { display: flex; gap: clamp(24px, 4vw, 48px); align-items: center; flex-wrap: wrap; }
.founder-photo {
  width: 150px; height: 150px; border-radius: 24px; flex-shrink: 0;
  display: grid; place-items: center; font-family: var(--font); font-weight: 800; font-size: 3rem; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}
.about-copy { flex: 1; min-width: 260px; }
.founder-name { font-family: var(--font); font-weight: 800; font-size: 1.3rem; margin-top: .4rem; }
.founder-role { color: var(--accent-dark); font-weight: 600; }
.about-copy blockquote { margin-top: 1rem; font-size: 1.2rem; font-family: var(--font); font-weight: 500; color: var(--ink); line-height: 1.5; }

/* ---------------------------- Waitlist ---------------------------- */
.waitlist p { color: var(--ink-2); margin-top: .5rem; }
.waitlist-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.waitlist-form input {
  flex: 1; min-width: 240px; max-width: 340px; font-family: var(--font-body); font-size: 1rem;
  padding: .8em 1.1em; border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
}
.waitlist-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,124,102,.13); }
.form-thanks { font-family: var(--font); font-weight: 700; color: var(--accent-dark); font-size: 1.1rem; }

/* ---------------------------- Contact ---------------------------- */
.contact-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.contact-copy h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: .3rem 0; }
.contact-copy p { color: var(--ink-2); }
.contact-details { display: grid; gap: 12px; }
.contact-item { display: flex; flex-direction: column; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s; }
a.contact-item:hover { border-color: var(--accent); }
.contact-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.contact-value { font-family: var(--font); font-weight: 700; }

/* ---------------------------- Retailer form ---------------------------- */
.retailer-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 1.6rem; }
.retailer-form label { display: flex; flex-direction: column; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.retailer-form label.full { grid-column: 1 / -1; }
.retailer-form input, .retailer-form textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .7em .9em; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; resize: vertical;
}
.retailer-form input:focus, .retailer-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,124,102,.13); }
.retailer-form .btn { grid-column: 1 / -1; justify-self: start; }
.form-note { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); margin: 0; }
.back-link { margin-top: 1.6rem; }
.back-link a { font-weight: 600; color: var(--accent-dark); }

/* ---------------------------- Legal ---------------------------- */
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1rem; }

/* ---------------------------- Footer ---------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 48px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { max-width: 30em; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 10px; font-size: .92rem; color: rgba(255,255,255,.6); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 24px; align-content: flex-start; }
.footer-links a { font-weight: 600; font-size: .92rem; color: rgba(255,255,255,.82); }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 20px; font-size: .8rem; color: rgba(255,255,255,.5); }

/* ---------------------------- Responsive ---------------------------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .outcome-grid, .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .coming-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; }
  .how-arrow { transform: rotate(90deg); }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links a { width: 100%; padding: 14px 22px; border-top: 1px solid var(--line); }
  .nav-cta { border-radius: 0; }
}

@media (max-width: 600px) {
  .demo-input-wrap { flex-direction: column; }
  .demo-input-wrap .btn { width: 100%; }
  .result-cards { grid-template-columns: 1fr; }
  .outcome-grid, .why-grid, .benefit-grid, .principle-grid, .coming-grid { grid-template-columns: 1fr; }
  .retailer-form { grid-template-columns: 1fr; }
  .bd-row { grid-template-columns: 1fr auto; row-gap: 6px; }
  .bd-tags { grid-column: 1 / -1; justify-content: flex-start; }
  .bd-store { grid-column: 1; text-align: left; }
  .bd-price { grid-column: 2; }
  .about-inner { flex-direction: column; text-align: center; }
}
