/* ═══════════════════════════════════════════════════════════
   TicTag — Unified Mobile-First Stylesheet
   Base = mobile → min-width: 768px (tablet) → min-width: 1024px (desktop)
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --teal-500: #14b8a6;
  --lime-400: #a3e635;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--gray-800); line-height: 1.6;
  background: #f7fdf9; overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.07); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 2rem;
}
.logo { font-weight: 800; font-size: 1.5rem; color: var(--green-700); text-decoration: none; letter-spacing: -.02em; }
.logo span { color: var(--emerald-500); }
.logo-image-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img { display: block; height: 53px; width: auto; }
.nav-links { display: none; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.has-submenu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.nav-links a { text-decoration: none; color: var(--gray-500); font-size: .88rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--green-600); }
.has-submenu > a { display: inline-flex; align-items: center; gap: .45rem; }
.has-submenu > a::after { content: '\25BE'; font-size: .7rem; line-height: 1; transform: translateY(-1px); }
.submenu {
  position: absolute; top: calc(100% + .5rem); left: 0; transform: translateY(8px);
  min-width: 220px; padding: .55rem 0; margin: 0; list-style: none;
  background: rgba(255,255,255,.98); border: 1px solid rgba(0,0,0,.06); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.10); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease; z-index: 120;
}
.submenu li { width: 100%; }
.submenu a { display: block; padding: .65rem 1rem; white-space: nowrap; }
.submenu a:hover { background: var(--green-50); color: var(--green-700); }
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.nav-cta {
  background: var(--green-600); color: #fff !important; padding: .5rem 1.3rem;
  border-radius: 100px; font-weight: 600; font-size: .85rem;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--green-700); transform: translateY(-1px); }
.hamburger { display: block; background: none; border: none; cursor: pointer; padding: .5rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--gray-700); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .2s; }

/* Mobile nav open */
.nav-links.open {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; padding: 1rem 1.5rem 1.5rem; gap: 0;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.nav-links.open > li { width: 100%; border-bottom: 1px solid var(--gray-100); }
.nav-links.open > li:last-child { border-bottom: 0; }
.nav-links.open > li > a {
  display: flex; align-items: center; width: 100%;
  padding: .85rem 0; font-size: .95rem;
}
.nav-links.open .has-submenu > a::after { margin-left: auto; transition: transform .25s; display: inline-block; }
.nav-links.open .has-submenu.submenu-open > a::after { transform: rotate(180deg); }
.nav-links.open .submenu {
  position: static !important; transform: none !important;
  opacity: 0; visibility: hidden; pointer-events: none;
  max-height: 0; overflow: hidden;
  min-width: 0; width: 100%;
  padding: 0; background: var(--green-50);
  border: 0; border-radius: 8px; box-shadow: none;
  transition: max-height .28s ease, opacity .2s ease, visibility .2s ease, padding .2s ease;
}
.nav-links.open .has-submenu.submenu-open > .submenu {
  opacity: 1; visibility: visible; pointer-events: auto;
  max-height: 400px; padding: .4rem 0 .6rem;
  margin-bottom: .5rem;
}
.nav-links.open .submenu li { width: 100%; }
.nav-links.open .submenu a {
  display: block; padding: .65rem 1rem;
  font-size: .9rem; white-space: normal;
  color: var(--gray-600);
}
.nav-links.open .submenu a:hover { background: var(--gray-100); color: var(--green-700); }
.nav-links.open .nav-cta { margin-top: .5rem; text-align: center; border-radius: 8px; padding: .7rem 1rem; }

/* ─── COMMONS ─── */
section { padding: 4rem 1.25rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--green-700); margin-bottom: .85rem;
  background: var(--green-100); padding: .28rem .9rem;
  border-radius: 100px; border: 1px solid var(--green-200);
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -.02em; color: var(--gray-900);
  margin-bottom: .75rem;
}
.section-desc { font-size: 1.05rem; color: var(--gray-500); max-width: 600px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: 100px; font-weight: 600;
  font-size: .95rem; text-decoration: none; transition: all .25s cubic-bezier(.25,.8,.25,1);
  cursor: pointer; border: none;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--green-600); color: #fff;
  box-shadow: 0 4px 20px rgba(22,163,74,.25);
}
.btn-primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 10px 36px rgba(22,163,74,.38); letter-spacing: .01em; }
.btn-outline {
  background: #fff; color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
}
.btn-outline:hover { border-color: var(--green-300); color: var(--green-700); transform: translateY(-2px); }
.btn-white {
  background: #fff; color: var(--green-800); padding: .85rem 2rem;
  border-radius: 100px; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: transform .2s, box-shadow .2s; white-space: nowrap;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }

/* ─── ICON CIRCLES ─── */
.icon-circle {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; flex-shrink: 0;
  transition: transform .3s, background .3s;
}
.icon-circle svg { width: 26px; height: 26px; }
.icon-circle.green, .icon-circle.emerald, .icon-circle.teal, .icon-circle.lime {
  background: var(--green-100); color: var(--green-700);
}
.icon-circle.amber, .icon-circle.sky, .icon-circle.rose, .icon-circle.violet, .icon-circle.slate {
  background: var(--gray-100); color: var(--gray-600);
}

