/* ═══════════════════════════════════════════════════════════════════
   AstroKamya™ · TRUSTED TECHNOLOGY — Planet Orbit Design v1.0
   ═══════════════════════════════════════════════════════════════════
   Cinematic planet-based trust strip replacing the old text logos.
   Scoped with .trust-* prefix to avoid collisions with styles-v2.css.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Color Tokens ──────────────────────────────────── */
.trust-section {
  --tt-muted:   rgba(170, 165, 210, 0.55);
  --tt-divider: rgba(170, 165, 210, 0.12);
  --tt-c1: #2d8fc8; --tt-c1r: 45, 143, 200;
  --tt-c2: #e07a30; --tt-c2r: 224, 122, 48;
  --tt-c3: #1aaa6e; --tt-c3r: 26, 170, 110;
  --tt-c4: #8b5cf6; --tt-c4r: 139, 92, 246;
  --tt-c5: #c49a12; --tt-c5r: 196, 154, 18;
}

/* ── Section ─────────────────────────────────────── */
.trust-section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  padding: 0;
  text-align: center;
  background: transparent;
  overflow: visible;
  /* Remove old press-section styles */
  border: none;
  box-shadow: none;
}

.trust-top-rule, .trust-bottom-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right,
    transparent 0%,
    var(--tt-divider) 20%,
    var(--tt-divider) 80%,
    transparent 100%);
}

.trust-inner {
  padding: 48px 48px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Heading ─────────────────────────────────────── */
.trust-heading-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 56px;
}

.trust-heading-line {
  flex: 1;
  max-width: 160px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--tt-divider));
}
.trust-heading-line.trust-line-right {
  background: linear-gradient(to left, transparent, var(--tt-divider));
}

.trust-heading-text {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.42em;
  color: var(--tt-muted);
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
}

/* ── Planets grid ────────────────────────────────── */
.planets-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.planet-col {
  flex: 1;
  min-width: 0;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 16px 12px 20px;
  position: relative;
  cursor: default;
}

/* vertical separator */
.planet-col + .planet-col::before {
  content: '';
  position: absolute;
  left: 0; top: 12%; height: 76%;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent, rgba(170,165,210,0.12) 40%,
    rgba(170,165,210,0.12) 60%, transparent);
}

/* ── Orbital ring SVG ────────────────────────────── */
.ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-back, .ring-front {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.ring-path {
  fill: none;
  stroke: rgba(170, 165, 210, 0.18);
  stroke-width: 1;
  stroke-dasharray: 4 5;
  transition: stroke 0.6s ease, opacity 0.6s ease;
}

.planet-col:hover .ring-path {
  stroke-dasharray: 3 4;
}

/* ── Planet sphere ───────────────────────────────── */
.planet {
  position: relative;
  z-index: 2;
  border-radius: 50%;
  filter: grayscale(1) brightness(0.72);
  transition:
    filter     0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform  0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.75s ease;
  will-change: filter, transform;
}

.planet-col:hover .planet {
  filter: grayscale(0) brightness(1.05);
  transform: translateY(-6px) scale(1.12);
}

/* Moon satellite */
.moon-orbit {
  position: absolute;
  inset: -16px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.planet-col:hover .moon-orbit { opacity: 1; }

.moon-dot {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  top: 50%; left: 50%;
  transform-origin: 0 0;
  animation: tt-moon-spin 3.8s linear infinite;
}

@keyframes tt-moon-spin {
  from { transform: rotate(0deg) translateX(70px) scale(1); }
  to   { transform: rotate(360deg) translateX(70px) scale(1); }
}

/* ── Individual planet textures ──────────────────── */

/* P1 — Swiss Ephemeris: rocky moon-like → cerulean */
.p1 {
  width: 72px; height: 72px;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.22) 0%, transparent 36%),
    radial-gradient(circle at 72% 74%, rgba(0,0,0,0.38) 0%, transparent 32%),
    radial-gradient(circle at 18% 68%, rgba(255,255,255,0.06) 0%, transparent 18%),
    radial-gradient(circle at 82% 22%, rgba(0,0,0,0.28) 0%, transparent 22%),
    radial-gradient(circle at 55% 45%, rgba(0,0,0,0.15) 0%, transparent 35%),
    radial-gradient(circle, #808fa0 0%, #445060 48%, #1c2a3a 100%);
  box-shadow: inset -9px -5px 20px rgba(0,0,0,0.65);
}
.planet-col:nth-child(1):hover .p1 {
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.28) 0%, transparent 36%),
    radial-gradient(circle at 72% 74%, rgba(0,0,0,0.3) 0%, transparent 32%),
    radial-gradient(circle, #5baee0 0%, #2878be 48%, #0d3870 100%);
  box-shadow:
    inset -9px -5px 20px rgba(0,0,0,0.45),
    0 0 28px rgba(var(--tt-c1r), 0.65),
    0 0 60px rgba(var(--tt-c1r), 0.25);
}
.planet-col:nth-child(1):hover .ring-path { stroke: rgba(var(--tt-c1r), 0.5); }

