/* ================== GLOBAL RESET ================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
}

body {
  min-height: 100vh;
  background: #020617;
  color: #e5e7eb;
  position: relative;
}

/* ================== BACKGROUND ================== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(56,189,248,.25), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(37,99,235,.22), transparent 50%);
  animation: heroColors 18s ease-in-out infinite alternate;
  z-index: -1;
  pointer-events: none;
}

@keyframes heroColors {
  0% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(80deg); }
  100% { filter: hue-rotate(160deg); }
}

/* ================== LANGUAGE ================== */
.lang {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.lang a {
  margin-right: 8px;
  color: #fff;
  text-decoration: none;
  opacity: .7;
  font-weight: 600;
}
.lang a:hover { opacity: 1 }

/* ================== SAFE GLOBAL ================== */
section,
.hero,
.service,
.footer {
  width: 100%;
  overflow-x: hidden;
}

/* ================== HERO ================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 60px;
  padding: 120px clamp(16px, 5vw, 8%) 80px;
}

.hero-text h1 {
  font-size: clamp(26px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(90deg,#fff,#38bdf8,#fff);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGlow 6s ease infinite;
}

@keyframes textGlow {
  0% { background-position: 0% }
  50% { background-position: 100% }
  100% { background-position: 0% }
}

.hero-text p {
  margin-top: 22px;
  color: #94a3b8;
  line-height: 1.8;
  max-width: 520px;
}

/* ================== BUTTONS ================== */
.actions {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  padding: 16px 36px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: .3s;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.primary {
  background: linear-gradient(135deg,#2563eb,#38bdf8);
}

.secondary {
  border: 1px solid rgba(255,255,255,.2);
}

.btn:hover {
  transform: translateY(-2px);
}

/* ================== HERO MOCKUP ================== */
.hero-mockup {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-mockup img {
  width: 100%;
  max-width: 520px;
  margin: auto;
  display: block;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  padding: 20px;
}

/* ================== GLOW (SAFE) ================== */
.glow,
.media-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,#38bdf8,transparent 70%);
  filter: blur(90px);
  opacity: .35;
  pointer-events: none;
}

/* ================== SERVICES ================== */
.service {
  padding: 140px clamp(16px, 5vw, 8%);
}

.service.alt {
  background: rgba(255,255,255,.03);
}

.service-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 80px;
  align-items: center;
}

.service-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(56,189,248,.15);
  color: #38bdf8;
  font-size: 13px;
}

.service-text h2 {
  font-size: clamp(22px, 4vw, 46px);
  margin-bottom: 22px;
}

.service-text p {
  font-size: clamp(14px, 2.5vw, 18px);
  color: #94a3b8;
  line-height: 1.8;
  max-width: 520px;
}

/* ================== MEDIA ================== */
.service-media {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  max-width: 520px;
  margin: auto;
  display: block;
  border-radius: 26px;
  background: rgba(255,255,255,.08);
  padding: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

/* ================== FOOTER ================== */
.footer {
  background: #020617;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 80px clamp(16px, 5vw, 8%) 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.footer-brand h3 {
  font-size: 26px;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 420px;
  color: #94a3b8;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  justify-content: flex-end;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  opacity: .8;
}
.footer-links a:hover {
  opacity: 1;
  color: #38bdf8;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: 14px;
  color: #94a3b8;
}

/* ================== MOBILE ================== */
@media (max-width: 900px) {

  .hero {
    padding-top: 80px;
    text-align: center;
  }

  .actions {
    justify-content: center;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .glow,
  .media-glow {
    display: none;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ================== SCROLLBAR ================== */
::-webkit-scrollbar { width: 0; height: 0; }
html { scrollbar-width: none; }
body { -ms-overflow-style: none; }

/* ===== TOP BAR ===== */
.top-bar{
  position:fixed;
  top:16px;
  right:20px;
  display:flex;
  gap:16px;
  align-items:center;
  z-index:999;
}

/* LANG */
.lang a{
  color:#94a3b8;
  margin:0 4px;
  font-weight:600;
  text-decoration:none;
}
.lang a:hover{
  color:#fff;
}

/* DOWNLOAD BUTTONS */
.downloads{
  display:flex;
  gap:10px;
}

.dl{
  padding:6px 12px;
  border-radius:10px;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  border:1px solid #1e293b;
  background:#020617;
  color:#e5e7eb;
  transition:.25s;
}

.dl:hover{
  transform:translateY(-2px);
}

/* Android */
.dl.android{
  border-color:#22c55e;
  color:#22c55e;
}

/* Windows */
.dl.windows{
  border-color:#38bdf8;
  color:#38bdf8;
}

/* Mobile fix */
@media (max-width:768px){
  .top-bar{
    right:10px;
    top:10px;
    gap:10px;
  }
  .dl{
    padding:5px 10px;
    font-size:12px;
  }
}