/* ─── PAGE HERO (subpages) ─── */
.page-hero {
  padding: 6rem 1.25rem 3rem;
  background: linear-gradient(150deg, #dcfce7 0%, #f0fdf4 40%, #f7fdf9 75%, #fff 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.08) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; max-width: 1200px; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -.02em; color: var(--gray-900);
  margin-bottom: 1rem; max-width: 700px;
}
.page-hero p { font-size: 1.1rem; color: var(--gray-500); max-width: 640px; line-height: 1.7; }
.breadcrumb { font-size: .82rem; color: var(--gray-400); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--green-600); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ─── CONTENT CARDS ─── */
.card {
  background: #fff; border-radius: 18px; padding: 2rem;
  border: 1px solid var(--green-100);
  box-shadow: 0 2px 12px rgba(22,163,74,.06);
  transition: transform .3s cubic-bezier(.25,.8,.25,1), box-shadow .3s cubic-bezier(.25,.8,.25,1);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(22,163,74,.13); }
.card:hover .icon-circle { transform: scale(1.1); }
.card h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: .6rem; }
.card p, .card li { font-size: .9rem; color: var(--gray-500); line-height: 1.65; }
.card ul { padding-left: 1.2rem; margin-top: .5rem; }
.card li { margin-bottom: .35rem; }
.card a:not(.btn) { color: var(--green-600); text-decoration: none; font-weight: 600; }
.card a:not(.btn):hover { text-decoration: underline; }

.cards-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.cards-grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.cards-grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.cards-grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

/* Card accent */
.card-accent {
  background: var(--green-50); border-radius: 16px; padding: 1.5rem 1.75rem;
  border: 1px solid var(--green-100);
  box-shadow: 0 2px 8px rgba(22,163,74,.05);
  transition: transform .3s, box-shadow .3s;
}
.card-accent:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(22,163,74,.1); }
.card-accent h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: .4rem; }
.card-accent p { font-size: .88rem; color: var(--gray-500); line-height: 1.6; }

/* ─── FEATURE CARD (icon + text) ─── */
.feature {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: #fff; padding: 1.75rem; border-radius: 16px;
  border: 1px solid var(--green-100);
  border-left: 3px solid var(--green-400);
  box-shadow: 0 2px 10px rgba(22,163,74,.07);
  transition: transform .25s cubic-bezier(.25,.8,.25,1), box-shadow .25s cubic-bezier(.25,.8,.25,1);
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(22,163,74,.12); }
.feature:hover .icon-circle { transform: scale(1.1); }
.feature h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: .3rem; }
.feature p { font-size: .88rem; color: var(--gray-500); line-height: 1.6; }

/* ─── STAT COUNTERS ─── */
.stats-row {
  display: grid; grid-template-columns: 1fr;
  gap: 1.5rem; margin: 2rem 0;
}
.stat {
  text-align: center; padding: 2rem 1rem;
  background: linear-gradient(160deg, #fff 60%, var(--green-50) 100%);
  border-radius: 18px;
  border: 1px solid var(--green-100);
  box-shadow: 0 3px 14px rgba(22,163,74,.08);
  transition: transform .25s, box-shadow .25s;
}
.stat:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(22,163,74,.13); }
.stat-num {
  font-size: 2.5rem; font-weight: 900; color: var(--green-600);
  line-height: 1; margin-bottom: .35rem;
}
.stat-label { font-size: .82rem; color: var(--gray-500); line-height: 1.4; }
.stat-num[data-target] { transition: color .3s; }

/* ─── TIMELINE ─── */
.timeline { position: relative; padding-left: 2.5rem; margin: 2rem 0; }
.timeline::before {
  content: ''; position: absolute; left: 14px; top: 0; bottom: 0;
  width: 2px; background: var(--green-200);
}
.timeline-item { position: relative; padding-bottom: 2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -2.5rem; top: .2rem;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--green-500); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .75rem; z-index: 2;
  box-shadow: 0 0 0 4px var(--green-100), 0 4px 12px rgba(34,197,94,.35);
  transition: transform .3s, box-shadow .3s;
}
.timeline-item:hover .timeline-dot { transform: scale(1.15); box-shadow: 0 0 0 6px var(--green-100); }
.timeline-item h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: .4rem; }
.timeline-item p { font-size: .9rem; color: var(--gray-500); line-height: 1.65; }

/* ─── TABS ─── */
.tabs-nav {
  display: flex; gap: .5rem; margin-bottom: 2rem;
  border-bottom: 2px solid var(--gray-200); padding-bottom: 0;
  overflow-x: auto; flex-wrap: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: .75rem 1.5rem; border: none; background: none;
  font-family: inherit; font-size: .9rem; font-weight: 600;
  color: var(--gray-400); cursor: pointer; border-bottom: 3px solid transparent;
  margin-bottom: -2px; transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--gray-600); }
