/* Neo-Game Dark Theme — RapidAppMaker */
/* Premium + Neon + Game UI */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
  --bg:#05070d;
  --panel:#0b0f17;
  --glass:#0c131f9c;
  --muted:#9aa8c5;
  --neon1:#11fff0;
  --neon2:#ff3dfd;
  --neon3:#00c4ff;
  --accent:#00fff2;
  --radius:14px;
  --max:1200px;
}

/* GENERAL */
* { box-sizing:border-box; }

body {
  margin:0;
  background:var(--bg);
  font-family:Inter, system-ui, Arial;
  color:#e6f0ff;
  -webkit-font-smoothing: antialiased;
  line-height:1.5;
}

/* LAYOUT */
.container {
  max-width:var(--max);
  margin:0 auto;
  padding:28px;
}

/* NAV */
.nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 28px;
  position:sticky;
  top:0;
  background:rgba(5,7,13,0.75);
  backdrop-filter:blur(12px);
  z-index:50;
}
.brand img {
  height:46px;
  filter:drop-shadow(0 0 6px rgba(0,255,240,0.4));
}
.menu {
  display:flex;
  gap:20px;
  list-style:none;
}
.menu a {
  text-decoration:none;
  color:var(--muted);
  font-weight:600;
  transition:.25s;
}
.menu a:hover {
  color:var(--neon1);
  text-shadow:0 0 6px rgba(0,255,240,0.4);
}

/* BUTTONS */
.btn-primary {
  background:linear-gradient(90deg,var(--neon1),var(--neon2));
  color:#000;
  padding:12px 18px;
  border-radius:var(--radius);
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
  border:0;
  box-shadow:0 0 12px rgba(0,255,240,0.25);
  transition:.22s;
  position:relative;
  overflow:hidden;
}
.btn-primary:hover {
  transform:translateY(-3px);
  box-shadow:0 0 24px rgba(0,255,240,0.45);
}
.btn-primary:active {
  transform:translateY(1px) scale(.998);
  box-shadow:0 0 10px rgba(0,255,240,0.08) inset;
}
.btn-ghost {
  padding:12px 18px;
  color:var(--neon1);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:var(--radius);
  text-decoration:none;
}

/* RIPPLE EFFECT */
.ripple {
  position:absolute;
  border-radius:50%;
  transform:scale(0);
  animation:rippleAnim .6s linear;
  background:rgba(255,255,255,0.18);
  pointer-events:none;
}
@keyframes rippleAnim {
  to { transform:scale(6); opacity:0; }
}

/* HERO */
.hero {
  padding:70px 0 40px;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,255,240,0.08), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(255,61,253,0.06), transparent 50%);
  position:relative;
  overflow:visible;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-30% -10% auto -10%;
  height:160%;
  background:
    radial-gradient(600px 300px at 10% 20%, rgba(17,255,240,0.06), transparent 8%),
    radial-gradient(400px 200px at 90% 80%, rgba(255,61,253,0.05), transparent 10%);
  animation:gradientShift 12s linear infinite;
  mix-blend-mode:screen;
  z-index:0;
  border-radius:30%;
}
@keyframes gradientShift {
  0% { transform:translateX(-10%) translateY(0) rotate(0); }
  50% { transform:translateX(8%) translateY(-4%) rotate(3deg); }
  100% { transform:translateX(-10%) translateY(0) rotate(0); }
}

.hero-grid {
  display:grid;
  grid-template-columns:1fr 520px;
  gap:40px;
  align-items:center;
}
.hero .container { z-index:5; position:relative; }

.hero-left h1 {
  font-size:48px;
  font-weight:800;
  text-shadow:0 0 18px rgba(0,255,240,0.15);
}
.hero-left p {
  color:var(--muted);
  max-width:620px;
  font-size:18px;
}

.value-list {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}
.value-list li {
  padding:8px 12px;
  border-radius:10px;
  background:rgba(0,255,240,0.08);
  border:1px solid rgba(0,255,240,0.18);
  color:var(--neon1);
  text-shadow:0 0 8px rgba(0,255,240,0.25);
  font-weight:700;
}

/* DEMO FRAME */
.demo-frame {
  background:var(--panel);
  border-radius:20px;
  height:440px;
  border:1px solid rgba(0,255,240,0.08);
  box-shadow:0 0 22px rgba(0,255,240,0.25);
  position:relative;
  overflow:hidden;
}
.demo-frame iframe {
  width:100%;
  height:100%;
  border:0;
}
.demo-caption {
  position:absolute;
  bottom:14px;
  left:16px; right:16px;
  padding:10px 14px;
  background:rgba(0,0,0,0.42);
  backdrop-filter:blur(6px);
  border-radius:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:13px;
  color:var(--neon3);
}

