/* Fruitity public web: same palette and fonts as the app */
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url('vendor/fonts/nunito-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('vendor/fonts/nunito-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('vendor/fonts/nunito-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Nunito'; font-weight: 400 800; font-display: swap; src: url('vendor/fonts/nunito-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Baloo 2'; font-weight: 700; font-display: swap; src: url('vendor/fonts/baloo-2-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-display: swap; src: url('vendor/fonts/baloo-2-latin-800-normal.woff2') format('woff2'); }

:root {
  --green-50: #ecfdf3; --green-100: #d1fadf; --green-200: #a6f4c5; --green-500: #22a55b; --green-600: #15803d; --green-700: #166534;
  --orange-100: #fff3e2; --orange-400: #ffa940; --orange-600: #c2570a; --orange-700: #b54708;
  --bg: #fffaf2; --surface: #ffffff; --surface-2: #fff3e2; --text: #2b261e; --text-muted: #6b6354; --border: #eadfce;
  --font-body: 'Nunito', system-ui, sans-serif; --font-display: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --radius: 16px; --shadow-sm: 0 1px 3px rgb(80 60 20 / 0.1); --shadow-md: 0 6px 18px rgb(80 60 20 / 0.12);
  --max: 1100px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--text); background: radial-gradient(900px 420px at 85% 0%, var(--green-100), transparent 70%), radial-gradient(700px 380px at 0% 0%, var(--orange-100), transparent 70%) top / 100% 640px no-repeat, var(--bg); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5em; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; text-align: center; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--green-600); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--orange-400); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green-600); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--green-600); color: #fff; font-weight: 800; text-decoration: none; border: 2px solid transparent; box-shadow: 0 4px 0 var(--green-700); transition: transform 0.15s, box-shadow 0.15s, background 0.15s; cursor: pointer; font-family: inherit; font-size: 1rem; }
.btn:hover { background: #136f35; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--green-700); }
.btn-secondary { background: var(--surface); color: var(--green-700); border-color: var(--green-200); box-shadow: 0 4px 0 var(--green-200); }
.btn-secondary:hover { background: var(--green-50); }
.btn-light { background: #fff; color: var(--green-700); box-shadow: 0 4px 0 rgb(0 0 0 / 0.2); }
.btn-light:hover { background: var(--green-50); }
.buttonInverse { margin: 4px 6px 0 0; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 2px solid #fff; background: transparent; color: #fff; font-weight: 800; font-family: inherit; cursor: pointer; }
.buttonInverse:first-of-type { background: #fff; color: var(--green-700); }

/* Header */
#menu { position: sticky; top: 0; z-index: 50; background: rgb(255 250 242 / 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.menu-inner { max-width: var(--max); margin-inline: auto; padding: 8px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#main_link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--text); }
.menu-nav { display: flex; align-items: center; gap: 14px; }
.menu-link { font-weight: 800; text-decoration: none; color: var(--text); padding: 8px 4px; }
.menu-link:hover { color: var(--green-600); }
#select-language { font-family: inherit; font-weight: 700; padding: 8px 12px; border: 2px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); min-height: 40px; }
.menu-nav .btn { min-height: 40px; padding: 0 20px; box-shadow: 0 3px 0 var(--green-700); }

/* Cookie notice */
#banner_cookies { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; max-width: 900px; margin-inline: auto; padding: 14px 18px; background: var(--green-600); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); }
#banner_cookies:empty { display: none; }
#banner_cookies p { margin: 0 0 8px; }
#banner_cookies a { color: #fff; font-weight: 800; }

/* Hero */
#s_main { max-width: var(--max); margin-inline: auto; padding: 56px 20px 40px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
#s_main { position: relative; }
.remarcable { color: var(--green-600); }
#s_main p { font-size: 1.25rem; color: var(--text-muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
#s_main .right img { display: block; width: 100%; height: auto; border-radius: 28px; filter: drop-shadow(0 18px 24px rgb(80 60 20 / 0.18)); }

/* Sections */
.section { padding: 64px 20px; }
.section > * { max-width: var(--max); margin-inline: auto; }
.section-tinted { background: var(--surface-2); }
.section-lead { text-align: center; color: var(--text-muted); max-width: 640px !important; margin-bottom: 32px; }
.section-actions { text-align: center; margin: 36px auto 0; }

.s_func_items { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; margin-top: 32px; }
.s_func_item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s; }
.s_func_item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.s_func_item i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--green-100); color: var(--green-700); font-size: 1.4rem; margin-bottom: 14px; }
.s_func_item p { margin: 0; color: var(--text-muted); }
.s_func_item strong { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--text); margin-bottom: 4px; }

.howitworks_list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; counter-reset: none; }
.howitworks_list li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 18px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.howitworks_list_number { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 44px; height: 44px; margin: 0; border-radius: 50%; background: var(--orange-400); color: var(--text); font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; box-shadow: 0 3px 0 var(--orange-600); }
.howitworks_list_t { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin: 0 0 6px; }
.howitworks_list_p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.howitworks_list { margin-top: 40px; }

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.trust-item { padding: 24px; text-align: center; }
.trust-item i { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--orange-100); color: var(--orange-700); font-size: 1.6rem; }
.trust-item p { color: var(--text-muted); margin: 0; }

.faq { display: grid; gap: 12px; max-width: 760px !important; margin-top: 28px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 20px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--green-600); }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--text-muted); margin: 0 0 16px; }

#s_cta { text-align: center; padding: 72px 20px; background: linear-gradient(135deg, var(--green-600), #0f6a32); color: #fff; }
#s_cta h2, #s_cta p { color: #fff; }
#s_cta p { font-size: 1.2rem; opacity: 0.92; }

/* Footer */
#s_footer { background: #1f2a22; color: #e8efe9; padding: 40px 20px; }
.footer-inner { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
#s_footer h3 { color: #fff; font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }
#s_footer a { color: #b7f0cc; text-decoration: none; font-weight: 700; }
#s_footer a:hover { text-decoration: underline; }

/* Inner pages (tutorials, privacy, cookies) */
body > h2 { max-width: 820px; margin: 48px auto 16px; padding-inline: 20px; text-align: left; }
.page_cookies_h2 { font-size: 1.9rem; }
.page_cookies_h3 { max-width: 820px; margin: 28px auto 8px; padding-inline: 20px; }
.page_cookies_p, .page_cookies_ul { max-width: 820px; margin-inline: auto; padding-inline: 20px; color: var(--text-muted); }
.page_cookies_ul { padding-left: 44px; }
#s_videotutorials { max-width: var(--max); margin: 0 auto 48px; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
#s_videotutorials > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
#s_videotutorials h3 { text-align: left; font-size: 1.1rem; }
#s_videotutorials video { width: 100%; height: auto; border-radius: 12px; background: #000; display: block; }
#s_videotutorials p:empty { display: none; }

@media (max-width: 799px) {
  #s_main { grid-template-columns: 1fr; padding-top: 32px; text-align: center; }
  #s_main p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .menu-link { display: none; }
  #main_link { font-size: 1.3rem; }
  .section { padding: 48px 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .s_func_item, .btn { transition: none; } }
[data-i18n="title_tutorials"] { max-width: var(--max); }
