:root {
  --bg: #0B0D10;
  --bg-soft: #0F1218;
  --primary: #22c55e;
  --secondary: #5865F2;
  --text: #FFFFFF;
  --muted: #9AA0A6;
}

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

body {
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at left, #0f1320, var(--bg));
  color: var(--text);
  padding-top: 80px;
  overflow-x: hidden;
}

.hero {
  padding: 100px 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero small {
  color: var(--primary);
  font-weight: 600;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin: 16px 0;
}

.hero p {
  color: var(--muted);
  max-width: 520px;
  font-size: 1.05rem;
}

.hero a {
  display: inline-block;
  margin-top: 36px;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.code-stack {
  position: relative;
  height: 260px;
}

.code-image {
   width: 500px;
   border-radius: 10px;
   overflow: hidden;
}

.code-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.5;
  background: #11141b;
  border-radius: 14px;
  padding: 14px 18px;
  font-family: monospace;
  font-size: .85rem;
  color: #d1d5db;
  width: 280px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  position: absolute;
}

.code-card.js     { top: 0; left: 0; }
.code-card.py     { top: 100px; left: 60px; } /* Era .html */
.code-card.js-run { top: 200px; left: 20px; } /* Era .css */

.c-k { color: #c678dd; }
.c-s { color: #98c379; }
.c-t { color: #e06c75; }
.c-a { color: #d19a66; }
.c-p { color: #61afef; }
.c-f { color: #e5c07b; }

.section {
  position: relative;
  padding: 100px 80px;
}

.section h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.section p {
  color: var(--muted);
  max-width: 560px;
}

.services {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.service {
  background: #121622;
  border-radius: 20px;
  padding: 24px;
  transition: transform .3s, box-shadow .3s;
}

.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.service span {
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
}

.service h3 {
  margin: 14px 0;
}

.service p {
  font-size: .95rem;
}

.bot-section {
  padding: 140px 80px;
  background: radial-gradient(circle at left, #0f1320, var(--bg));
}

.bot-section small {
  color: var(--primary);
  font-weight: 600;
}

.bot-section h2 {
  font-size: 3rem;
  margin: 16px 0;
}

.bot-section p {
  color: var(--muted);
  max-width: 520px;
}

.bot-list {
  margin-top: 60px;
  display: grid;
  gap: 20px;
  max-width: 380px;
}

.bot {
  background: #121622;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.bot .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ef4444;
}

.bot .bar {
  height: 6px;
  width: 100%;
  background: #2a2f3a;
  border-radius: 99px;
  margin-top: 6px;
}

.bot .bar span {
  display: block;
  height: 100%;
  width: 70%;
  background: var(--secondary);
  border-radius: 99px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 45px;
  }
  .code-stack {
    display: none;
  }
}

.animation-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.box-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.box-area li {
    position: absolute;
    display: block;
    list-style: none;
    width: 25px;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    animation: animate 20s linear infinite;
    bottom: -150px;
    border-radius: 4px;
}

.box-area li:nth-child(1) {
    left: 86%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.box-area li:nth-child(2) {
    left: 12%;
    width: 30px;
    height: 30px;
    animation-delay: 1.5s;
    animation-duration: 10s;
}

.box-area li:nth-child(3) {
    left: 70%;
    width: 100px;
    height: 100px;
    animation-delay: 5.5s;
}

.box-area li:nth-child(4) {
    left: 42%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 15s;
    background: rgba(88, 101, 242, 0.1);
}

.box-area li:nth-child(5) {
    left: 65%;
    width: 40px;
    height: 40px;
    animation-delay: 0s;
}

.box-area li:nth-child(6) {
    left: 15%;
    width: 110px;
    height: 110px;
    animation-delay: 2.5s;
    background: rgba(34, 197, 94, 0.1);
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-800px) rotate(360deg);
        opacity: 0;
    }
}