/* ===================== TOKENS ===================== */
:root {
  --bg: #05070f;
  --bg-2: #0a0c14;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.10);
  --text: #f4f6f8;
  --muted: #9aa2ad;
  --muted-2: #c3c9d1;
  --orange: #f2a03d;
  --orange-deep: #e0862a;
  --blue: #3b9be0;
  --blue-bright: #5cb3ff;
  --radius: 22px;
  --radius-lg: 30px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Animated background canvas (dark navy field + bubbles + planes) */
.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: block;
  pointer-events: none;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img { max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin: 0 0 2.5rem;
}

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem clamp(20px, 5vw, 64px);
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(5,7,15,0.75), rgba(5,7,15,0));
  transition: background 0.3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(5, 7, 15, 0.7);
  border-bottom: 1px solid var(--panel-border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #d7dde3);
  color: #0a0c10;
}
.brand__logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: block;
  flex: 0 0 auto;
}
.brand__logo--sm { width: 30px; height: 30px; }

.nav__links {
  display: flex;
  gap: 1.9rem;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 300;
}
.nav__links a { color: var(--muted-2); transition: color 0.2s; }
.nav__links a:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn--signin {
  padding: 0.6rem 1.6rem;
  color: #0a0f1a;
  font-size: 0.95rem;
  background: #f2f5f8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.btn--signin:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 255, 255, 0.18); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: transparent;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  max-width: 920px;
  padding: 90px 0 40px;
}
.hero__inner > * { margin: 0; }

.hero__logo {
  width: 92px;                        /* fallback for browsers without clamp() */
  width: clamp(66px, 9vw, 96px);
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 12px 34px rgba(0, 0, 0, 0.55));
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--muted-2);
}
.hero__eyebrow-icon { display: inline-flex; color: #fff; }

.hero__brand {
  font-size: clamp(3.4rem, 12vw, 8.5rem);
  font-weight: 500;
  line-height: 1.08;
  padding-bottom: 0.08em;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 0%, #aeb8c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 60px rgba(0, 0, 0, 0.4);
}

.hero__tagline {
  font-size: clamp(1.15rem, 2.8vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--muted-2);
}

.hero__lede {
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.8rem;
}
.btn--primary {
  padding: 0.85rem 1.9rem;
  color: #0a0f1a;
  background: #f2f5f8;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(255, 255, 255, 0.16); }
.btn--ghost {
  padding: 0.85rem 1.9rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.08); }

/* Staggered hero entrance */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.hero__inner > * { opacity: 0; animation: heroUp 0.8s var(--ease) forwards; }
.hero__eyebrow  { animation-delay: 0.05s; }
.hero__brand    { animation-delay: 0.18s; }
.hero__tagline  { animation-delay: 0.32s; }
.hero__lede     { animation-delay: 0.44s; }
.hero__actions  { animation-delay: 0.58s; }

@media (prefers-reduced-motion: reduce) {
  .hero__inner > * { opacity: 1; animation: none; }
}

/* ===================== SHARED CARD ===================== */
.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(8px);
}
.card__title {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.05;
  margin: 0 0 1.4rem;
}
.card__body { color: var(--muted); max-width: 34ch; margin: 0; }

/* ===================== ABOUT ===================== */
.about { padding: clamp(70px, 10vw, 130px) 0; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.card--about {
  padding: clamp(30px, 4vw, 56px);
  background:
    linear-gradient(150deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02) 55%, rgba(255,255,255,0.03)),
    var(--panel);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.6);
}
.about__media { display: flex; justify-content: center; }

/* Laptop + phone illustration */
.device {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: linear-gradient(145deg, #f3f4f6, #e2e4e8);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.device__screen {
  position: absolute;
  top: 12%; right: 8%;
  width: 60%; height: 60%;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(160deg, #2b2f36, #14161a);
  box-shadow: inset 0 0 0 8px #3a3f47, 0 10px 30px rgba(0,0,0,0.4);
  transform: perspective(600px) rotateX(4deg);
}
.device__base {
  position: absolute;
  top: 66%; right: 4%;
  width: 68%; height: 8%;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #c9cdd3, #a7acb4);
}
.device__phone {
  position: absolute;
  left: 10%; bottom: 12%;
  width: 27%;
  aspect-ratio: 9 / 17;
  border-radius: 18px;
  background: linear-gradient(160deg, #1c1e22, #050608);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.7), inset 0 0 0 2px #2c2f35;
  display: grid;
  place-items: center;
  transform: rotate(-6deg);
}
.device__phone-logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ===================== FEATURES ===================== */
.features { padding: clamp(50px, 8vw, 110px) 0; }
.features__grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}
.features__title { margin: 0; }
.card--features {
  padding: clamp(28px, 3.5vw, 52px);
  display: grid;
  gap: 1.8rem;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,0.06), transparent 55%),
    var(--panel);
}
.feature { display: flex; gap: 1.2rem; }
.feature__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  color: var(--text);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature__text h3 { margin: 0 0 0.35rem; font-weight: 500; font-size: 1.15rem; }
.feature__text p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.feature__text strong { color: var(--muted-2); font-weight: 500; }