.tab-btn.active { color: var(--green-600); border-bottom-color: var(--green-500); }
.tab-panel { display: none; animation: fadeIn .3s ease; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ─── SPLIT LAYOUT (2 cols) ─── */
.split {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  align-items: center;
}
.split-text h2 {
  font-size: 1.6rem; font-weight: 800; color: var(--gray-900);
  margin-bottom: .75rem; letter-spacing: -.01em;
}
.split-text p { font-size: .95rem; color: var(--gray-500); line-height: 1.7; margin-bottom: .75rem; }
.split-text ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.split-text li { font-size: .9rem; color: var(--gray-500); line-height: 1.6; margin-bottom: .4rem; }

/* ─── QUOTE / CALLOUT ─── */
.callout {
  background: var(--green-900);
  color: #fff; border-radius: 20px; padding: 2.5rem;
  text-align: center; margin: 2rem 0;
}
.callout, .callout p, .callout li, .callout span, .callout h2, .callout h3, .callout h4, .callout strong, .callout a:not(.btn) { color: #fff; }
.callout p { font-size: 1.15rem; opacity: .9; max-width: 600px; margin: 0 auto; line-height: 1.7; }
.callout ul { padding-left: 1.3rem; margin: .5rem auto; max-width: 600px; }
.callout li { font-size: 1rem; opacity: .85; line-height: 1.6; margin-bottom: .3rem; }
.callout strong { opacity: 1; }
.callout a:not(.btn) { text-decoration: underline; opacity: .9; color: #fff; }
.callout a:not(.btn):hover { opacity: 1; }
.callout .btn, .callout .btn-primary, .callout .btn-outline, .callout .btn-white,
.dark-section .btn, .pro-banner .btn { text-decoration: none; opacity: 1; }
.callout .btn-primary, .dark-section .btn-primary { color: var(--green-900) !important; background: #fff !important; box-shadow: 0 4px 15px rgba(0,0,0,.2); }
.callout .btn-primary:hover, .dark-section .btn-primary:hover { background: var(--green-100) !important; color: var(--green-900) !important; }
.callout .btn-outline, .dark-section .btn-outline { color: #fff !important; border-color: rgba(255,255,255,.4) !important; background: transparent !important; }
.callout .btn-outline:hover, .dark-section .btn-outline:hover { border-color: #fff !important; color: #fff !important; background: rgba(255,255,255,.1) !important; }
.callout .btn-white, .dark-section .btn-white, .pro-banner .btn-white { color: var(--green-900) !important; background: #fff !important; }
.callout .callout-big { font-size: 1.75rem; font-weight: 800; opacity: 1; margin-bottom: .75rem; color: #fff; letter-spacing: -.02em; }

/* ─── NUMBER BIG ─── */
.number-big {
  font-size: 3rem; font-weight: 900; color: var(--green-600);
  line-height: 1; letter-spacing: -.03em; margin-bottom: .35rem;
}
.stat .number-big { font-size: 2.2rem; }

/* ─── CONTENT SECTION ─── */
.content-section { max-width: 800px; margin: 0 auto; }
.content-section h2 {
  font-size: 1.5rem; font-weight: 800; color: var(--gray-900);
  margin: 2.5rem 0 1rem; letter-spacing: -.01em;
}
.content-section h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--gray-800);
  margin: 2rem 0 .75rem;
}
.content-section p { font-size: .95rem; color: var(--gray-600); line-height: 1.75; margin-bottom: .75rem; }
.content-section ul, .content-section ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.content-section li { font-size: .92rem; color: var(--gray-600); line-height: 1.65; margin-bottom: .4rem; }
.content-section strong { color: var(--gray-800); }
.content-section a:not(.btn) { color: var(--green-600); font-weight: 600; }

/* ─── HIGHLIGHT BOX ─── */
.highlight-box {
  background: var(--green-50); border: 1px solid var(--green-200);
  border-radius: 14px; padding: 1.5rem 1.75rem; margin: 1.5rem 0;
}
.highlight-box p { color: var(--green-800); font-size: .92rem; margin-bottom: .3rem; }
.highlight-box p:last-child { margin-bottom: 0; }
.highlight-box ul { padding-left: 1.3rem; margin: .5rem 0; }
.highlight-box li { color: var(--green-800); font-size: .9rem; margin-bottom: .25rem; }

.warning-box {
  background: #fef3c7; border: 1px solid #fcd34d;
  border-radius: 14px; padding: 1.5rem 1.75rem; margin: 1.5rem 0;
}
.warning-box p, .warning-box li { color: #92400e; font-size: .92rem; }
.warning-box ul { padding-left: 1.3rem; margin: .5rem 0; }
.warning-box li { margin-bottom: .25rem; }

/* ─── TAG COPY BOXES ─── */
.tag-copybox {
  background: var(--green-50); border-radius: 12px; padding: 1rem;
  font-size: .8rem; color: var(--gray-600); line-height: 1.6;
  font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;
  border: 1px solid var(--gray-200); position: relative;
  margin: 1rem 0;
}
.tag-copybox strong { color: var(--green-700); }
.tag-copybox code { display: block; margin-bottom: .6rem; }
.copy-btn {
  position: absolute; top: .5rem; right: .5rem;
  background: var(--green-600); color: #fff; border: none;
  padding: .35rem .75rem; border-radius: 8px; font-size: .7rem; font-weight: 600;
  cursor: pointer; transition: background .2s, transform .15s, color .2s;
}
.copy-btn:hover { background: var(--green-700); }
.copy-btn:active { transform: scale(.95); }
.copy-btn.copied { background: var(--gray-700); }
.copy-btn-below {
  display: block; width: 100%;
  background: var(--green-600); color: #fff; border: none;
  padding: .45rem 0; border-radius: 8px; font-size: .75rem; font-weight: 600;
  cursor: pointer; transition: background .2s; text-align: center;
}
.copy-btn-below:hover { background: var(--green-700); }
.copy-btn-below.copied { background: var(--gray-700); }

/* ─── TAGS GRID ─── */
.tags-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin: 2rem 0; }
.tag-card {
  background: linear-gradient(160deg, var(--green-50) 0%, #fff 100%);
  border-radius: 18px; padding: 2rem; text-align: center;
  border: 1px solid var(--green-200);
  box-shadow: 0 3px 16px rgba(22,163,74,.08);
  transition: transform .3s cubic-bezier(.25,.8,.25,1), box-shadow .3s cubic-bezier(.25,.8,.25,1);
  position: relative;
}
.tag-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(22,163,74,.15); }
.tag-duration { font-size: 2.8rem; font-weight: 900; color: var(--green-600); line-height: 1; }
.tag-name { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green-500); margin: .5rem 0; }
.tag-use { font-size: .85rem; color: var(--gray-500); margin-bottom: 1rem; line-height: 1.5; }

/* ─── STEPS ─── */
.steps { display: flex; flex-direction: column; gap: 1.25rem; margin: 2rem 0; }
.step {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--green-50); padding: 1.25rem 1.5rem; border-radius: 14px;
  border: 1px solid var(--green-100);
  transition: transform .2s cubic-bezier(.25,.8,.25,1), box-shadow .2s;
}
.step:hover { transform: translateX(4px); }
.step-num {
  min-width: 38px; height: 38px; border-radius: 50%;
  background: var(--green-500); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; flex-shrink: 0;
}
.step p { font-size: .92rem; color: var(--gray-600); line-height: 1.55; }
.step strong { color: var(--gray-800); }
.step h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: .3rem; }

/* ─── FAQ ─── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
  padding: 1.25rem 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem; font-weight: 600; color: var(--gray-800);
  background: none; border: none; width: 100%; text-align: left;
  font-family: inherit; gap: 1rem;
}
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--green-500); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; }
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 1.25rem; }
.faq-a p { font-size: .92rem; color: var(--gray-500); line-height: 1.7; }

/* ─── FORM ─── */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--gray-700); margin-bottom: .35rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--gray-200);
  border-radius: 12px; font-size: .9rem; font-family: inherit;
  transition: border-color .2s; background: #fff;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green-400);
  box-shadow: 0 0 0 3px rgba(34,197,94,.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-full { grid-column: 1 / -1; }

/* ─── PRO BANNER ─── */
.pro-banner {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  border-radius: 24px; padding: 2rem 1.5rem; color: #fff;
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  align-items: center; margin: 3rem 0; text-align: center;
}
.pro-banner, .pro-banner h2, .pro-banner h3, .pro-banner p, .pro-banner li, .pro-banner span, .pro-banner strong { color: #fff; }
.pro-banner h2 { font-size: 1.6rem; font-weight: 800; line-height: 1.25; margin-bottom: .75rem; }
.pro-banner p { font-size: .95rem; opacity: .7; line-height: 1.7; max-width: 520px; }
.pro-banner a:not(.btn-white):not(.btn-primary):not(.btn-outline):not(.btn) { color: var(--green-300); }
.pro-banner .btn-white { justify-content: center; }

/* ─── CTA BANNER ─── */
.cta-banner {
  text-align: center; padding: 5rem 2rem;
  background: linear-gradient(180deg, #fff 0%, var(--green-50) 100%);
}
.cta-banner p { font-size: 1.1rem; color: var(--gray-500); margin: .5rem auto 2rem; max-width: 460px; }

/* ─── DARK SECTION ─── */
.dark-section {
  background: linear-gradient(170deg, var(--green-900), var(--green-800));
  color: #fff;
}
.dark-section .section-label { color: var(--green-300); }
.dark-section .section-title { color: #fff; }
.dark-section .section-desc { color: rgba(255,255,255,.6); }
.dark-section p, .dark-section li, .dark-section span, .dark-section td { color: rgba(255,255,255,.7); }
.dark-section h2, .dark-section h3, .dark-section h4, .dark-section strong { color: #fff; }
.dark-section a:not(.btn) { color: var(--green-300); }
.dark-section .card a:not(.btn) { color: var(--green-300); }
.dark-section .card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); }
.dark-section .card h3 { color: #fff; }
.dark-section .card p, .dark-section .card li { color: rgba(255,255,255,.6); }
.dark-section .feature { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); }
.dark-section .feature h3 { color: #fff; }
.dark-section .feature p { color: rgba(255,255,255,.6); }
.dark-section .card-accent { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); }
.dark-section .card-accent h3 { color: #fff; }
.dark-section .card-accent p { color: rgba(255,255,255,.6); }
.dark-section .stat { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); }
.dark-section .stat-num { color: var(--green-300); }
.dark-section .stat-label { color: rgba(255,255,255,.6); }
.dark-section .icon-circle { background: rgba(255,255,255,.1); color: var(--green-300); }
.dark-section .checklist li { color: rgba(255,255,255,.7); border-bottom-color: rgba(255,255,255,.1); }
.dark-section .highlight-box { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.dark-section .highlight-box p, .dark-section .highlight-box li { color: rgba(255,255,255,.8); }
.dark-section .warning-box { background: rgba(255,200,50,.1); border-color: rgba(255,200,50,.25); }
.dark-section .warning-box p, .dark-section .warning-box li { color: rgba(255,220,100,.9); }
.dark-section .badge { background: rgba(255,255,255,.15); color: var(--green-300); }
.dark-section .timeline::before { background: rgba(255,255,255,.15); }
.dark-section .timeline-dot { background: var(--green-400); box-shadow: 0 0 0 4px rgba(255,255,255,.1); }
.dark-section .timeline-item h3 { color: #fff; }
.dark-section .timeline-item p { color: rgba(255,255,255,.6); }
.dark-section .split-text h2 { color: #fff; }
.dark-section .split-text p, .dark-section .split-text li { color: rgba(255,255,255,.7); }
.dark-section .content-section h2, .dark-section .content-section h3 { color: #fff; }
.dark-section .content-section p, .dark-section .content-section li { color: rgba(255,255,255,.7); }
.dark-section .number-big { color: var(--green-300); }
.dark-section .tag-copybox { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.8); }
.dark-section .tag-copybox strong { color: var(--green-300); }
.dark-section .tag-card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); }
.dark-section .tag-duration { color: var(--green-300); }
.dark-section .tag-name { color: var(--green-400); }
.dark-section .tag-use { color: rgba(255,255,255,.6); }
.dark-section .step { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); }
.dark-section .step p, .dark-section .step h3 { color: rgba(255,255,255,.8); }
.dark-section .step strong { color: #fff; }
.dark-section .faq-q { color: #fff; }
.dark-section .faq-q::after { color: var(--green-300); }
.dark-section .faq-a p { color: rgba(255,255,255,.6); }
.dark-section .faq-item { border-bottom-color: rgba(255,255,255,.1); }
.dark-section .form-group label { color: rgba(255,255,255,.8); }
.dark-section .form-group input, .dark-section .form-group textarea {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15);
  color: #fff;
}
.dark-section .form-group input::placeholder, .dark-section .form-group textarea::placeholder { color: rgba(255,255,255,.4); }

/* ─── CHECKLIST ─── */
.checklist { list-style: none; padding: 0; margin: 1rem 0; }
.checklist li {
  padding: .6rem 0 .6rem 2rem; font-size: .92rem; color: var(--gray-600);
  position: relative; border-bottom: 1px solid var(--gray-100);
}
.checklist li::before {
  content: '';
  position: absolute; left: 0; top: .7rem;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.checklist li.cross::before {
  background-color: #fee2e2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
  background-size: 10px;
}
.checklist li.cross { color: var(--gray-400); }

/* ─── BADGE ─── */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .8rem; border-radius: 100px;
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
}
.badge-green { background: var(--green-500); color: #fff; border: 1px solid var(--green-500); box-shadow: 0 2px 8px rgba(34,197,94,.28); }
.badge-amber { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.badge-red { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--gray-200); padding: 3.5rem 2rem 1.5rem;
  background: var(--green-50);
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo { display: block; margin-bottom: .75rem; }
.footer-brand p { font-size: .85rem; color: var(--gray-400); line-height: 1.65; max-width: 300px; }
.footer-heading { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); margin-bottom: .75rem; }
.footer-col a { display: block; font-size: .88rem; color: var(--gray-500); text-decoration: none; margin-bottom: .5rem; transition: color .2s; }
.footer-col a:hover { color: var(--green-600); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; color: var(--gray-400);
}
.cc-badges { display: flex; gap: .5rem; }
.cc-badge {
  width: 26px; height: 26px; border-radius: 50%; background: var(--green-100);
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 700; color: var(--green-800);
}

/* ─── ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); transition: opacity .55s ease, transform .55s cubic-bezier(.22,1,.36,1); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ─── SCROLL PROGRESS BAR ─── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--green-400), var(--emerald-500));
  width: 0; transition: width .1s linear;
  pointer-events: none;
}

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 90;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-600); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(22,163,74,.3);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--green-700); transform: translateY(-2px); }

/* ─── ACTIVE NAV ─── */
.nav-links .nav-active { color: var(--green-700); font-weight: 600; }

/* ─── HAMBURGER ANIMATION ─── */
.hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── FLOATING COPY WIDGET ─── */
.floating-copy {
  position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%) translateY(20px);
  z-index: 90; display: flex; align-items: center; gap: .35rem;
  background: var(--green-900); color: #fff;
  padding: .5rem .9rem; border-radius: 100px;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
  opacity: 0; pointer-events: none;
  transition: opacity .4s, transform .4s;
}
.floating-copy.visible { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.floating-copy-label { font-size: .78rem; font-weight: 500; opacity: .7; white-space: nowrap; }
.floating-copy-btn {
  background: var(--green-500); color: #fff; border: none;
  padding: .4rem .7rem; border-radius: 8px;
  font-size: .8rem; font-weight: 700; cursor: pointer;
  transition: background .2s, transform .15s;
}
.floating-copy-btn:hover { background: var(--green-400); transform: scale(1.05); }
.floating-copy-btn.copied { background: #fff; color: var(--green-800); }

/* ─── LINK ARROW ANIMATION ─── */
.card a svg, .feature a svg, .btn svg { transition: transform .2s; }
.card:hover a svg, .feature:hover a svg, .btn:hover svg { transform: translateX(3px); }

/* ─── Lang switcher (toggle pill) ─── */
.lang-switcher {
  display: flex; align-items: center; margin-left: 1rem;
  background: var(--gray-100); border-radius: 20px; padding: 3px;
  border: 1px solid var(--gray-200);
}
.lang-btn {
  padding: 4px 12px; border-radius: 16px; font-size: 12px; font-weight: 600;
  text-decoration: none; transition: all .25s; white-space: nowrap;
  color: var(--gray-600); background: transparent; line-height: 1.4;
}
.lang-btn.active {
  background: #fff; color: var(--green-700);
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.lang-btn:not(.active):hover { color: var(--gray-700); }

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE-SPECIFIC COMPONENTS
   ═══════════════════════════════════════════════════════════ */

/* ─── HERO ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #ecfdf5 0%, #f0fdf4 30%, #fff 60%, #ecfdf5 100%);
}
.hero::before {
  content: ''; position: absolute; top: -25%; right: -15%;
  width: 650px; height: 650px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.1) 0%, transparent 70%);
  animation: float 9s ease-in-out infinite;
}
.hero::after {
  content: ''; position: absolute; bottom: -20%; left: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.08) 0%, transparent 70%);
  animation: float 11s ease-in-out infinite reverse;
}
@keyframes float { 0%,100%{transform:translate(0,0)} 50%{transform:translate(25px,-35px)} }

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 820px; padding: 7rem 1.25rem 3rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(22,163,74,.1); color: var(--green-700);
  padding: .45rem 1.2rem; border-radius: 100px; font-size: .8rem; font-weight: 600;
  margin-bottom: 2rem;
}
.hero-badge svg { width: 14px; height: 14px; vertical-align: middle; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800;
  line-height: 1.12; letter-spacing: -.03em; color: var(--gray-900);
  margin-bottom: 1.5rem;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--green-500), var(--teal-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--gray-500);
  max-width: 580px; margin: 0 auto 2.5rem; line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── WHAT IS IT ─── */
.what { background: var(--gray-50); }
.what-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
.what-card {
  background: #fff; border-radius: 18px; padding: 2rem 1.75rem;
  border: 1px solid var(--gray-100); transition: transform .3s, box-shadow .3s;
}
.what-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.05); }
.what-card .icon-circle { margin-bottom: 1rem; }
.what-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: .6rem; }
.what-card p { font-size: .88rem; color: var(--gray-500); line-height: 1.65; }

/* ─── SOLUTION ─── */
.solution { background: #fff; }
.solution-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.solution-tag-pill {
  display: inline-block; background: var(--green-100); color: var(--green-700);
  font-size: .85rem; font-weight: 700; padding: .45rem 1.2rem;
  border-radius: 100px; margin-bottom: 1.25rem; letter-spacing: .03em;
}
.solution-points { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; text-align: left; }
.solution-point {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: 14px; padding: 1.25rem 1.5rem;
}
.solution-point-num {
  min-width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-700); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem; flex-shrink: 0;
}
.solution-point-icon-secondary {
  min-width: 36px; height: 36px; border-radius: 10px;
  background: var(--green-200); color: var(--green-700);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.solution-point-title { font-size: .95rem; font-weight: 700; color: var(--gray-900); margin-bottom: .2rem; }
.solution-point span { font-size: .88rem; color: var(--gray-500); line-height: 1.6; }

/* ─── DEMO ─── */
.demo { background: linear-gradient(170deg, var(--green-900) 0%, var(--green-800) 100%); color: #fff; }
.demo .section-label { color: var(--green-300); }
.demo .section-title { color: #fff; }
.demo .section-desc { color: rgba(255,255,255,.65); }

.demo-flow {
  display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: start;
  margin-top: 3rem;
}
.demo-step {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; padding: 2rem 1.5rem; text-align: center;
  backdrop-filter: blur(8px);
}
.demo-step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-500); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; margin-bottom: 1rem;
}
.demo-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.demo-step p { font-size: .85rem; color: rgba(255,255,255,.6); line-height: 1.6; }
.demo-arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--green-400); padding: 0;
  transform: rotate(90deg);
}

/* Mail mockup */
.mail-mockup {
  margin-top: 3rem; background: #fff; border-radius: 16px; overflow: hidden;
  max-width: 600px; margin-left: auto; margin-right: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,.3);
}
.mail-header {
  background: var(--gray-100); padding: .75rem 1.25rem;
  display: flex; align-items: center; gap: .5rem;
}
.mail-dot { width: 10px; height: 10px; border-radius: 50%; }
.mail-dot.r { background: #ef4444; }
.mail-dot.y { background: #eab308; }
.mail-dot.g { background: #22c55e; }
.mail-fields { padding: 1rem 1.5rem; border-bottom: 1px solid var(--gray-200); }
.mail-field { font-size: .78rem; color: var(--gray-400); margin-bottom: .3rem; }
.mail-field span { color: var(--gray-700); font-weight: 500; }
.mail-body { padding: 1.5rem; }
.mail-body p { font-size: .88rem; color: var(--gray-600); margin-bottom: .75rem; line-height: 1.6; }
.mail-tag {
  display: inline-block; margin-top: .5rem; padding: .6rem 1rem;
  background: var(--green-50); border: 2px dashed var(--green-400);
  border-radius: 10px; font-size: .82rem; color: var(--green-800); font-weight: 600;
  animation: pulse-border 2s ease-in-out infinite;
}
.mail-tag small { font-weight: 400; color: var(--green-600); display: block; margin-top: .2rem; }
@keyframes pulse-border {
  0%,100% { border-color: var(--green-400); box-shadow: 0 0 0 0 rgba(34,197,94,.2); }
  50% { border-color: var(--green-500); box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* ─── TAGS (homepage section background) ─── */
.tags { background: var(--green-50); }

/* ─── AFTER ─── */
.after-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-top: 3rem; align-items: center; }
.after-steps { display: flex; flex-direction: column; gap: 1rem; }
.after-step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--green-50); padding: 1.25rem; border-radius: 14px;
  border: 1px solid var(--green-100);
}
.after-step-icon {
  min-width: 38px; height: 38px; border-radius: 10px;
  background: var(--green-500); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem;
}
.after-step p { font-size: .9rem; color: var(--gray-600); line-height: 1.5; }
.after-step strong { color: var(--gray-800); }
.after-results { background: #fff; border-radius: 18px; padding: 2rem; border: 1px solid var(--green-200); }
.after-results h3 { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1rem; }
.after-results li {
  font-size: .92rem; color: var(--gray-600); line-height: 1.7;
  margin-bottom: .5rem; padding-left: .25rem; list-style: none;
}
.after-results li::before { content: ''; margin-right: .6rem; }

/* ─── BENEFITS ─── */
.benefits { background: var(--gray-50); }
.benefits-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3rem; }
.ben {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: #fff; padding: 1.5rem; border-radius: 16px;
  border: 1px solid var(--gray-100); transition: transform .2s, box-shadow .2s;
}
.ben:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,.04); }
.ben .icon-circle { margin-bottom: 0; }
.ben h3 { font-size: .95rem; font-weight: 700; color: var(--gray-900); margin-bottom: .25rem; }
.ben p { font-size: .85rem; color: var(--gray-500); line-height: 1.55; }

/* ─── FINAL CTA ─── */
.final-cta {
  text-align: center; padding: 5rem 2rem;
  background: linear-gradient(180deg, #fff 0%, var(--green-50) 100%);
}
.final-cta p { font-size: 1.2rem; color: var(--gray-500); max-width: 460px; margin: .5rem auto 2rem; }

/* ─── ACCORDION (mobile tabs for comment-baliser) ─── */
@media (max-width: 640px) {
  .tabs-nav { display: none; }
  .tab-panel {
    display: block !important;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: .5rem;
    overflow: hidden;
  }
  .tab-panel-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.25rem; cursor: pointer;
    background: var(--gray-50); font-weight: 600; font-size: .92rem;
    color: var(--gray-800); user-select: none;
  }
  .tab-panel-header svg.chevron {
    transition: transform .25s; flex-shrink: 0;
    color: var(--gray-400);
  }
  .tab-panel.accordion-open .tab-panel-header { background: var(--green-50); color: var(--green-700); }
  .tab-panel.accordion-open .tab-panel-header svg.chevron { transform: rotate(180deg); color: var(--green-600); }
  .tab-panel-body { display: none; padding: 1.25rem; }
  .tab-panel.accordion-open .tab-panel-body { display: block; }
}
@media (min-width: 641px) {
  .tab-panel-header { display: none; }
}


/* ═══════════════════════════════════════════════════════════
   MEDIA QUERIES — TABLET (min-width: 768px)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  section { padding: 6rem 2rem; }
  .page-hero { padding: 8rem 2rem 4rem; }
  .logo-img { height: 65px; }

  /* Nav: show links, hide hamburger */
  .nav-links { display: flex; gap: 2rem; }
  .hamburger { display: none; }

  .hero-content { padding: 8rem 2rem 4rem; }

  .cards-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .cards-grid-2 { grid-template-columns: repeat(2, 1fr); }

  .stats-row { grid-template-columns: repeat(2, 1fr); }

  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }

  .form-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .what-grid { grid-template-columns: repeat(3, 1fr); }
  .tags-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .after-grid { grid-template-columns: 1fr 1fr; }

  .demo-flow { grid-template-columns: 1fr 40px 1fr 40px 1fr; gap: 0; }
  .demo-arrow { transform: none; padding-top: 3rem; }

  .pro-banner { grid-template-columns: 1fr auto; text-align: left; padding: 3.5rem; }
  .pro-banner .btn-white { justify-content: flex-start; }

  .back-to-top { bottom: 2rem; right: 2rem; width: 44px; height: 44px; }

  .floating-copy { bottom: 2rem; padding: .6rem 1.2rem; gap: .5rem; }
  .floating-copy-btn { padding: .35rem .75rem; font-size: .75rem; }
}

/* ─── SECTION LABEL LG ─── */
.section-label-lg {
  display: inline-block;
  font-size: 1rem; font-weight: 700; letter-spacing: .03em;
  color: var(--green-600); margin-bottom: .6rem;
  text-transform: uppercase;
}

/* ─── PAYPAL DONATE ─── */
.paypal-cta {
  display: flex; flex-direction: column; align-items: center;
  gap: 1rem; margin: 2.5rem auto 0; max-width: 480px;
}
.paypal-cta p {
  font-size: .95rem; color: var(--gray-500); text-align: center; line-height: 1.6;
}
.paypal-btn {
  display: inline-flex; align-items: center; gap: .75rem;
  background: #0070ba; color: #fff;
  padding: 1rem 2.5rem; border-radius: 100px;
  font-size: 1.05rem; font-weight: 700; text-decoration: none;
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 20px rgba(0,112,186,.3);
}
.paypal-btn:hover { background: #005ea6; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,112,186,.35); }
.paypal-btn svg { flex-shrink: 0; }
.paypal-note {
  font-size: .78rem; color: var(--gray-400); text-align: center;
}

/* ─── KEZAKO / INFO PAGE ─── */
.kezako-grid {
  display: grid; grid-template-columns: 3fr 2fr; gap: 3rem;
  align-items: start; margin-top: 2.5rem;
}
.kezako-steps { display: flex; flex-direction: column; gap: 1rem; }
.kezako-step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: 14px; padding: 1.1rem 1.25rem;
}
.kezako-step-num {
  min-width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-700); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; flex-shrink: 0;
}
.kezako-step-icon {
  min-width: 34px; height: 34px; border-radius: 9px;
  background: var(--green-200); color: var(--green-700);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kezako-step h3 { font-size: .92rem; font-weight: 700; color: var(--gray-900); margin-bottom: .2rem; }
.kezako-step p { font-size: .85rem; color: var(--gray-500); line-height: 1.55; }
.kezako-callout {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 16px; padding: 1.75rem 1.5rem;
}
.kezako-callout .callout-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--gray-400); margin-bottom: 1rem;
}
.kezako-callout .callout-title {
  font-size: .95rem; font-weight: 700; margin-bottom: 1.25rem;
  line-height: 1.4; color: var(--gray-700);
}
.kezako-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
}
.kezako-stat-card {
  background: #fff; border: 1px solid var(--gray-100);
  border-radius: 12px; padding: 1rem;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; gap: .5rem;
  aspect-ratio: 1;
}
.kezako-stat-icon {
  color: var(--green-600);
}
.kezako-stat-lbl {
  font-size: .72rem; color: var(--gray-500); line-height: 1.4;
}
@media (max-width: 768px) { .kezako-grid { grid-template-columns: 1fr; } }

/* ─── TAB FOOTER ─── */
.tab-footer {
  margin-top: 1.5rem; padding: 1.25rem 1.5rem;
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: 14px;
}
.tab-footer p { font-size: .88rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 1rem; }
.tab-footer strong { color: var(--green-700); }
.tab-footer a { color: var(--green-600); font-weight: 600; text-decoration: none; }
.tab-footer a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   MEDIA QUERIES — DESKTOP (min-width: 1024px)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-grid-4 { grid-template-columns: repeat(4, 1fr); }

  .stats-row { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

  .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); }
}
