
:root {
  color-scheme: dark;
  --bg: #0b1020;
  --surface: #121a30;
  --surface-light: #1a2340;
  --border: #293252;
  --text: #f6f5ff;
  --muted: #b1b7d0;
  --purple: #8968ff;
  --purple-light: #b5a3ff;
  --blue: #58b8ff;
  --pink: #ff82c9;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 5px;
}
.Nimizlogo{
    width: 40px;

    top: 3%;
    left: 1%;
    animation-delay: 0.5s;
}

.navbar {
  min-height: 78px;
  padding: 16px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: rgba(11, 16, 32, 0.94);
  border-bottom: 1px solid rgba(181, 163, 255, 0.12);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: 2px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), #6041d9);
  color: white;
  font-size: 1.1rem;
  letter-spacing: 0;
}

nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s;
}

nav a:hover,
.footer-links a:hover {
  color: white;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
  min-height: 600px;
  padding: 80px 10%;
  background:
    radial-gradient(
      ellipse at 78% 45%,
      rgba(108, 70, 220, 0.19),
      transparent 45%
    ),
    radial-gradient(
      ellipse at 10% 5%,
      rgba(49, 107, 204, 0.10),
      transparent 35%
    );
}

.hero-content {
  max-width: 590px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--purple-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2.2px;
}

h1 {
  font-size: clamp(3.6rem, 7vw, 6.2rem);
  font-weight: 850;
  line-height: 0.99;
  letter-spacing: -4px;
  margin-bottom: 26px;
}

h1 span,
.section-heading h2 span,
.download-section h2 span {
  color: var(--purple-light);
}

.hero-description {
  max-width: 490px;
  color: var(--muted);
  font-size: 1.05rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 750;
  text-align: left;
  transition: transform 0.2s, background 0.2s;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  margin-top: 30px;
  background: linear-gradient(135deg, #8b69ff, #6c4de4);
  color: #fff;
  box-shadow: 0 10px 30px rgba(108, 77, 228, 0.23);
}

.button-primary:hover {
  background: linear-gradient(135deg, #9b80ff, #795bed);
}

.button small,
.button strong {
  display: block;
}

.button small {
  font-size: 0.62rem;
  letter-spacing: 1px;
  opacity: 0.9;
}

.button strong {
  font-size: 1rem;
}

.play-symbol {
  font-size: 1.6rem;
}

.helper-text {
  margin-top: 14px;
  color: #858eae;
  font-size: 0.8rem;
}

.hero-art {
  min-height: 390px;
  position: relative;
  display: grid;
  place-items: center;
}

.art-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: rgba(125, 90, 255, 0.25);
  filter: blur(80px);
  border-radius: 50%;
}

.puzzle-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 88px);
  gap: 12px;
  transform: rotate(-7deg);
  padding: 20px;
  border-radius: 25px;
  border: 1px solid rgba(181, 163, 255, 0.24);
  background: rgba(18, 26, 48, 0.83);
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.35);
}

.tile {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  font-size: 2rem;
  font-weight: 800;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.13);
}

.tile-purple {
  color: #fff;
  background: linear-gradient(145deg, #9b7aff, #6542d5);
}

.tile-blue {
  color: #fff;
  background: linear-gradient(145deg, #56c5ff, #3471d8);
}

.tile-pink {
  color: #fff;
  background: linear-gradient(145deg, #ff8acb, #ce50a5);
}

.tile-dark {
  color: var(--purple-light);
  background: #202744;
  border: 1px solid #394365;
}

.floating-badge {
  position: absolute;
  z-index: 1;
  padding: 11px 17px;
  background: #1b2440;
  border: 1px solid #394365;
  border-radius: 12px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 650;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.badge-top {
  top: 30px;
  right: 0;
}

.badge-bottom {
  bottom: 30px;
  left: 0;
}

.section {
  padding: 90px 10%;
}

.section-heading {
  max-width: 650px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading h2,
.about-card h2,
.download-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -1px;
}

.section-heading p,
.about-card p,
.download-section > p {
  margin-top: 15px;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--surface), #101629);
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #5b4b94;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 16px;
  font-size: 1.8rem;
}

.feature-icon.purple {
  background: rgba(137, 104, 255, 0.16);
}

.feature-icon.blue {
  background: rgba(88, 184, 255, 0.14);
}

.feature-icon.pink {
  background: rgba(255, 130, 201, 0.13);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.about-section {
  padding-top: 10px;
}

.about-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 35px;
  padding: 45px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 5% 50%,
      rgba(137, 104, 255, 0.16),
      transparent 45%
    ),
    var(--surface);
}

.about-symbol {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 30px;
  background: linear-gradient(145deg, #9d82ff, #5b3bc7);
  color: white;
  font-size: 3.7rem;
  font-weight: 900;
  box-shadow: 0 15px 35px rgba(108, 77, 228, 0.2);
}

.download-section {
  text-align: center;
  padding-top: 65px;
  padding-bottom: 100px;
  background:
    radial-gradient(
      ellipse at center,
      rgba(108, 77, 228, 0.12),
      transparent 65%
    );
}

.download-section .eyebrow {
  margin-bottom: 12px;
}

.download-section .button {
  text-align: center;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 18px;
  padding: 32px 8%;
  border-top: 1px solid var(--border);
}

.footer > p {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  justify-content: flex-end;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(41, 50, 82, 0.65);
  font-size: 0.8rem !important;
}

@media (max-width: 850px) {
  .hero {
    gap: 30px;
    padding: 70px 6%;
  }

  .puzzle-board {
    grid-template-columns: repeat(3, 65px);
    gap: 8px;
    padding: 14px;
  }

  .tile {
    width: 65px;
    height: 65px;
    font-size: 1.5rem;
    border-radius: 12px;
  }

  .section {
    padding-left: 6%;
    padding-right: 6%;
  }

  .feature-grid {
    gap: 14px;
  }

  .feature-card {
    padding: 20px;
  }
}

@media (max-width: 620px) {
  .navbar {
    padding: 16px 5%;
    gap: 14px;
  }

  .logo {
    font-size: 1rem;
    gap: 7px;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
  }

  nav {
    gap: 13px;
  }

  nav a {
    font-size: 0.78rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 65px 7% 45px;
    gap: 25px;
  }

  h1 {
    font-size: clamp(3.5rem, 16vw, 5rem);
    letter-spacing: -2.5px;
  }

  .hero-art {
    min-height: 325px;
  }

  .puzzle-board {
    transform: rotate(-5deg);
  }

  .badge-top {
    right: 0;
    top: 12px;
  }

  .badge-bottom {
    left: 0;
    bottom: 12px;
  }

  .section {
    padding: 65px 7%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 25px;
  }

  .about-section {
    padding-top: 0;
  }

  .about-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }

  .about-symbol {
    width: 85px;
    height: 85px;
    border-radius: 23px;
    font-size: 2.7rem;
  }

  .download-section {
    padding-top: 45px;
    padding-bottom: 75px;
  }

  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 28px 6%;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .copyright {
    grid-column: auto;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
