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

:root {
  --bg: #06111f;
  --bg-2: #091a30;
  --card: rgba(10, 20, 38, 0.74);
  --card-2: rgba(10, 23, 43, 0.92);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(98, 208, 255, 0.28);
  --text: #f3f8ff;
  --muted: #9ab0c8;
  --accent: #64d3ff;
  --accent-2: #2b8cff;
  --accent-3: #7a7dff;
  --warn: #ffcf66;
  --warn-bg: rgba(255, 207, 102, 0.1);
  --shadow: 0 25px 80px rgba(19, 119, 226, 0.18);
  --radius: 28px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #05101d 0%, #071626 50%, #05111f 100%);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

body::selection { background: rgba(100, 211, 255, 0.25); }
img { max-width: 100%; display: block; }

.bg-orb {
  position: fixed; border-radius: 50%; filter: blur(90px); z-index: 0; pointer-events: none;
}
.orb-1 {
  width: 420px; height: 420px; background: rgba(70, 182, 255, 0.18); top: -120px; left: 8%;
  animation: drift 9s ease-in-out infinite;
}
.orb-2 {
  width: 360px; height: 360px; background: rgba(85, 89, 255, 0.18); right: -80px; top: 30%;
  animation: drift 11s ease-in-out infinite reverse;
}
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent 80%);
  pointer-events: none; z-index: 0;
}

.topbar, main, .footer { position: relative; z-index: 1; }

.topbar {
  width: min(1240px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: rgba(4, 12, 23, 0.66);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  position: sticky; top: 12px;
  box-shadow: var(--shadow);
}

.brand {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text);
}
.brand-logo {
  width: 52px; height: 52px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(100,211,255,0.22), rgba(43,140,255,0.18));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  font-size: 1.2rem; color: var(--accent);
}
.brand h1 { font-size: 1.05rem; font-weight: 800; }
.brand span {
  color: var(--muted); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.16em;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  text-decoration: none; color: var(--muted); font-weight: 500; transition: 0.25s ease;
}
.nav a:hover { color: var(--accent); }

main { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }

.hero {
  min-height: 95vh; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center;
  gap: 50px; padding: 56px 0 40px;
}

.badge, .section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(100, 211, 255, 0.08);
  color: var(--accent); padding: 10px 16px; border-radius: 999px;
  font-size: 0.84rem; font-weight: 600;
}

.hero h2 {
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  line-height: 0.98; font-weight: 900; margin-top: 22px; letter-spacing: -0.04em;
}
.hero h2 .gradient-line {
  display: block;
  background: linear-gradient(90deg, #6fe6ff 0%, #54b8ff 42%, #94a2ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h2 span { display: block; }

.hero p {
  max-width: 720px; margin-top: 22px; color: var(--muted); font-size: 1.06rem; line-height: 1.9;
}

.hero-actions, .download-actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px;
}

.btn {
  border: 1px solid transparent; text-decoration: none; padding: 14px 22px; border-radius: 18px;
  font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #03121d; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 18px 45px rgba(43, 140, 255, 0.28);
}
.btn-secondary {
  color: var(--text); border-color: var(--line); background: rgba(255,255,255,0.05);
}
.top-download { white-space: nowrap; }

.stats {
  margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.stat-card, .feature-card, .gallery-card, .dev-box, .download-box, .developer-photo, .developer-text, .window,
.beta-notice, .updater-image-card, .updater-copy {
  box-shadow: var(--shadow);
}
.stat-card {
  border: 1px solid var(--line); background: rgba(255,255,255,0.05); border-radius: 24px; padding: 18px;
}
.stat-card strong { display: block; color: var(--accent); font-size: 1rem; }
.stat-card span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.9rem; }

.hero-preview { position: relative; }

.window {
  background: rgba(8, 16, 30, 0.88); border: 1px solid var(--line); border-radius: 28px;
  padding: 18px; backdrop-filter: blur(18px);
}
.window.small { border-radius: 24px; }
.window-top {
  display: flex; align-items: center; gap: 8px; margin-bottom: 18px;
}
.window-top span { width: 12px; height: 12px; border-radius: 50%; }
.window-top span:nth-child(1) { background: #ff6b7d; }
.window-top span:nth-child(2) { background: #ffbf5a; }
.window-top span:nth-child(3) { background: #34d399; }
.window-top p {
  margin-left: 10px; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}

.hero-main-image-wrap, .updater-image-card {
  border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
}
.hero-main-image {
  width: 100%; height: 100%; min-height: 280px; object-fit: cover;
}
.image-card { overflow: hidden; }
.sub-preview-image {
  width: 100%; height: 210px; object-fit: cover; border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.03);
}
.mini-windows {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px;
}
.floating-card { animation: floaty 6s ease-in-out infinite; }

.section { padding: 100px 0; }
.compact-section { padding-top: 20px; padding-bottom: 20px; }

.beta-notice {
  border: 1px solid rgba(255, 207, 102, 0.22);
  background: linear-gradient(135deg, rgba(255, 207, 102, 0.12), rgba(255,255,255,0.03));
  border-radius: 28px;
  padding: 22px 24px;
  color: #ffe3a2;
  font-size: 1rem;
  line-height: 1.8;
}
.beta-notice i {
  color: var(--warn);
  margin-right: 10px;
}

.section-head { max-width: 880px; }
.section-head h3, .developer-text h3, .download-box h3, .updater-copy h3 {
  margin-top: 18px; font-size: clamp(2rem, 3.2vw, 3.7rem); line-height: 1.05; letter-spacing: -0.04em;
}
.section-head p, .feature-card p, .gallery-card p, .developer-text p, .download-box p, .developer-photo span, .dev-box span,
.footer p, .updater-copy p, .updater-point span {
  color: var(--muted); line-height: 1.9;
}
.section-head p { margin-top: 18px; font-size: 1.04rem; }

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px;
}
.feature-card, .gallery-card, .developer-photo, .developer-text, .download-box, .updater-copy, .updater-image-card {
  border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(18px); border-radius: var(--radius);
}
.feature-card {
  padding: 26px; transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease; transform-style: preserve-3d;
}
.feature-card:hover { border-color: var(--line-strong); background: rgba(13, 27, 49, 0.88); }
.feature-card i {
  width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; border-radius: 18px;
  background: rgba(100, 211, 255, 0.1); border: 1px solid var(--line-strong); color: var(--accent); font-size: 1.25rem;
}
.feature-card h4, .gallery-card h4 { margin-top: 18px; font-size: 1.28rem; }
.feature-card p, .gallery-card p { margin-top: 12px; }

.updater-layout {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 22px;
  align-items: stretch;
}
.updater-copy {
  padding: 28px;
}
.updater-image-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}
.updater-points {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.updater-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.updater-point i {
  color: var(--accent);
  margin-top: 4px;
}
.updater-point strong {
  display: block;
  color: var(--text);
}

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px;
}
.gallery-card { padding: 20px; overflow: hidden; position: relative; }
.preview-header {
  display: inline-flex; padding: 8px 14px; border-radius: 999px; background: rgba(100,211,255,0.1);
  border: 1px solid var(--line-strong); color: var(--accent); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em;
}
.preview-screen {
  height: 240px; border-radius: 24px; margin: 18px 0 8px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.03);
}
.preview-screen img { width: 100%; height: 100%; object-fit: cover; }

