/*
Theme Name: Hoppli
Theme URI: https://hoppli.app
Author: BPOS GCV
Author URI: https://hoppli.app
Description: Custom WordPress theme for hoppli.app — multi-occasion adventure-maker for kids. Ports the launch-gate static site faithfully (no design changes).
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hoppli
*/

/* ─── HOPPLI DESIGN SYSTEM (shared across all pages) ─────────── */

/* ─── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  --cream:       #FFF9F0;
  --white:       #FFFFFF;
  --green:       #8FD5A6;
  --green-dark:  #6DC08D;
  --green-light: #D4F0E1;
  --purple:      #C5B3E6;
  --purple-light:#EDE8F8;
  --peach:       #FFB4A2;
  --peach-light: #FFE5DF;
  --yellow:      #FFE49C;
  --yellow-light:#FFF6D6;
  --blue:        #A8D8EA;
  --blue-light:  #D9F0F8;
  --text:        #3B3B3B;
  --text-soft:   #7A7A7A;
  --border:      #E8E4DF;
  --shadow:      rgba(59,59,59,0.08);
}

/* ─── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: 2.75rem; } h2 { font-size: 2rem; } h3 { font-size: 1.5rem; }
p { font-size: 1.1rem; color: var(--text-soft); margin-bottom: 1rem; }

/* ─── UTILITIES ─────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background-color: var(--white); }
.tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.3px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800; font-size: 17px;
  padding: 16px 32px; border-radius: 100px;
  border: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--shadow); }
.btn-primary { background: var(--peach); color: var(--text); }
.btn-secondary { background: var(--green); color: var(--text); }
.btn-outline { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-danger { background: #FF6B6B; color: var(--white); }
.btn-danger:hover { background: #E55A5A; }
.section-label {
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text-soft);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900; line-height: 1.2;
  margin-bottom: 16px; color: var(--text);
}
.section-sub {
  font-size: 18px; color: var(--text-soft);
  max-width: 560px; line-height: 1.7;
}
.card {
  background: var(--white); border-radius: 20px;
  padding: 28px; box-shadow: 0 4px 20px var(--shadow);
}
.highlight { color: var(--green-dark); }

/* ─── NAV ───────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,249,240,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center;
}
.nav-logo img {
  height: 44px; width: auto;
  margin: 8px 0;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 600; color: var(--text-soft); font-size: 15px; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { font-size: 15px; padding: 10px 22px; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-social { display: flex; align-items: center; gap: 10px; }
.nav-social a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  color: var(--text-soft); transition: color 0.15s, background 0.15s;
}
.nav-social a:hover { color: var(--text); background: rgba(0,0,0,0.05); }
.nav-social svg { width: 18px; height: 18px; flex-shrink: 0; overflow: hidden; }
.nav-lang-dropdown { position: relative; }
.nav-lang-current {
  display: flex; align-items: center; gap: 5px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px; font-weight: 700; padding: 6px 12px;
  border-radius: 10px; color: var(--text);
  background: transparent; border: 1.5px solid var(--border);
  cursor: pointer; transition: all 0.15s;
}
.nav-lang-current:hover { border-color: var(--green); background: var(--green-light); }
.nav-lang-current svg { width: 10px; height: 10px; opacity: 0.5; }
.nav-lang-menu {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 6px;
  box-shadow: 0 8px 24px var(--shadow); min-width: 150px; z-index: 200;
}
/* Transparent bridge across the 6px gap so hover doesn't drop out as the
   cursor moves from button to menu. Without it, the dropdown closes before
   the user can reach it. */
.nav-lang-menu::before {
  content: ''; position: absolute; left: 0; right: 0;
  top: -6px; height: 6px; background: transparent;
}
.nav-lang-dropdown:hover .nav-lang-menu,
.nav-lang-dropdown:focus-within .nav-lang-menu,
.nav-lang-menu.is-open { display: block; }
.nav-lang-menu a {
  display: block; padding: 8px 14px; font-size: 13px; font-weight: 600;
  color: var(--text-soft); border-radius: 8px; transition: all 0.12s;
}
.nav-lang-menu a:hover { background: var(--green-light); color: var(--text); }
.nav-lang-menu a.active { background: var(--green); color: var(--text); font-weight: 700; }

