/* Fol Sot — folsot.com */
@font-face {
  font-family: "Nunito Brand";
  src: url("Nunito-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1F2A44;
  --coral: #F2545B;
  --coral-dark: #C8323A;
  --orange: #FF9A3D;
  --grad: linear-gradient(135deg, #FF9A3D 0%, #F2545B 100%);
  --grad-strong: linear-gradient(135deg, #C2410C 0%, #C8323A 100%);
  --bg: #FFF7F0;
  --surface: #FFFFFF;
  --ink: #111114;
  --muted: #4A4F5C;
  --line: #F1E2D6;
  --lavender: #EBE4FF;
  --mint: #D8F5E5;
  --peach: #FFE5D9;
  --butter: #FFF2BF;
  --sky: #DCEEFF;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(31, 42, 68, .08);
  --brand-font: "Nunito Brand", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 { font-family: var(--brand-font); font-weight: 900; color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 8vw, 4rem); }
h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 247, 240, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.wordmark { font-family: var(--brand-font); font-weight: 900; font-size: 1.5rem; line-height: 1; letter-spacing: -.01em; }
.wordmark .fol { color: var(--navy); }
.wordmark .sot { color: var(--coral); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a.link { display: none; color: var(--navy); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.nav a.link:hover { background: var(--peach); }
@media (min-width: 860px) { .nav a.link { display: inline-block; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--body-font); font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary { background: linear-gradient(135deg, #C2410C 0%, #C8323A 100%) border-box; border: 0; color: #fff; box-shadow: 0 8px 22px rgba(242, 84, 91, .35); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(242, 84, 91, .42); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: .95rem; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -30% auto auto; width: 620px; height: 620px;
  background: radial-gradient(closest-side, rgba(255, 154, 61, .22), rgba(255, 154, 61, 0));
  pointer-events: none;
}
.hero-grid { display: grid; gap: 40px; align-items: center; position: relative; }
@media (min-width: 900px) { .hero { padding: 72px 0 88px; } .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }

.hero-logo { width: 84px; height: 84px; margin-bottom: 20px; filter: drop-shadow(0 10px 20px rgba(242, 84, 91, .3)); }
.hero h1 { margin-bottom: .25em; }
.hero h1.wordmark { font-size: clamp(2.8rem, 10vw, 4.5rem); }
.tagline { font-size: clamp(1.2rem, 3.6vw, 1.5rem); color: var(--navy); font-weight: 600; margin-bottom: .6em; }
.lead { color: var(--muted); max-width: 36em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.cta .btn { flex: 1 1 220px; }
@media (min-width: 520px) { .cta .btn { flex: 0 0 auto; } }
.cta-note { font-size: .92rem; color: var(--muted); margin: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.badges li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 600; color: var(--navy); }

/* ---------- Phone mockup ---------- */
.phone-stage { display: flex; justify-content: center; position: relative; }
.phone-stage::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: var(--grad); opacity: .16; top: 8%; left: 11%;
}
.phone {
  position: relative; width: 300px; max-width: 100%;
  background: #15171C; border-radius: 46px; padding: 12px;
  box-shadow: 0 30px 60px rgba(31, 42, 68, .25), inset 0 0 0 2px #2A2D35;
}
.phone-screen {
  background: #FFFBF7; border-radius: 36px; overflow: hidden;
  padding: 14px 16px 20px; min-height: 560px; display: flex; flex-direction: column; gap: 12px;
}
.phone-status { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; font-weight: 700; color: var(--ink); padding: 0 6px; }
.phone-notch { width: 84px; height: 22px; background: #15171C; border-radius: 0 0 14px 14px; margin: -14px auto 0; }
.phone-top { display: flex; align-items: center; gap: 10px; }
.phone-top .back { width: 30px; height: 30px; border-radius: 50%; background: var(--lavender); display: grid; place-items: center; color: var(--navy); font-weight: 900; }
.progress { flex: 1; height: 10px; background: #EFE7E0; border-radius: 99px; overflow: hidden; }
.progress span { display: block; width: 62%; height: 100%; background: var(--grad); border-radius: 99px; }
.phone-top .xp { font-size: .75rem; font-weight: 800; color: var(--coral-dark); }
.phone-label { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 4px 0 0; }

.lesson-card { background: var(--lavender); border-radius: 24px; padding: 18px; text-align: center; }
.lesson-card .pic { width: 84px; height: 84px; margin: 0 auto 8px; }
.lesson-card .de { font-family: var(--brand-font); font-weight: 900; font-size: 1.55rem; color: var(--navy); margin: 0; line-height: 1.2; }
.lesson-card .de .art { color: #3B6FD9; }
.lesson-card .sq { margin: 2px 0 10px; color: var(--muted); font-size: .95rem; }
.speak { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .8rem; font-weight: 700; color: var(--navy); }
.speak svg { width: 16px; height: 16px; }

.choices { display: grid; gap: 8px; }
.choice { border-radius: 16px; padding: 11px 14px; font-weight: 700; font-size: .92rem; color: var(--ink); background: #fff; border: 2px solid #EFE7E0; display: flex; justify-content: space-between; align-items: center; }
.choice.ok { background: var(--mint); border-color: #8FD9AE; }
.choice .tick { color: #1E7A47; font-weight: 900; }
.phone-btn { margin-top: auto; background: var(--grad); color: #fff; text-align: center; font-weight: 800; border-radius: 16px; padding: 13px; font-size: .95rem; }
.mic { display: flex; align-items: center; gap: 10px; background: var(--butter); border-radius: 16px; padding: 10px 12px; font-size: .82rem; font-weight: 700; color: var(--navy); }
.mic .dot { width: 32px; height: 32px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; flex: none; }
.mic .dot svg { width: 16px; height: 16px; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
[id] { scroll-margin-top: 76px; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-dark); margin-bottom: 10px; }

/* Why */
.why-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card { border-radius: var(--radius); padding: 26px; }
.why-card .level { display: inline-block; font-family: var(--brand-font); font-weight: 900; font-size: 1.05rem; background: #fff; color: var(--navy); border-radius: 12px; padding: 4px 12px; margin-bottom: 14px; }
.why-card p { margin: 0; color: #2B2F38; }
.bg-lavender { background: var(--lavender); }
.bg-mint { background: var(--mint); }
.bg-peach { background: var(--peach); }
.bg-butter { background: var(--butter); }
.bg-sky { background: var(--sky); }

/* Features */
.features { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.feature .ic { width: 52px; height: 52px; border-radius: 16px; background: #fff; display: grid; place-items: center; margin-bottom: 10px; }
.feature .ic svg { width: 28px; height: 28px; }
.feature h3 { margin: 0; }
.feature p { margin: 0; color: #2B2F38; font-size: 1rem; }
@media (min-width: 600px) and (max-width: 999.98px) { .feature-wide { grid-column: span 2; } }
.roles { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.roles li { background: #fff; border-radius: 999px; padding: 4px 12px; font-size: .88rem; font-weight: 600; color: var(--navy); }

/* Steps */
.steps { display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--grad-strong); color: #fff; font-family: var(--brand-font); font-weight: 900; font-size: 1.35rem;
  margin-bottom: 14px;
}
.step p { margin: 0; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; position: relative;
  font-weight: 700; color: var(--navy); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--peach); color: var(--coral-dark);
  display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { border-radius: var(--radius-sm); }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* Final CTA */
.final-cta { background: var(--navy); color: #fff; border-radius: 28px; padding: 40px 24px; text-align: center; position: relative; overflow: hidden; }
.final-cta::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--grad); opacity: .25; right: -120px; top: -160px; pointer-events: none; }
.final-cta h2 { color: #fff; position: relative; }
.final-cta p { color: #D9DEEA; position: relative; max-width: 34em; margin-left: auto; margin-right: auto; }
.final-cta .cta { justify-content: center; position: relative; }
.final-cta .btn-secondary { background: transparent; color: #fff; border-color: #fff; }
.final-cta .btn-secondary:hover { background: #fff; color: var(--navy); }
.final-cta :focus-visible { outline-color: #fff; }
@media (min-width: 760px) { .final-cta { padding: 64px 48px; } }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 48px; color: var(--muted); font-size: .95rem; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 760px) { .site-footer .wrap { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--navy); font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 28px; height: 28px; }
.site-footer p { margin: 0; }

/* ---------- Legal pages ---------- */
.legal { padding: 40px 0 72px; }
.legal .doc { max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px; }
@media (min-width: 760px) { .legal .doc { padding: 48px 56px; } }
.legal h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal .updated { color: var(--muted); font-size: .95rem; }
.legal .summary { background: var(--mint); border-radius: var(--radius-sm); padding: 16px 18px; margin: 20px 0; }
.legal .summary p:last-child, .legal .summary ul:last-child { margin-bottom: 0; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 0; }
.notfound .big { font-family: var(--brand-font); font-size: clamp(5rem, 22vw, 9rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }
.notfound .cta { justify-content: center; }

/* ---------- Pamjet e vërteta të aplikacionit ---------- */
.phone-real { width: 290px; padding: 10px; border-radius: 44px; }
.phone-real .phone-video,
.phone-real .phone-fade { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: #fff; }
.phone-real .phone-video { object-fit: contain; }
.phone-fade { display: none !important; position: relative; }
.phone-fade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: shot-fade 12s infinite; }
.phone-fade img:nth-child(2) { animation-delay: 4s; }
.phone-fade img:nth-child(3) { animation-delay: 8s; }
@keyframes shot-fade { 0%, 30% { opacity: 1; } 36%, 94% { opacity: 0; } 100% { opacity: 1; } }

[data-float] { animation: phone-float 6s ease-in-out infinite; }
@keyframes phone-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.shot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 28px; max-width: 920px; margin: 0 auto; }
.shot { margin: 0; text-align: center; }
.mini-phone {
  width: 220px; max-width: 100%; margin: 0 auto 14px; padding: 8px; border-radius: 34px;
  background: #15171C; box-shadow: 0 20px 40px rgba(31, 42, 68, .18), inset 0 0 0 2px #2A2D35;
  transition: transform .35s ease;
}
.mini-phone video, .mini-phone img { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: contain; border-radius: 26px; background: #fff; }
.shot:hover .mini-phone { transform: translateY(-6px) rotate(-1deg); }
.shot figcaption { color: var(--muted); font-size: .98rem; max-width: 260px; margin: 0 auto; }
.shot figcaption strong { display: block; color: var(--navy); font-family: var(--brand-font); font-weight: 900; font-size: 1.1rem; margin-bottom: 4px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-float] { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone-real .phone-video { display: none; }
  .phone-fade { display: block !important; }
  .phone-fade img { animation: none; }
  .phone-fade img:first-child { opacity: 1; }
  .shot:hover .mini-phone { transform: none; }
}

/* Posteri (screenshot i vërtetë) shfaqet derisa videoja të nisë. */
.phone-real, .mini-phone { position: relative; }
.phone-real .poster, .mini-phone .poster { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 34px; background: #fff; }
.mini-phone .poster { border-radius: 26px; }
.phone-real .phone-video { position: absolute; top: 10px; left: 10px; width: calc(100% - 20px); opacity: 0; transition: opacity .4s ease; }
.mini-phone video { position: absolute; top: 8px; left: 8px; width: calc(100% - 16px); opacity: 0; transition: opacity .4s ease; }
.phone-real .phone-video.is-playing, .mini-phone video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .phone-real .poster { display: none; }
  .mini-phone video { display: none; }
}
