/* ============================================
   GetCourierHub Coral Lagoon — Index
   ============================================ */

/* ---- Hero ---- */
.hero {
  padding: 170px 0 140px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 50% 40% at 85% 0%,
      rgba(47, 184, 166, 0.22),
      transparent
    ),
    radial-gradient(
      ellipse 40% 35% at 8% 15%,
      rgba(255, 122, 89, 0.14),
      transparent
    ),
    linear-gradient(180deg, var(--sky) 0%, var(--bg) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 122, 89, 0.2),
    rgba(255, 122, 89, 0.06) 45%,
    transparent 65%
  );
  animation: glowPulse 7s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 38px;
  background:
    radial-gradient(
      circle at 33px 10px,
      rgba(255, 122, 89, 0.2) 21px,
      transparent 22px
    ),
    radial-gradient(
      circle at 11px -4px,
      rgba(47, 184, 166, 0.26) 24px,
      transparent 25px
    );
  background-size: 44px 38px;
  background-repeat: repeat-x;
  animation: waveSway 7s ease-in-out infinite;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-soft);
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1.18rem;
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* ---- Trust bar ---- */
.trust-bar {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(18, 64, 60, 0.1);
  padding: 26px 46px;
}

.trust-item {
  text-align: center;
  padding: 0 36px;
}

.trust-value {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ff7a59, #175b54);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.trust-label {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
}

/* ---- Features ---- */
.features {
  padding: 100px 0;
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  top: 80px;
  left: -130px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(47, 184, 166, 0.16),
    transparent 65%
  );
  animation: glowPulse 8s ease-in-out infinite;
  pointer-events: none;
}

.features-header {
  text-align: center;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.feature-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  align-items: start;
  padding: 36px 44px;
}

.feature-num {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(160deg, #1e9b8a, #0e5a50);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}

.feature-head h3 {
  margin-bottom: 0;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  flex-shrink: 0;
  box-shadow: 0 8px 22px rgba(18, 64, 60, 0.16);
}

.feature-card:nth-child(1) .feature-icon {
  background: linear-gradient(150deg, #ff9a7c, #f0633f);
}

.feature-card:nth-child(2) .feature-icon {
  background: linear-gradient(150deg, #4ccbb9, #1e9b8a);
}

.feature-card:nth-child(3) .feature-icon {
  background: linear-gradient(150deg, #f3c77e, #dfa040);
}

.feature-icon img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 18px;
}

.feature-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-deep);
  transition: color 0.2s ease;
}

.feature-link:hover {
  color: var(--accent-hover);
}

/* ---- Security ---- */
.security {
  padding: 100px 0;
  background: linear-gradient(140deg, #0e3b38 0%, #175048 55%, #0b332f 130%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.security::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 36px;
  background: radial-gradient(
    circle at 22px -8px,
    rgba(229, 247, 243, 0.09) 24px,
    transparent 25px
  );
  background-size: 44px 36px;
  background-repeat: repeat-x;
  animation: waveSway 8s ease-in-out infinite;
  pointer-events: none;
}

.security::after {
  content: "";
  position: absolute;
  bottom: -150px;
  right: -120px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 122, 89, 0.22),
    rgba(255, 122, 89, 0.06) 45%,
    transparent 65%
  );
  animation: glowPulse 7s ease-in-out infinite;
  pointer-events: none;
}

.security-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.security-text {
  order: 2;
}

.security-badges {
  order: 1;
}

.security-text h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.security-text > p {
  color: rgba(213, 237, 232, 0.78);
  max-width: 540px;
  margin-bottom: 26px;
}

.security-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.security-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(213, 237, 232, 0.9);
  font-size: 0.98rem;
}

.security-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% 50% 50% 6px;
  background: linear-gradient(150deg, #ff9a7c, #f0633f);
  font-size: 0.72rem;
  color: #fff2ec;
  font-weight: 700;
}

.security-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(168, 227, 216, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 157, 128, 0.5);
  transform: translateX(6px);
}

.badge img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.badge span {
  font-weight: 600;
  font-size: 0.98rem;
}

/* ---- Use Cases ---- */
.use-cases {
  padding: 100px 0;
  background:
    radial-gradient(
      ellipse 45% 40% at 100% 12%,
      rgba(47, 184, 166, 0.16),
      transparent
    ),
    var(--sky);
}

.use-cases-header {
  text-align: center;
  margin-bottom: 56px;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.use-case-card {
  padding: 32px;
}

.use-case-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.use-case-avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(150deg, #ff9a7c, #f0633f);
}

.use-case-card:nth-child(2) .use-case-avatar {
  background: linear-gradient(150deg, #4ccbb9, #1e9b8a);
}

.use-case-card:nth-child(3) .use-case-avatar {
  background: linear-gradient(150deg, #f3c77e, #dfa040);
}

.use-case-card:nth-child(4) .use-case-avatar {
  background: linear-gradient(150deg, #7dd8c9, #3fae9d);
}

.use-case-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.use-case-info h4 {
  font-size: 1.05rem;
}

.use-case-info p {
  font-size: 0.86rem;
  color: var(--muted);
}

.use-case-quote {
  font-size: 0.98rem;
  color: var(--navy-soft);
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  font-style: italic;
}

/* ---- CTA ---- */
.cta {
  padding: 100px 0 110px;
}

.cta-card {
  text-align: center;
  padding: 80px 48px;
  border-radius: 26px;
  background: linear-gradient(135deg, #ff9070 0%, #f0633f 60%, #d9502e 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(217, 80, 46, 0.3);
}

.cta-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 34px;
  background: radial-gradient(
    circle at 22px -8px,
    rgba(255, 252, 248, 0.22) 24px,
    transparent 25px
  );
  background-size: 44px 34px;
  background-repeat: repeat-x;
  animation: waveSway 7s ease-in-out infinite;
  pointer-events: none;
}

.cta-card::after {
  content: "";
  position: absolute;
  bottom: -140px;
  right: -110px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 246, 240, 0.3),
    rgba(255, 246, 240, 0.08) 50%,
    transparent 68%
  );
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
}

.cta-card h2 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
}

.cta-card p {
  color: rgba(255, 244, 238, 0.92);
  margin-bottom: 36px;
  position: relative;
}

.cta-card .btn {
  position: relative;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .security-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 140px 0 110px;
  }

  .feature-card {
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding: 26px 22px;
  }

  .feature-head {
    flex-wrap: wrap;
    gap: 12px;
  }

  .security-text {
    order: 0;
  }

  .trust-bar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 26px 30px;
  }

  .trust-divider {
    width: 44px;
    height: 1px;
  }

  .trust-item {
    padding: 0;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 48px 24px;
  }
}