/* ─── FOOTER ────────────────────────────────────────────── */
footer {
  background: var(--text); color: rgba(255,255,255,0.7);
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand .footer-logo {
  display: flex; align-items: center;
  margin-bottom: 12px;
}
.footer-brand .footer-logo img {
  height: 56px; width: auto;
}
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 240px; }
.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 800; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; flex-wrap: wrap; gap: 12px;
}
.language-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.lang-chip {
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7);
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 100px;
}

/* ─── EN-ONLY NOTICE BANNER ────────────────────────────── */
.en-only-notice {
  background: var(--yellow-light);
  border-bottom: 1px solid var(--yellow);
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.en-only-notice p {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: var(--text);
}

/* ─── PLATFORM BADGES ──────────────────────────────────── */
.platform-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.platform-badge {
  display: flex; align-items: center; gap: 8px;
  background: var(--text); color: var(--white);
  padding: 12px 20px; border-radius: 14px;
  font-size: 14px; font-weight: 700;
  transition: transform 0.15s, opacity 0.15s;
}
.platform-badge:hover { transform: translateY(-2px); opacity: 0.9; }
.platform-badge .badge-icon { font-size: 22px; }
.platform-badge .badge-text small { display: block; font-weight: 400; font-size: 11px; opacity: 0.7; }

/* ─── SUBPAGE HERO ─────────────────────────────────────── */
.page-hero {
  text-align: center; padding: 80px 0 48px;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900; margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.15rem; max-width: 500px; margin: 0 auto;
  color: var(--text-soft);
}

/* ─── LEGAL PAGES ──────────────────────────────────────── */
.legal-page { padding: 60px 0 80px; }
.legal-page h1 { font-size: 2.25rem; margin-bottom: 8px; }
.legal-page .last-updated { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 40px; }
.legal-page h2 { font-size: 1.35rem; margin-top: 40px; margin-bottom: 12px; }
.legal-page p, .legal-page li { font-size: 1rem; color: var(--text); line-height: 1.7; }
.legal-page ul { margin: 12px 0 12px 24px; }
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: var(--green-dark); font-weight: 600; }
.legal-page a:hover { text-decoration: underline; }

/* ─── FAQ ──────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 48px auto 0; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; overflow: hidden; transition: box-shadow 0.2s ease; }
.faq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.faq-item[open] { border-color: var(--green); }
.faq-question { padding: 20px 24px; font-size: 1.05rem; font-weight: 600; color: var(--text); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--text-soft); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item[open] .faq-question::after { content: "\2212"; color: var(--green-dark); }
.faq-answer { padding: 0 24px 20px; }
.faq-answer p { font-size: 0.95rem; color: var(--text); margin-bottom: 0; line-height: 1.7; }
.faq-answer a { color: var(--green-dark); font-weight: 600; }
.faq-answer a:hover { text-decoration: underline; }

/* ─── CONTACT FORM ─────────────────────────────────────── */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 16px;
  border: 2px solid var(--border); border-radius: 14px;
  font-family: 'Nunito', sans-serif; font-size: 0.95rem;
  color: var(--text); background-color: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(143, 213, 166, 0.25); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-soft); }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7A7A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; margin-top: 4px; }

/* Contact Success */
.contact-success { text-align: center; max-width: 400px; margin: 0 auto; padding: 48px 24px; }
.contact-success-icon { font-size: 3rem; display: block; margin-bottom: 16px; }
.contact-success h3 { margin-bottom: 8px; }
.contact-success p { color: var(--text-soft); }

/* ─── DOWNLOAD PAGE ────────────────────────────────────── */
.download-hero { text-align: center; padding: 80px 0 48px; }
.download-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 900; margin-bottom: 16px; }
.download-hero p { font-size: 1.15rem; max-width: 520px; margin: 0 auto 36px; color: var(--text-soft); }
.download-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 48px; }
.download-info-card {
  background: var(--white); border-radius: 20px; padding: 28px;
  text-align: center; box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.2s;
}
.download-info-card:hover { transform: translateY(-4px); }
.download-info-card .card-icon { font-size: 40px; margin-bottom: 12px; display: flex; justify-content: center; align-items: center; min-height: 56px; }
.download-info-card .card-icon svg { display: block; }
.download-info-card h3 { margin-bottom: 8px; font-weight: 800; }
.download-info-card p { font-size: 0.95rem; color: var(--text-soft); margin-bottom: 0; }

