/* vizyonkreyol.com: the app's own colors (navy #1a1a2e, panels #2d2d44, green #2ecc71) and real
   screenshots of the app. No decoration: text, the screens, and buttons that answer a press. */
:root {
  --bg: #1a1a2e;
  --panel: #2d2d44;
  --line: #3d3d54;
  --text: #c8cad6;
  --muted: #9ea3bb;
  --white: #ffffff;
  --green: #2ecc71;
  --green-dark: #25a85c;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); }
h1, h2 { color: var(--white); margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; font-weight: 700; }
p { margin: 0 0 16px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; display: grid; justify-items: center; }
.green { color: var(--green); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--green); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(26, 26, 46, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { border-radius: 8px; }
.brand.small { font-size: 16px; }
.nav { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--text); text-decoration: none; font-size: 16px; font-weight: 500; padding: 8px 0; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--white); } }

/* Language menu: one button with the current language; the list drops from it (origin-aware,
   eased out, 160 ms). */
.langs { margin-left: auto; position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--white); font-size: 15px; font-weight: 600; cursor: pointer; transition: transform 160ms var(--ease-out), border-color 160ms ease; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:active { transform: scale(0.97); }
.lang-menu summary svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 160ms var(--ease-out); }
.lang-menu[open] summary svg { transform: rotate(180deg); }
.lang-menu .flag { font-size: 18px; line-height: 1; }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 180px; list-style: none; margin: 0; padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); transform-origin: top right; animation: drop 160ms var(--ease-out); }
@keyframes drop { from { opacity: 0; transform: scale(0.96) translateY(-4px); } to { opacity: 1; transform: none; } }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 15px; }
.lang-menu a[aria-current="page"] { color: var(--white); background: var(--bg); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .lang-menu summary:hover { border-color: var(--green); }
  .lang-menu a:hover { background: var(--bg); color: var(--white); }
}

.hero { padding: clamp(48px, 7vw, 88px) 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.lead { font-size: clamp(18px, 1.6vw, 21px); max-width: 36ch; margin: 22px 0 0; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border-radius: 12px; font-weight: 700; font-size: 17px; text-decoration: none; transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease; }
.button:active { transform: scale(0.97); }
.button.primary { background: var(--green); color: var(--bg); }
.button.outline { border: 2px solid var(--line); color: var(--white); }
@media (hover: hover) and (pointer: fine) {
  .button.primary:hover { background: var(--green-dark); }
  .button.outline:hover { border-color: var(--green); }
}

/* The hero phone: the app's real screen over a live camera view that slowly pans, and the kind of
   sentence the app says. The screenshot's black preview is transparent (ekran-prensipal-overlay). */
.live { position: relative; }
.live .cam { position: absolute; left: 0; right: 0; top: 0; height: 36.76%; overflow: hidden; }
.live .cam img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; animation: pan 16s cubic-bezier(0.77, 0, 0.175, 1) infinite alternate; }
@keyframes pan { from { transform: scale(1.08) translateX(-3%); } to { transform: scale(1.14) translateX(3%); } }
.live .ui { position: relative; }
.speech { position: absolute; left: 8%; right: 8%; top: 25%; margin: 0; display: grid; justify-items: center; }
.speech span { grid-area: 1 / 1; padding: 7px 12px; border-radius: 10px; background: rgba(15, 15, 28, 0.82); color: #fff; font-size: 13px; font-weight: 600; text-align: center; opacity: 0; animation: say 12s infinite; }
.speech span:nth-child(2) { animation-delay: 4s; }
.speech span:nth-child(3) { animation-delay: 8s; }
@keyframes say { 0%, 4% { opacity: 0; transform: translateY(4px); } 8%, 28% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: none; } }

.stores { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.stores li { border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-size: 14px; color: var(--muted); }

.hold-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.hold-grid figure { margin: 0; background: var(--panel); border-radius: 16px; overflow: hidden; }
.hold-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hold-grid figcaption { padding: 18px 20px 22px; font-size: 16px; }
.hold-grid strong { display: block; color: var(--white); font-size: 18px; margin-bottom: 4px; }

/* The call screen's "listening" bubble, as the app draws it (CallIndicator.tsx): a 64 dp green core
   and three 180 dp rings, 4 dp wide, growing from 0.55 to 1.15 and fading from 0.6 every 1.6 s,
   0.53 s apart. Sizes are fractions of the 1080 px screenshot (2.8 px per dp). */
.calling { position: relative; container-type: inline-size; }
.listen { position: absolute; left: 49.95%; top: 15.56%; width: 46.9%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; }
.listen i { position: absolute; inset: 0; border-radius: 50%; border: 1.04cqw solid var(--green); opacity: 0; animation: listen 1.6s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite; }
.listen i:nth-child(2) { animation-delay: 0.53s; }
.listen i:nth-child(3) { animation-delay: 1.06s; }
.listen b { width: 35.5%; aspect-ratio: 1; border-radius: 50%; background: var(--green); }
@keyframes listen { from { transform: scale(0.55); opacity: 0.6; } to { transform: scale(1.15); opacity: 0; } }

/* Rising in on scroll, once. */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out) var(--d, 0ms), transform 600ms var(--ease-out) var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* Photos: plain, rounded, with a short caption. */
.photos { padding-top: clamp(48px, 6vw, 80px); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photo-grid figure { margin: 0; }
.photo-grid img, .photo { width: 100%; border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-grid figcaption { color: var(--muted); font-size: 15px; margin-top: 10px; }
.photo-split { grid-template-columns: 1fr 1fr; }

/* A real screenshot in a plain frame. */
.shot { margin: 0; justify-self: center; width: min(340px, 100%); border-radius: 34px; overflow: hidden; border: 10px solid #0f0f1c; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); background: #0f0f1c; }
.shot.short { border-radius: 26px; }

.facts { border-block: 1px solid var(--line); background: #20203a; }
.facts-list { list-style: none; margin-block: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facts-list li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--green); }
.facts-list strong { color: var(--white); font-size: 18px; }
.facts-list span { color: var(--muted); font-size: 15px; }

.section { padding: clamp(64px, 8vw, 104px) 0; }
.section.alt { background: #20203a; border-block: 1px solid var(--line); }
.section-lead { color: var(--muted); margin: 14px 0 0; max-width: 54ch; }
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: 1.2fr 0.8fr; }
.features { margin: 32px 0 0; display: grid; gap: 14px; }
.features div { background: var(--panel); border-radius: 14px; padding: 18px 20px; }
.features dt { color: var(--white); font-weight: 700; font-size: 18px; }
.features dd { margin: 4px 0 0; color: var(--text); font-size: 16px; }
.narrow p { margin-top: 18px; }

.site-footer { border-top: 1px solid var(--line); padding: 22px 0; font-size: 15px; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .live .cam img { animation: none; }
  .speech span { animation: none; }
  .listen i { animation: none; opacity: 0.3; transform: scale(0.85); }
  .listen i:nth-child(n+2) { display: none; }
  .speech span:first-child { opacity: 1; }
  .js .rv { transform: none; transition: opacity 200ms ease; }
  .lang-menu ul { animation: none; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .split.reverse, .photo-split { grid-template-columns: 1fr; }
  .photo-grid, .hold-grid { grid-template-columns: 1fr; }
  .split.reverse .shot { order: -1; }
  .facts-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .lang-name { display: none; }
  .nav li:nth-child(2), .nav li:nth-child(3) { display: none; }
  .facts-list { grid-template-columns: 1fr; }
}
