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

:root {
  --bg: #f0f0ff;
  --bg2: rgba(255,255,255,0.85);
  --surface: rgba(255,255,255,0.75);
  --border: rgba(124,106,255,0.18);
  --text: #2d2b4e;
  --text2: #7b78a0;
  --acc: #7c6aff;
  --acc-light: #a78bfa;
  --acc-dim: rgba(124,106,255,0.1);
  --green: #10b981;
  --green-dim: rgba(16,185,129,0.1);
  --orange: #f59e0b;
  --pink: #ec4899;
  --cyan: #06b6d4;
  --shadow: 0 1px 4px rgba(124,106,255,0.08);
  --shadow-lg: 0 4px 20px rgba(124,106,255,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.7;
}

/* -- Cyber background -- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 5%, rgba(124,106,255,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 85%, rgba(236,72,153,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 40%, rgba(6,182,212,0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,106,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,106,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: float linear infinite;
  opacity: 0;
}
.particle:nth-child(1) { width:6px;height:6px;background:var(--acc-light);left:15%;top:20%;animation-duration:12s;animation-delay:0s; }
.particle:nth-child(2) { width:5px;height:5px;background:var(--pink);left:70%;top:60%;animation-duration:16s;animation-delay:3s; }
.particle:nth-child(3) { width:7px;height:7px;background:var(--cyan);left:40%;top:80%;animation-duration:14s;animation-delay:6s; }
.particle:nth-child(4) { width:5px;height:5px;background:var(--orange);left:85%;top:15%;animation-duration:18s;animation-delay:2s; }
.particle:nth-child(5) { width:6px;height:6px;background:var(--green);left:55%;top:35%;animation-duration:15s;animation-delay:8s; }
.particle:nth-child(6) { width:4px;height:4px;background:var(--acc);left:25%;top:50%;animation-duration:20s;animation-delay:4s; }
.particle:nth-child(7) { width:5px;height:5px;background:var(--pink);left:90%;top:40%;animation-duration:13s;animation-delay:7s; }
@keyframes float {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.5; }
  50%  { transform: translateY(-200px) translateX(40px); opacity: 0.2; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-400px) translateX(-30px); opacity: 0; }
}

/* -- Section common -- */
section { position: relative; z-index: 1; }
.container {
  margin: 0 auto;
  padding: 0 10%;
}

/* -- CTA button -- */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--acc), var(--acc-light));
  color: #fff;
  border: none;
  border-radius: 28px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(124,106,255,0.3);
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(124,106,255,0.4);
}
.btn-cta:active { transform: translateY(0); }
.btn-cta:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
}

