@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --background: #ffffff;
  --foreground: #0f172a;
  --muted: #f8fafc;
  --muted-foreground: #64748b;
  --primary: #028EE2;
  --primary-dark: #065DA8;
  --primary-light: #4EC6F7;
  --primary-foreground: #ffffff;
  --accent: #218CCF;
  --accent-foreground: #ffffff;
  --ring: rgba(2, 142, 226, 0.35);
  --container: 1280px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0b1222;
    --foreground: #e5e7eb;
    --muted: #111827;
    --muted-foreground: #9ca3af;
    --primary: #4EC6F7;
    --primary-dark: #028EE2;
    --primary-light: #0AB2F7;
    --accent: #4EC6F7;
    --accent-foreground: #0b1222;
    --ring: rgba(78, 198, 247, 0.4);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---- HEADER ---- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  height: 72px;
}
@media (prefers-color-scheme: dark) {
  .header { background: rgba(11,18,34,0.9); border-bottom-color: rgba(255,255,255,0.06); }
}

.nav {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
.nav__brand img { height: 40px; width: auto; }
.nav__brand-text { display: flex; }
.nav__brand-paderf { color: var(--primary); }
.nav__brand-near { color: var(--primary); }
.nav__brand-beam { color: var(--foreground); }

.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__lang { display: flex; align-items: center; }
.nav__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: linear-gradient(135deg, rgba(2,142,226,0.14), rgba(78,198,247,0.08));
  border: 1px solid rgba(2,142,226,0.22);
  border-radius: 999px;
  padding: 10px 42px 10px 14px;
  font-family: inherit;
  color: var(--foreground);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(2,142,226,0.10);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  background-image:
    linear-gradient(135deg, rgba(2,142,226,0.14), rgba(78,198,247,0.08)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23028EE2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 14px center;
  background-size: auto, 16px;
}
.nav__select:hover {
  transform: translateY(-1px);
  border-color: rgba(2,142,226,0.38);
  box-shadow: 0 12px 30px rgba(2,142,226,0.16);
}
.nav__select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(2,142,226,0.16), 0 12px 30px rgba(2,142,226,0.16);
}
@media (prefers-color-scheme: dark) {
  .nav__select {
    border-color: rgba(78,198,247,0.22);
    color: #e5e7eb;
    background-image:
      linear-gradient(135deg, rgba(78,198,247,0.16), rgba(255,255,255,0.05)),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234EC6F7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  }
}
.nav__link {
  font-size: 0.9rem; font-weight: 500; color: var(--muted-foreground);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--primary); }

.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle:focus-visible,
.faq__question:focus-visible,
.nav__select:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--foreground);
  margin: 5px 0; transition: 0.3s;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: var(--radius-sm); font-weight: 600;
  font-size: 0.95rem; cursor: pointer; transition: all 0.2s; border: none;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { opacity: 0.9; }
.btn--outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: #f0f7ff; }
.btn--large { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-md); }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, #0a1628 0%, #0d2847 50%, #0a1628 100%);
  color: #fff; padding: 100px 0 80px; overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.hero__tagline { font-size: 1.1rem; color: #60a5fa; font-weight: 600; margin-bottom: 12px; letter-spacing: 0.5px; }
.hero__title { font-size: 3.2rem; font-weight: 800; line-height: 1.1; margin: 0 0 20px; }
.hero__title span { background: linear-gradient(90deg, #60a5fa, #34d399); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__desc { font-size: 1.15rem; color: #cbd5e1; line-height: 1.7; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px; padding: 8px 16px; font-size: 0.85rem; color: #cbd5e1;
}
.hero__img { text-align: center; }
.hero__img img { max-width: 340px; height: auto; border-radius: 28px; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4)); }

