/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== COLORS ===== */
:root {
  --red: #D94040;
  --red-light: #E86565;
  --red-soft: #FDEAEA;
  --black: #1A1A1A;
  --dark: #2D2D2D;
  --gray: #6B6B6B;
  --gray-light: #F5F5F5;
  --gray-mid: #E0E0E0;
  --white: #FFFFFF;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-mid);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}
.navbar .logo { display: flex; align-items: center; }
.logo-img { height: 84px; width: auto; }
.footer-logo-img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.3s;
  position: relative;
}
.nav-links a:hover { color: var(--red); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.3s !important;
}
.nav-cta:hover { background: var(--red-light) !important; }
.nav-cta::after { display: none !important; }

/* Mobile menu */
.menu-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 26px; height: 3px; background: var(--black); border-radius: 2px; transition: 0.3s; }

/* ===== HERO ===== */
#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark) 50%, #3a1515 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(217,64,64,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217,64,64,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 2; display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(217,64,64,0.2);
  color: var(--red-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(217,64,64,0.3);
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--red-light); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(217,64,64,0.3); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.3s;
  cursor: pointer;
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; }

/* ===== 3D ATOM ===== */
.atom {
  width: 380px;
  height: 380px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
}

/* Nucleus */
.nucleus {
  width: 60px;
  height: 60px;
  position: relative;
  z-index: 5;
  transform-style: preserve-3d;
  animation: nucleusPulse 3s ease-in-out infinite;
}
.proton, .neutron {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
}
.proton {
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 35% 35%, #ff6b6b, #d94040, #a02020);
  box-shadow: 0 0 15px rgba(217,64,64,0.6), inset 0 -3px 6px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.3);
  transform: translate(-50%, -50%);
}
.proton.p2 { transform: translate(-70%, -20%); }
.proton.p3 { transform: translate(-25%, -75%); }
.neutron {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 35% 35%, #bbb, #888, #555);
  box-shadow: 0 0 10px rgba(150,150,150,0.3), inset 0 -3px 6px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.3);
  transform: translate(-30%, -55%);
}
.neutron.n2 { transform: translate(-65%, -60%); }
.neutron.n3 { transform: translate(-50%, -25%); }
.nucleus-glow {
  position: absolute;
  width: 80px;
  height: 80px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(217,64,64,0.4) 0%, rgba(217,64,64,0.1) 40%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes nucleusPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
}

/* Orbit rings (visual paths) */
.orbit-ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  top: 50%;
  left: 50%;
}
.ring-1 {
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0deg);
}
.ring-2 {
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%) rotateX(70deg) rotateZ(60deg);
}
.ring-3 {
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%) rotateX(70deg) rotateZ(120deg);
}

/* Orbiting electrons */
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
}
.orbit-1 {
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0deg);
  animation: orbit1 3s linear infinite;
}
.orbit-2 {
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%) rotateX(70deg) rotateZ(60deg);
  animation: orbit2 4s linear infinite;
}
.orbit-3 {
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%) rotateX(70deg) rotateZ(120deg);
  animation: orbit3 5s linear infinite;
}
.electron {
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 35% 35%, #fff, #e86565, #d94040);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(217,64,64,0.8), 0 0 40px rgba(217,64,64,0.4), 0 0 60px rgba(217,64,64,0.2);
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
}
/* Electron trail */
.electron::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 4px;
  background: linear-gradient(90deg, rgba(217,64,64,0.5), transparent);
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border-radius: 2px;
}

@keyframes orbit1 {
  from { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0deg) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0deg) rotate(360deg); }
}
@keyframes orbit2 {
  from { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(60deg) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(60deg) rotate(360deg); }
}
@keyframes orbit3 {
  from { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(120deg) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(120deg) rotate(360deg); }
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--white);
  padding: 0;
  margin-top: -50px;
  position: relative;
  z-index: 2;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  overflow: hidden;
}
.stat-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--gray-mid);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 500;
}

/* ===== SECTION COMMON ===== */
section { padding: 100px 0; }
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  background: var(--red-soft);
  color: var(--red);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== ABOUT ===== */
.about { background: var(--gray-light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image {
  background: linear-gradient(135deg, var(--red-soft) 0%, var(--gray-mid) 100%);
  border-radius: 16px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(217,64,64,0.1));
}
.about-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}
.about-content p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.about-features { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--dark);
}
.about-feature .check {
  width: 24px;
  height: 24px;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.product-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--gray-mid);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: var(--red-light);
}
.product-icon {
  width: 72px;
  height: 72px;
  background: var(--red-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: all 0.3s;
}
.product-card:hover .product-icon { background: var(--red); }
.product-card:hover .product-icon span { filter: brightness(10); }
.product-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}
.product-card p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== SERVICES ===== */
.services { background: var(--black); color: var(--white); }
.services .section-tag { background: rgba(217,64,64,0.2); }
.services .section-header h2 { color: var(--white); }
.services .section-header p { color: rgba(255,255,255,0.6); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.3s;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.service-card:hover {
  background: rgba(217,64,64,0.1);
  border-color: rgba(217,64,64,0.3);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(217,64,64,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ===== BRANDS / PARTNERS ===== */
.brands { background: var(--gray-light); }
.brands-track {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0;
}
.brand-item {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray);
  opacity: 0.5;
  transition: opacity 0.3s;
  letter-spacing: 1px;
}
.brand-item:hover { opacity: 1; color: var(--red); }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info { padding-top: 20px; }
.contact-info h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}
.contact-info > p {
  color: var(--gray);
  margin-bottom: 36px;
  line-height: 1.7;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.contact-detail p {
  font-size: 0.92rem;
  color: var(--gray);
}

/* WhatsApp form */
.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border: 1px solid var(--gray-mid);
}
.contact-form-wrap h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}
.contact-form-wrap > p {
  color: var(--gray);
  font-size: 0.92rem;
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s;
  background: var(--gray-light);
  color: var(--black);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #25D366;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-whatsapp:hover { background: #20BD5A; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,0.3); }
.btn-whatsapp svg { width: 22px; height: 22px; fill: currentColor; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-brand .logo span { color: var(--red); }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}
.footer h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer ul a:hover { color: var(--red-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero .container { flex-direction: column; text-align: center; }
  .hero p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 2.4rem; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { height: 300px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-mid);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .nav-links.active { display: flex; }
  .menu-toggle { display: flex; }
  .hero { padding: 130px 0 80px; }
  .hero h1 { font-size: 2rem; }
  .products-grid { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--gray-mid); }
  .stat-item:last-child { border-bottom: none; }
  section { padding: 70px 0; }
  .section-header h2 { font-size: 1.8rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }
