:root {
  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  /* Neutrals tuned to hero asset (cool grey desk, clean UI) */
  --text: #0f1729;
  --muted: #5a6b7d;
  --bg: #f4f6f9;
  --white: #ffffff;

  /* Brand hues from AI Video Bot logo / screen */
  --brand-blue: #1e88e5;
  --brand-teal: #00acc1;
  --brand-orange: #fb8c00;
  --brand-yellow: #fdd835;
  --brand-red: #e53935;
  --brand-green: #43a047;

  /* Interactive (Telegram-blue family) */
  --brand-primary: #1565c0;
  --brand-primary-hover: #0d47a1;

  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 246, 249, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(21, 101, 192, 0.08);
}

.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.logo__sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 0.15rem;
}

.logo__sub em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (min-width: 480px) {
  .logo__sub {
    display: inline;
    font-size: 0.6875rem;
    margin-top: 0;
    margin-left: 0.25rem;
  }
}

.nav {
  flex: 1;
  justify-content: center;
  gap: 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: capitalize;
  color: #333;
}

.nav a:hover {
  opacity: 0.65;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header__cta {
  display: inline-flex;
  padding: 0.5rem 0.85rem;
  font-size: 0.5625rem;
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #000;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1rem;
  height: 1.5px;
  background: #000;
  transform: translateX(-50%);
  transition: transform 0.2s, top 0.2s;
}

.nav-toggle::before {
  top: calc(50% - 4px);
}

.nav-toggle::after {
  top: calc(50% + 4px);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
  }

  .header__cta {
    padding: 0.55rem 1rem;
    font-size: 0.625rem;
  }
}

/* Mobile nav panel (full width under bar) */
@media (max-width: 899px) {
  .header__inner {
    flex-wrap: wrap;
    row-gap: 0;
  }

  .logo {
    order: 1;
  }

  .header__actions {
    order: 2;
    margin-left: auto;
  }

  .nav {
    order: 3;
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 0.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.28s ease, opacity 0.2s, padding 0.2s,
      visibility 0.2s;
  }

  .nav--open {
    max-height: 320px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 1rem 0.5rem 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 0.75rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #000;
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: #000;
  color: var(--white);
}

/* High-conversion primary: solid fill, sentence case, clear affordance */
.btn--primary {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 700;
  font-size: 0.8125rem;
  min-height: 44px;
  box-shadow: 0 8px 24px rgba(21, 101, 192, 0.35);
}

.btn--primary:hover {
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  color: #fff;
  filter: brightness(1.03);
}

.btn--primary:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.625rem;
}

.btn--sm.btn--primary {
  font-size: 0.75rem;
  padding: 0.55rem 1.05rem;
}

.btn--primary-dark {
  background: #fff;
  color: var(--brand-primary-hover);
  border: 1px solid #fff;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 700;
  font-size: 0.8125rem;
  min-height: 44px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn--primary-dark:hover {
  background: #f0f7ff;
  border-color: #f0f7ff;
  color: var(--brand-primary-hover);
}

.btn--primary-dark:active {
  transform: scale(0.98);
}

.btn--primary-dark:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.btn--on-dark {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.btn--on-dark:hover {
  background: #fff;
  color: #1a0a2e;
}

.btn--ghost {
  border-color: rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.6875rem;
}

.btn--ghost:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
}

.btn--secondary {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: transparent;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.625rem;
  cursor: pointer;
  font-family: inherit;
}

.btn--secondary:hover {
  background: rgba(21, 101, 192, 0.08);
  color: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.95);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 1.5rem 0;
  text-align: center;
}

.hero__glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(120vw, 900px);
  height: min(70vw, 440px);
  transform: translate(-50%, -50%);
  background:
    radial-gradient(
      ellipse at 18% 45%,
      rgba(30, 136, 229, 0.42) 0%,
      transparent 52%
    ),
    radial-gradient(
      ellipse at 78% 35%,
      rgba(251, 140, 0, 0.38) 0%,
      transparent 48%
    ),
    radial-gradient(
      ellipse at 52% 82%,
      rgba(0, 172, 193, 0.4) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 65% 65%,
      rgba(253, 216, 53, 0.28) 0%,
      transparent 50%
    );
  filter: blur(68px);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #37474f;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(21, 101, 192, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

.hero__tagline {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 500;
  color: #2a2a2a;
  letter-spacing: 0.01em;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero__lead em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.hero__lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.65rem;
}

.hero__cta {
  margin: 0;
}

.hero__micro {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
}

.hero__qr-wrap {
  margin-top: 1.5rem;
  padding: 1.2rem 1.35rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(21, 101, 192, 0.14);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 10px 36px rgba(13, 71, 161, 0.08);
  max-width: 248px;
  margin-left: auto;
  margin-right: auto;
}

