/* Camsino landing page */

:root {
  --cs-bg: #070a0d;
  --cs-surface: rgba(12, 16, 19, 0.90);
  --cs-line: rgba(255, 255, 255, 0.10);
  --cs-text: #f5f7f8;
  --cs-text-mid: #aeb7be;
  --cs-text-dim: #707b84;
  --cs-accent: #68e0c1;
  --cs-accent-strong: #8aecd4;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--cs-bg);
}

.cs-body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--cs-bg);
  color: var(--cs-text);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-feature-settings: 'liga';
  font-size: 21px;
  line-height: 1;
  white-space: nowrap;
}

.cs-shell,
.cs-stage {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.cs-bg-wall,
.cs-bg-shade {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.cs-bg-wall {
  background: url('/assets/img/bg-camera-wall2.webp') 68% center / cover no-repeat;
  filter: grayscale(0.36) saturate(0.68) brightness(0.52);
  transform: scale(1.015);
}

.cs-bg-shade {
  background:
    linear-gradient(90deg, rgba(7, 10, 13, 0.99) 0%, rgba(7, 10, 13, 0.94) 34%, rgba(7, 10, 13, 0.62) 65%, rgba(7, 10, 13, 0.82) 100%),
    linear-gradient(180deg, rgba(7, 10, 13, 0.62), transparent 28%, rgba(7, 10, 13, 0.92));
}

.cs-landing-nav {
  position: relative;
  z-index: 2;
  width: min(1400px, calc(100% - 80px));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--cs-line);
}

.cs-logo-wrap {
  display: block;
  width: 138px;
  flex: 0 0 auto;
}

.cs-logo {
  display: block;
  width: 100%;
  height: auto;
}

.cs-nav-status,
.cs-live-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cs-text-mid);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cs-nav-status i,
.cs-live-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cs-accent);
  box-shadow: 0 0 0 4px rgba(104, 224, 193, 0.10);
}

.cs-landing {
  position: relative;
  z-index: 2;
  width: min(1400px, calc(100% - 80px));
  min-height: calc(100vh - 190px);
  min-height: calc(100dvh - 190px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.62fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: center;
  padding: 70px 0 96px;
}

.cs-landing-copy { max-width: 790px; }
.cs-live-label { margin-bottom: 26px; }

.cs-landing-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(52px, 5.8vw, 92px);
  line-height: 0.98;
  font-weight: 730;
  letter-spacing: -0.06em;
}

.cs-landing-lead {
  max-width: 610px;
  margin: 30px 0 42px;
  color: var(--cs-text-mid);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.65;
}

.cs-landing-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cs-landing-points span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--cs-line);
  border-radius: 8px;
  color: var(--cs-text-mid);
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
  font-weight: 600;
}

.cs-landing-points b {
  color: var(--cs-accent);
  font-size: 9px;
}

.cs-join-card {
  padding: 34px;
  border: 1px solid var(--cs-line);
  border-radius: 18px;
  background: var(--cs-surface);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(18px);
}

.cs-join-eyebrow {
  margin: 0 0 10px;
  color: var(--cs-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cs-join-card h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.cs-join-card > p:not(.cs-join-eyebrow) {
  margin: 14px 0 26px;
  color: var(--cs-text-mid);
  font-size: 14px;
  line-height: 1.6;
}

.cs-enter-btn {
  min-height: 56px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  color: #07100d;
  background: var(--cs-accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.02em;
  transition: background 150ms ease, transform 150ms ease;
}

.cs-enter-btn:hover {
  background: var(--cs-accent-strong);
  transform: translateY(-1px);
}

.cs-code-entry {
  margin-top: 18px;
  border-top: 1px solid var(--cs-line);
  border-bottom: 1px solid var(--cs-line);
}

.cs-code-entry summary {
  padding: 16px 0;
  color: var(--cs-text-mid);
  cursor: pointer;
  font-size: 12px;
  list-style-position: inside;
}

.cs-code-entry[open] summary { color: var(--cs-text); }
.cs-code-entry form { padding: 0 0 18px; }

.cs-code-entry label {
  display: block;
  margin-bottom: 7px;
  color: var(--cs-text-dim);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.cs-code-row {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 8px;
}

.cs-code-row input,
.cs-code-row button {
  min-width: 0;
  height: 48px;
  border: 1px solid var(--cs-line);
  border-radius: 9px;
}

.cs-code-row input {
  padding: 0 14px;
  outline: none;
  color: var(--cs-text);
  background: rgba(0, 0, 0, 0.24);
  font: 650 15px/1 'Inter', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cs-code-row input:focus { border-color: var(--cs-accent); }
.cs-code-row input::placeholder { color: var(--cs-text-dim); }

.cs-code-row button {
  display: grid;
  place-items: center;
  color: var(--cs-text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.cs-code-row button:hover {
  border-color: rgba(104, 224, 193, 0.44);
  color: var(--cs-accent);
}

.cs-account-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  color: var(--cs-text-dim);
  font-size: 11px;
  line-height: 1.5;
}

.cs-account-row strong { color: var(--cs-text-mid); }

.cs-account-links {
  display: flex;
  gap: 16px;
}

.cs-account-links a,
.cs-landing-footer a {
  color: var(--cs-text-mid);
  font-weight: 650;
  text-decoration: none;
}

.cs-account-links a:hover,
.cs-landing-footer a:hover { color: var(--cs-accent); }

.cs-landing-footer {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 28px;
  width: min(1400px, calc(100% - 80px));
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  color: var(--cs-text-dim);
  font-size: 10px;
  letter-spacing: 0.04em;
}

@media (max-width: 920px) {
  .cs-shell,
  .cs-stage { overflow: visible; }

  .cs-landing-nav,
  .cs-landing,
  .cs-landing-footer {
    width: min(calc(100% - 40px), 680px);
  }

  .cs-landing-nav { height: 74px; }
  .cs-logo-wrap { width: 118px; }

  .cs-landing {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 0 110px;
  }

  .cs-landing-copy h1 { font-size: clamp(48px, 10vw, 72px); }

  .cs-join-card {
    width: 100%;
    max-width: 520px;
  }

  .cs-landing-footer { bottom: 24px; }
}

@media (max-width: 560px) {
  .cs-landing-nav,
  .cs-landing,
  .cs-landing-footer { width: calc(100% - 32px); }

  .cs-nav-status { font-size: 0; }

  .cs-logo-wrap { width: 108px; }

  .cs-nav-status::after {
    content: 'Online';
    font-size: 9px;
  }

  .cs-landing {
    gap: 38px;
    padding-top: 48px;
  }

  .cs-landing-copy h1 { font-size: clamp(43px, 14vw, 58px); }

  .cs-landing-lead {
    margin: 24px 0 30px;
    font-size: 15px;
  }

  .cs-landing-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cs-join-card {
    padding: 25px;
    border-radius: 14px;
  }

  .cs-join-card h2 { font-size: 29px; }
  .cs-landing-footer { bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .cs-enter-btn { transition: none; }
}
