/* Base / Tokens */
:root {
  --bg: #0a0f14;
  --panel: #101720;
  --panel-alt: #0d141c;
  --text: #e8eef6;
  --muted: #a8b3c7;
  --primary: #4f8cff;
  --primary-600: #3c74e6;
  --ring: 0 0 0 3px rgba(79, 140, 255, 0.25);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #0a0f14 0%, #0a1118 100%);
  line-height: 1.55;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding: 0 20px;
}
.section {
  padding: 72px 0;
}
.section.alt {
  background: linear-gradient(180deg, var(--panel-alt), #0a1118);
}
.section-head {
  margin-bottom: 28px;
  text-align: center;
}
.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.2vw, 36px);
}
.section-head p {
  margin: 0;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn.small {
  padding: 8px 12px;
  font-size: 14px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-600);
  box-shadow: var(--ring);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: #2a3646;
}
.btn-ghost:hover {
  background: #141c27;
}

.grid {
  display: grid;
  gap: 20px;
}
.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}
.cards-3 .card {
  background: var(--panel);
  border: 1px solid #162131;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.card p {
  margin: 0;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(10, 15, 20, 0.6);
  border-bottom: 1px solid #0f1926;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
}
.brand {
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: #fff;
  font-size: 20px;
}
.brand span {
  color: var(--primary);
}
.menu {
  display: flex;
  align-items: center;
  gap: 16px;
}
.menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 10px;
}
.menu a:hover {
  background: #141c27;
}

/* Mobile nav (checkbox hack) */
.site-header .nav {
  position: relative;
}

#nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}
.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #223048;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #c9d6ea;
  border-radius: 1px;
}
@media (max-width: 860px) {
  .burger {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 64px;
    right: 12px;
    left: 12px;
    background: linear-gradient(180deg, #0d141c, #0a1118);
    border: 1px solid #1b2740;
    border-radius: 14px;
    padding: 12px;
    display: none;
    flex-direction: column;
    gap: 6px;
  }
  #nav-toggle:checked ~ .menu {
    display: flex;
  }
}

/* Hero */
.hero {
  padding: 64px 0 24px;
  background: radial-gradient(
    80% 80% at 80% 0%,
    rgba(79, 140, 255, 0.08) 0%,
    rgba(79, 140, 255, 0) 70%
  );
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.8vw, 44px);
}
.hero-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 55ch;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #c8d4e8;
}
.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.dashboard-card {
  width: min(480px, 100%);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #101720, #0e1620);
  border: 1px solid #162131;
  padding: 22px;
  display: grid;
  gap: 14px;
}
.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0d141c;
  border: 1px solid #172234;
  border-radius: 12px;
  padding: 14px;
}
.kpi {
  font-weight: 800;
  font-size: 26px;
}
.label {
  color: var(--muted);
  font-size: 14px;
}

/* ==== HERO CAROUSEL ==== */
.hero-carousel {
  padding: 56px 0 24px;
  background: radial-gradient(
      60% 70% at 85% 0%,
      rgba(79, 140, 255, 0.12) 0%,
      rgba(79, 140, 255, 0) 60%
    ),
    radial-gradient(
      40% 60% at 20% 10%,
      rgba(79, 140, 255, 0.07) 0%,
      rgba(79, 140, 255, 0) 60%
    ),
    linear-gradient(180deg, #0a0f14 0%, #0a1118 100%);
}
.hero-top {
  max-width: 920px;
}
.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fb4d8;
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 12px;
}
.hero-title {
  margin: 0 0 10px;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.05;
}
.hero-sub {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 70ch;
}
.trust-line {
  margin: 10px 0 6px;
  color: #c8d4e8;
}

.tabs {
  display: flex;
  gap: 8px;
  margin: 22px 0 14px;
  flex-wrap: wrap;
}
.tab {
  background: #0d141c;
  color: #cfe0ff;
  border: 1px solid #1b2740;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 600;
}
.tab.is-active {
  background: rgba(79, 140, 255, 0.12);
  border-color: #284782;
  color: #fff;
  box-shadow: var(--ring);
}

.slides {
  position: relative;
}
.slide {
  display: none;
}
.slide.is-active {
  display: block;
}
.slide-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
}
.slide-title {
  margin: 8px 0 6px;
  font-size: clamp(22px, 3.2vw, 30px);
}
.slide-sub {
  margin: 0 0 10px;
  color: var(--muted);
}
.slide-bullets {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}
.slide-bullets li {
  background: #0d141c;
  border: 1px solid #20314d;
  color: #cfe0ff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 14px;
}