/* ---- SECTIONS ---- */
.section { padding: 80px 0; }
.section--muted { background: var(--muted); }
.section--dark { background: linear-gradient(135deg, #0a1628, #0d2847); color: #fff; }
.section__header { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.section__eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--primary); margin-bottom: 8px;
}
.section--dark .section__eyebrow { color: #60a5fa; }
.section__title { font-size: 2.2rem; font-weight: 800; margin: 0 0 12px; line-height: 1.2; }
.section--dark .section__title { color: #fff; }
.section__subtitle { font-size: 1.05rem; color: var(--muted-foreground); margin: 0; line-height: 1.6; }
.section--dark .section__subtitle { color: #cbd5e1; }

/* ---- STATS ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; padding: 40px 0; }
.stats__number { font-size: 2.4rem; font-weight: 800; color: var(--primary); }
.stats__label { font-size: 0.9rem; color: var(--muted-foreground); margin-top: 4px; }

/* ---- CARDS ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--background); border-radius: var(--radius-lg); padding: 32px 24px;
  border: 1px solid rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card__icon--blue { background: #eff6ff; color: #3b82f6; }
.card__icon--green { background: #f0fdf4; color: #22c55e; }
.card__icon--purple { background: #faf5ff; color: #a855f7; }
.card__icon--orange { background: #fff7ed; color: #f97316; }
.card__icon--cyan { background: #ecfeff; color: #06b6d4; }
.card__icon--rose { background: #fff1f2; color: #f43f5e; }
.card__title { font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; }
.card__text { font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.6; margin: 0; }

/* ---- PROBLEM / SOLUTION ---- */
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.comparison__card {
  background: var(--background); border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg); padding: 28px;
}
.comparison__card--red { border-left: 4px solid #ef4444; }
.comparison__card--green { border-left: 4px solid #22c55e; }
.comparison__card h3 { font-size: 1.2rem; margin: 0 0 16px; }
.comparison__item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.95rem; color: var(--muted-foreground); line-height: 1.5; }
.comparison__icon {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 12px; margin-top: 2px;
}
.comparison__icon--red { background: #fef2f2; color: #ef4444; }
.comparison__icon--green { background: #f0fdf4; color: #22c55e; }

/* ---- SCREEN SHARE ---- */
.screenshare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.screenshare__list { list-style: none; padding: 0; margin: 0; }
.screenshare__list li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 0.95rem; color: var(--muted-foreground); line-height: 1.5; }
.screenshare__check { color: #22c55e; font-weight: bold; flex-shrink: 0; }
.screenshare__visual {
  background: linear-gradient(135deg, #1e1b4b, #312e81); border-radius: 20px;
  padding: 48px; text-align: center; color: #fff;
}
.screenshare__visual-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.screenshare__visual-sub { color: #a5b4fc; font-size: 0.95rem; }
.screenshare__latency {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border-radius: 999px;
  padding: 12px 28px; margin-top: 24px; font-size: 2rem; font-weight: 800;
}
.screenshare__latency small { font-size: 0.85rem; font-weight: 400; color: #a5b4fc; }

/* ---- STEPS ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; }
.step__number {
  width: 52px; height: 52px; border-radius: 50%; background: #eff6ff;
  color: var(--primary); font-size: 1.3rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step__title { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; }
.step__text { font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.6; margin: 0; }

/* ---- DOWNLOAD ---- */
.download__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 700px; margin: 0 auto;
}
.download__card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 28px; text-align: center;
  transition: background 0.2s;
}
.download__card:hover { background: rgba(255,255,255,0.1); }
.download__card-icon { font-size: 36px; margin-bottom: 12px; }
.download__card-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; color: #fff; }
.download__card-status { font-size: 0.85rem; color: #cbd5e1; margin-bottom: 16px; }
.download__btn {
  display: inline-block; padding: 10px 24px; border-radius: 10px;
  font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: opacity 0.2s;
}
.download__btn--primary { background: var(--primary); color: #fff; }
.download__btn--outline { background: transparent; border: 1px solid rgba(255,255,255,0.25); color: #fff; }
.download__btn:hover { opacity: 0.85; }

/* ---- PRIVACY GRID ---- */
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.privacy-item { text-align: center; padding: 24px; }
.privacy-item__icon { margin-bottom: 12px; }
.privacy-item__title { font-size: 1rem; font-weight: 700; margin: 0 0 8px; }
.privacy-item__text { font-size: 0.85rem; color: var(--muted-foreground); line-height: 1.5; margin: 0; }

/* ---- FAQ ---- */
.faq { max-width: 720px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid rgba(0,0,0,0.06); }
.faq__question {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 20px 0; background: none; border: none; cursor: pointer;
  font-size: 1rem; font-weight: 600; color: var(--foreground); text-align: left;
  font-family: inherit;
}
.faq__question::after { content: '+'; font-size: 1.3rem; color: var(--primary); transition: 0.2s; }
.faq__item.active .faq__question::after { content: '-'; }
.faq__answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  font-size: 0.95rem; color: var(--muted-foreground); line-height: 1.6;
}
.faq__item.active .faq__answer { max-height: 500px; padding-bottom: 20px; }

/* ---- FOOTER ---- */
.footer {
  background: var(--muted); border-top: 1px solid rgba(0,0,0,0.06); padding: 32px 0;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
.footer__brand { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer__brand img { height: 32px; }
.footer__desc { font-size: 0.85rem; color: var(--muted-foreground); line-height: 1.6; max-width: 280px; }
.footer__col-title { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.footer__link {
  display: block; font-size: 0.9rem; color: var(--muted-foreground);
  margin-bottom: 8px; transition: color 0.2s;
}
.footer__link:hover { color: var(--primary); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.8rem; color: var(--muted-foreground);
}
.footer__social { display: flex; gap: 12px; }
.footer__social a { color: var(--muted-foreground); transition: color 0.2s; }
.footer__social a:hover { color: var(--primary); }

/* ---- LEGAL PAGES ---- */
.legal { padding: 40px 0 80px; max-width: 800px; margin: 0 auto; }
.legal h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.legal .updated { font-size: 0.9rem; color: var(--muted-foreground); margin-bottom: 32px; }
.legal h2 { font-size: 1.2rem; font-weight: 700; margin: 32px 0 12px; }
.legal p, .legal li { font-size: 0.95rem; color: var(--muted-foreground); line-height: 1.7; }
.legal ul { padding-left: 20px; }

/* ---- CONTACT ---- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact__info-item { display: flex; gap: 12px; margin-bottom: 20px; }
.contact__info-icon {
  width: 44px; height: 44px; border-radius: 12px; background: #eff6ff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact__info-label { font-size: 0.8rem; color: var(--muted-foreground); }
.contact__info-value { font-weight: 600; font-size: 0.95rem; }
.contact__info-value a { color: var(--primary); }
.form__group { margin-bottom: 16px; }
.form__label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.form__input, .form__textarea {
  width: 100%; padding: 12px 16px; border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 0.95rem;
  background: var(--background); color: var(--foreground); transition: border-color 0.2s;
}
.form__input:focus, .form__textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.form__textarea { resize: vertical; min-height: 120px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero__grid, .comparison, .screenshare__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 2.2rem; }
  .hero__img { order: -1; }
  .hero__img img { max-width: 200px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards, .steps, .privacy-grid { grid-template-columns: 1fr; }
  .download__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 0; }
  .section__title { font-size: 1.6rem; }
  .nav__links { display: none; }
  .nav__links.active {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: var(--background);
    padding: 24px; border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 120;
  }
  .nav__lang { width: 100%; }
  .nav__select { width: 100%; }
  .nav__toggle { display: block; }
}