/* P2 — Vedic Jyotish: mars-like → saffron */
.p2 {
  width: 88px; height: 88px;
  background:
    radial-gradient(circle at 38% 32%, rgba(255,255,255,0.18) 0%, transparent 32%),
    radial-gradient(ellipse 60% 40% at 62% 58%, rgba(0,0,0,0.32) 0%, transparent 100%),
    radial-gradient(ellipse 30% 20% at 28% 68%, rgba(255,255,255,0.07) 0%, transparent 100%),
    radial-gradient(circle, #948070 0%, #60402a 50%, #301808 100%);
  box-shadow: inset -11px -6px 24px rgba(0,0,0,0.6);
}
.planet-col:nth-child(2):hover .p2 {
  background:
    radial-gradient(circle at 38% 32%, rgba(255,255,255,0.28) 0%, transparent 32%),
    radial-gradient(ellipse 60% 40% at 62% 58%, rgba(0,0,0,0.22) 0%, transparent 100%),
    radial-gradient(circle, #f0b070 0%, #d06822 50%, #803010 100%);
  box-shadow:
    inset -11px -6px 24px rgba(0,0,0,0.4),
    0 0 30px rgba(var(--tt-c2r), 0.65),
    0 0 64px rgba(var(--tt-c2r), 0.22);
}
.planet-col:nth-child(2):hover .ring-path { stroke: rgba(var(--tt-c2r), 0.5); }

/* P3 — Lahiri Ayanamsa: jade → emerald */
.p3 {
  width: 68px; height: 68px;
  background:
    radial-gradient(circle at 40% 34%, rgba(255,255,255,0.2) 0%, transparent 30%),
    radial-gradient(ellipse 50% 60% at 58% 60%, rgba(0,0,0,0.38) 0%, transparent 100%),
    radial-gradient(ellipse 25% 18% at 22% 72%, rgba(255,255,255,0.09) 0%, transparent 100%),
    radial-gradient(circle, #6a8a7a 0%, #304a3a 50%, #101e16 100%);
  box-shadow: inset -8px -5px 18px rgba(0,0,0,0.62);
}
.planet-col:nth-child(3):hover .p3 {
  background:
    radial-gradient(circle at 40% 34%, rgba(255,255,255,0.3) 0%, transparent 30%),
    radial-gradient(ellipse 50% 60% at 58% 60%, rgba(0,0,0,0.22) 0%, transparent 100%),
    radial-gradient(circle, #44dda0 0%, #1aaa6e 50%, #084830 100%);
  box-shadow:
    inset -8px -5px 18px rgba(0,0,0,0.4),
    0 0 26px rgba(var(--tt-c3r), 0.62),
    0 0 55px rgba(var(--tt-c3r), 0.22);
}
.planet-col:nth-child(3):hover .ring-path { stroke: rgba(var(--tt-c3r), 0.5); }

/* P4 — AI Powered: gas giant bands → violet */
.p4 {
  width: 80px; height: 80px;
  background:
    radial-gradient(circle at 36% 30%, rgba(255,255,255,0.18) 0%, transparent 28%),
    repeating-linear-gradient(168deg,
      rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 5px,
      transparent 5px, transparent 10px,
      rgba(0,0,0,0.06) 10px, rgba(0,0,0,0.06) 15px,
      transparent 15px, transparent 22px),
    radial-gradient(circle, #746488 0%, #3e2a58 50%, #1a0e2e 100%);
  box-shadow: inset -10px -5px 22px rgba(0,0,0,0.65);
  overflow: hidden;
}
.planet-col:nth-child(4):hover .p4 {
  background:
    radial-gradient(circle at 36% 30%, rgba(255,255,255,0.28) 0%, transparent 28%),
    repeating-linear-gradient(168deg,
      rgba(180,150,255,0.1) 0px, rgba(180,150,255,0.1) 5px,
      transparent 5px, transparent 10px,
      rgba(100,60,200,0.12) 10px, rgba(100,60,200,0.12) 15px,
      transparent 15px, transparent 22px),
    radial-gradient(circle, #c0a0ff 0%, #8b5cf6 50%, #3d1a80 100%);
  box-shadow:
    inset -10px -5px 22px rgba(0,0,0,0.42),
    0 0 28px rgba(var(--tt-c4r), 0.62),
    0 0 58px rgba(var(--tt-c4r), 0.22);
}
.planet-col:nth-child(4):hover .ring-path { stroke: rgba(var(--tt-c4r), 0.5); }

/* P5 — 256-bit SSL: metallic → amber gold */
.p5 {
  width: 74px; height: 74px;
  background:
    radial-gradient(circle at 30% 26%, rgba(255,255,255,0.28) 0%, transparent 28%),
    radial-gradient(circle at 70% 72%, rgba(0,0,0,0.38) 0%, transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.04) 0%, transparent 38%),
    radial-gradient(circle, #9a9070 0%, #605840 50%, #2a2410 100%);
  box-shadow: inset -8px -6px 18px rgba(0,0,0,0.62);
}
.planet-col:nth-child(5):hover .p5 {
  background:
    radial-gradient(circle at 30% 26%, rgba(255,255,255,0.36) 0%, transparent 28%),
    radial-gradient(circle at 70% 72%, rgba(0,0,0,0.26) 0%, transparent 30%),
    radial-gradient(circle, #f5d060 0%, #c49a12 50%, #7a5e04 100%);
  box-shadow:
    inset -8px -6px 18px rgba(0,0,0,0.38),
    0 0 26px rgba(var(--tt-c5r), 0.65),
    0 0 56px rgba(var(--tt-c5r), 0.24);
}
.planet-col:nth-child(5):hover .ring-path { stroke: rgba(var(--tt-c5r), 0.5); }

/* ── Planet label ────────────────────────────────── */
.planet-label {
  font-family: 'Cinzel', serif;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(195, 190, 230, 0.65);
  line-height: 1.5;
  transition: color 0.6s ease;
  text-align: center;
  user-select: none;
  margin: 0;
}

.planet-col:nth-child(1):hover .planet-label { color: var(--tt-c1); }
.planet-col:nth-child(2):hover .planet-label { color: var(--tt-c2); }
.planet-col:nth-child(3):hover .planet-label { color: var(--tt-c3); }
.planet-col:nth-child(4):hover .planet-label { color: #a07cf6; }
.planet-col:nth-child(5):hover .planet-label { color: var(--tt-c5); }

/* ── Made in India ───────────────────────────────── */
.trust-made-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.diamond-gem {
  width: 6px; height: 6px;
  background: rgba(196, 154, 18, 0.55);
  transform: rotate(45deg);
  display: inline-block;
  flex-shrink: 0;
}

.trust-made-text {
  font-family: 'Cormorant Garamond', 'Cinzel', serif;
  font-style: italic;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: rgba(170, 165, 210, 0.38);
  margin: 0;
}

/* ── Slow hover shimmer pulse on planet ──────────── */
.planet-col:hover .planet::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  animation: tt-shimmer-ring 2.4s ease-in-out infinite;
}

@keyframes tt-shimmer-ring {
  0%, 100% { box-shadow: 0 0 0 0 transparent; opacity: 0; }
  50%       { opacity: 0.4; }
}

/* ── Ring animation on hover ─────────────────────── */
.planet-col:hover .ring-back .ring-path,
.planet-col:hover .ring-front .ring-path {
  animation: tt-ring-breathe 2.2s ease-in-out infinite;
}

@keyframes tt-ring-breathe {
  0%, 100% { opacity: 0.55; }
  50%       { opacity: 1; }
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE — Trusted Tech Section
   ═══════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  .trust-inner {
    padding: 40px 24px 36px;
  }
  .trust-heading-wrap {
    margin-bottom: 40px;
  }
  .planets-row {
    flex-wrap: wrap;
    gap: 8px 0;
    justify-content: center;
  }
  .planet-col {
    flex: 0 0 33.333%;
    max-width: 200px;
    gap: 18px;
    padding: 12px 8px 16px;
  }
  /* Hide separator on wrapped rows */
  .planet-col:nth-child(4)::before {
    display: none;
  }
  .ring-wrap {
    width: 100px;
    height: 100px;
  }
  .p1 { width: 60px; height: 60px; }
  .p2 { width: 72px; height: 72px; }
  .p3 { width: 56px; height: 56px; }
  .p4 { width: 66px; height: 66px; }
  .p5 { width: 62px; height: 62px; }
  .planet-label { font-size: 11px; }
}

/* Mobile */
@media (max-width: 600px) {
  .trust-inner {
    padding: 32px 16px 28px;
  }
  .trust-heading-wrap {
    margin-bottom: 32px;
    gap: 12px;
  }
  .trust-heading-line {
    max-width: 60px;
  }
  .trust-heading-text {
    font-size: 9px;
    letter-spacing: 0.3em;
  }
  .planets-row {
    flex-wrap: wrap;
    gap: 4px 0;
  }
  .planet-col {
    flex: 0 0 33.333%;
    max-width: 120px;
    gap: 14px;
    padding: 10px 6px 14px;
  }
  .planet-col + .planet-col::before {
    display: none;
  }
  .ring-wrap {
    width: 80px;
    height: 80px;
  }
  .p1 { width: 48px; height: 48px; }
  .p2 { width: 58px; height: 58px; }
  .p3 { width: 44px; height: 44px; }
  .p4 { width: 52px; height: 52px; }
  .p5 { width: 50px; height: 50px; }
  .planet-label { font-size: 10px; }
  .moon-dot { width: 5px; height: 5px; }
  .trust-made-text { font-size: 11px; letter-spacing: 0.12em; }
}

/* Very small phones */
@media (max-width: 380px) {
  .trust-heading-text {
    font-size: 8px;
    letter-spacing: 0.22em;
  }
  .planet-col {
    flex: 0 0 50%;
    max-width: 160px;
  }
}
