:root {
  --accent: #34bed1;
  --accent-2: #5fe0d6;
  --bg: #0a0a0b;
  --bg-soft: #141417;
  --bg-card: #16171b;
  --line: #26272d;
  --text: #f4f5f7;
  --muted: #9aa0aa;
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1120px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
/* Flex/grid children may otherwise refuse to shrink below content size and
   push the layout wider than the viewport on small screens. */
.hero-copy, .feature-copy, .pillar, .screen-card, .footer-inner > * { min-width: 0; }
body {
  margin: 0;
  max-width: 100%;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: #00181c;
  padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  font-weight: 600; border-radius: 999px; padding: .7rem 1.3rem; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #00181c; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(52, 190, 209, .3); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(10, 10, 11, .6);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-color: var(--line); background: rgba(10, 10, 11, .85); }
.header-inner { display: flex; align-items: center; gap: 1rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.brand-icon { border-radius: 8px; }
.brand-name { font-size: 1.1rem; letter-spacing: -.01em; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s ease; }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: .6rem; margin-left: 1.2rem; }
.lang-toggle {
  background: transparent; border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; padding: .35rem .75rem; font-weight: 600; font-size: .85rem; cursor: pointer;
  font-family: var(--font); transition: border-color .2s ease, color .2s ease;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero { position: relative; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -30% 0 auto 0; height: 600px; pointer-events: none;
  background: radial-gradient(60% 60% at 70% 10%, rgba(52,190,209,.22), transparent 70%),
              radial-gradient(50% 50% at 10% 0%, rgba(95,224,214,.12), transparent 70%);
  filter: blur(10px);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.eyebrow {
  display: inline-block; color: var(--accent); font-weight: 600; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem;
  border: 1px solid var(--line); padding: .3rem .8rem; border-radius: 999px;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 38ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 .8rem; }
.hero-meta { font-size: .9rem; color: var(--muted); min-height: 1.2em; }
.hero-meta .dot { color: var(--accent); }

.hero-art { display: flex; justify-content: center; }
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 1290 / 2796;
  border-radius: 42px; padding: 10px; background: linear-gradient(160deg, #2a2c33, #0d0d10);
  box-shadow: var(--shadow); border: 1px solid #303138;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 33px; }
.phone::after {
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 36%; height: 22px; background: #050506; border-radius: 0 0 16px 16px;
}

/* Pillars */
.pillars { padding: clamp(2rem, 5vw, 3.5rem) 24px; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pillar {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; transition: transform .2s ease, border-color .2s ease;
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(52,190,209,.5); }
.pillar .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(52,190,209,.12); color: var(--accent); margin-bottom: 1rem;
}
.pillar .ico svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.1rem; }
.pillar p { font-size: .95rem; color: var(--muted); margin: 0; }

/* Feature sections */
.feature { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.feature .feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature:nth-child(even) .feature-media { order: -1; }
.kicker { color: var(--accent); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.feature h2 { margin-top: .6rem; }
.feature .lead-text { color: var(--muted); font-size: 1.1rem; }
.feature ul { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .8rem; }
.feature li { position: relative; padding-left: 1.9rem; color: var(--text); }
.feature li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px;
  background: var(--accent); -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat;
}
.feature-media {
  display: flex; justify-content: center;
}
.feature-media .shot {
  width: min(280px, 72vw); aspect-ratio: 1290/2796; border-radius: 32px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #000;
}
.feature-media .shot img { width: 100%; height: 100%; object-fit: cover; }

/* Screenshots rail */
.screens { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.section-head { text-align: center; max-width: 56ch; margin: 0 auto 2.2rem; }
.screen-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr);
  gap: 1.2rem; overflow-x: auto; padding: .5rem .5rem 1.5rem; scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.screen-card { scroll-snap-align: center; }
.screen-card .frame {
  border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #000;
  box-shadow: var(--shadow); aspect-ratio: 1290/2796;
}
.screen-card .frame img { width: 100%; height: 100%; object-fit: cover; }
.screen-card h3 { font-size: 1rem; margin: 1rem 0 .2rem; }
.screen-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Privacy */
.privacy { padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 1px solid var(--line); }
.privacy-card {
  background: linear-gradient(160deg, rgba(52,190,209,.08), var(--bg-card));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem); text-align: center; max-width: 820px;
}
.privacy-card { margin-left: auto; margin-right: auto; }
.privacy-card h2 { margin-top: .6rem; }
.chips { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.chips li { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-size: .9rem; }
.privacy-links { margin-top: 1.2rem; display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
.privacy-links a { color: var(--accent); font-size: .92rem; font-weight: 600; }
.privacy-links a:hover { text-decoration: underline; }

/* FAQ */
.faq { padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 1px solid var(--line); }
.faq h2 { text-align: center; margin-bottom: 2rem; }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: .8rem; }
.faq-item { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* CTA band */
.cta-band { padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 1px solid var(--line); }
.cta-inner {
  display: flex; align-items: center; gap: 1.5rem; justify-content: center; text-align: center; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(52,190,209,.14), rgba(95,224,214,.06));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.6rem);
}
.cta-icon { border-radius: 18px; }
.cta-inner h2 { margin-bottom: 1rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 2rem; margin-top: 1rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: flex-start; }
.footer-inner strong { font-size: 1.05rem; }
.footer-inner .muted { margin: .3rem 0 0; font-size: .9rem; }
.footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: .92rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { margin-top: 1.6rem; font-size: .85rem; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .lead { max-width: none; margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .feature .feature-grid { grid-template-columns: 1fr; text-align: center; }
  .feature:nth-child(even) .feature-media { order: 0; }
  .feature ul { text-align: left; max-width: 460px; margin-inline: auto; }
  .nav { display: none; }
}
@media (max-width: 520px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .header-actions .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
