* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --primary-dark: #0a0a0a;
  --primary-purple: #4a1e6e;
  --accent-blue: #3a5fc9;
  --text-light: #f8f8f8;
  --text-muted: #cccccc;
  --section-spacing: 80px;
  --container-width: 1200px;
}

body {
  color: var(--text-light);
  background: var(--primary-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.background-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./photo-1604654894610-df63bc536371.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    rgba(10, 10, 10, 0.85),
    rgba(74, 30, 110, 0.8)
  );
}

/* Header styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.logo-icon {
  color: var(--accent-blue);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 17px;
  transition: color 0.3s;
  padding: 5px 0;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent-blue);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Main content */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.hero-section {
  padding-top: 180px;
  padding-bottom: var(--section-spacing);
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 40px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--primary-purple),
    var(--accent-blue)
  );
  border-radius: 2px;
}

/* Content sections */
.content-section {
  padding: var(--section-spacing) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
}

.content-section.reverse {
  flex-direction: row-reverse;
}

.text-content {
  flex: 1;
  min-width: 300px;
}

.text-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--accent-blue);
}

.text-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 25px;
  color: var(--text-light);
}

.image-container {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-screenshot {
  width: 100%;
  max-width: 300px;
  height: 675px;
  background: linear-gradient(
    135deg,
    rgba(58, 95, 201, 0.2),
    rgba(74, 30, 110, 0.3)
  );
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-screenshot::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 25px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 0 0 10px 10px;
  z-index: 1;
}

.app-screen-content {
  position: absolute;
  top: 40px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: #121212;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.screen-header {
  background: linear-gradient(
    to right,
    var(--primary-purple),
    var(--accent-blue)
  );
  padding: 15px;
  text-align: center;
  font-weight: 600;
}

.screen-body {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.screen-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.item-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    var(--primary-purple),
    var(--accent-blue)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-text {
  flex: 1;
}

.item-text h4 {
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.item-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */
footer {
  background: rgba(10, 10, 10, 0.95);
  padding: 40px 0 20px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-about {
  max-width: 400px;
}

.footer-about p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-contact h3,
.footer-links h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--accent-blue);
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-blue);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .content-section,
  .content-section.reverse {
    flex-direction: column;
  }

  .text-content,
  .image-container {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 140px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 15px;
  }

  .footer-container {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .app-screenshot {
    max-width: 250px;
    height: 562.5px;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
}