/* -- Glass card -- */
.glass {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* -- Robot (LG) -- */
.robo-lg {
  position: relative;
  width: 120px;
  height: 130px;
  flex-shrink: 0;
  animation: bobble 3s ease-in-out infinite;
  margin: 0 auto;
}
@keyframes bobble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.robo-lg .robo-head {
  position: absolute;
  width: 104px; height: 82px;
  background: linear-gradient(145deg, var(--acc), var(--acc-light));
  border-radius: 34px 34px 22px 22px;
  top: 22px; left: 8px;
  box-shadow: 0 6px 24px rgba(124,106,255,0.3);
}
.robo-lg .robo-ear {
  position: absolute;
  width: 14px; height: 30px;
  background: var(--acc-light);
  top: 26px;
}
.robo-lg .robo-ear.l { left: -7px; border-radius: 7px 0 0 7px; }
.robo-lg .robo-ear.r { right: -7px; border-radius: 0 7px 7px 0; }
.robo-lg .robo-eye {
  position: absolute;
  width: 26px; height: 26px;
  background: #fff;
  border-radius: 50%;
  top: 24px;
  animation: blink 4s infinite;
}
.robo-lg .robo-eye.l { left: 20px; }
.robo-lg .robo-eye.r { left: 60px; }
.robo-lg .robo-eye::after {
  content: '';
  position: absolute;
  width: 13px; height: 13px;
  background: #2d2b4e;
  border-radius: 50%;
  top: 7px; left: 7px;
  animation: look 6s ease-in-out infinite;
}
@keyframes look {
  0%, 40%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
  70% { transform: translateX(-2px); }
}
@keyframes blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.08); }
}
.robo-lg .robo-cheek {
  position: absolute;
  width: 18px; height: 9px;
  background: var(--pink);
  border-radius: 50%;
  top: 56px;
  opacity: 0.5;
}
.robo-lg .robo-cheek.l { left: 10px; }
.robo-lg .robo-cheek.r { left: 78px; }
.robo-lg .robo-mouth {
  position: absolute;
  width: 30px; height: 15px;
  border: 4px solid #fff;
  border-color: transparent transparent #fff transparent;
  border-radius: 0 0 18px 18px;
  top: 58px; left: 38px;
}
.robo-lg .robo-antenna {
  position: absolute;
  width: 8px; height: 24px;
  background: var(--acc-light);
  border-radius: 4px;
  top: 2px; left: 56px;
}
.robo-lg .robo-antenna::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  background: var(--cyan);
  border-radius: 50%;
  top: -14px; left: -6px;
  animation: glow 2s ease-in-out infinite;
  box-shadow: 0 0 16px var(--cyan);
}
@keyframes glow {
  0%, 100% { opacity: 0.5; transform: scale(1); box-shadow: 0 0 8px var(--cyan); }
  50% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 24px var(--cyan); }
}
.robo-lg .robo-arm {
  position: absolute;
  width: 10px; height: 34px;
  background: var(--acc-light);
  border-radius: 5px;
  top: 104px;
}
.robo-lg .robo-arm.l {
  left: 4px;
  transform: rotate(15deg);
  animation: wave-l 3s ease-in-out infinite;
}
.robo-lg .robo-arm.r {
  right: 4px;
  transform: rotate(-15deg);
  animation: wave-r 4s ease-in-out infinite;
}
@keyframes wave-l {
  0%, 100% { transform: rotate(15deg); }
  50% { transform: rotate(5deg); }
}
@keyframes wave-r {
  0%, 70%, 100% { transform: rotate(-15deg); }
  80% { transform: rotate(-40deg); }
  85% { transform: rotate(-20deg); }
  90% { transform: rotate(-40deg); }
}
.robo-lg .robo-body {
  position: absolute;
  width: 74px; height: 30px;
  background: linear-gradient(145deg, var(--acc-light), var(--acc));
  border-radius: 0 0 18px 18px;
  top: 104px; left: 23px;
}
.robo-lg .robo-body::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  background: var(--pink);
  border-radius: 50%;
  top: 6px; left: 30px;
  opacity: 0.7;
  animation: heartbeat 2s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.3); }
  30% { transform: scale(1); }
  45% { transform: scale(1.2); }
}

/* -- Hero section -- */
.hero {
  text-align: center;
  padding: 100px 10% 80px;
}
.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-top: 32px;
  line-height: 1.3;
  background: linear-gradient(135deg, var(--acc), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .sub {
  font-size: 1.15rem;
  color: var(--text2);
  margin-top: 16px;
  margin-left: auto;
  margin-right: auto;
}
.hero .btn-cta {
  margin-top: 36px;
}

/* -- Features section -- */
.features {
  padding: 60px 0 80px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 36px 28px;
  text-align: center;
}
.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.feature-icon.purple { background: var(--acc-dim); color: var(--acc); }
.feature-icon.pink   { background: rgba(236,72,153,0.1); color: var(--pink); }
.feature-icon.cyan   { background: rgba(6,182,212,0.1); color: var(--cyan); }
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.7;
}

/* -- Howto section -- */
.howto {
  padding: 60px 0 80px;
}
.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 48px;
}
.steps {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 240px;
  padding: 36px 28px;
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--acc), var(--acc-light));
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 0.92rem;
  color: var(--text2);
}
.step-arrow {
  display: flex;
  align-items: center;
  color: var(--acc-light);
  font-size: 1.5rem;
  padding-top: 40px;
}

/* -- Coverage section -- */
.coverage {
  padding: 60px 0 80px;
}
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.coverage-card {
  padding: 28px 20px;
  text-align: center;
}
.coverage-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--acc), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.coverage-card .unit {
  font-size: 0.85rem;
  color: var(--text2);
  margin-top: 2px;
  font-family: 'JetBrains Mono', monospace;
}
.coverage-card .label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 8px;
}

/* -- CTA section -- */
.cta-section {
  padding: 80px 0;
  text-align: center;
}
.cta-box {
  padding: 60px 40px;
  margin: 0 auto;
}
.cta-box h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 24px;
}

/* -- Footer -- */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px 10%;
  font-size: 0.85rem;
  color: var(--text2);
  font-family: 'JetBrains Mono', monospace;
}

/* -- Scroll animation -- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -- Responsive -- */
@media (max-width: 768px) {
  .hero { padding: 72px 10% 56px; }
  .hero h1 { font-size: 1.8rem; }
  .hero .sub { font-size: 1rem; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { display: none; }
  .step { max-width: 100%; min-width: 0; }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 1.4rem; }
  .cta-box { padding: 40px 24px; }
  .cta-box h2 { font-size: 1.3rem; }
  .btn-cta { padding: 14px 32px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .coverage-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .robo-lg { transform: scale(0.85); }
}
