/* Home page overrides live here. Shared foundation remains in ../styles.css. */

/* ============================================
   PREMIUM HERO STYLES
   ============================================ */

body[data-page="home"] .hero {
  background: #0c214b;
  overflow: hidden;
}

body[data-page="home"] .hero-image {
  filter: saturate(1.08) contrast(1.03) brightness(0.9);
  will-change: transform;
}

body[data-page="home"] .hero-overlay {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    linear-gradient(180deg, rgba(5, 10, 18, 0.62) 0%, rgba(5, 10, 18, 0.28) 44%, rgba(5, 10, 18, 0.68) 100%),
    linear-gradient(90deg, rgba(12, 28, 48, 0.62), rgba(12, 28, 48, 0.16));
}

body[data-page="home"] .hero-mark {
  opacity: 0.96;
}

body[data-page="home"] .hero-mark::before,
body[data-page="home"] .hero-mark::after {
  background: #ffffff;
}

/* Hero Light Sweep Animation */
.hero-light-sweep {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: lightSweep 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
  transform: translate3d(-200%, 0, 0);
  will-change: transform;
}

@keyframes lightSweep {
  0%, 100% { transform: translate3d(-200%, 0, 0); }
  50% { transform: translate3d(400%, 0, 0); }
}

/* Hero Text Animations */
.hero-eyebrow-animate {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 0.3s;
}

.hero-title-animate {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-text-animate {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 0.7s;
}

.hero-actions-animate {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 0.9s;
}

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

/* ============================================
   PREMIUM HIGHLIGHT CARDS (Glassmorphism)
   ============================================ */

.hero-highlights-premium {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  padding-bottom: 80px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.highlight-card-glass {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 
    0 8px 32px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.highlight-card-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-cta), var(--color-accent));
  opacity: 0;
  transition: opacity 300ms ease;
}

.highlight-card-glass:hover::before {
  opacity: 1;
}

.highlight-card-glass:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.highlight-card__glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(38, 75, 113, 0.08) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 300ms ease;
  opacity: 0;
}

.highlight-card-glass:hover .highlight-card__glow {
  opacity: 1;
}

.highlight-card__icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-cta) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(38, 75, 113, 0.3);
}

.highlight-card__icon svg {
  width: 26px;
  height: 26px;
}

.highlight-card__content h3 {
  margin: 0 0 4px;
  color: var(--color-primary);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.highlight-card__content p {
  margin: 0;
  color: var(--color-body);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================
   PREMIUM PRODUCTS SECTION
   ============================================ */

.products-showcase-premium {
  background: linear-gradient(180deg, var(--color-background) 0%, #f8fafc 100%);
  position: relative;
}

.products-showcase-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.section-header-premium {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-divider {
  width: 60px;
  height: 3px;
  margin: 20px auto;
  background: linear-gradient(90deg, var(--color-primary), var(--color-cta));
  border-radius: 2px;
}

.section-divider--left {
  margin: 20px 0;
}

/* 3D Product Cards */
.product-card-3d {
  position: relative;
  display: block;
  border-radius: 16px;
  background: var(--color-surface);
  box-shadow: 
    0 4px 20px rgba(15, 23, 42, 0.06),
    0 1px 3px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 400ms cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.product-card-3d::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(38, 75, 113, 0.2), transparent, rgba(243, 178, 26, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.product-card-3d:hover::before {
  opacity: 1;
}

.product-card-3d:hover {
  transform: translateY(-12px) rotateX(2deg);
  box-shadow: 
    0 24px 48px rgba(15, 23, 42, 0.12),
    0 8px 16px rgba(15, 23, 42, 0.08);
}

.product-card__image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.product-card__image picture,
.about-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card-3d:hover .product-card__image img {
  transform: scale(1.08);
}

.product-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.4) 100%);
  opacity: 0;
  transition: opacity 400ms ease;
}

.product-card-3d:hover .product-card__image-overlay {
  opacity: 1;
}

.product-card__content {
  padding: 28px;
}

.product-card__content h3 {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
}

.product-card__content p {
  margin: 0 0 20px;
  color: var(--color-body);
  font-size: 0.95rem;
  line-height: 1.65;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-cta);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 200ms ease, gap 200ms ease;
}

.product-card__link .arrow {
  transition: transform 200ms ease;
}

.product-card-3d:hover .product-card__link {
  color: var(--color-primary);
  gap: 12px;
}

.product-card-3d:hover .product-card__link .arrow {
  transform: translateX(4px);
}

.products-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   PREMIUM ABOUT SECTION
   ============================================ */

.about-showcase-premium {
  background: var(--color-surface);
  position: relative;
}

.about-image-premium {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(15, 23, 42, 0.1),
    0 4px 12px rgba(15, 23, 42, 0.06);
}

.about-image-premium img {
  width: 100%;
  height: auto;
  display: block;
}

.about-image__badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-cta));
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(38, 75, 113, 0.3);
}