/* CARDS */
.cards {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:24px;
}
.card {
  background:var(--panel);
  border:1px solid rgba(0,255,240,0.08);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 0 14px rgba(0,255,240,0.12);
  transition:.28s;
}
.card:hover {
  transform:translateY(-14px) scale(1.01);
  box-shadow:0 40px 80px rgba(3,22,22,0.32);
}
.card img { width:100%; height:200px; object-fit:cover; }

/* FEATURES */
.features {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.feature {
  background:var(--panel);
  padding:18px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.06);
}

/* CTA STRIP */
.cta-strip {
  background:linear-gradient(90deg,#071d26,#002833);
  padding:30px;
  text-align:center;
  border-radius:16px;
  margin-top:28px;
  box-shadow:0 0 22px rgba(0,255,240,0.15);
}

/* CONTACT */
.contact form {
  background:var(--panel);
  padding:20px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.06);
}
.form-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.form-grid input,
.form-grid textarea {
  background:#0e1622;
  border:1px solid rgba(255,255,255,0.08);
  padding:14px;
  border-radius:12px;
  color:#dff6ff;
}

/* FOOTER */
.site-footer {
  background:#02070b;
  border-top:1px solid rgba(255,255,255,0.04);
  margin-top:34px;
  padding:32px;
  border-radius:12px 12px 0 0;
}
.site-footer img {
  height:40px;
  filter:brightness(0) invert(1) drop-shadow(0 0 6px rgba(0,255,240,0.3));
}
.bottom {
  text-align:center;
  color:var(--muted);
  margin-top:16px;
  font-size:13px;
}

/* ============================================================
   =============  FIXED HORIZONTAL STATS ROW  =================
   ============================================================ */

.stats-strip { padding:28px 0; margin-top:22px; }

.stats-row {
  display:flex !important;
  flex-wrap:wrap !important;
  gap:20px !important;
  justify-content:space-between !important;
  align-items:stretch !important;
}

.stat-card {
  flex:1 1 calc(33.333% - 20px) !important;
  min-width:220px;
  display:flex;
  gap:16px;
  align-items:center;
  padding:16px 18px;
  border-radius:14px;
  background:linear-gradient(180deg,rgba(255,255,255,0.02),rgba(0,0,0,0.02));
  border:1px solid rgba(0,255,240,0.06);
  box-shadow:0 8px 28px rgba(0,255,240,0.04);
  transition:.22s;
}
.stat-card:hover {
  transform:translateY(-6px);
  box-shadow:0 26px 60px rgba(0,255,240,0.06);
}

.stat-thumb {
  width:72px;
  height:72px;
  border-radius:12px;
  background:linear-gradient(180deg,rgba(0,255,240,0.04),rgba(255,61,253,0.02));
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.stat-thumb img {
  width:72px;
  height:72px;
  object-fit:cover;
}

.stat-main { flex:1; }
.stat-number {
  font-size:34px;
  font-weight:800;
  color:var(--neon1);
  text-shadow:0 0 12px rgba(0,255,240,0.10);
}
.stat-title { margin-top:6px; font-size:14px; }
.stat-sub { display:block; font-size:12px; color:var(--muted); }

/* RATING STARS */
.stars { margin-top:8px; font-size:16px; color:rgba(255,230,255,0.15); }
.star.on { color:var(--neon2); text-shadow:0 0 10px rgba(255,61,253,0.12); }


/* stat number + plus */
.stat-number {
  display:flex;
  align-items:baseline;   /* aligns + with number baseline */
  gap:6px;
}

.stat-number .num {
  font-size:34px;
  font-weight:800;
  color:var(--neon1);
  line-height:1;
}

.stat-number .plus {
  font-size:34px;
  font-weight:800;
  color:var(--neon1);
  line-height:1;
  margin-left:2px;
  display:inline-block;
}

/* rating number slightly different */
.rating-number .num { font-size:36px; }

/* small-screen adjustments */
@media (max-width:1000px){
  .stat-number .num, .stat-number .plus { font-size:30px; }
}


/* plus visual and pop animation */
.stat-number .plus {
  font-size:34px;
  font-weight:800;
  color:var(--neon1);
  line-height:1;
  margin-left:6px;
  display:inline-block;
  will-change: transform, filter, opacity;
  transform-origin: 50% 50%;
}

/* the pop class — scale + glow */
.stat-number .plus.pop {
  animation: plusPop 420ms cubic-bezier(.2,.9,.2,1) forwards;
}

/* keyframes for pop */
@keyframes plusPop {
  0% {
    transform: scale(.9);
    filter: drop-shadow(0 0 0 rgba(0,255,240,0));
    opacity: 0.95;
  }
  35% {
    transform: scale(1.36);
    filter: drop-shadow(0 0 20px rgba(0,255,240,0.55));
    opacity: 1;
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px rgba(0,255,240,0.28));
    opacity: 1;
  }
}

