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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #2d2d70, #390d5f 45%, #160d3b 100%);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 15% 20%, rgba(101, 195, 255, 0.5), transparent 35%),
              radial-gradient(circle at 80% 25%, rgba(239, 75, 218, 0.45), transparent 30%),
              radial-gradient(circle at 50% 70%, rgba(75, 236, 255, 0.28), transparent 35%);
  pointer-events: none;
  opacity: 0.85;
}


.navbar {
  background: rgba(10, 10, 20, 0.55);
  backdrop-filter: blur(12px);
  padding: 1rem 1.5rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s, transform 0.3s;
}

.navbar.scrolled {
  background: rgba(5, 5, 15, 0.95);
  transform: translateY(0);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: #fff;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.8rem;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s;
}

.nav-menu a:hover {
  color: #9d76ff;
}

.nav-buttons {
  display: flex;
  gap: 0.8rem;
}

.btn-login, .btn-register,
.btn-primary, .btn-secondary {
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-login, .btn-register {
  padding: 0.45rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.btn-register {
  background: #ffffff;
  color: #222;
}

.btn-login:hover {
  border-color: #ffffff;
}

.btn-register:hover {
  background: rgba(255, 255, 255, 0.9);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 5rem 1.2rem 2rem;
  display: flex;
  align-items: center;
  text-align: left;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(120deg, rgba(10,10,23,0.9), rgba(20,0,50,0.6));
  pointer-events: none;
}

.hero-container {
  z-index: 2;
  margin: 0 auto;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-left h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #25b3ff, #ff2eb0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-left p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 0.85rem 1.9rem;
  border: none;
  background: linear-gradient(140deg, #07a3ff, #a847ff);
  color: #fff;
  box-shadow: 0 12px 22px rgba(7, 163, 255, 0.42);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 28px rgba(7, 163, 255, 0.54);
}

.btn-secondary {
  padding: 0.85rem 1.9rem;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(19, 178, 255, 0.5);
}

.btn-secondary {
  padding: 0.85rem 1.8rem;
  border: 1px solid rgba(255,255,255,0.6);
  background: transparent;
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 350px;
  overflow: hidden;
}

.hero-avatar {
  width: 100%;
  max-width: 420px;
  border-radius: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(0px);
  animation: float-img 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes float-img {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.circle-overlay {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(97, 176, 255, 0.5), rgba(180, 71, 226, 0.25));
  filter: blur(32px);
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-avatar {
    max-width: 320px;
  }
}

.hero-scroller {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.features, .services, .cta, .footer {
  padding: 4rem 1.2rem;
}

.feature-grid,
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
}

.feature-card {
  background: rgba(22, 14, 40, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.32);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.45);
}

.service-card {
  background: rgba(21, 14, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.42);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.feature-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin: 1rem;
}

.feature-card p {
  margin: 0 1rem 1rem;
  color: rgba(255,255,255,0.8);
}

.services-grid {
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
}

.service-card {
  background: rgba(20, 12, 40, 0.7);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s, filter 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  filter: brightness(1.05);
}

.service-card h3 {
  margin-bottom: 0.8rem;
}

.service-card p {
  color: rgba(255,255,255,0.8);
}

.cta {
  background: linear-gradient(135deg, rgba(20, 20, 50, 0.96), rgba(17, 12, 45, 0.96));
  text-align: center;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
}

.cta-text {
  font-size: 1.1rem;
  margin: 1rem auto 1.8rem;
  max-width: 700px;
  color: rgba(255,255,255,0.85);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 1.4rem;
}

.footer-content div {
  background: rgba(14, 11, 29, 0.7);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1.2rem;
}

.footer-content h3 {
  margin-bottom: 0.7rem;
}

.footer-content p {
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.footer {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-left, .hero-right {
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(7, 4, 25, 0.95);
    flex-direction: column;
    padding: 1rem;
    display: none;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 0.65rem 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-buttons {
    display: none;
  }

  .hero-scroller {
    bottom: 1rem;
  }
}


/* Navbar Styling */
.navbar {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #ff006e;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
}

.btn-login, .btn-register {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.85rem;
  font-weight: 600;
}

.btn-login:hover {
  border-color: #fff;
}

.btn-register {
  background: #fff;
  color: #1a1a2e;
  border: none;
}

.btn-register:hover {
  background: rgba(255, 255, 255, 0.9);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  padding: 4rem 2rem;
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-left {
  z-index: 10;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #ff006e, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.read-more {
  display: inline-block;
  color: #ff006e;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}

.read-more:hover {
  color: #ff1493;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary, .btn-secondary {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Right - Glowing Circle */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.glowing-circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #00fff4, #00bfff 40%, #0066ff);
  box-shadow: 0 0 60px rgba(0, 255, 244, 0.5),
              0 0 100px rgba(0, 102, 255, 0.3),
              0 0 140px rgba(255, 0, 150, 0.4);
  filter: blur(40px);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.circle-text {
  position: absolute;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  color: #fff;
  z-index: 10;
}

/* Carousel Dots */
.carousel-dots {
  position: absolute;
  bottom: 150px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: #fff;
  width: 30px;
  border-radius: 6px;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* Hero Footer */
.hero-footer {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    gap: 1rem;
  }

  .nav-menu a {
    font-size: 0.8rem;
  }

  .btn-login, .btn-register {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .glowing-circle {
    width: 250px;
    height: 250px;
  }

  .circle-text {
    font-size: 2rem;
  }

  .carousel-dots {
    bottom: 120px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 60px;
    left: 0;
    flex-direction: column;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }
}
