:root {
  --bg: #0b0f1a;
  --bg-2: #0f1523;
  --surface: #141b2d;
  --surface-2: #1b2338;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f6fb;
  --text-dim: #a3adc2;
  --text-faint: #6b7690;
  --indigo: #6366f1;
  --teal: #14b8a6;
  --grad: linear-gradient(120deg, #6366f1 0%, #8b5cf6 45%, #14b8a6 100%);
  --radius: 16px;
  --maxw: 1120px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 30px -8px rgba(99, 102, 241, 0.7);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(99, 102, 241, 0.85); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.04); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 15, 26, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.nav__name { }
.nav__links { display: flex; gap: 34px; }
.nav__links a { color: var(--text-dim); font-size: 15px; font-weight: 500; transition: color .18s; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 18px; }

.lang-toggle {
  display: flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-dim);
  transition: border-color .18s, color .18s;
}
.lang-toggle:hover { border-color: rgba(255,255,255,0.25); color: var(--text); }
.lang-toggle span { transition: opacity .15s; }
.lang-toggle span.active { color: var(--text); opacity: 1; }
.lang-toggle span:not(.active) { opacity: .45; }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; padding: 8px; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 160px 0 96px; overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }
.hero__glow--1 { width: 520px; height: 520px; background: #4f46e5; top: -140px; left: -120px; }
.hero__glow--2 { width: 460px; height: 460px; background: #0d9488; top: 40px; right: -160px; opacity: .35; }
.hero__inner { position: relative; text-align: center; max-width: 860px; margin: 0 auto; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--text-dim);
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px;
  background: rgba(255,255,255,0.03); margin-bottom: 28px;
}
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }

.hero__title { font-size: clamp(38px, 6vw, 68px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; margin-bottom: 24px; }
.hero__title span { display: block; }
.hero__sub { font-size: 18px; color: var(--text-dim); max-width: 620px; margin: 0 auto 40px; }
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero__stats { display: flex; justify-content: center; gap: 56px; margin-top: 64px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat__num { display: block; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { font-size: 13px; color: var(--text-faint); }

/* ---------- Trust bar ---------- */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 32px 0; }
.trust__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.trust__label { font-size: 13px; color: var(--text-faint); letter-spacing: 0.06em; text-transform: uppercase; }
.trust__logos { display: flex; gap: 44px; flex-wrap: wrap; justify-content: center; align-items: center; }
.trust__logo { font-weight: 600; color: var(--text-faint); opacity: .75; font-size: 15px; letter-spacing: -0.01em; }
.trust__logo--claude { display: inline-flex; align-items: center; gap: 7px; color: var(--text-dim); opacity: 1; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px;
}
.section__title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.section__sub { color: var(--text-dim); font-size: 17px; margin-top: 16px; }

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.16); box-shadow: var(--shadow); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; color: #fff;
}
.card--iot .card__icon { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.card--ai .card__icon { background: linear-gradient(135deg, #14b8a6, #0ea5e9); }
.card__title { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.card__desc { color: var(--text-dim); margin-bottom: 22px; }
.card__list li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text-dim); font-size: 15px; }
.card__list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.step__num { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--teal); font-weight: 500; }
.step__title { font-size: 18px; font-weight: 700; margin: 14px 0 8px; }
.step__desc { color: var(--text-dim); font-size: 14px; }

/* ---------- Claude section ---------- */
.claude__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.claude__list { margin-top: 24px; }
.claude__list li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--text-dim); }
.claude__list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }

.claude__visual { display: flex; justify-content: center; }
.claude__panel {
  position: relative; width: 320px; height: 320px; border-radius: 28px;
  background: radial-gradient(circle at 30% 20%, #1e2a4a, #10182b);
  border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow);
}
.claude__dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 20px var(--indigo); }
.claude__dot:nth-child(1) { top: 22%; left: 30%; }
.claude__dot:nth-child(2) { bottom: 24%; right: 26%; background: var(--teal); box-shadow: 0 0 20px var(--teal); }
.claude__dot:nth-child(3) { top: 48%; right: 40%; background: #8b5cf6; box-shadow: 0 0 20px #8b5cf6; }
.claude__line { position: absolute; height: 2px; background: linear-gradient(90deg, var(--indigo), var(--teal)); opacity: .5; transform-origin: left center; }
.claude__line--a { top: 40%; left: 20%; width: 60%; transform: rotate(18deg); }
.claude__line--b { top: 55%; left: 24%; width: 55%; transform: rotate(-14deg); }
.claude__line--c { top: 65%; left: 30%; width: 45%; transform: rotate(30deg); }

/* ---------- Use cases grid ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.usecase { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; transition: border-color .25s, transform .25s; }
.usecase:hover { border-color: rgba(255,255,255,0.16); transform: translateY(-3px); }
.usecase__title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.usecase__desc { color: var(--text-dim); font-size: 15px; }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
.about__team { display: flex; flex-direction: column; gap: 20px; }
.member { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; }
.member__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: #fff; flex-shrink: 0; }
.member__name { font-size: 17px; font-weight: 700; }
.member__role { color: var(--text-faint); font-size: 14px; }

/* ---------- Contact ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact__email { display: inline-block; margin-top: 24px; font-size: 20px; font-weight: 600; color: var(--teal); }
.contact__email:hover { text-decoration: underline; }
.contact__form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text-dim); }
.field input, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px;
  padding: 13px 16px; color: var(--text); font-family: inherit; font-size: 15px; resize: vertical;
  transition: border-color .18s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--indigo); }
.cf-turnstile { margin-bottom: 8px; }
.contact__success { margin-top: 16px; color: var(--teal); font-weight: 500; }
.contact__error { margin-top: 8px; margin-bottom: 16px; color: #f87171; font-weight: 500; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 40px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; justify-content: space-between; }
.footer__brand { max-width: 320px; }
.footer__name { font-size: 20px; font-weight: 800; }
.footer__tag { color: var(--text-faint); font-size: 14px; margin-top: 8px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { color: var(--text-dim); font-size: 14px; }
.footer__links a:hover { color: var(--text); }
.footer__copy { width: 100%; color: var(--text-faint); font-size: 13px; margin-top: 8px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards, .grid, .steps { grid-template-columns: 1fr 1fr; }
  .claude__inner, .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .cards, .grid, .steps { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .nav__burger { display: flex; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg-2); padding: 16px 24px 24px; border-bottom: 1px solid var(--border);
  }
  .hero { padding-top: 130px; }
  .hero__stats { gap: 32px; }
  .trust__logos { gap: 26px; }
}
