/* ============================================================
   Page-specific styles
   ============================================================ */

/* ===== Logo ===== */
.logo-full { display: flex; align-items: center; gap: 12px; }
.logo-text { line-height: 1.1; }
.logo-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.025em;
  color: var(--navy-900);
}
.logo-360 { color: var(--teal-500); }
.logo-tagline {
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--ink-500);
  text-transform: none;
  font-family: var(--font-body);
  margin-top: 1px;
}

/* ===== Home Hero ===== */
.home-hero {
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(0,175,174,0.35), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(126,214,214,0.18), transparent 70%),
    linear-gradient(180deg, #0D1B3D 0%, #0a1430 100%);
  color: white;
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.6;
}
.home-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}
.home-hero-left { animation: fadeUp .6s ease both; }
.home-hero-right { animation: fadeUp .7s .1s ease both; }

.hero-trust {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-trust-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: white;
  letter-spacing: -0.02em;
}
.hero-trust-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

/* ===== Hero Quote Widget ===== */
.hero-quote {
  background: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.05);
  color: var(--ink-900);
}
.hero-quote-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.hero-quote-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  background: var(--bg-soft);
  padding: 6px;
  border-radius: 14px;
  margin-bottom: 20px;
}
.hero-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  border-radius: 10px;
  color: var(--ink-500);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 500;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.hero-tab:hover { color: var(--navy-900); }
.hero-tab.active {
  background: white;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.hero-tab.active svg { color: var(--teal-500); }
.hero-quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-field { display: flex; flex-direction: column; }
.hero-quote-form .btn { grid-column: 1 / -1; }
.hero-quote-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-500);
}

/* ===== Hero feature strip ===== */
.hero-feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 18px;
  overflow: hidden;
  transform: translateY(50%);
  margin-top: -50px;
  margin-bottom: 40px;
  position: relative;
  z-index: 3;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.3);
}
.hero-feature {
  background: white;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-feature-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-50);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hero-feature-t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy-900);
}
.hero-feature-d {
  font-size: 12.5px;
  color: var(--ink-500);
  margin-top: 2px;
  line-height: 1.4;
}

/* Compensate for the negative margin */
.home-hero + section { padding-top: 72px; }

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  display: block;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  color: inherit;
}
.product-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.product-cat {
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-400);
  margin-bottom: 6px;
}
.product-name {
  font-size: 18px;
  margin-bottom: 6px;
}
.product-desc {
  font-size: 13.5px;
  color: var(--ink-500);
  min-height: 38px;
  margin-bottom: 18px;
}
.product-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.product-from {
  font-size: 11px;
  color: var(--ink-500);
  font-family: var(--font-display);
  font-weight: 500;
}
.product-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}
.product-price span { font-size: 12px; font-weight: 500; color: var(--ink-500); margin-left: 2px; }
.product-arrow {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--bg-soft);
  display: grid; place-items: center;
  color: var(--navy-900);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.product-card:hover .product-arrow {
  background: var(--teal-500);
  color: white;
  transform: translateX(2px);
}

/* ===== Stats ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 28px 26px;
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  color: var(--navy-900);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-500);
}
.stat-bar {
  margin-top: 18px;
  height: 4px;
  background: var(--bg-mute);
  border-radius: 99px;
  overflow: hidden;
}
.stat-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #00AFAE, #7ED6D6);
  border-radius: 99px;
  animation: barGrow 1.4s ease-out both;
}
@keyframes barGrow { from { width: 0 !important; } }

/* ===== Why us ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.why-card {
  background: white;
  padding: 36px 28px 32px;
  position: relative;
  transition: background .2s ease;
}
.why-card:hover { background: var(--bg-soft); }
.why-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--teal-500);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.why-ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--teal-50);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.why-t {
  font-size: 17px;
  margin-bottom: 8px;
}
.why-d {
  font-size: 13.5px;
  color: var(--ink-500);
}

/* ===== Steps ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.step-card {
  padding: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
}
.step-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--teal-500);
  color: var(--navy-900);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.step-bar {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--teal-500), transparent);
}
.step-card h4 { color: white; font-size: 20px; margin-bottom: 8px; }
.step-card p { color: rgba(255,255,255,0.7); font-size: 14px; }

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.testimonial {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.testimonial-quote {
  font-size: 14.5px;
  color: var(--ink-700);
  line-height: 1.55;
  margin-bottom: 20px;
  min-height: 90px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--navy-900);
  color: white;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
}

/* ===== Partners strip ===== */
.partners-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.partner-pill {
  padding: 12px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-500);
  background: white;
  letter-spacing: -0.01em;
  transition: color .2s ease, border-color .2s ease;
}
.partner-pill:hover { color: var(--navy-900); border-color: var(--ink-300); }

/* ===== News grid ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: block;
  color: inherit;
}
.news-cover {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.news-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.92);
  border-radius: 999px;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.news-body { padding: 22px 24px 24px; }
.news-body h4 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.3;
}
.news-body p {
  font-size: 13.5px;
  color: var(--ink-500);
  margin-bottom: 14px;
}

/* ===== CTA card ===== */
.cta-card {
  background: linear-gradient(135deg, #0D1B3D 0%, #142552 50%, #1c3274 100%);
  border-radius: 32px;
  padding: 64px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .product-grid, .stats-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .home-hero-inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 80px; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-feature-strip { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 40px; }
}
@media (max-width: 640px) {
  .product-grid, .stats-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .hero-feature-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-quote-form { grid-template-columns: 1fr; }
  .hero-quote-tabs { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .hero-trust { gap: 16px; flex-wrap: wrap; }
  .home-hero { padding: 60px 0 40px; }
  .home-hero-inner { gap: 24px; }
  .news-cover { height: 180px; }
  .product-card { padding: 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 420px) {
  .hero-quote-tabs { grid-template-columns: repeat(2, 1fr); }
  .hero-feature-strip { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .home-hero { padding: 48px 0 32px; }
}