/* IMPROVED STYLING FOR #WHY (Services / Features) */
#why { padding: 56px 0; }
#why .container { max-width: 1100px; }

/* Section heading */
#why h2 {
  font-size: 30px;
  margin: 0 0 10px;
  color: #e8fbff;
  text-shadow: 0 0 10px rgba(0,255,240,0.06);
  font-weight:800;
}

/* lead paragraph */
#why .lead {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 22px;
  max-width: 780px;
}

/* Replace plain list with card grid */
#why .features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 14px;
}

/* each feature as a card */
#why .feature {
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.02));
  border: 1px solid rgba(0,255,240,0.04);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,255,240,0.02);
  transition: transform .24s cubic-bezier(.2,.9,.2,1), box-shadow .24s;
  min-height:120px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

/* hover lift */
#why .feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 36px 70px rgba(0,255,240,0.06);
}

/* feature heading & text */
#why .feature h4 {
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--neon1);
  font-weight:800;
}
#why .feature p, #why .feature ul, #why .feature li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* nicer lists */
#why .feature ul {
  padding-left: 20px;
  margin-top: 8px;
}
#why .feature li {
  margin-bottom: 8px;
  list-style: disc;
}

/* small inline icon marker (optional) */
#why .feature::before {
  content: "";
  display:block;
  width:6px; height:6px;
  border-radius:50%;
  background: linear-gradient(180deg,var(--neon1),var(--neon2));
  opacity:0.06;
  margin-bottom:12px;
}


/* ===== Improved SERVICES UI ===== */
#services-deep { padding:56px 0; }
#services-deep .container { max-width:1180px; }

/* header + lead */
#services-deep h2 {
  font-size:32px;
  margin: 0 0 8px;
  color:#e8fbff;
  font-weight:800;
  text-shadow: 0 0 12px rgba(0,255,240,0.06);
}
#services-deep .lead {
  color:var(--muted);
  font-size:16px;
  margin-bottom:20px;
  max-width:760px;
}

/* grid layout */
.why-grid {
  display:grid;
  grid-template-columns: 320px 1fr;
  gap:28px;
  align-items:start;
}
.why-intro p { color:var(--muted); line-height:1.6; margin:0 0 14px; }
.why-intro .btn-primary { padding:10px 14px; font-size:15px; }

/* cards grid */
.why-cards {
  display:grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap:18px;
}

/* feature card */
#services-deep .feature {
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.02));
  border: 1px solid rgba(0,255,240,0.04);
  padding:14px;
  border-radius:12px;
  box-shadow:0 12px 30px rgba(0,255,240,0.02);
  transition: transform .22s, box-shadow .22s;
  min-height:120px;
  display:flex;
  flex-direction:column;
}
#services-deep .feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 36px 70px rgba(0,255,240,0.06);
}

/* icon + title */
.feature-head { display:flex; gap:12px; align-items:center; }
.feature-icon {
  width:48px; height:48px; border-radius:10px;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  background:linear-gradient(180deg, rgba(0,255,240,0.03), rgba(255,61,253,0.02));
  border:1px solid rgba(255,255,255,0.02);
}
.feature-icon img { width:44px; height:44px; object-fit:cover; display:block; }

.feature h4 { margin:0; font-size:16px; color:var(--neon1); font-weight:800; }

/* content */
.feature ul { margin:10px 0 0 18px; padding:0; color:var(--muted); font-size:14px; line-height:1.6; }
.feature li { margin-bottom:8px; }

/* responsive */
@media (max-width:980px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr; }
  .why-intro { order: -1; margin-bottom:14px; }
  .feature { min-height:auto; }
  .feature-icon { width:44px; height:44px; }
}

/* entrance animation */
#services-deep .feature { opacity:0; transform: translateY(10px); transition: transform .42s cubic-bezier(.2,.9,.2,1), opacity .42s; }
#services-deep .feature.in-view { opacity:1; transform: translateY(0); }