.slide-visual {
  position: relative;
}
.device-mock {
  border-radius: 18px;
  border: 1px solid #162131;
  background: linear-gradient(180deg, #101720, #0e1620);
  box-shadow: var(--shadow);
  padding: 10px;
}
.device-screen {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 12px;
  background: #0b121a;
}
.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.glass {
  position: absolute;
  inset: auto 12px 12px auto;
  left: 12px;
  background: rgba(16, 23, 32, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid #1a2a44;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.kpi {
  display: grid;
  gap: 2px;
  background: rgba(13, 20, 28, 0.9);
  border: 1px solid #213559;
  border-radius: 10px;
  padding: 8px 10px;
  min-width: 120px;
}
.kpi .num {
  font-weight: 800;
  font-size: 18px;
}
.kpi .label {
  color: #9eb2cf;
  font-size: 12px;
}

.hero-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 14px 0 6px;
}
.nav-btn {
  background: #0d141c;
  color: #e8eef6;
  border: 1px solid #213559;
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 700;
}
.nav-btn:hover {
  background: #132033;
}
.progress {
  height: 4px;
  background: #132033;
  border-radius: 999px;
  overflow: hidden;
}
.progress .bar {
  display: block;
  height: 100%;
  background: var(--primary);
  width: 0%;
}

.trusted-by {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.trusted-by span {
  color: #9eb2cf;
  font-weight: 600;
}
.trusted-by ul {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.trusted-by li {
  background: #0d141c;
  color: #cfe0ff;
  border: 1px solid #1b2740;
  border-radius: 10px;
  padding: 6px 10px;
  font-weight: 600;
  font-size: 12px;
}

/* Responsiveness */
@media (max-width: 980px) {
  .slide-grid {
    grid-template-columns: 1fr;
  }
  .glass {
    position: static;
    inset: auto;
    margin-top: 10px;
  }
}
@media (max-width: 640px) {
  .tabs {
    gap: 6px;
  }
  .tab {
    padding: 6px 10px;
    font-size: 14px;
  }
  .kpi {
    min-width: unset;
  }
}
@media (prefers-reduced-motion: reduce) {
  .progress .bar {
    transition: none;
  }
}

/* === Demo modal (no video) === */
.demo-modal::backdrop {
  background: rgba(0, 0, 0, 0.6);
}
.demo-modal {
  border: none;
  padding: 0;
  width: min(1100px, 96vw);
  max-height: 90vh;
  background: transparent;
}
.demo-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  background: linear-gradient(180deg, #101720, #0e1620);
  border: 1px solid #162131;
  border-radius: 18px;
  padding: 16px;
  color: var(--text);
}
.demo-close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 1px solid #213559;
  background: #0d141c;
  color: #e8eef6;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.demo-meta .demo-sub {
  color: var(--muted);
  margin: 0.25rem 0 0.6rem;
}
.demo-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.demo-bullets li {
  background: #0d141c;
  border: 1px solid #20314d;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 14px;
}
.demo-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.demo-media {
  display: grid;
  gap: 10px;
}
.shot-frame {
  aspect-ratio: 16/10;
  background: #0b121a;
  border: 1px solid #162131;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.shot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shot-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}
.shot-nav {
  background: #0d141c;
  color: #e8eef6;
  border: 1px solid #213559;
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 700;
}
.shot-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.shot-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid #213559;
  background: #132033;
}
.shot-dots button.is-active {
  background: var(--primary);
  border-color: #284782;
}

@media (max-width: 980px) {
  .demo-wrap {
    grid-template-columns: 1fr;
  }
}

/* Benefits */
.benefits {
  grid-template-columns: repeat(4, 1fr);
}
.benefit {
  background: var(--panel);
  border: 1px solid #162131;
  border-radius: var(--radius);
  padding: 18px;
}
.benefit .icon {
  font-size: 24px;
  display: inline-block;
  margin-bottom: 8px;
}
.benefit h4 {
  margin: 4px 0 6px;
}
.benefit p {
  margin: 0;
  color: var(--muted);
}

/* How it Works */
.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.how-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  background: var(--panel);
  border: 1px solid #162131;
  border-radius: var(--radius-sm);
  padding: 16px;
}
.step-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #122036;
  color: #cfe0ff;
  font-weight: 800;
  border: 1px solid #1f2f4a;
}
.how-steps h4 {
  margin: 4px 0;
}
.how-steps p {
  margin: 0;
  color: var(--muted);
}

