/* ============================================
   NEXA — Home Page Styles
   ============================================ */

/* ── Page Offset ── */
.page-offset {
  padding-top: 72px;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--surface) 0%, var(--white) 50%, var(--accent-pale) 100%);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.hero-shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,70,229,0.25) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.hero-shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
  bottom: -100px; left: -50px;
}
.hero-shape-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(129,140,248,0.15) 0%, transparent 70%);
  top: 40%; left: 40%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
  padding: var(--space-12) 0;
}

.hero-content { max-width: 580px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-pale);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-4);
  letter-spacing: 0.3px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--near-black);
  margin-bottom: var(--space-4);
}

.hero-desc {
  font-size: 18px;
  line-height: 1.75;
  color: var(--gray-dark);
  margin-bottom: var(--space-6);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-7);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.hero-stat-item { text-align: left; }
.hero-stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--near-black);
  line-height: 1;
}
.hero-stat-label {
  font-size: 13px;
  color: var(--gray);
  margin-top: 2px;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── Hero Visual ── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 460px;
  width: 100%;
}

.photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  background: var(--surface-alt);
  box-shadow: var(--shadow-md);
}
.photo-card:nth-child(1) { margin-top: 32px; }
.photo-card:nth-child(3) { margin-top: -32px; }

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-card:hover img { transform: scale(1.04); }

.photo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,15,26,0.5) 0%, transparent 60%);
}

.photo-card-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.hero-floating-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.hero-floating-badge.badge-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}
.hero-floating-badge.badge-2 {
  bottom: 15%;
  left: -20px;
  animation-delay: 2s;
}
.hero-floating-badge .badge-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.badge-icon.purple { background: var(--accent-pale); }
.badge-icon.indigo { background: var(--primary-pale); }

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

/* ── Brands / Trust ── */
.trust-section {
  padding: var(--space-7) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: var(--space-7);
  overflow: hidden;
}
.trust-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: var(--space-7);
  flex: 1;
  overflow: hidden;
}
.trust-logo {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-mid);
  white-space: nowrap;
  letter-spacing: -0.3px;
  transition: color var(--transition);
}
.trust-logo:hover { color: var(--primary); }

/* ── Packages ── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.package-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.package-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}
.package-card:hover {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.package-card:hover::before { opacity: 1; }

.package-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  background: linear-gradient(160deg, var(--primary-pale) 0%, var(--white) 100%);
}
.package-card.featured::before { opacity: 1; }

.package-popular {
  position: absolute;
  top: 20px;
  right: 20px;
}

.package-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: 24px;
}
.package-card.featured .package-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.package-card.featured .package-icon svg { stroke: white; }

.package-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 6px;
}
.package-desc {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}
.package-price {
  margin-bottom: var(--space-4);
}
.package-price-amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--near-black);
  line-height: 1;
}
.package-price-period {
  font-size: 14px;
  color: var(--gray);
  margin-top: 2px;
}

.package-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
}
.package-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--charcoal);
}
.feature-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-check svg {
  width: 11px; height: 11px;
  stroke: var(--primary);
  stroke-width: 2.5;
}
.package-card.featured .feature-check {
  background: rgba(79, 70, 229, 0.15);
}

/* ── Gallery ── */
.gallery-section { background: var(--surface); }

.gallery-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: var(--space-7);
}
.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--surface-alt);
}
.gallery-item:nth-child(3n+1) { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  min-height: 200px;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,15,26,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label {
  color: white;
  font-size: 13px;
  font-weight: 600;
}

/* ── How It Works ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.3;
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(79, 70, 229, 0.2);
}
.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
}

/* ── Testimonials ── */
.testimonials-section { background: var(--near-black); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(79, 70, 229, 0.4);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-3);
}
.star { color: #FBBF24; font-size: 16px; }

.testimonial-text {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-4);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.author-name {
  font-size: 15px;
  font-weight: 600;
  color: white;
}
.author-role {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 1px;
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--accent-dark) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-12) 0;
}
.cta-title {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-4);
  line-height: 1.15;
}
.cta-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-7);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
  background: var(--near-black);
  color: rgba(255,255,255,0.7);
  padding: var(--space-11) 0 var(--space-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
.footer-brand .logo-text { color: white; -webkit-text-fill-color: white; }
.footer-brand .logo-mark { box-shadow: none; }
.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-3);
  max-width: 260px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: var(--space-4);
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.social-btn svg { width: 16px; height: 16px; }

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-4);
  letter-spacing: 0.3px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--primary-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links {
  display: flex;
  gap: var(--space-4);
}
.footer-bottom-link {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-bottom-link:hover { color: rgba(255,255,255,0.7); }

/* ── Responsive ── */
@media (max-width: 1023px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-8);
  }
  .hero-content { max-width: 100%; }
  .hero-desc { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .hero-floating-badge.badge-1 { right: 0; }
  .hero-floating-badge.badge-2 { left: 0; }

  .packages-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .cta-title { font-size: 38px; }
}

@media (max-width: 767px) {
  .hero-title { font-size: 34px; }
  .hero-desc { font-size: 16px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: var(--space-4); }
  .hero-photo-grid { max-width: 320px; gap: 10px; }
  .hero-floating-badge { display: none; }

  .packages-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(3n+1) { grid-row: span 1; }
  .steps-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-title { font-size: 28px; }
  .cta-desc { font-size: 16px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .trust-inner { flex-direction: column; gap: var(--space-3); }
  .trust-logos { flex-wrap: wrap; justify-content: center; gap: var(--space-4); }
}
