:root {
  --bg: #fafbfc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --accent: #2563eb;
  --accent-soft: #eff6ff;
  --accent-strong: #1d4ed8;
  --shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, 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; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}
.logo-mark {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14.5px;
}
.nav-links a {
  color: var(--text-soft);
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14.5px;
  transition: all 0.15s;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}
.btn-primary { background: var(--text); color: white; }
.btn-primary:hover { background: #1e293b; transform: translateY(-1px); }
.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--text); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
}

/* Hero */
.hero {
  position: relative;
  padding: 130px 0 110px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 700px;
  background:
    radial-gradient(ellipse at center, rgba(249, 115, 22, 0.08), transparent 55%),
    radial-gradient(ellipse at 30% 70%, rgba(37, 99, 235, 0.06), transparent 60%);
  pointer-events: none;
}
.hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 560px;
  height: 560px;
  max-width: 90vw;
  max-height: 90vw;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
@media (max-width: 720px) {
  .hero-logo { width: 380px; height: 380px; opacity: 0.12; }
}
.hero > .container { position: relative; z-index: 1; }

h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--text);
}
h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-soft);
  max-width: 660px;
  margin: 0 auto 40px;
  line-height: 1.5;
}
.rotator {
  position: relative;
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.rotator.swap {
  opacity: 0;
  transform: translateY(-4px);
}
.rotator:not(.rotator-h)::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.95em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: -2px;
  animation: caret-blink 1.1s steps(1) infinite;
  opacity: 0.7;
}
.rotator-h {
  font-weight: inherit;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes caret-blink {
  0%, 50% { opacity: 0.7; }
  51%, 100% { opacity: 0; }
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
section { position: relative; }
.section-pad { padding: 96px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--text);
}
.section-sub {
  font-size: 17px;
  color: var(--text-soft);
  margin: 0;
}

/* Featured product (FloorEye) */
.featured {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow);
  transition: all 0.2s;
}
.featured:hover { box-shadow: var(--shadow-lg); }
.featured-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.featured-body h3 {
  font-size: 24px;
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.featured-body p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
}
.featured .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.featured .pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}
.featured-link {
  flex-shrink: 0;
}

/* Roadmap grid */
.roadmap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.roadmap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.2s;
  position: relative;
}
.roadmap-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.roadmap-card .pill-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6);
  animation: pulse-ring 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(37, 99, 235, 0); }
}
.roadmap-card .icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.roadmap-card h4 {
  font-size: 18px;
  margin: 0 0 6px;
  font-weight: 600;
  color: var(--text);
}
.roadmap-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* Why */
.why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.why-item h4 {
  font-size: 17px;
  margin: 0 0 6px;
  color: var(--text);
  font-weight: 600;
}
.why-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}
.why-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

/* Team */
.team-section {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.2s;
}
.team-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  border: 3px solid white;
  outline: 1px solid var(--border);
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card h4 {
  font-size: 20px;
  margin: 0 0 4px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.team-card .role {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.team-card .bio {
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

/* CTA */
.cta-box {
  background: var(--text);
  color: white;
  border-radius: 20px;
  padding: 64px 32px;
  text-align: center;
}
.cta-box h2 { color: white; margin-bottom: 12px; }
.cta-box p { color: #cbd5e1; margin: 0 0 28px; font-size: 17px; }
.cta-box .btn-primary { background: white; color: var(--text); }
.cta-box .btn-primary:hover { background: #f1f5f9; }
.cta-address {
  display: block;
  margin-top: 22px;
  color: #94a3b8;
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.01em;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  margin-top: 60px;
  color: var(--text-muted);
  font-size: 14px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--text); }

/* Mobile */
@media (max-width: 880px) {
  .featured {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px;
  }
  .featured-icon { margin: 0 auto; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 14px;
    padding: 22px 24px;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .hero { padding: 72px 0 64px; }
  .section-pad { padding: 64px 0; }
  .cta-box { padding: 44px 24px; }
}
