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

:root {
  --bg: #050a18;
  --purple: #9333ea;
  --cyan: #06b6d4;
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(147,51,234,0.3);
  --text: #f1f5f9;
  --muted: #94a3b8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image: linear-gradient(rgba(147,51,234,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(147,51,234,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg);
  background-image: linear-gradient(rgba(147,51,234,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(147,51,234,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  pointer-events: none;
}

#particles {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

main, nav, footer, section {
  position: relative;
  z-index: 1;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  transition: all 0.3s ease;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav.scrolled {
  background: rgba(5, 10, 24, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(147, 51, 234, 0.2);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.lang-toggle {
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid var(--card-border);
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  background: rgba(147, 51, 234, 0.3);
  border-color: var(--purple);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text);
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

body.nav-open .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

body.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}

body.nav-open .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

body.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(5, 10, 24, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem;
  gap: 1rem;
  justify-content: flex-start;
}

.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(5,10,24,0.55) 0%,
    rgba(5,10,24,0.65) 60%,
    rgba(5,10,24,0.85) 100%);
  z-index: 1;
}

/* Smooth gradient fade that bleeds hero into the next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  z-index: 3;
  max-width: 860px;
  padding: 2rem;
}

.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: 4.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* First line gets the brand gradient tint */
.hero h1 .hero-line1 {
  display: block;
  background: linear-gradient(135deg, #ffffff 30%, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Second line is pure white */
.hero h1 .hero-line2 {
  display: block;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  opacity: 0.95;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(147, 51, 234, 0.6);
  transform: translateY(-2px);
}

section {
  padding: 5rem 2rem;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(147, 51, 234, 0.3);
  border: 1px solid var(--card-border);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  animation: floatY 6s ease-in-out infinite;
}

.about-content h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.products-section {
  max-width: 1200px;
  margin: 0 auto;
}

.products-section h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(147, 51, 234, 0.3);
  border-color: var(--purple);
}

.product-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  overflow: hidden;
}

.product-card-content {
  padding: 1.5rem;
}

.product-card-content h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.product-card-content p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.product-card-link {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.product-card-link:hover {
  color: var(--purple);
  transform: translateX(4px);
}

.mission {
  max-width: 1200px;
  margin: 0 auto;
  background-size: cover;
  background-position: center;
  padding: 5rem 2rem;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 10, 24, 0.7), rgba(5, 10, 24, 0.5));
  z-index: 0;
}

.mission-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.mission h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mission p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.contact {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-cards {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.contact-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-family: 'Sora', sans-serif;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.contact-cta {
  margin-top: 2rem;
}

footer {
  background: rgba(5, 10, 24, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--card-border);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.video-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 10, 24, 0.6), rgba(5, 10, 24, 0.4));
  z-index: 1;
}

.video-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 2rem;
}

.back-link {
  display: inline-block;
  color: var(--cyan);
  text-decoration: none;
  margin-bottom: 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-link:hover {
  color: var(--purple);
  transform: translateX(-4px);
}

.video-content h1 {
  font-family: 'Sora', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.video-content p {
  font-size: 1.3rem;
  color: var(--muted);
  line-height: 1.6;
}

.description-section {
  max-width: 1000px;
  margin: -4rem auto 4rem;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.description-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(147, 51, 234, 0.2);
}

.section-label {
  display: inline-block;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.description-card h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.description-card p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.gallery-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.gallery-section h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  margin-top: 1rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 10, 24, 0.95);
  backdrop-filter: blur(10px);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 201;
}

.lightbox-close:hover {
  color: var(--cyan);
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(147, 51, 234, 0.3);
  border: 1px solid var(--card-border);
  color: var(--text);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 201;
}

.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--purple);
  border-color: var(--purple);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .hero p {
    font-size: 1.1rem;
  }

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

  .about-content h2 {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cards {
    flex-direction: column;
  }

  .video-content h1 {
    font-size: 2.5rem;
  }

  .lightbox-prev, .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Language toggle active state */
.lang-active {
  color: var(--cyan);
  font-weight: 700;
}

/* Secondary button */
.btn-secondary {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(147,51,234,0.5);
  color: var(--text);
  transition: border-color 0.3s, background 0.3s;
  margin-top: 0.5rem;
}
.btn-secondary:hover {
  border-color: var(--purple);
  background: rgba(147,51,234,0.1);
}

/* Contact sub-headline */
.contact-sub {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact address strip */
.contact-address {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 2.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(147,51,234,0.15);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: left;
}

/* =============================================
   KEYFRAME ANIMATIONS
   ============================================= */

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

@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50%       { opacity: 0.9;  transform: scale(1.2); }
}

@keyframes shimmerBtn {
  0%   { left: -100%; }
  100% { left: 200%;  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0) translateX(-50%); opacity: 0.6; }
  50%       { transform: translateY(8px) translateX(-50%); opacity: 1; }
}

/* Hero animated entry */
.hero-content h1  { animation: fadeUp 0.9s ease both; animation-delay: 0.2s; }
.hero-content p   { animation: fadeUp 0.9s ease both; animation-delay: 0.45s; }
.hero-content .btn-primary { animation: fadeUp 0.9s ease both; animation-delay: 0.65s; }

/* Scroll-down indicator */
.scroll-indicator {
  position: absolute;
  bottom: 180px;    /* sits above the hero::after fade */
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: scrollBounce 2s ease-in-out infinite;
  cursor: pointer;
  text-decoration: none;
}

.scroll-indicator span {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
}

.scroll-indicator span:nth-child(2) {
  opacity: 0.4;
  margin-top: -12px;
}

/* CSS sparkle dots sprinkled across hero */
.hero-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.hero-sparkles i {
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
  animation: twinkle var(--dur, 3s) ease-in-out var(--delay, 0s) infinite;
}

/* Improved .btn-primary shimmer — always running */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: shimmerBtn 2.8s ease-in-out infinite;
}

/* Product card image zoom on hover */
.product-card-image {
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-image {
  transform: scale(1.06);
}

/* Section label pill */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.3);
  border-radius: 99px;
  padding: 0.3rem 1rem;
  margin-bottom: 1rem;
}

/* About section — subtle glow pulse on image border */
.about-image {
  animation: borderPulse 4s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(147,51,234,0.3); }
  50%       { box-shadow: 0 0 60px rgba(147,51,234,0.55), 0 0 100px rgba(6,182,212,0.15); }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .about-content h2 {
    font-size: 1.5rem;
  }

  .description-card {
    padding: 1.5rem;
  }

  .video-content h1 {
    font-size: 1.8rem;
  }

  .video-content p {
    font-size: 1rem;
  }
}