.badge-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.badge-text {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 4px;
}

.about-content-premium h2 {
  margin: 0 0 20px;
  color: var(--color-primary);
  font-size: clamp(2.25rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-body);
  margin-bottom: 16px;
}

.about-features-premium {
  margin: 28px 0 36px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.about-features-premium li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-body);
  font-size: 1rem;
  line-height: 1.5;
}

.feature-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(38, 75, 113, 0.1), rgba(31, 93, 143, 0.1));
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ============================================
   PREMIUM WHY SECTION
   ============================================ */

.why-section-premium {
  background: linear-gradient(180deg, #f8fafc 0%, var(--color-background) 100%);
  position: relative;
}

.why-section-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.why-header-premium {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.why-header-premium h2 {
  margin: 16px 0 0;
  font-size: clamp(2.25rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Premium Feature Cards */
.feature-card-premium {
  position: relative;
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  box-shadow: 
    0 4px 20px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  text-align: center;
  overflow: hidden;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-cta));
  border-radius: 2px;
  opacity: 0;
  transition: opacity 300ms ease, width 300ms ease;
}

.feature-card-premium:hover::before {
  opacity: 1;
  width: 100px;
}

.feature-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature-card__glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(38, 75, 113, 0.06) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
}

.feature-card-premium:hover .feature-card__glow {
  opacity: 1;
}

.feature-card__icon {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(38, 75, 113, 0.08) 0%, rgba(31, 93, 143, 0.08) 100%);
  color: var(--color-primary);
  transition: transform 300ms ease, background 300ms ease;
}

.feature-card-premium:hover .feature-card__icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-cta) 100%);
  color: #ffffff;
}

.feature-card__icon svg {
  width: 30px;
  height: 30px;
}

.feature-card-premium h3 {
  margin: 0 0 14px;
  color: var(--color-primary);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}

.feature-card-premium p {
  margin: 0;
  color: var(--color-body);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================
   PREMIUM CTA SECTION
   ============================================ */

.cta-band-premium {
  position: relative;
  overflow: hidden;
}

.cta-band__particles {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(243, 178, 26, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(38, 75, 113, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-band-content {
  position: relative;
  z-index: 2;
}

.cta-band-premium h2 {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-band-premium p {
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ============================================
   PREMIUM BUTTONS
   ============================================ */

.button-premium {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: 14px 28px;
  font-weight: 600;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.button-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 500ms ease;
}

.button-premium:hover::before {
  left: 100%;
}

.button-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 93, 143, 0.3);
}

.button-magnetic {
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================
   PREMIUM FOOTER
   ============================================ */

.site-footer-premium {
  background: linear-gradient(180deg, #0b1626 0%, #060d17 100%);
  position: relative;
}

.site-footer-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-section p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-links-section h4,
.footer-contact-section h4 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-links-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links-section li {
  margin-bottom: 12px;
}

.footer-links-section a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color 200ms ease, padding-left 200ms ease;
}

.footer-links-section a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-section p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social__item {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: background 200ms ease, transform 200ms ease;
}

.footer-social__item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.footer-social__item svg {
  width: 20px;
  height: 20px;
}

.footer-social__item--whatsapp {
  background: rgba(37, 211, 102, 0.2);
}

.footer-social__item--whatsapp:hover {
  background: #25d366;
}

.footer-social__item--linkedin {
  background: rgba(0, 119, 181, 0.2);
}

.footer-social__item--linkedin:hover {
  background: #0077b5;
}

.footer-bottom {
  padding-top: 32px;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin-bottom: 24px;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .hero-highlights-premium {
    margin-top: -40px;
    padding-bottom: 60px;
  }
  
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .highlight-card-glass {
    padding: 20px 24px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .about-image-premium {
    order: -1;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .cta-actions .button {
    width: 100%;
  }
  
  .section-header-premium {
    margin-bottom: 36px;
  }
}