.hero__qr-label {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.hero__qr {
  display: inline-block;
  line-height: 0;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(21, 101, 192, 0.12);
  transition: transform 0.15s ease, box-shadow 0.2s;
}

.hero__qr:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 28px rgba(21, 101, 192, 0.22);
}

.hero__qr:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 4px;
}

.hero__qr-img {
  width: 160px;
  height: auto;
  display: block;
}

.hero__qr-hint {
  margin: 0.75rem 0 0;
  font-size: 0.6875rem;
  color: var(--muted);
  line-height: 1.45;
}

.hero__qr-hint em {
  font-family: var(--font-serif);
  font-style: italic;
}

.hero__visual {
  position: relative;
  z-index: 1;
  max-width: min(460px, 92vw);
  margin: 1.5rem auto 0;
  mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
}

.hero__phone {
  margin: 0 auto;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 1.25rem;
  filter: drop-shadow(0 28px 48px rgba(13, 71, 161, 0.18))
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.08));
}

/* Features */
.features {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
  overflow: hidden;
}

.features__glow--bottom {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -5%;
  height: 55%;
  background:
    radial-gradient(
      ellipse at 28% 100%,
      rgba(253, 216, 53, 0.32) 0%,
      transparent 58%
    ),
    radial-gradient(
      ellipse at 82% 92%,
      rgba(0, 172, 193, 0.22) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 55% 85%,
      rgba(30, 136, 229, 0.14) 0%,
      transparent 60%
    );
  filter: blur(58px);
  pointer-events: none;
  z-index: 0;
}

.features__intro,
.features__grid {
  position: relative;
  z-index: 1;
}

.features__intro {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .features__intro {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
    gap: 3rem;
  }
}

.features__heading {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.features__heading em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  display: inline;
}

.features__copy em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: #4a4a4a;
}

.features__copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 28rem;
}

.feature-card h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

.features__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.feature-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Proof strip */
.proof-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
}

.proof-strip__kicker {
  margin: 0 0 0.85rem;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  font-weight: 500;
  color: #3a3a3a;
  letter-spacing: 0.02em;
}

.proof-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(21, 101, 192, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 30px rgba(13, 71, 161, 0.06);
}

@media (max-width: 520px) {
  .proof-strip__inner {
    grid-template-columns: 1fr;
  }
}

.proof-item {
  text-align: center;
  padding: 0.65rem 0.5rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.9);
}

.proof-item strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-primary);
}

.proof-item span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  color: var(--muted);
  line-height: 1.35;
}

/* FAQ */
.faq {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.faq__inner {
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(21, 101, 192, 0.12);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 40px rgba(13, 71, 161, 0.06);
}

.faq__title {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.faq__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

details.faq-item {
  border-radius: 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(250, 250, 250, 0.9);
  overflow: hidden;
}

details.faq-item summary {
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  font-weight: 300;
  font-size: 1.25rem;
  color: var(--brand-primary);
  opacity: 0.85;
}

details.faq-item[open] summary::after {
  content: "–";
}

.faq-item__body {
  padding: 0 1rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Bottom CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.cta-band__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    #0d47a1 0%,
    #1565c0 22%,
    #00838f 52%,
    #ef6c00 88%,
    #fb8c00 100%
  );
  z-index: 0;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 3.5rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .cta-band__inner {
    grid-template-columns: 1fr 1fr;
    padding: 4rem 1.5rem;
    gap: 3rem;
  }
}

.cta-band__photo {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  object-position: center;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .cta-band__photo {
    max-height: 420px;
  }
}

.cta-band__text h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-band__text h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

.cta-band__text p {
  margin: 0 0 1.5rem;
  opacity: 0.92;
  font-size: 0.9375rem;
  max-width: 28rem;
}

.cta-band__text p em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.cta-band__qr {
  margin-top: 1.65rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.cta-band__qr-link {
  display: inline-block;
  padding: 0.45rem;
  background: #fff;
  border-radius: 0.65rem;
  line-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease;
}

.cta-band__qr-link:hover {
  transform: scale(1.03);
}

.cta-band__qr-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.cta-band__qr-link img {
  width: 112px;
  height: 112px;
  display: block;
}

.cta-band__qr-caption {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.88;
}

@media (max-width: 767px) {
  .cta-band__qr {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Footer */
.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer__legal {
  margin: 0 0 1.25rem;
  font-size: 0.6875rem;
  line-height: 1.55;
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer__links {
  display: flex;
  gap: 1.25rem;
}

.footer a:hover {
  color: var(--text);
}
