@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #05060d;
  color: #e6e6ff;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  --brand: #9b5cff;
  --brand-soft: #7c3aed;
  --surface: rgba(15, 23, 42, 0.82);
  --surface-strong: rgba(15, 23, 42, 0.96);
  --border: rgba(255,255,255,0.08);
  --text-muted: #9ca3af;
  --accent: #8b5cf6;
  --accent-alt: #4f46e5;
  --shadow: 0 24px 80px rgba(28, 25, 67, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(139,92,246,0.16), transparent 25%),
              radial-gradient(circle at bottom right, rgba(59,130,246,0.12), transparent 20%),
              linear-gradient(180deg, #04050a 0%, #050611 42%, #03040c 100%);
  color: #f8fafc;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(5, 6, 13, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(139,92,246,0.98), rgba(79,70,229,0.72));
  box-shadow: 0 0 30px rgba(139,92,246,0.32);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.nav-link {
  color: var(--text-muted);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(139,92,246,0.12);
}

.actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent-alt));
  box-shadow: 0 18px 45px rgba(139,92,246,0.28);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(139,92,246,0.32);
}

.button-secondary {
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.035);
}

.hero {
  min-height: calc(100vh - 100px);
  display: grid;
  align-items: center;
  padding: 5.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  filter: blur(80px);
  opacity: 0.7;
}

.hero::before {
  width: 420px;
  height: 420px;
  top: -4rem;
  left: -4rem;
  background: rgba(139,92,246,0.25);
  border-radius: 50%;
}

.hero::after {
  width: 420px;
  height: 420px;
  bottom: -4rem;
  right: -4rem;
  background: rgba(79,70,229,0.2);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-copy h1 {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(3rem, 6vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #e9d5ff, #c4b5fd, #a78bfa);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 620px;
  margin: 1.8rem 0 0;
  font-size: 1.15rem;
  color: #cbd5e1;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.hero-visual {
  display: grid;
  place-items: center;
  position: relative;
}

.robot-scene {
  position: relative;
  width: min(580px, 100%);
  aspect-ratio: 1 / 1.15;
  display: grid;
  place-items: center;
}

.robot-image {
  width: min(520px, 100%);
  height: auto;
  z-index: 1;
  transform: translateY(-4px);
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.18));
  border-radius: 28px;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  mix-blend-mode: screen;
}

.orbit-ring-1 {
  width: 92%;
  height: 92%;
  animation: rotateOrbit 22s linear infinite;
}

.orbit-ring-2 {
  width: 72%;
  height: 72%;
  animation: rotateOrbit 18s reverse linear infinite;
}

.orbit-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(59,130,246,0.4);
}

