/* ==========================================================================
   3videnZ – static site
   ========================================================================== */

/* Comfortaa is a variable font: one file covers weights 300 → 700 */
@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/comfortaa-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/comfortaa-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --teal: #42E8E0;
  --blue: #00B7FF;
  --blue-soft: #36C7FF;
  --navy: #0A112A;
  --navy-deep: #0D1429;
  --card: #121E42;
  --btn-bg: #080F2A;
  --btn-border: #0EE0E2;
  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: 'Comfortaa', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 400; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

[id] { scroll-margin-top: 70px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 8px 16px;
  background: var(--navy);
  color: #fff;
}
.skip-link:focus { left: 0; }

.container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}
.container--narrow { max-width: 1140px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(0, 0, 0, .95);
  transition: background .3s;
}
.site-header.is-stuck { background: var(--navy); }

.site-header__inner {
  display: flex;
  align-items: center;
  min-height: var(--header-h);
  padding: 0 0 0 30px;
  transition: min-height .3s;
}
.site-header.is-stuck .site-header__inner { min-height: 70px; }

.site-header__logo { flex: 0 0 150px; }
.site-header__logo img { width: 150px; }

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  margin-left: 16px;
}
.site-nav__list { display: flex; gap: 24px; }
.site-nav__list a {
  display: block;
  color: #fff;
  transition: color .2s;
}
.site-nav__list a:hover,
.site-nav__list a.is-active { color: var(--blue); }