/* Features grid (download page) */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 48px; }
.feature-card {
  background: var(--white); border-radius: 20px; padding: 28px;
  text-align: center; box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 40px; margin-bottom: 14px; display: block; }
.feature-card h3 { margin-bottom: 8px; font-size: 18px; font-weight: 800; }
.feature-card p { font-size: 14px; color: var(--text-soft); margin-bottom: 0; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(145deg, var(--green) 0%, var(--blue) 100%);
  text-align: center; padding: 80px 24px;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '🐰'; position: absolute;
  font-size: 120px; opacity: 0.1;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  line-height: 1;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); font-size: clamp(28px, 4vw, 42px); font-weight: 900; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 500px; margin: 0 auto 32px; }
.cta-banner .btn-primary { background: var(--white); color: var(--text); }
.cta-banner .platform-badges { justify-content: center; }

/* ─── BLOG (single + archive) ──────────────────────────── */
.blog-archive { padding: 60px 0 80px; }
.blog-archive .archive-header { text-align: center; margin-bottom: 48px; }
.blog-archive .archive-header h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 900; margin-bottom: 12px; }
.blog-archive .archive-header p { font-size: 1.05rem; color: var(--text-soft); max-width: 520px; margin: 0 auto; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 1080px; margin: 0 auto; }
.post-card {
  background: var(--white); border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px var(--shadow); }
.post-card .post-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--cream); }
.post-card .post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .post-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card .post-meta { font-size: 12px; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.post-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--green-dark); }
.post-card .post-excerpt { font-size: 0.95rem; color: var(--text-soft); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.post-card .post-readmore { font-size: 14px; font-weight: 700; color: var(--green-dark); }
.post-card .post-readmore:hover { text-decoration: underline; }

.blog-pagination { text-align: center; margin-top: 48px; }
.blog-pagination .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 4px; border-radius: 10px; font-weight: 700; color: var(--text-soft); background: var(--white); border: 1px solid var(--border); }
.blog-pagination .page-numbers.current { background: var(--green); color: var(--text); border-color: var(--green); }
.blog-pagination .page-numbers:hover { background: var(--green-light); color: var(--text); }

.single-post-page { padding: 60px 0 80px; }
.single-post-page article { max-width: 720px; margin: 0 auto; }
.single-post-page .post-meta { font-size: 13px; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.single-post-page h1.post-title { font-size: clamp(30px, 5vw, 44px); font-weight: 900; line-height: 1.2; margin-bottom: 16px; }
.single-post-page .post-thumb { margin: 32px 0; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 20px var(--shadow); }
.single-post-page .post-thumb img { width: 100%; height: auto; display: block; }
.single-post-page .post-content { font-size: 1.05rem; color: var(--text); line-height: 1.7; }
.single-post-page .post-content > * + * { margin-top: 1rem; }
.single-post-page .post-content h2 { font-size: 1.6rem; font-weight: 800; margin-top: 2rem; }
.single-post-page .post-content h3 { font-size: 1.25rem; font-weight: 800; margin-top: 1.6rem; }
.single-post-page .post-content a { color: var(--green-dark); font-weight: 600; }
.single-post-page .post-content a:hover { text-decoration: underline; }
.single-post-page .post-content ul,
.single-post-page .post-content ol { padding-left: 1.5rem; margin: 1rem 0; }
.single-post-page .post-content li { margin-bottom: 0.4rem; }
.single-post-page .post-content blockquote {
  border-left: 4px solid var(--green); padding: 8px 0 8px 20px;
  margin: 1.5rem 0; color: var(--text-soft); font-style: italic;
}
.single-post-page .post-content img { border-radius: 16px; margin: 1.5rem 0; }
.single-post-page .post-footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }

/* ─── 404 ──────────────────────────────────────────────── */
.error-404 { text-align: center; padding: 100px 24px 80px; }
.error-404 .error-emoji { font-size: 96px; margin-bottom: 16px; line-height: 1; }
.error-404 h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 900; margin-bottom: 12px; }
.error-404 p { font-size: 1.1rem; color: var(--text-soft); max-width: 480px; margin: 0 auto 32px; }
.error-404 .error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .platform-badges { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; } h2 { font-size: 1.5rem; }
  .page-hero { padding: 60px 0 32px; }
  .page-hero h1 { font-size: 2.25rem; }
  .download-hero { padding: 60px 0 32px; }
  .post-grid { grid-template-columns: 1fr; }
}