.dot-1 { top: 12%; left: 20%; background: #60a5fa; animation: floatSide 5.2s ease-in-out infinite; }
.dot-2 { top: 24%; right: 14%; background: #a855f7; animation: floatSide 4.6s ease-in-out infinite; }
.dot-3 { bottom: 20%; left: 12%; background: #38bdf8; animation: floatSide 5.5s ease-in-out infinite; }
.dot-4 { bottom: 14%; right: 22%; background: #f43f5e; animation: floatSide 6s ease-in-out infinite; }

.robot-figure {
  position: relative;
  width: 320px;
  min-height: 520px;
  display: grid;
  place-items: center;
  transform: perspective(1200px) rotateX(4deg) rotateY(-2deg);
  animation: float 6s ease-in-out infinite;
}

.robot-backglow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(59,130,246,0.18), transparent 45%);
  filter: blur(24px);
}

.robot-head {
  position: relative;
  width: 190px;
  height: 170px;
  background: linear-gradient(180deg, #f8fafc 0%, #e5e7eb 80%);
  border-radius: 42% 42% 40% 40% / 45% 45% 55% 55%;
  box-shadow: inset 0 12px 28px rgba(15,23,42,0.15), 0 18px 36px rgba(0,0,0,0.08);
  z-index: 1;
}

.robot-ear {
  position: absolute;
  top: 50px;
  width: 32px;
  height: 48px;
  background: linear-gradient(180deg, #111827, #374151);
  border-radius: 18px;
  box-shadow: inset 0 4px 8px rgba(0,0,0,0.25);
}

.robot-ear.left { left: -18px; }
.robot-ear.right { right: -18px; }

.robot-eye {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #7dd3fc, #0891b2 55%, #0f172a 95%);
  box-shadow: 0 0 24px rgba(14, 166, 255, 0.45);
}

.robot-eye.left { left: 46px; }
.robot-eye.right { right: 46px; }

.robot-mouth {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 72px;
  height: 14px;
  background: linear-gradient(90deg, rgba(96,165,250,0.95), rgba(168,85,247,0.95));
  border-radius: 999px;
  transform: translateX(-50%);
  box-shadow: 0 0 32px rgba(139,92,246,0.25);
}

.robot-neck {
  width: 46px;
  height: 22px;
  background: linear-gradient(180deg, #0f172a, #334155);
  border-radius: 18px;
  margin-top: -14px;
  z-index: 1;
}

.robot-chest {
  position: relative;
  width: 260px;
  height: 210px;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 30%, #cbd5e1 100%);
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: inset 0 10px 30px rgba(0,0,0,0.08);
}

.robot-screen {
  width: 140px;
  height: 100px;
  margin: 1.75rem auto 0;
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(34,211,238,0.35), transparent 32%), linear-gradient(180deg, #0f172a, #0f172a 48%, #1e293b 100%);
  border: 1px solid rgba(59,130,246,0.25);
  display: grid;
  place-items: center;
  box-shadow: inset 0 6px 20px rgba(15,23,42,0.24);
}

.screen-icon {
  color: #7dd3fc;
  font-size: 2.6rem;
  animation: glowPulse 2.2s ease-in-out infinite alternate;
}

.robot-shoulder {
  position: absolute;
  top: 54px;
  width: 42px;
  height: 42px;
  background: linear-gradient(180deg, #111827, #374151);
  border-radius: 18px;
  box-shadow: inset 0 4px 8px rgba(0,0,0,0.25);
}

.robot-shoulder.left { left: -16px; }
.robot-shoulder.right { right: -16px; }

.robot-waist {
  width: 180px;
  height: 72px;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 28px;
  margin: -12px auto 1rem;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: inset 0 8px 18px rgba(0,0,0,0.08);
}

.robot-legs {
  display: flex;
  justify-content: space-between;
  width: 220px;
  margin-top: -8px;
}

.robot-leg {
  width: 72px;
  height: 120px;
  background: linear-gradient(180deg, #f8fafc 0%, #dbeafe 100%);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: inset 0 8px 20px rgba(0,0,0,0.08);
  position: relative;
}

.robot-leg::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 50%;
  width: 46px;
  height: 18px;
  background: #0f172a;
  border-radius: 12px;
  transform: translateX(-50%);
}

.robot-badge {
  position: absolute;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 20px 45px rgba(59,130,246,0.25);
}

.badge-ai { top: 22%; right: 14%; background: linear-gradient(135deg, #8b5cf6, #22d3ee); animation: floatSide 5s ease-in-out infinite; }
.badge-stars { top: 48%; right: 10%; background: linear-gradient(135deg, #2563eb, #7c3aed); animation: floatSide 4.4s ease-in-out infinite; }
.badge-cog { top: 40%; left: 10%; background: linear-gradient(135deg, #ec4899, #f97316); animation: floatSide 4.8s ease-in-out infinite; }

@keyframes rotateOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes floatSide {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes glowPulse {
  from { opacity: 0.85; transform: scale(1); }
  to { opacity: 1; transform: scale(1.08); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotateX(4deg) rotateY(-2deg); }
  50% { transform: translateY(-12px) rotateX(4deg) rotateY(-2deg); }
}

.section {
  padding: 6rem 0;
}

.section-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  margin: 0 0 1rem;
}

.section-subtitle {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.card,
.article-card,
.feature-card,
.panel {
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 2rem;
  overflow: hidden;
}

.profile-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 0;
  border-radius: 32px;
  background: transparent;
}

.profile-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 13, 0) 34%, rgba(5, 6, 13, 0.96) 100%);
  pointer-events: none;
  z-index: 1;
}

.profile-avatar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
}

.profile-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 2rem 1.75rem 1.75rem;
}

.profile-card h3 {
  margin: 0 0 0.85rem;
  color: #ffffff;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  text-shadow: 0 12px 28px rgba(0,0,0,0.28);
}

.profile-card p {
  color: rgba(255,255,255,0.92);
  margin: 0;
  line-height: 1.75;
  text-shadow: 0 3px 16px rgba(0,0,0,0.18);
}

.card {
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.card:hover,
.article-card:hover,
.feature-card:hover,
.panel:hover {
  transform: translateY(-6px);
  border-color: rgba(139,92,246,0.35);
  background: rgba(15, 23, 42, 0.96);
}

.card-hero {
  font-size: 2rem;
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(79,70,229,0.18));
}

.card h3,
.article-card h3 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  color: #f8fafc;
}

.card p,
.article-card p,
.panel p,
.feature-card p {
  margin: 0;
  color: rgba(255,255,255,0.88);
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

.buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #dbeafe;
  font-size: 0.95rem;
}

.stats-grid {
  display: grid;
  gap: 1.5rem;
}

.stats-item {
  display: grid;
  gap: 0.75rem;
}

.stats-item span {
  font-size: 1.75rem;
  font-weight: 700;
}

.stats-item p {
  margin: 0;
  color: var(--text-muted);
}

.footer {
  padding: 4rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-columns {
  display: grid;
  gap: 1.5rem;
}

.footer h3,
.footer h4 {
  margin: 0 0 1rem;
}

.footer p,
.footer a {
  color: var(--text-muted);
}

.footer-links {
  display: grid;
  gap: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.text-gradient {
  background: linear-gradient(135deg, #c4b5fd, #a78bfa, #f9a8d4);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.input-group {
  display: grid;
  gap: 1rem;
}

label {
  display: block;
  color: #cbd5e1;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #f8fafc;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(139,92,246,0.45);
  background: rgba(255,255,255,0.08);
}

textarea {
  min-height: 200px;
  resize: vertical;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    justify-content: center;
  }

  .actions {
    justify-content: center;
  }
}