/* ===================== REVIEWS ===================== */
.reviews { padding: clamp(50px, 8vw, 100px) 0; }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 32px);
}
.card--review { padding: clamp(24px, 3vw, 36px); }
.review__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.1rem; }
.review__name { font-weight: 500; font-size: 1.1rem; }
.card--review blockquote { margin: 0; color: var(--muted); font-size: 0.95rem; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.12);
}
.avatar--a { background: radial-gradient(circle at 35% 30%, #ffffff, #9aa4b0); }
.avatar--b { background: radial-gradient(circle at 35% 30%, #e4e9ef, #7c8794); }
.avatar--c { background: radial-gradient(circle at 35% 30%, #f2f4f7, #aab2bd); }

/* ===================== MEET THE MAKERS ===================== */
.makers {
  position: relative;
  padding: clamp(70px, 10vw, 140px) 0;
  background: transparent;
}
.makers__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
.makers__title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.02;
  margin: 0 0 1.8rem;
}
.makers__copy p { color: var(--muted-2); margin: 0 0 1rem; max-width: 46ch; }

/* Team card (light) */
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: clamp(28px, 3.5vw, 46px);
  background: #f5f6f8;
  color: #12151b;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.8);
}
.team-card__wave {
  position: absolute;
  top: 0; right: 0;
  width: 55%; height: 46%;
  background:
    radial-gradient(140% 120% at 100% 0%, #12151b 0%, #2b2f36 40%, transparent 72%);
  clip-path: path("M 0 0 C 60 40 140 -10 400 60 L 400 0 Z");
  opacity: 0.14;
}
.team-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}
.team-card__kicker {
  display: block;
  width: 40px; height: 40px;
  border-radius: 50%;
  margin-bottom: 0.8rem;
}
.team-card__title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; line-height: 0.98; margin: 0; }
.team-card__sub { font-size: 0.8rem; color: #4a5058; max-width: 22ch; margin: 0.4rem 0 0; text-align: right; }

.team {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0; margin: 0 0 1.6rem;
  position: relative;
}
.team__member { text-align: center; }
.team__photo {
  display: block;
  width: 78px; height: 78px;
  border-radius: 50%;
  margin: 0 auto 0.7rem;
  box-shadow: 0 0 0 4px #fff, 0 8px 18px -6px rgba(0,0,0,0.4);
}
.team__photo--1 { background: radial-gradient(circle at 40% 30%, #dfe3e8, #9aa4b0); }
.team__photo--2 { background: radial-gradient(circle at 40% 30%, #ced4db, #868f9b); }
.team__photo--3 { background: radial-gradient(circle at 40% 30%, #e6eaef, #a7b0bb); }
.team__name { font-weight: 700; font-size: 0.92rem; margin: 0; }
.team__role { font-size: 0.78rem; color: #6a7078; margin: 0.1rem 0 0; }
.team-card__company {
  text-align: right;
  font-size: 0.8rem;
  color: #4a5058;
  border-top: 2px solid #12151b;
  padding-top: 0.7rem;
  margin: 0;
  width: fit-content;
  margin-left: auto;
}

/* ===================== CONTACT ===================== */
.contact {
  position: relative;
  padding: clamp(70px, 10vw, 150px) 0 clamp(70px, 10vw, 130px);
  overflow: hidden;
  background: transparent;
}
.contact__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}
.contact__title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 300; margin: 0; }
.contact__details { display: grid; gap: 2rem; max-width: 320px; margin-left: auto; }
.contact__label { font-size: 1.2rem; font-weight: 400; margin: 0 0 0.3rem; }
.contact__value { color: var(--muted-2); font-size: 0.95rem; letter-spacing: 0.02em; transition: color 0.2s; }
.contact__value:hover { color: #fff; }
.contact__social { display: flex; gap: 1rem; margin-top: 0.2rem; }
.contact__social a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}
.contact__social a:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }

/* ===================== FOOTER ===================== */
.footer {
  border-top: 1px solid var(--panel-border);
  padding: 1.8rem 0;
  background: rgba(5, 7, 15, 0.4);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.brand--footer { font-size: 1rem; }
.brand--footer .brand__mark { width: 30px; height: 30px; }

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .about__grid,
  .features__grid,
  .makers__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .features__title { margin-bottom: 0.5rem; }
  .reviews__grid { grid-template-columns: 1fr; }
  .contact__details { margin-left: 0; max-width: 100%; }
  .team-card__sub { text-align: left; }
}
@media (max-width: 520px) {
  .team { grid-template-columns: 1fr; gap: 1.4rem; }
  .team-card__head { flex-direction: column; }
  .team-card__sub { text-align: left; }
  .team-card__company { margin-left: 0; }
}