/* ─── HOMEPAGE-SPECIFIC STYLES ─────────────────────────────────
   Previously inline in front-page.php; lifted out so post_content
   can hold pure HTML without re-injecting CSS per locale row. */

/* ─── HERO ──────────────────────────────────────────────── */
.hero { overflow: hidden; background: var(--cream); }
.hero-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 40px; min-height: 520px; }
.hero-content { flex: 1 1 50%; padding: 80px 0 60px; max-width: 520px; }
.hero-visual { flex: 1 1 50%; display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.hero-visual img, .hero-visual video { width: 100%; max-width: 520px; height: auto; border-radius: 20px; display: block; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-eyebrow span { font-size: 14px; font-weight: 700; color: var(--text-soft); }
.hero-title { font-size: clamp(38px, 5vw, 62px); font-weight: 900; line-height: 1.1; margin-bottom: 20px; color: var(--text); letter-spacing: -0.5px; }
.hero-title em { font-style: normal; background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 19px; color: var(--text-soft); line-height: 1.7; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-trust { margin-top: 28px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-soft); }
.stars { color: #F5A623; font-size: 16px; letter-spacing: 1px; }

/* ─── STORE BADGES ─────────────────────────────────────── */
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge { display: flex; align-items: center; gap: 10px; background: #000; color: #fff; padding: 8px 16px 8px 12px; border-radius: 10px; position: relative; min-width: 152px; height: 50px; border: 1px solid #333; text-decoration: none; }
.store-badge svg { flex-shrink: 0; }
.store-badge-text { display: flex; flex-direction: column; line-height: 1; }
.store-badge-text small { font-size: 9px; font-weight: 400; letter-spacing: 0.3px; color: rgba(255,255,255,0.85); }
.store-badge-text strong { font-size: 16px; font-weight: 600; letter-spacing: -0.2px; font-family: 'Nunito', -apple-system, sans-serif; }
.coming-soon-label { position: absolute; top: -8px; right: -8px; background: var(--peach); color: var(--text); font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: 100px; letter-spacing: 0.5px; text-transform: uppercase; }

/* ─── TRUST BAR ─────────────────────────────────────────── */
.trust-bar { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--text-soft); }
.trust-item .ti-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.ti-green { background: var(--green-light); }
.ti-purple { background: var(--purple-light); }
.ti-peach { background: var(--peach-light); }
.ti-yellow { background: var(--yellow-light); }
.trust-divider { width: 1px; height: 28px; background: var(--border); }

/* ─── HOW IT WORKS ──────────────────────────────────────── */
.how-inner { text-align: center; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; position: relative; }
.how-steps::before { content: ''; position: absolute; top: 56px; left: calc(16.66% + 12px); right: calc(16.66% + 12px); height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 8px, transparent 8px, transparent 16px); }
.step-card { background: var(--white); border-radius: 24px; padding: 36px 28px 32px; text-align: center; box-shadow: 0 4px 24px var(--shadow); position: relative; transition: transform 0.2s; }
.step-card:hover { transform: translateY(-4px); }
.step-number { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: var(--white); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; margin-top: 8px; }
.step-card p { font-size: 15px; color: var(--text-soft); line-height: 1.6; }

/* ─── USPs ──────────────────────────────────────────────── */
.usps { background: var(--white); }
.usps-header { margin-bottom: 52px; }
.usps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.usp-card { border-radius: 20px; padding: 28px; transition: transform 0.2s; position: relative; overflow: hidden; }
.usp-card:hover { transform: translateY(-4px); }
.usp-1 { background: var(--purple-light); }
.usp-2 { background: var(--peach-light); }
.usp-3 { background: var(--green-light); }
.usp-4 { background: var(--yellow-light); }
.usp-5 { background: var(--blue-light); }
.usp-6 { background: var(--green-light); }
.usp-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.usp-card p { font-size: 14px; color: var(--text-soft); line-height: 1.6; position: relative; z-index: 1; max-width: 70%; }
.usp-mascot { position: absolute; bottom: -8px; right: 12px; height: 100px; width: auto; opacity: 0.35; pointer-events: none; }

/* ─── APP SCREENSHOTS ───────────────────────────────────── */
.screenshots-inner { text-align: center; }
.screenshots-row { display: flex; gap: 24px; align-items: center; justify-content: center; margin-top: 48px; flex-wrap: wrap; padding: 0 24px; }
.screenshot-phone { flex: 0 0 auto; width: 240px; overflow: hidden; transition: transform 0.2s; }
.screenshot-phone:hover { transform: scale(1.04) rotate(1deg); }
.screenshot-phone.center { transform: scale(1.08); }
.screenshot-phone.center:hover { transform: scale(1.12); }
.screenshot-phone img { width: 100%; height: auto; display: block; }

/* ─── PRICING ───────────────────────────────────────────── */
.pricing { background: var(--cream); }
.pricing-inner { text-align: center; }
.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1080px; margin: 52px auto 0; }
.pricing-free { max-width: 1080px; margin: 0 auto 16px; background: var(--white); border-radius: 20px; padding: 20px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border: 1px dashed var(--border); }
.pricing-free strong { font-size: 16px; font-weight: 800; }
.pricing-free p { font-size: 14px; color: var(--text-soft); margin: 4px 0 0; }
.pricing-free .pricing-free-tag { background: var(--green-light); color: var(--text); font-weight: 800; font-size: 14px; padding: 8px 16px; border-radius: 100px; white-space: nowrap; }
.pricing-card { background: var(--white); border-radius: 28px; padding: 48px 36px; box-shadow: 0 8px 40px rgba(59,59,59,0.1); position: relative; }
.pricing-card--featured { border: 3px solid var(--green); }
.pricing-badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--peach); color: var(--text); font-size: 13px; font-weight: 800; padding: 6px 20px; border-radius: 100px; white-space: nowrap; }
.pricing-card--featured .pricing-badge { background: var(--green); }
.pricing-card-title { font-size: 22px; font-weight: 900; margin-bottom: 4px; }
.pricing-card-sub { font-size: 14px; color: var(--text-soft); font-weight: 600; margin-bottom: 24px; }
.price-amount { font-size: 64px; font-weight: 900; line-height: 1; color: var(--text); margin-bottom: 4px; }
.price-amount sup { font-size: 28px; vertical-align: super; }
.price-note { font-size: 15px; color: var(--text-soft); margin-bottom: 28px; font-weight: 600; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 32px; }
.pricing-features li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; padding: 8px 0; border-bottom: 1px solid var(--border); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li .pf-icon { width: 28px; height: 28px; background: var(--green-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.pricing-cta { width: 100%; justify-content: center; font-size: 17px; padding: 16px; }
.pricing-trust { margin-top: 16px; font-size: 13px; color: var(--text-soft); display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ─── FINAL CTA ─────────────────────────────────────────── */
.final-cta { background: linear-gradient(145deg, var(--green) 0%, var(--blue) 100%); text-align: center; padding: 100px 24px; position: relative; overflow: hidden; }
.final-cta::before { content: '🐰'; position: absolute; font-size: 160px; opacity: 0.12; top: 50%; left: 50%; transform: translate(-50%, -50%); line-height: 1; }
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; color: var(--white); margin-bottom: 16px; line-height: 1.2; }
.final-cta p { font-size: 20px; color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto 40px; line-height: 1.6; }
.final-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.final-cta .store-badge { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); }
.final-cta .coming-soon-label { background: var(--white); color: var(--text); }

/* ─── LANGUAGE SWITCHER ────────────────────────────────── */
.lang-chip { cursor: pointer; transition: background 0.15s, color 0.15s; }
.lang-chip:hover, .lang-chip.active { background: rgba(255,255,255,0.25); color: var(--white); }
.lang-chip.active { background: var(--green); color: var(--text); }

/* ─── HOMEPAGE RESPONSIVE ──────────────────────────────── */
@media (max-width: 980px) { .pricing-cards { grid-template-columns: 1fr; max-width: 460px; } }
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; gap: 24px; min-height: auto; }
  .hero-content { max-width: 100%; padding: 48px 0 0; }
  .hero-visual { padding: 0 0 32px; }
  .hero-visual img { max-width: 400px; }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps::before { display: none; }
  .usps-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns: 1fr; max-width: 440px; }
  .trust-divider { display: none; }
  .screenshot-phone { width: 180px; }
}
@media (max-width: 600px) {
  .usps-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .screenshot-phone { width: 150px; }
  .screenshots-row { gap: 12px; }
}
