:root {
  --primary: #00c2ff;
  --primary-hover: #00a0d1;
  --gradient: linear-gradient(135deg, #3f2b96, #a8c0ff);
  --text: #f0f0f0;
  --bg-dark: #0d0d1a;
  --bg-light: #1e1e2e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Poppins,'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--bg-dark);
  font-size:20px;
  line-height:26px;
}

/* HEADER */
header {
  position: relative;
  z-index: 10;
  background: transparent;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text);
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

/* BUTTON */
.btn {
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration:none;
}

.btn:hover {
  background: var(--primary-hover);
}

/* HERO */
.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 14rem 2rem 12rem;
  text-align: center;
  background: linear-gradient(270deg, #3f2b96, #a8c0ff, #3f2b96);
  background-size: 600% 600%;
  animation: gradientFlow 12s ease infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.hero h2 {
  font-size: 1.35rem;
  margin-bottom: 2rem;
}

.hero .buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* IMAGE BLOCK */
.img-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 1rem;
  background: var(--bg-light);
}

.img-block img {
  width: 100%;
  max-width: 320px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.img-block img:hover {
  transform: scale(1.05);
}

/* TEXT BLOCK */
.text-block {
  padding: 3rem 2rem;
  background: #232345;
  text-align: center;
}

.text-block p {
  max-width: 720px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e0e0f0;
}

.text-block .btn {
  margin-top: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  header {
    flex-direction: column;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.1rem;
  }

  .img-block img {
    max-width: 90%;
  }
}
