:root {
  --primary-color: #70a1ff;
  --secondary-color: #5352ed;
  --accent-color: #00d2d3;
  --bg-color: #0a0e27;
  /* Deep blue/black */
  --text-color: #f1f2f6;
  --text-muted: #ced6e0;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.05);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

#star-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 14, 39, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: var(--glass-border);
  padding: 15px 0;
  transition: background 0.3s ease;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 42px;
  width: auto;
}

.logo h1 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: white;
}

.nav-box {
  display: flex;
  align-items: center;
  gap: 35px;
}

nav ul {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: white;
}

.language-switcher {
  display: flex;
  gap: 12px;
}

.lang-btn {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(112, 161, 255, 0.4);
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h2 {
  font-size: 4rem;
  margin-bottom: 25px;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, #a29bfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  /* For animation */
  transform: translateY(30px);
}

.hero-content p {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 50px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  /* For animation */
  transform: translateY(30px);
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  /* For animation */
  transform: translateY(30px);
}

.primary-btn {
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  color: white;
  box-shadow: 0 10px 30px rgba(83, 82, 237, 0.3);
}

.primary-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(83, 82, 237, 0.5);
}

/* Section Common */
section {
  padding: 120px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 80px;
  color: white;
  opacity: 0;
  transform: translateY(30px);
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image {
  flex: 1;
  opacity: 0;
  transform: translateX(-50px);
}

.about-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.about-text {
  flex: 1;
  opacity: 0;
  transform: translateX(50px);
}

.about-text p {
  margin-bottom: 25px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 40px 30px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
}

.product-card:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-image {
  text-align: center;
  margin-bottom: 30px;
}

.product-image img {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); */
  transition: transform 0.3s ease;
  box-shadow: 0 0 20px rgba(66, 153, 225, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: white;
  text-align: center;
}

.product-info p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 0.95rem;
  /* text-align: center; */
  line-height: 1.7;
}

.app-links {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.app-store,
.google-play {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.app-btn:hover {
  background: white;
  color: #0a0e27;
  transform: translateY(-2px);
}

.privacy-links {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.privacy-links a {
  color: rgba(255, 255, 255, 0.6);
}

.privacy-links a:hover {
  color: white;
}

/* Contact Section */
.contact-content {
  display: flex;
  justify-content: center;
}

.contact-info {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.03);
  padding: 25px 50px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.contact-item:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-item i {
  font-size: 1.4rem;
  color: var(--primary-color);
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.4);
  padding: 80px 0 30px;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo img {
  height: 35px;
  opacity: 0.8;
}

.footer-logo p {
  color: var(--text-muted);
  font-weight: 500;
}

.footer-links ul {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
}

/* Animation Classes */
.animate-in {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-in-delay-1 {
  animation-delay: 0.1s;
}

.animate-in-delay-2 {
  animation-delay: 0.2s;
}

.animate-in-delay-3 {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2.8rem;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image,
  .about-text {
    transform: translateY(30px);
    /* Reset X transform for mobile */
  }

  .nav-box {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-box.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .menu-toggle {
    display: block;
    z-index: 1002;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-links ul {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}