/* EverShelf marketing site */

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --green:   #2ec27e; --green2: #1a9e60; --teal: #0ea5e9;
      --purple:  #8b5cf6; --orange: #f59e0b; --red: #ef4444;
      --pink:    #ec4899; --indigo: #6366f1;
      --dark:    #0f172a; --dark2: #1e293b; --dark3: #334155;
      --light:   #f8fafc; --gray: #94a3b8;
      --radius:  18px; --shadow: 0 20px 60px rgba(0,0,0,.35);
      --trans:   .35s cubic-bezier(.4,0,.2,1);
    }
    html { scroll-behavior: smooth; }
    body { font-family: "Nunito", sans-serif; background: var(--dark); color: #e2e8f0; overflow-x: hidden; line-height: 1.6; }
    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; display: block; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
    .section { padding: 90px 0; }

    /* LANG TOGGLE */
    #lang-toggle {
      position: fixed; top: 18px; right: 22px; z-index: 9999;
      background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,.2); border-radius: 50px;
      display: flex; overflow: hidden;
    }
    .lang-btn { padding: 7px 18px; cursor: pointer; font-size: .85rem; font-weight: 700; letter-spacing: .05em; transition: var(--trans); border: none; background: transparent; color: #cbd5e1; }
    .lang-btn.active { background: var(--green); color: #fff; border-radius: 50px; }
    .lang-btn .lang-label { display: inline; }
    @media(max-width:600px) {
      #lang-toggle { top: auto; bottom: 16px; right: 50%; transform: translateX(50%); }
      .lang-btn { padding: 6px 10px; font-size: .8rem; }
      .lang-btn .lang-label { display: none; }
    }

    /* NAVBAR */
    nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 12px 0; transition: background .4s, box-shadow .4s; }
    nav.scrolled { background: rgba(15,23,42,.92); backdrop-filter: blur(14px); box-shadow: 0 2px 20px rgba(0,0,0,.4); }
    nav .nav-inner { display: flex; align-items: center; justify-content: space-between; }
    .nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.3rem; letter-spacing: -.02em; }
    .nav-logo img { width: 38px; height: 38px; object-fit: contain; }
    .nav-logo span { color: var(--green); }
    .nav-links { display: flex; gap: 18px; list-style: none; flex-wrap: wrap; }
    .nav-links a { font-weight: 600; font-size: .83rem; color: #94a3b8; transition: color var(--trans); }
    .nav-links a:hover { color: var(--green); }
    .nav-cta { background: linear-gradient(135deg,var(--green),var(--teal)); color: #fff !important; padding: 8px 20px; border-radius: 50px; font-weight: 700 !important; font-size: .88rem !important; }
    .nav-cta:hover { opacity: .85; }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
    .hamburger span { display: block; width: 24px; height: 2px; background: #e2e8f0; border-radius: 2px; transition: var(--trans); }

    /* HERO */
    #hero { min-height: 100vh; background: linear-gradient(125deg,#0f172a 0%,#1a1040 30%,#0d2d1a 65%,#0f172a 100%); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; position: relative; overflow: hidden; padding: 120px 24px 80px; }
    .hero-particles { position: absolute; inset: 0; pointer-events: none; }
    .particle { position: absolute; border-radius: 50%; animation: float linear infinite; opacity: .15; }
    @keyframes float { 0%{transform:translateY(100vh) rotate(0deg)} 100%{transform:translateY(-100px) rotate(360deg)} }
    .hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(46,194,126,.15); border: 1px solid rgba(46,194,126,.3); color: var(--green); padding: 6px 18px; border-radius: 50px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px; animation: fadeInDown .6s ease both; }
    .hero-badge .dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 1.5s infinite; }
    @keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.3)} }
    @keyframes fadeInDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
    @keyframes fadeInUp   { from{opacity:0;transform:translateY(30px)}  to{opacity:1;transform:translateY(0)} }
    @keyframes fadeIn     { from{opacity:0} to{opacity:1} }
    .hero-title { font-size: clamp(3rem,8vw,6.5rem); font-weight: 900; line-height: 1.05; letter-spacing: -.04em; margin-bottom: 10px; animation: fadeInDown .7s .1s ease both; }
    .hero-title .grad { background: linear-gradient(135deg,var(--green) 0%,var(--teal) 50%,var(--purple) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .hero-sub { font-size: clamp(1.1rem,3vw,1.55rem); color: #94a3b8; font-weight: 400; max-width: 680px; margin: 0 auto 16px; line-height: 1.5; animation: fadeInUp .7s .2s ease both; }
    .hero-sub strong { color: var(--green); font-weight: 700; }
    .hero-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 42px; animation: fadeInUp .7s .3s ease both; }
    .pill { padding: 5px 16px; border-radius: 50px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
    .pill-green  { background: rgba(46,194,126,.2);  color: #4ade80; border: 1px solid rgba(46,194,126,.35); }
    .pill-blue   { background: rgba(14,165,233,.2);  color: #38bdf8; border: 1px solid rgba(14,165,233,.35); }
    .pill-purple { background: rgba(139,92,246,.2);  color: #c4b5fd; border: 1px solid rgba(139,92,246,.35); }
    .pill-orange { background: rgba(245,158,11,.2);  color: #fcd34d; border: 1px solid rgba(245,158,11,.35); }
    .pill-pink   { background: rgba(236,72,153,.2);  color: #f9a8d4; border: 1px solid rgba(236,72,153,.35); }
    .hero-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; animation: fadeInUp .7s .4s ease both; }
    .btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 30px; border-radius: 50px; font-weight: 800; font-size: 1rem; cursor: pointer; transition: var(--trans); border: none; outline: none; font-family: "Nunito", sans-serif; }
    .btn-primary { background: linear-gradient(135deg,var(--green),var(--teal)); color: #fff; box-shadow: 0 8px 30px rgba(46,194,126,.4); }
    .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(46,194,126,.5); }
    .btn-outline { background: transparent; color: #e2e8f0; border: 2px solid rgba(255,255,255,.2); }
    .btn-outline:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.4); transform: translateY(-3px); }
    .btn-github { background: #24292f; color: #e2e8f0; border: 1px solid rgba(255,255,255,.15); }
    .btn-github:hover { background: #343942; transform: translateY(-3px); }
    .btn-yt { background: #ff0000; color: #fff; border: none; }
    .btn-yt:hover { background: #cc0000; transform: translateY(-3px); }
    .hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: #475569; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; animation: fadeIn 1s 1s both; }
    .scroll-arrow { width: 20px; height: 20px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); animation: bounce 1.4s infinite; }
    @keyframes bounce { 0%,100%{transform:rotate(45deg) translateY(0)} 50%{transform:rotate(45deg) translateY(6px)} }

    /* STATS BAR */
    .stats-bar { background: linear-gradient(90deg,#1e293b,#0f2238,#1e293b); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); padding: 28px 0; }
    .stats-grid { display: grid; grid-template-columns: repeat(5,1fr); }
    .stat-item { text-align: center; padding: 10px 20px; border-right: 1px solid rgba(255,255,255,.08); }
    .stat-item:last-child { border-right: none; }
    .stat-num { font-size: 2rem; font-weight: 900; line-height: 1; background: linear-gradient(135deg,var(--green),var(--teal)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .stat-label { font-size: .78rem; color: #64748b; font-weight: 600; margin-top: 4px; text-transform: uppercase; letter-spacing: .07em; }

    /* SECTION COMMONS */
    .section-tag { display: inline-block; background: rgba(46,194,126,.15); color: var(--green); border: 1px solid rgba(46,194,126,.3); padding: 4px 14px; border-radius: 50px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
    .section-title { font-size: clamp(2rem,5vw,3.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 14px; }
    .section-desc { color: #64748b; font-size: 1.1rem; max-width: 580px; }
    .section-header { text-align: center; margin-bottom: 56px; }
    .section-header .section-desc { margin: 0 auto; }

    /* DEMO + VIDEO SECTION */
    #demo-section { background: linear-gradient(180deg,#0f172a 0%,#0d1f12 50%,#0f172a 100%); padding: 90px 0; overflow: hidden; }
    .demo-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
    .phone-column { display: flex; justify-content: center; align-items: center; }

    /* TABLET WALL MOUNT */
    .tablet-wall {
      position: relative; width: 100%; padding: 44px 28px 64px;
      border-radius: 24px;
      background-color: #1c1410;
      background-image:
        repeating-linear-gradient(90deg, transparent 0, transparent 58px, rgba(255,255,255,.022) 58px, rgba(255,255,255,.022) 59px),
        repeating-linear-gradient(0deg,  transparent 0, transparent 42px, rgba(0,0,0,.13)         42px, rgba(0,0,0,.13)         43px);
      box-shadow: inset 0 0 80px rgba(0,0,0,.45), 0 28px 70px rgba(0,0,0,.65);
      display: flex; flex-direction: column; align-items: center; overflow: visible;
    }
    /* ombra superiore che simula il tablet appeso al muro (no gancio) */
    .tablet-wall::before {
      content: ""; position: absolute;
      top: 0; left: 0; right: 0; height: 56px;
      background: linear-gradient(to bottom, rgba(0,0,0,.6) 0%, transparent 100%);
      border-radius: 24px 24px 0 0;
      pointer-events: none; z-index: 1;
    }
    /* fruit/veggie wall decorations */
    .wdeco {
      position: absolute; font-size: 2.1rem; user-select: none; pointer-events: none;
      filter: drop-shadow(0 4px 8px rgba(0,0,0,.7));
      animation: wfloat 3.6s ease-in-out infinite;
      animation-delay: var(--del, 0s);
    }
    @keyframes wfloat {
      0%, 100% { transform: rotate(var(--r,0deg)) translateY(0); }
      50%       { transform: rotate(var(--r,0deg)) translateY(-6px); }
    }
    .tablet-mockup { position: relative; z-index: 2; margin-top: 8px; }
    .tablet-frame {
      background: #1c1c1e; border-radius: 20px;
      padding: 22px 14px 38px; border: 2px solid #3a3a3c;
      box-shadow:
        0 0 0 1px rgba(255,255,255,.07),
        0 -4px 24px rgba(0,0,0,.7),
        -8px 0 24px rgba(0,0,0,.4),
        8px 0 24px rgba(0,0,0,.4),
        0 36px 80px rgba(0,0,0,.85),
        inset 0 1px 0 rgba(255,255,255,.1);
      position: relative;
    }
    .tablet-topbar { display: flex; justify-content: center; align-items: center; margin-bottom: 10px; gap: 7px; }
    .tablet-camera { width: 7px; height: 7px; background: #2c2c2e; border-radius: 50%; border: 1px solid #4a4a4c; }
    .tablet-screen {
      width: 360px; height: 780px;
      overflow: hidden; border-radius: 8px; background: #000; position: relative;
    }
    .tablet-screen iframe {
      width: 390px; height: 844px;
      border: none; display: block;
      transform: scale(0.923); transform-origin: top left;
      pointer-events: auto;
    }
    .tablet-homearea { display: flex; justify-content: center; margin-top: 14px; }
    .tablet-homebar { width: 130px; height: 4px; background: #3a3a3c; border-radius: 2px; }
    .tablet-side-btn { position: absolute; background: #3a3a3c; border-radius: 2px; }
    .tablet-side-btn.t-power    { right: -4px; top: 80px;  width: 4px; height: 42px; }
    .tablet-side-btn.t-vol-up   { left: -4px;  top: 80px;  width: 4px; height: 28px; }
    .tablet-side-btn.t-vol-down { left: -4px;  top: 120px; width: 4px; height: 28px; }
    .tablet-glow {
      position: absolute; inset: -40px; border-radius: 80px;
      background: radial-gradient(ellipse at center, rgba(46,194,126,.13) 0%, transparent 70%);
      pointer-events: none; z-index: -1;
    }
    .tablet-demo-tag {
      position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%);
      background: var(--green); color: #fff; padding: 4px 18px; border-radius: 50px;
      font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
      white-space: nowrap; box-shadow: 0 4px 16px rgba(46,194,126,.4);
    }

    /* VIDEO COLUMN */
    .video-column { display: flex; flex-direction: column; gap: 24px; }
    .video-column-header { margin-bottom: 8px; }
    .video-column-header h2 { font-size: 2rem; font-weight: 900; margin-bottom: 8px; }
    .video-column-header p { color: #64748b; font-size: .95rem; line-height: 1.6; }
    .video-list { display: flex; flex-direction: column; gap: 18px; }
    .video-card { background: #1e293b; border: 1px solid rgba(255,255,255,.07); border-radius: 16px; overflow: hidden; transition: var(--trans); }
    .video-card:hover { border-color: rgba(255,255,255,.14); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.4); }
    .lang-video-it, .lang-video-en { display: none; }
    body[data-lang="it"] .lang-video-it { display: block; }
    body[data-lang="en"] .lang-video-en { display: block; }
    .video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
    .video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
    .video-meta { padding: 14px 18px; }
    .video-meta h4 { font-size: .92rem; font-weight: 800; margin-bottom: 4px; }
    .video-meta p { font-size: .8rem; color: #64748b; }
    .video-lang-badge { display: inline-block; padding: 2px 10px; border-radius: 50px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; margin-top: 4px; }
    .badge-it { background: rgba(46,194,126,.15); color: var(--green); }
    .badge-en { background: rgba(14,165,233,.15); color: var(--teal); }
    .video-cta { display: flex; gap: 12px; flex-wrap: wrap; }

    /* FEATURES */
    #features { background: var(--dark); padding: 90px 0; }
    .features-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 24px; margin-top: 56px; }
    .feature-card { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.07); padding: 32px; cursor: default; transition: var(--trans); background: linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.01)); }
    .feature-card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity var(--trans); border-radius: var(--radius); }
    .feature-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.14); }
    .feature-card:hover::before { opacity: 1; }
    .fc-green::before   { background: linear-gradient(135deg,rgba(46,194,126,.08),transparent); }
    .fc-blue::before    { background: linear-gradient(135deg,rgba(14,165,233,.08),transparent); }
    .fc-purple::before  { background: linear-gradient(135deg,rgba(139,92,246,.08),transparent); }
    .fc-orange::before  { background: linear-gradient(135deg,rgba(245,158,11,.08),transparent); }
    .fc-pink::before    { background: linear-gradient(135deg,rgba(236,72,153,.08),transparent); }
    .fc-indigo::before  { background: linear-gradient(135deg,rgba(99,102,241,.08),transparent); }
    .fc-teal::before    { background: linear-gradient(135deg,rgba(14,165,233,.08),transparent); }
    .fc-amber::before   { background: linear-gradient(135deg,rgba(245,158,11,.08),transparent); }
    .feature-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 20px; }
    .fi-green  { background: rgba(46,194,126,.18); }  .fi-blue   { background: rgba(14,165,233,.18); }
    .fi-purple { background: rgba(139,92,246,.18); }  .fi-orange { background: rgba(245,158,11,.18); }
    .fi-pink   { background: rgba(236,72,153,.18); }  .fi-indigo { background: rgba(99,102,241,.18); }
    .fi-teal   { background: rgba(6,182,212,.18); }   .fi-amber  { background: rgba(245,158,11,.18); }
    .feature-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -.01em; }
    .feature-desc { font-size: .9rem; color: #64748b; line-height: 1.65; margin-bottom: 20px; }
    .feature-details { max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.4,0,.2,1); }
    .feature-card:hover .feature-details { max-height: 320px; }
    .feature-details ul { list-style: none; }
    .feature-details li { display: flex; align-items: flex-start; gap: 10px; font-size: .84rem; color: #94a3b8; padding: 5px 0; border-top: 1px solid rgba(255,255,255,.05); }
    .feature-details li .check { color: var(--green); flex-shrink: 0; }
    .hover-hint { font-size: .72rem; color: #334155; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; gap: 6px; margin-top: 12px; transition: color var(--trans); }
    .feature-card:hover .hover-hint { color: var(--green); }
    .addon-badge { display: inline-block; background: rgba(245,158,11,.15); color: #fcd34d; border: 1px solid rgba(245,158,11,.3); padding: 2px 10px; border-radius: 50px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }

    /* FREE BANNER */
    #free-banner { background: linear-gradient(135deg,#0d2d1a 0%,#0a1628 30%,#1a0a2d 70%,#0d2d1a 100%); padding: 80px 0; position: relative; overflow: hidden; }
    #free-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%,rgba(46,194,126,.12) 0%,transparent 60%),radial-gradient(ellipse at 80% 50%,rgba(139,92,246,.1) 0%,transparent 60%); }
    .free-grid { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: rgba(255,255,255,.05); border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
    .free-item { background: var(--dark); padding: 42px 36px; text-align: center; transition: var(--trans); }
    .free-item:hover { background: #131f35; }
    .free-item-icon { font-size: 3.5rem; margin-bottom: 18px; }
    .free-item-title { font-size: 1.4rem; font-weight: 900; margin-bottom: 10px; }
    .free-item-title.green  { color: var(--green); } .free-item-title.blue { color: var(--teal); } .free-item-title.purple { color: #c4b5fd; }
    .free-item-desc { font-size: .88rem; color: #64748b; line-height: 1.6; }

    /* INSTALL */
    #install { background: var(--dark); padding: 90px 0; }
    .install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; }
    .install-card { background: #1e293b; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 36px; position: relative; overflow: hidden; }
    .install-card.featured { border-color: rgba(46,194,126,.4); background: linear-gradient(145deg,rgba(46,194,126,.08),#1e293b); }
    .install-badge { position: absolute; top: 20px; right: 20px; background: var(--green); color: #fff; padding: 3px 12px; border-radius: 50px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
    .install-icon { font-size: 2.5rem; margin-bottom: 16px; }
    .install-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
    .install-desc { font-size: .88rem; color: #64748b; margin-bottom: 24px; }
    .code-block { background: #0f172a; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 20px; font-family: "Courier New",monospace; font-size: .82rem; line-height: 2; overflow-x: auto; position: relative; }
    .code-block .comment { color: #64748b; } .code-block .cmd { color: var(--green); } .code-block .param { color: var(--teal); }
    .copy-btn { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #94a3b8; padding: 5px 12px; border-radius: 8px; font-size: .72rem; font-weight: 700; cursor: pointer; transition: var(--trans); font-family: "Nunito",sans-serif; }
    .copy-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }

    /* CONTRIBUTE */
    #contribute { background: linear-gradient(180deg,#0a1628 0%,#130a24 50%,#0a1628 100%); padding: 90px 0; position: relative; overflow: hidden; }
    #contribute::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%,rgba(99,102,241,.15) 0%,transparent 65%); }
    .contribute-inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
    .contribute-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin: 50px 0; }
    .contribute-step { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 28px 16px; text-align: center; transition: var(--trans); }
    .contribute-step:hover { background: rgba(99,102,241,.08); border-color: rgba(99,102,241,.3); transform: translateY(-4px); }
    .step-num { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,var(--indigo),var(--purple)); color: #fff; font-weight: 900; font-size: .9rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
    .step-icon { font-size: 1.8rem; margin-bottom: 10px; } .step-title { font-size: .88rem; font-weight: 700; margin-bottom: 6px; } .step-desc { font-size: .78rem; color: #64748b; }
    .contribute-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

    /* AUTHOR */
    #author { background: var(--dark); padding: 90px 0; }
    .author-card { max-width: 700px; margin: 0 auto; background: linear-gradient(145deg,#1e293b,#16213e); border: 1px solid rgba(255,255,255,.08); border-radius: 28px; padding: 52px 48px; text-align: center; position: relative; overflow: hidden; }
    .author-card::before { content: ""; position: absolute; bottom: -60px; right: -60px; width: 200px; height: 200px; background: radial-gradient(circle,rgba(46,194,126,.15),transparent); border-radius: 50%; }
    .author-avatar { width: 90px; height: 90px; border-radius: 50%; background: linear-gradient(135deg,var(--green),var(--teal),var(--purple)); display: flex; align-items: center; justify-content: center; font-size: 2.4rem; margin: 0 auto 20px; box-shadow: 0 0 0 4px rgba(46,194,126,.2),0 0 0 8px rgba(46,194,126,.07); }
    .author-name { font-size: 1.6rem; font-weight: 900; margin-bottom: 4px; }
    .author-role { color: var(--green); font-size: .9rem; font-weight: 600; margin-bottom: 20px; }
    .author-desc { color: #64748b; font-size: .9rem; line-height: 1.7; margin-bottom: 28px; }
    .author-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
    .author-link { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: 9px 20px; border-radius: 50px; font-size: .85rem; font-weight: 700; transition: var(--trans); }
    .author-link:hover { background: var(--green); border-color: var(--green); color: #fff; }

    /* FOOTER */
    footer { background: #080d14; border-top: 1px solid rgba(255,255,255,.06); padding: 48px 0 32px; }
    .footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.06); }
    .footer-logo { font-size: 1.4rem; font-weight: 900; } .footer-logo span { color: var(--green); }
    .footer-tagline { font-size: .8rem; color: #334155; margin-top: 4px; }
    .footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
    .footer-links a { color: #475569; font-size: .85rem; font-weight: 600; transition: color var(--trans); }
    .footer-links a:hover { color: var(--green); }
    .footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
    .footer-legal { font-size: .78rem; color: #1e293b; }
    .footer-legal a { color: #334155; }
    .footer-license { display: inline-flex; align-items: center; gap: 6px; background: rgba(46,194,126,.1); border: 1px solid rgba(46,194,126,.2); color: var(--green); padding: 4px 14px; border-radius: 50px; font-size: .75rem; font-weight: 700; }

    /* COMPARISON TABLE */
    .cmp-section { padding: 80px 0; }
    .cmp-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.07); margin-top: 40px; }
    .cmp-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 680px; }
    .cmp-table th { padding: 14px 18px; text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; background: rgba(255,255,255,.04); border-bottom: 2px solid rgba(255,255,255,.08); color: #64748b; }
    .cmp-table th.col-es { color: var(--green); } .cmp-table th.col-other { color: #94a3b8; } .cmp-table th.col-mealie { color: var(--orange); } .cmp-table th.col-kitchenowl { color: var(--teal); }
    .cmp-table td { padding: 11px 18px; border-bottom: 1px solid rgba(255,255,255,.05); color: #94a3b8; vertical-align: middle; }
    .cmp-table td:first-child { color: #cbd5e1; font-weight: 600; }
    .cmp-table tr:last-child td { border-bottom: none; } .cmp-table tr:hover td { background: rgba(255,255,255,.025); }
    .cmp-yes { color: var(--green) !important; font-weight: 700; } .cmp-no { color: #475569; } .cmp-partial { color: var(--orange); }
    .cmp-note { font-size: .75rem; color: #475569; display: inline-block; margin-left: 3px; }
    .cmp-unique { display: inline-flex; align-items: center; background: rgba(46,194,126,.15); border: 1px solid rgba(46,194,126,.25); color: var(--green); font-size: .65rem; padding: 1px 6px; border-radius: 20px; font-weight: 800; margin-left: 5px; vertical-align: middle; letter-spacing: .04em; }

    /* ROADMAP */
    .roadmap-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
    .roadmap-col-title { font-size: .82rem; font-weight: 800; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .08em; color: #64748b; }
    .roadmap-item { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: 10px; margin-bottom: 8px; }
    .roadmap-item.done { background: rgba(46,194,126,.06); border: 1px solid rgba(46,194,126,.1); }
    .roadmap-item.planned { background: rgba(99,102,241,.07); border: 1px solid rgba(99,102,241,.15); }
    .roadmap-dot { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; font-size: .62rem; font-weight: 900; line-height: 1; }
    .roadmap-dot.done { background: var(--green); color: #fff; } .roadmap-dot.planned { background: transparent; border: 2px solid #6366f1; color: #6366f1; }
    .roadmap-text { font-size: .87rem; color: #94a3b8; line-height: 1.5; } .roadmap-text strong { color: #e2e8f0; font-weight: 700; }

    /* FAQ */
    .faq-list { margin-top: 36px; display: flex; flex-direction: column; gap: 8px; }
    .faq-item { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; overflow: hidden; transition: border-color .2s; }
    .faq-item.open { border-color: rgba(46,194,126,.25); }
    .faq-q { padding: 18px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; color: #e2e8f0; font-size: .92rem; user-select: none; }
    .faq-q:hover { background: rgba(255,255,255,.03); }
    .faq-arrow { flex-shrink: 0; color: var(--green); font-size: .8rem; transition: transform .3s ease; }
    .faq-item.open .faq-arrow { transform: rotate(90deg); }
    .faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .25s ease; color: #64748b; font-size: .88rem; line-height: 1.75; }
    .faq-item.open .faq-a { padding: 0 22px 18px; max-height: 400px; }
    .faq-a code { background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 4px; font-size: .82rem; color: #e2e8f0; } .faq-a a { color: var(--green); }

    /* REVEAL + BACK TOP */
    .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease,transform .7s ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    #back-top { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg,var(--green),var(--teal)); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 8px 24px rgba(46,194,126,.4); opacity: 0; pointer-events: none; transition: var(--trans); transform: translateY(10px); }
    #back-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
    #back-top:hover { transform: translateY(-3px); }

    /* MOBILE */
    @media(max-width:1024px) { .demo-layout { grid-template-columns: 1fr; gap: 40px; } .phone-column { order: -1; } .tablet-wall { padding: 44px 20px 56px; } }
    @media(max-width:900px) {
      .nav-links { display: none; } .hamburger { display: flex; }
      .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10,16,28,.97); backdrop-filter: blur(20px); z-index: 9998; align-items: center; justify-content: center; gap: 32px; font-size: 1.2rem; padding-top: 60px; }
      .stats-grid { grid-template-columns: repeat(2,1fr); }
      .stat-item:nth-child(2) { border-right: none; }
      .install-grid { grid-template-columns: 1fr; }
      .contribute-steps { grid-template-columns: 1fr; }
      .free-grid { grid-template-columns: 1fr; }
      .author-card { padding: 36px 24px; }
      /* Nascondi sezioni non ottimizzate per mobile */
      #vs-grocy { display: none; }
      #roadmap { display: none; }
      #faq { display: none; }
      .contribute-steps { display: none; }
      /* Demo section compatta su tablet */
      #demo-section { padding: 56px 0; }
      .video-list { gap: 14px; }
      /* Sezioni: padding ridotto per respirare meglio su mobile */
      #features, #install, #contribute, #free-banner { padding: 40px 0; }
    }
    @media(max-width:768px) {
      .roadmap-cols { grid-template-columns: 1fr; }
    }
    @media(max-width:600px) {
      /* Features: 2 colonne compatte */
      .features-grid { grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 28px; }
      .feature-card { padding: 16px 14px; }
      .feature-card .feature-icon { font-size: 1.6rem; margin-bottom: 8px; }
      .feature-card h3 { font-size: .88rem; margin-bottom: 4px; }
      .feature-card p { font-size: .75rem; line-height: 1.45; }
      /* Intestazioni sezione più compatte */
      .section-header { margin-bottom: 28px; }
      .section-title { font-size: clamp(1.5rem,6vw,2rem); }
      .section-desc { font-size: .92rem; }
      /* Footer */
      .footer-top { flex-direction: column; gap: 24px; }
      #demo-section { padding: 36px 0; }
      /* Nascondi hint hover (non esiste hover su touch) */
      .hover-hint { display: none; }
      /* What's new: 1 colonna, padding compatto */
      #whats-new-grid { grid-template-columns: 1fr !important; }
      #whats-new-section { padding: 16px 12px !important; margin-bottom: 20px !important; }
      /* Sezioni: padding ridotto */
      #features, #install, #roadmap, #faq, #contribute, #free-banner { padding: 32px 0; }
      /* Free section compatta: 3 item in colonna orizzontale ridotta */
      .free-grid { grid-template-columns: 1fr; gap: 1px; border-radius: 16px; }
      .free-item { padding: 16px 20px; display: flex; align-items: center; gap: 14px; text-align: left; }
      .free-item-icon { font-size: 1.8rem; margin-bottom: 0; flex-shrink: 0; }
      .free-item-title { font-size: 1rem; margin-bottom: 2px; }
      .free-item-desc { font-size: .78rem; }
      /* Tablet demo a tutta larghezza: rimuovi padding muro, nascondi frutti laterali */
      .tablet-wall {
        padding: 24px 0 40px;
        border-radius: 0;
        box-shadow: none;
        background: #0f172a;
      }
      .tablet-wall::before { display: none; }
      /* Nascondi decos ai lati che sborderebbero */
      .wdeco { display: none; }
      /* Tablet occupa tutta la larghezza viewport */
      .tablet-mockup { width: 100%; display: flex; justify-content: center; }
      .tablet-frame {
        border-radius: 0;
        transform: none;
        padding: 16px 0 28px;
        width: 100vw;
        box-sizing: border-box;
        border-left: none;
        border-right: none;
        border-radius: 0;
      }
      .tablet-screen {
        width: 100vw;
        height: calc(100vw * 2.167);
        max-height: 82vh;
        border-radius: 0;
      }
      .tablet-screen iframe {
        width: 390px;
        height: 844px;
        display: block;
        margin: 0 auto;
        transform-origin: top center;
        transform: scale(calc(100vw / 390));
      }
      .tablet-demo-tag { bottom: -14px; font-size: .7rem; padding: 3px 14px; }
      .tablet-side-btn { display: none; }
      .tablet-topbar { margin-bottom: 6px; }
      /* Demo section: riduci gap */
      .demo-layout { gap: 28px; }
      .phone-column { margin: 0 -24px; } /* esci dai padding container */
    }
    /* Demo tap-to-interact cover (mobile only) */
    .demo-tap-cover { display: none; }
    .demo-maintenance{display:none;position:absolute;inset:0;background:#0f172a;z-index:12;align-items:center;justify-content:center;flex-direction:column;gap:6px;border-radius:16px;text-align:center;padding:12px 16px;overflow:hidden;}
    .demo-maintenance.visible{display:flex;}
    .demo-maintenance-gif{width:90%;max-width:340px;border-radius:10px;margin-bottom:4px;flex-shrink:0;}
    .demo-maintenance-title{font-size:0.88rem;font-weight:700;color:#e2e8f0;margin-bottom:2px;}
    .demo-maintenance-sub{font-size:0.7rem;color:#94a3b8;line-height:1.4;}
    .tablet-screen { position: relative; }
    @media (max-width:900px) {
      .demo-tap-cover {
        display: flex;
        position: absolute;
        inset: 0;
        z-index: 20;
        align-items: center;
        justify-content: center;
        background: rgba(15,23,42,.55);
        backdrop-filter: blur(4px);
        cursor: pointer;
        transition: opacity .2s;
        border-radius: inherit;
      }
      .demo-tap-cover.dismissed { display: none; }
      .demo-tap-hint {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        pointer-events: none;
        text-align: center;
        padding: 24px;
      }
      .demo-tap-icon {
        font-size: 3rem;
        animation: tap-pulse 1.4s ease-in-out infinite;
      }
      .demo-tap-text {
        color: #fff;
        font-size: 1.05rem;
        font-weight: 700;
        text-shadow: 0 2px 12px rgba(0,0,0,.85);
        letter-spacing: .01em;
        background: rgba(46,194,126,.2);
        border: 1px solid rgba(46,194,126,.35);
        padding: 8px 20px;
        border-radius: 50px;
      }
    }
    @keyframes tap-pulse {
      0%,100% { transform: translateY(0) scale(1); }
      50%      { transform: translateY(-7px) scale(1.08); }
    }
  
/* ===== Theme: light ===== */
html[data-theme="light"] body,
body[data-theme="light"] {
  --dark: #f4f7f5;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  background: var(--dark);
  color: #0f172a;
}
html[data-theme="light"] .nav-links a,
html[data-theme="light"] .section-desc,
html[data-theme="light"] .feature-desc,
html[data-theme="light"] .stat-label { color: #64748b; }
html[data-theme="light"] nav.scrolled { background: rgba(255,255,255,.92); box-shadow: 0 4px 24px rgba(15,23,42,.08); }
html[data-theme="light"] #hero { background: linear-gradient(125deg,#f0fdf4 0%,#e0f2fe 40%,#f8fafc 100%); }
html[data-theme="light"] .feature-card,
html[data-theme="light"] .audience-card,
html[data-theme="light"] .story-card,
html[data-theme="light"] .privacy-card,
html[data-theme="light"] .integ-card,
html[data-theme="light"] .quote-card,
html[data-theme="light"] .install-card,
html[data-theme="light"] .cmp-table { background: #fff; border-color: rgba(15,23,42,.08); color: #0f172a; }
html[data-theme="light"] .cmp-table th { background: #f1f5f9; color: #334155; }
html[data-theme="light"] .cmp-table td { border-color: rgba(15,23,42,.06); }
html[data-theme="light"] footer { background: #e2e8f0; color: #334155; }
html[data-theme="light"] .code-block { background: #0f172a; color: #e2e8f0; }
html[data-theme="light"] .hamburger span { background: #0f172a; }

/* Controls: lang + theme */
.site-controls {
  position: fixed; top: 16px; right: 18px; z-index: 10000;
  display: flex; gap: 8px; align-items: center;
}
.ctrl-btn, .lang-select {
  background: rgba(15,23,42,.72); color: #e2e8f0;
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  padding: 8px 12px; font: 700 .78rem "Nunito",sans-serif;
  backdrop-filter: blur(10px); cursor: pointer;
}
html[data-theme="light"] .ctrl-btn,
html[data-theme="light"] .lang-select {
  background: rgba(255,255,255,.9); color: #0f172a; border-color: rgba(15,23,42,.12);
}
.lang-select { appearance: none; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
@media(max-width:720px){
  .site-controls { top: auto; bottom: 14px; right: 50%; transform: translateX(50%); }
}

/* Hide old lang-toggle if present */
#lang-toggle { display: none !important; }

.status-strip {
  display:flex; flex-wrap:wrap; gap:10px 18px; justify-content:center; align-items:center;
  padding: 10px 16px; font-size: .78rem; color: #94a3b8;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.status-pill { display:inline-flex; align-items:center; gap:6px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:999px; padding:4px 10px; }
.status-dot { width:7px; height:7px; border-radius:50%; background:#f59e0b; }
.status-dot.ok { background: var(--green); }

.audience-grid, .stories-grid, .privacy-grid, .integ-grid, .quotes-grid {
  display:grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap:20px; margin-top:40px;
}
.audience-card, .story-card, .privacy-card, .integ-card, .quote-card, .not-card {
  background: linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.01));
  border:1px solid rgba(255,255,255,.07); border-radius: var(--radius); padding:24px;
}
.audience-card h3, .story-card h3, .privacy-card h3, .integ-card h3 { font-size:1.05rem; font-weight:800; margin-bottom:8px; }
.audience-card p, .story-card p, .privacy-card p, .integ-card p, .quote-card p, .not-list li { color:#94a3b8; font-size:.9rem; line-height:1.65; }
.audience-ico { font-size:1.6rem; margin-bottom:12px; }
.not-list { list-style:none; display:grid; gap:12px; margin-top:28px; }
.not-list li { padding:14px 16px; border-left:3px solid var(--green); background:rgba(46,194,126,.06); border-radius:0 12px 12px 0; }
.human-new { display:grid; gap:10px; margin-bottom:18px; }
.human-new div { display:flex; gap:10px; align-items:flex-start; font-size:.9rem; color:#94a3b8; }
.human-new strong { color:#e2e8f0; }
html[data-theme="light"] .human-new strong { color:#0f172a; }
.features-grid.pillars { grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); }
.feature-details { max-height: none !important; opacity:1 !important; margin-top:12px; }
.feature-card:hover .feature-details { max-height: none; }
.hover-hint { display:none !important; }
.chapter-links { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0 8px; }
.chapter-links a { font-size:.78rem; font-weight:700; color:#94a3b8; border:1px solid rgba(255,255,255,.1); border-radius:999px; padding:6px 12px; }
.chapter-links a:hover { color:var(--green); border-color:rgba(46,194,126,.4); }
.cmp-filters { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin:24px 0 12px; }
.cmp-filters button {
  border:1px solid rgba(255,255,255,.12); background:transparent; color:#94a3b8;
  border-radius:999px; padding:7px 14px; font-weight:700; font-size:.8rem; cursor:pointer;
}
.cmp-filters button.active { background:var(--green); color:#fff; border-color:var(--green); }
.cmp-table tr[data-tags] { transition: opacity .2s; }
.cmp-table tr.is-dim { opacity:.22; }
.proof-row { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; align-items:center; margin-top:22px; }
.proof-row img { height:42px; width:auto; }
.tiny-disclaimer { font-size:.68rem; color:#64748b; line-height:1.5; max-width:720px; margin:10px auto 0; text-align:center; }
.thanks-box { margin-top:28px; padding:20px 22px; border-radius:16px; background:rgba(99,102,241,.08); border:1px solid rgba(99,102,241,.22); color:#c4b5fd; font-size:.9rem; line-height:1.65; }
.quote-card { font-style:italic; }
.quote-who { margin-top:12px; font-style:normal; font-weight:700; color:var(--green); font-size:.82rem; }
.demo-off-panel { text-align:center; padding:28px 18px; }
.demo-off-panel img { width:min(280px,70%); border-radius:14px; margin-bottom:14px; }
.simple-steps { color:#cbd5e1; font-size:.9rem; line-height:1.7; padding-left:18px; }
.simple-steps li { margin:6px 0; }
.page-hero { padding:140px 24px 60px; text-align:center; }
.page-wrap { max-width:900px; margin:0 auto; padding:0 20px 80px; }
.changelog-item { border:1px solid rgba(255,255,255,.08); border-radius:14px; padding:18px 20px; margin:14px 0; background:rgba(255,255,255,.03); }
.changelog-item h3 { margin-bottom:8px; }
.changelog-item ul { margin:0; padding-left:18px; color:#94a3b8; }
#install .tech-details { display:none; }
.social-cta { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:20px; }


/* layout polish 20260810 */
.status-strip { padding-top: 78px; }
nav + .status-strip { margin-top: 0; }
.nav-inner.container, .container.nav-inner { display:flex; align-items:center; justify-content:space-between; }
#hero { padding-top: 40px; }
.feature-details ul { margin:0; padding-left:18px; color:#94a3b8; font-size:.88rem; line-height:1.6; }
.feature-details li { margin:4px 0; }
.feature-icon { font-size:2rem; margin-bottom:12px; }
html[data-theme="light"] .status-strip { color:#64748b; border-bottom-color:rgba(15,23,42,.08); }
html[data-theme="light"] .status-pill { background:rgba(15,23,42,.04); border-color:rgba(15,23,42,.08); }
html[data-theme="light"] .thanks-box { color:#4338ca; background:rgba(99,102,241,.08); }
html[data-theme="light"] .chapter-links a { color:#64748b; border-color:rgba(15,23,42,.12); }
html[data-theme="light"] .cmp-filters button { color:#64748b; border-color:rgba(15,23,42,.12); }
html[data-theme="light"] .tiny-disclaimer { color:#94a3b8; }