.developer-layout {
  display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 22px;
}
.developer-photo, .developer-text { padding: 28px; }
.developer-photo {
  display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 420px; text-align: center;
}
.photo-frame {
  width: min(100%, 340px); aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.04); box-shadow: 0 0 0 16px rgba(100, 211, 255, 0.04);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.developer-photo span { margin-top: 24px; }
.developer-text p { margin-top: 14px; font-size: 1rem; }

.developer-highlights {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px;
}
.dev-box {
  border: 1px solid var(--line); background: rgba(255,255,255,0.04); padding: 18px; border-radius: 22px;
}
.dev-box strong { display: block; font-size: 1rem; color: var(--text); }
.dev-box span { display: block; margin-top: 6px; font-size: 0.92rem; }

.download-box {
  padding: 34px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 26px; align-items: center;
  background: linear-gradient(135deg, rgba(100,211,255,0.08), rgba(43,140,255,0.08), rgba(255,255,255,0.03));
}
.big-btn { width: 100%; }

.footer {
  width: min(1240px, calc(100% - 32px)); margin: 0 auto 24px; padding: 26px 8px 10px; display: flex;
  justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line);
}
.footer h4 { font-size: 1.08rem; color: var(--text); }

.socials { display: flex; align-items: center; gap: 12px; }
.socials a {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: 18px; color: var(--text); text-decoration: none; background: rgba(255,255,255,0.05);
  border: 1px solid var(--line); animation: bounceIcon 2.4s ease-in-out infinite; transition: 0.25s ease;
}
.socials a:nth-child(2) { animation-delay: 0.15s; }
.socials a:nth-child(3) { animation-delay: 0.3s; }
.socials a:nth-child(4) { animation-delay: 0.45s; }
.socials a:hover {
  transform: translateY(-6px) scale(1.05); color: var(--accent); border-color: var(--line-strong); background: rgba(100,211,255,0.1);
}

.shine-card, .gallery-card { position: relative; }
.shine-card::after, .gallery-card::after {
  content: ''; position: absolute; top: -120%; left: -50%; width: 40%; height: 260%;
  transform: rotate(20deg); background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
  animation: shine 8s linear infinite; pointer-events: none;
}

.reveal {
  opacity: 0; transform: translateY(34px); transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { 0%, 100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(18px) translateX(10px); } }
@keyframes bounceIcon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes shine { 0% { left: -60%; } 100% { left: 150%; } }

@media (max-width: 1100px) {
  .hero, .developer-layout, .download-box, .updater-layout { grid-template-columns: 1fr; }
  .feature-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats, .developer-highlights { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}

@media (max-width: 760px) {
  .topbar { width: calc(100% - 20px); margin-top: 10px; padding: 14px; }
  main, .footer { width: calc(100% - 20px); }
  .hero { padding-top: 34px; min-height: auto; gap: 28px; }
  .hero h2 { line-height: 1.02; }
  .feature-grid, .gallery-grid, .stats, .developer-highlights, .mini-windows { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .download-actions, .hero-actions { flex-direction: column; }
  .btn, .top-download { width: 100%; }
  .top-download { display: none; }
  .footer { flex-direction: column; align-items: flex-start; }
  .developer-photo { min-height: 320px; }
  .hero-main-image, .sub-preview-image, .updater-image-card img { height: auto; min-height: unset; }
}


.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(98, 208, 255, 0.28);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-logo {
  border-radius: 50%;
}

.legal-footer a {
  color: var(--accent);
  text-decoration: none;
}

.legal-footer {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  color: var(--muted);
  padding: 12px 0 4px;
}

@media (max-width: 768px) {
  .bg-orb,
  .bg-grid,
  .tilt-card,
  .shine-card {
    display: none !important;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}