/* About */
.about-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}
.about-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--panel);
  border: 1px solid #162131;
  border-radius: var(--radius);
  padding: 16px;
}
.stat {
  display: grid;
  place-items: center;
  background: #0d141c;
  border: 1px solid #172234;
  border-radius: 12px;
  padding: 16px 10px;
  text-align: center;
}
.stat strong {
  font-size: 20px;
}
.stat span {
  color: var(--muted);
  font-size: 12px;
}

/* Founders block */
.founders {
  margin-top: 22px;
}
.founders-head,
.about-head {
  text-align: center;
  margin-bottom: 16px;
}
.founders-head h3,
.about-head h3 {
  margin: 0 0 6px;
  font-size: clamp(18px, 2.6vw, 24px);
}
.founders-head p,
.about-head p {
  margin: 0;
  color: var(--muted);
}

.founders-grid {
  grid-template-columns: repeat(2, 1fr);
}

.founder-card {
  background: var(--panel);
  border: 1px solid #162131;
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow);
}

.founder-photo {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid #213559;
  background: #0d141c;
}

.founder-info {
  display: grid;
  gap: 4px;
}
.founder-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.founder-title {
  margin: 0;
  color: #9eb2cf;
  font-size: 13px;
}
.founder-bio {
  margin: 2px 0 6px;
  color: var(--muted);
  font-size: 14px;
}
.founder-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.founder-links a {
  color: #cfe0ff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #20314d;
  padding: 4px 8px;
  border-radius: 999px;
}
.founder-links a:hover {
  background: #132033;
}

/* Responsive */
@media (max-width: 1024px) {
  .founders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .founders-grid {
    grid-template-columns: 1fr;
  }
}

/* Form */
.form {
  background: var(--panel);
  border: 1px solid #162131;
  border-radius: var(--radius);
  padding: 22px;
}
.form-grid {
  grid-template-columns: repeat(2, 1fr);
}
.field {
  display: grid;
  gap: 8px;
}
.field.full {
  grid-column: 1 / -1;
}
label {
  font-weight: 600;
}
input,
select,
textarea {
  background: #0d141c;
  color: var(--text);
  border: 1px solid #223048;
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: 0.15s ease;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #335082;
  box-shadow: var(--ring);
}
.form-note {
  color: var(--muted);
  margin-top: 10px;
  font-size: 14px;
}

#contact .btn-primary {
  justify-content: center;
  margin-top: 20px;
}

/* Footer */
/* --- Footer 2.0 --- */
.site-footer {
  margin-top: 24px;
  padding: 28px 0 16px;
  background: #0a0f14;
  border-top: 1px solid #0f1926;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.6fr 0.7fr;
  gap: 24px;
  align-items: start;
}

.footer-brand .brand {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 22px;
}
.addr {
  margin: 0 0 6px;
  color: #c8d4e8;
  font-style: normal; /* keep address non-italic */
  line-height: 1.5;
}
.corp-id {
  margin: 0;
  color: #8ea0ba;
  font-size: 13px;
}

.footer-nav h4,
.footer-contact h4 {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9fb4d8;
}
.footer-nav ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-nav a,
.footer-contact a {
  color: #cfe0ff;
  text-decoration: none;
}
.footer-nav a:hover,
.footer-contact a:hover {
  text-decoration: underline;
}

.back-top {
  margin-top: 10px;
  padding: 8px 10px;
  font-size: 14px;
}

.footer-bottom {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #0f1926;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.legal-links a {
  color: #c8d4e8;
  text-decoration: none;
}
.legal-links a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.powered-by {
  margin: 0;
  color: #8ea0ba; /* muted tone to match theme */
  font-size: 13px;
}
@media (max-width: 980px) {
  .footer-bottom {
    gap: 8px;
    align-items: flex-start;
  }
}

/* Responsiveness */
@media (max-width: 1024px) {
  .cards-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-card {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 860px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }
  .about-wrap {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .cards-3 {
    grid-template-columns: 1fr;
  }
  .benefits {
    grid-template-columns: 1fr;
  }
  .about-card {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
