/* ============================================
   AMPARK GLOBAL LLP — Homepage Styles (2026 Redesign)
   ============================================ */

/* ── Section Tag / Pill ── */
.section-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(8, 145, 178, 0.08);
  border: 1px solid rgba(8, 145, 178, 0.2);
  border-radius: 9999px;
  color: #0891B2;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ============================================
   HERO SECTION WITH BACKGROUND IMAGE
   ============================================ */
.home-hero {
  position: relative;
  min-height: 88vh;
  min-height: 88dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 5rem 0 3rem;
  background-color: #060913;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.home-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7) contrast(1.1);
  transform: scale(1.03);
  transition: transform 10s ease-out;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 9, 19, 0.85) 0%,
    rgba(6, 9, 19, 0.65) 50%,
    rgba(6, 9, 19, 0.95) 100%
  );
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-hero__content {
  max-width: 840px;
  margin: 0 auto;
}

.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  color: #67E8F9;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home-hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #06B6D4;
  box-shadow: 0 0 10px #06B6D4;
}

.home-hero__title {
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.home-hero__title-accent {
  background: linear-gradient(135deg, #38BDF8 0%, #06B6D4 50%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.home-hero__subtitle {
  color: rgba(226, 232, 240, 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.btn--hero-primary {
  background: linear-gradient(135deg, #06B6D4 0%, #2563EB 100%);
  color: #FFFFFF;
  border: none;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.35);
  transition: all 0.3s ease;
}

.btn--hero-primary:hover {
  background: linear-gradient(135deg, #22D3EE 0%, #3B82F6 100%);
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.5);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn--hero-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn--hero-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Hero Stats Glass Bar */
.home-hero__stats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.25rem 2.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  gap: 2.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat__value {
  font-size: 1.85rem;
  font-weight: 800;
  color: #38BDF8;
  line-height: 1.1;
  font-family: var(--font-serif);
}

.hero-stat__label {
  font-size: 0.78rem;
  color: rgba(203, 213, 225, 0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
}

.home-hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero__scroll-line {
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.8) 0%, transparent 100%);
  animation: scroll-pulse 2s infinite;
}

@keyframes scroll-pulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   MARQUEE SECTION
   ============================================ */
.section-marquee {
  background: #0B1120;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
  overflow: hidden;
  position: relative;
}

.section-marquee__label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-marquee__track {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.section-marquee__inner {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee-scroll 25s linear infinite;
}

.section-marquee__item {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   BENTO GRID (WHAT WE DO)
   ============================================ */
.home-bento {
  background-color: #F8FAFC;
  padding: 6rem 0;
}

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

.bento-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 2.25rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(10, 17, 40, 0.08);
  border-color: rgba(8, 145, 178, 0.3);
}

.bento-card--large {
  grid-column: span 2;
  background: linear-gradient(135deg, #0A1128 0%, #1E293B 100%);
  color: #FFFFFF;
  border: none;
}

.bento-card--large .bento-card__title {
  color: #FFFFFF;
  font-size: 1.65rem;
}

.bento-card--large .bento-card__text {
  color: rgba(226, 232, 240, 0.8);
  font-size: 1.05rem;
}

.bento-card--large .bento-card__icon {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
  color: #67E8F9;
}

.bento-card--accent {
  background: linear-gradient(135deg, #0891B2 0%, #1D4ED8 100%);
  color: #FFFFFF;
  border: none;
}

.bento-card--accent .bento-card__title {
  color: #FFFFFF;
}

.bento-card--accent .bento-card__text {
  color: rgba(255, 255, 255, 0.88);
}

.bento-card--wide {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
}

.bento-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(8, 145, 178, 0.08);
  border: 1px solid rgba(8, 145, 178, 0.15);
  color: #0891B2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.bento-card__icon--light {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.bento-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0A1128;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.bento-card__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

.bento-card__tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: 1.5rem;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #67E8F9;
}

.bento-card__cta {
  margin-left: auto;
  font-weight: 700;
  color: #0891B2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.bento-card__cta:hover {
  transform: translateX(4px);
  color: #06B6D4;
}

/* ============================================
   PRODUCT SHOWCASE GRID
   ============================================ */
.home-products {
  padding: 6rem 0;
  background: #FFFFFF;
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.product-tile {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(10, 17, 40, 0.08);
  border-color: #0891B2;
}

.product-tile__img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #E2E8F0;
}

.product-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-tile:hover .product-tile__img {
  transform: scale(1.06);
}

.product-tile__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-tile__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0A1128;
  margin-bottom: 0.5rem;
}

.product-tile__meta {
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.product-tile__link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0891B2;
  transition: color 0.2s ease;
}

.product-tile:hover .product-tile__link {
  color: #0284C7;
}

.product-tile--all {
  background: linear-gradient(135deg, #0A1128 0%, #1E293B 100%);
  border: none;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.product-tile__all-inner {
  padding: 3rem 2rem;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.product-tile__all-inner svg {
  color: #38BDF8;
}

.product-tile__all-inner span {
  font-size: 1.15rem;
  font-weight: 700;
}

.product-tile--all:hover {
  background: linear-gradient(135deg, #0F172A 0%, #334155 100%);
}

/* ============================================
   WHY AMPARK SPLIT SECTION
   ============================================ */
.home-why {
  padding: 6rem 0;
  background-color: #F8FAFC;
}

.home-why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.home-why__image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(10, 17, 40, 0.12);
}

.home-why__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.home-why__image-glow {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  pointer-events: none;
}

.home-why__content h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0A1128;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.home-why__lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 2rem;
}

.home-why__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.home-why__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1E293B;
}

.home-why__check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(8, 145, 178, 0.12);
  color: #0891B2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.home-process {
  padding: 6rem 0;
  background: #FFFFFF;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
}

.process-step {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: #0891B2;
  box-shadow: 0 12px 24px rgba(10, 17, 40, 0.06);
}

.process-step__num {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0891B2;
  font-family: var(--font-serif);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.process-step__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0A1128;
  margin-bottom: 0.5rem;
}

.process-step__text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #64748B;
}

.process-step__connector {
  display: none;
}

/* ============================================
   RESPONSIVE DESIGN (HOME SPECIFIC)
   ============================================ */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card--large {
    grid-column: span 2;
  }
  .bento-card--wide {
    grid-column: span 2;
  }
  .product-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-hero {
    min-height: 75vh;
    padding: 4rem 0 2rem;
  }
  .home-hero__stats {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 2rem;
    width: 100%;
    max-width: 320px;
  }
  .hero-stat-divider {
    width: 80%;
    height: 1px;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card--large,
  .bento-card--wide {
    grid-column: span 1;
  }
  .bento-card--wide {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-showcase {
    grid-template-columns: 1fr;
  }
  .home-why__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
}