.social {
  display: flex;
  gap: 5px;
  padding: 0 16px;
}
.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  transition: background .3s, transform .3s;
}
.social a:hover { background: var(--blue); transform: scale(.9); }
.social img { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 0 0 6px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}
.nav-toggle span:last-child { margin-bottom: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Ken Burns background slideshow (CSS only) ---------- */
.kenburns {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.kenburns__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kb-zoom 16s linear infinite;
  will-change: transform;
}
/* zoom restarts while the slide is hidden behind the other one */
.kenburns__slide:nth-child(1) { animation-delay: -6s; }
.kenburns__slide:nth-child(2) {
  animation: kb-zoom 16s linear infinite, kb-fade 16s ease-in-out infinite;
  animation-delay: -14s, 0s;
}
.kenburns--slow .kenburns__slide { animation-duration: 40s; }
.kenburns--slow .kenburns__slide:nth-child(1) { animation-delay: -15s; }
.kenburns--slow .kenburns__slide:nth-child(2) { animation-duration: 40s, 40s; animation-delay: -35s, 0s; }

@keyframes kb-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.3); }
}
@keyframes kb-fade {
  0%, 25%  { opacity: 0; }
  50%, 75% { opacity: 1; }
  100%     { opacity: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 0 0;
  overflow: hidden;
  text-align: center;
}
.hero__content,
.stats { position: relative; z-index: 1; }

.hero__content { padding: 106px 16px 0; }
.hero__logo { width: 444px; margin: 0 auto; }

.hero__title {
  font-size: 32px;
  line-height: 1.9;
  letter-spacing: -.5px;
  color: var(--teal);
}
.hero__title span { color: #fff; }

.hero__tagline {
  margin-top: calc(2rem + 32px);
  font-size: 24px;
  line-height: 1.6;
  color: var(--blue);
}
.hero__tagline li + li { margin-top: .2rem; }
.hero__tagline .is-white { color: #fff; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  margin: 70px 0 85px;
  padding: 15px 0 5px;
}
.stat { padding: 0 15px; }
.stat__number {
  font-size: 50px;
  font-weight: 500;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: 5px;
  color: var(--blue-soft);
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 32px 0;
}
.section--navy { background: var(--navy); }

.section__title {
  font-size: 32px;
  line-height: 1.6;
  letter-spacing: -.5px;
  text-align: center;
}
.section__subtitle {
  margin-top: 16px;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
  color: var(--blue);
}
.section__cta {
  margin-top: 10px;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 5px 28px;
  border: 2px solid var(--btn-border);
  border-radius: 16px;
  background: var(--btn-bg);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  transition: color .3s, background .3s, box-shadow .3s;
}
.btn:hover,
.btn:focus-visible {
  background: linear-gradient(180deg, var(--teal) 0%, var(--blue) 100%);
  color: var(--navy);
  box-shadow: 0 0 10px 0 rgba(66, 232, 224, .35);
}
.btn--sm {
  min-height: 48px;
  padding: 5px 18px;
  border-color: var(--teal);
  border-radius: 8px;
  background: var(--navy);
  font-size: .8rem;
  line-height: 1.6;
}

/* ---------- Use cases ---------- */
.section--usecases {
  background: linear-gradient(180deg, rgba(8, 14, 16, .5) 0%, var(--navy-deep) 65%);
  padding-bottom: 42px;
}

.usecases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 42px;
}
.usecase {
  display: flex;
  align-items: center;
  gap: 15px;
}
.usecase__media { flex: 0 0 232px; }
.usecase__media img { width: 232px; }
.usecase__body { flex: 1; min-width: 0; }

.usecase__title {
  margin-bottom: 20px;
  font-size: 1.2rem;
  line-height: 1.6;
}
.usecase__title a { transition: color .2s; }
.usecase__title a:hover { color: var(--blue); }

.usecase__text { color: var(--blue); }
.usecase__text + .usecase__text { margin-top: 1.7em; }
.usecase__text a { text-decoration: underline; }
.usecase__text a:hover { color: #fff; }
.usecase .btn { margin-top: 16px; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 10px 0;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 20px;
  text-align: center;
}
.card__icon {
  width: 85px;
  height: 85px;
  margin: 32px 0;
  object-fit: contain;
}
.card__title {
  font-size: 1.2rem;
  line-height: 1.6;
  transition: color .2s;
}
.card__text {
  line-height: 1.2;
  color: var(--blue);
}

.cards--outline .card {
  min-height: 240px;
  border: 2px solid var(--blue);
  background: rgba(54, 199, 255, .13);
}
.cards--outline .card:hover .card__title { color: var(--blue); }

.cards--solid { margin-top: 13px; }
.cards--solid .card {
  min-height: 340px;
  background: var(--card);
}

/* ---------- About (built for mass adoption) ---------- */
.section--about {
  min-height: 400px;
  padding: 36px 0 20px;
  overflow: hidden;
}
.section--about .section__title { margin-bottom: 17px; }

/* ---------- Manifesto ---------- */
.section--manifesto { padding: 30px 20px; }
.section--manifesto .section__title { line-height: 1; }

.divider {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 98%;
  margin: 16px auto 0;
  padding: 8px 0;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid rgba(54, 199, 255, .13);
}
.divider span {
  width: 20px;
  height: 4px;
  background: radial-gradient(circle, rgba(54, 199, 255, .45) 2px, transparent 2.5px) 0 0 / 8px 4px repeat-x;
}

.checklist { padding: 60px 26px 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 32px;
}
.checklist img { flex: 0 0 32px; width: 32px; height: 32px; }
.checklist h3 {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
}
.checklist p { color: var(--blue); }

/* ---------- Banner ---------- */
.banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 224px;
  padding: 38px 20px;
  overflow: hidden;
  text-align: center;
}
.banner__text {
  font-size: 24px;
  line-height: 27.2px;
}

/* ---------- Solutions ---------- */
.section--solutions { padding: 30px 20px; }

.solutions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  padding-bottom: 16px;
}
.solutions__intro {
  padding: 10px;
  text-align: center;
}
.solutions__intro img { width: 120px; margin: 0 auto 24px; }
.solutions__intro h2 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}
.solutions__intro p {
  font-size: 1.2rem;
  line-height: 27.2px;
  color: var(--blue);
}

.features { display: grid; gap: 20px; }
.features li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.features img { flex: 0 0 40px; width: 40px; height: 40px; object-fit: contain; }
.features h3 {
  font-size: 22px;
  line-height: 1.6;
  text-shadow: 0 0 10px rgba(0, 0, 0, .3);
}
.features p { color: var(--blue); }

/* ---------- BCDT ---------- */
.section--bcdt {
  background: linear-gradient(180deg, rgba(8, 2, 250, .23) 0%, var(--navy-deep) 52%);
  padding-bottom: 40px;
}
.section--bcdt .section__title { line-height: 1.2; }
.section--bcdt .section__subtitle { letter-spacing: -.5px; }

/* ---------- Footer & scroll-top ---------- */
.site-footer {
  padding: 30px 5px 15px;
  background: var(--navy);
  border-top: 1px solid rgba(54, 199, 255, .13);
}
.site-footer hr {
  margin: 16px 0;
  border: 0;
  border-top: 1px solid rgba(54, 199, 255, .13);
}
.site-footer__legal {
  margin-bottom: 16px;
  font-size: .7rem;
  text-align: right;
  color: rgba(255, 255, 255, .85);
}
.site-footer__legal strong { color: #fff; }
.site-footer__legal a { text-decoration: underline; }
.site-footer__legal a:hover { color: var(--blue); }

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .25);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, background .3s;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: rgba(0, 183, 255, .6); }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal {
  opacity: 0;
  transition: opacity .9s ease, transform .9s ease;
}
.js .reveal--up   { transform: translateY(60px); }
.js .reveal--down { transform: translateY(-60px); }
.js .reveal--zoom { transform: scale(.85); }
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Tablet ---------- */
@media (max-width: 989px) {
  :root { --header-h: 70px; }

  .site-header__inner { padding: 0 20px; }
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 8px 20px 20px;
    background: var(--navy);
    border-top: 1px solid rgba(54, 199, 255, .13);
    box-shadow: 0 16px 24px rgba(0, 0, 0, .6);
  }
  .site-nav .social a { background: var(--card); }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { padding: 12px 0; font-size: 18px; }
  .social { padding: 12px 0 0; }

  .hero { min-height: 95vh; }
  .hero__content { padding-top: 24px; }
  .hero__logo { width: 320px; }
  .stats { margin: 48px 0 40px; }

  .usecases { grid-template-columns: 1fr; gap: 40px; }
  .usecase { align-items: center; }

  .solutions { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 777px) {
  .section__title { font-size: 26px; line-height: 1.3; }
  .section__subtitle { font-size: 20px; }

  .hero__content { padding-top: 16px; }
  .hero__logo { width: 300px; }
  .hero__title { font-size: 20px; line-height: 1.4; }
  .hero__tagline { margin-top: 40px; font-size: 16px; line-height: 1.7; }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
    margin: 24px 0 48px;
  }
  .stat__number { font-size: 40px; }
  .stat { padding: 0 6px; }
  .stat__label { font-size: 17px; line-height: 1.15; }

  .usecases { padding: 0 16px; }
  .usecase {
    flex-direction: column;
    align-items: flex-start;
  }
  .usecase__media { flex-basis: auto; }
  .usecase .btn { margin-top: 24px; }

  .cards { grid-template-columns: 1fr; padding: 20px; }

  .section--manifesto,
  .section--solutions { padding-left: 10px; padding-right: 10px; }
  .checklist { padding: 40px 10px 0; }
  .checklist h3 { font-size: 1.2rem; }

  .banner__text { font-size: 20px; }
  .banner__text br { display: none; }

  .solutions__intro p { font-size: 1rem; }
  .features h3 { font-size: 20px; }

  .btn { font-size: 16px; }

  .site-footer__legal { text-align: left; }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kenburns__slide { animation: none !important; }
  .kenburns__slide:nth-child(2) { opacity: 0; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
