/* =========================================================
   LoveTester.org — About Us
   File: /assets/css/about.css
   Shared site styles live in global.css.
   ========================================================= */

.about-hero {
  position: relative;
}

.about-hero-orb {
  position: absolute;
  border-radius: 999px;
  opacity: .22;
  pointer-events: none;
}

.about-hero-orb-a {
  width: 250px;
  height: 250px;
  right: -80px;
  top: -75px;
  background: #fff;
}

.about-hero-orb-b {
  width: 195px;
  height: 195px;
  left: -85px;
  bottom: -96px;
  background: #ffd9eb;
}

.about-hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.about-hero-visual {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}

.about-visual-ring {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,.23), rgba(255,255,255,.06) 60%, transparent 72%);
  animation: aboutPulse 5s ease-in-out infinite;
}

.about-visual-heart {
  position: relative;
  z-index: 2;
  font-size: clamp(5.4rem, 21vw, 8rem);
  filter: drop-shadow(0 14px 30px rgba(96,17,61,.18));
  animation: aboutFloat 4s ease-in-out infinite;
}

.about-spark {
  position: absolute;
  z-index: 3;
  color: rgba(255,255,255,.94);
  animation: aboutSpark 2.8s ease-in-out infinite;
}

.spark-1 { top: 13%; left: 13%; }
.spark-2 { top: 20%; right: 12%; animation-delay: .7s; }
.spark-3 { bottom: 18%; right: 17%; animation-delay: 1.2s; }

@keyframes aboutPulse {
  0%,100% { transform: scale(.94); opacity: .75; }
  50% { transform: scale(1.05); opacity: 1; }
}

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

@keyframes aboutSpark {
  0%,100% { opacity: .35; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Summary cards */
.about-summary-section {
  position: relative;
  z-index: 5;
  margin-top: -18px;
  padding-bottom: 30px;
}

.about-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.about-summary-card {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.about-summary-card > span {
  flex: 0 0 auto;
  font-size: 1.4rem;
}

.about-summary-card strong,
.about-summary-card small {
  display: block;
}

.about-summary-card small {
  margin-top: 1px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.3;
}

/* Profile */
.about-profile-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.about-avatar {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2), var(--brand-3));
  box-shadow: 0 12px 26px rgba(232,52,142,.18);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -.04em;
}

.about-profile-copy p:first-child {
  margin-top: 0;
}

.about-profile-copy p:last-child {
  margin-bottom: 0;
}

/* Notice */
.about-notice {
  margin: 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface-2);
}

.about-notice > span {
  flex: 0 0 auto;
  font-size: 1.35rem;
}

.about-notice strong {
  display: block;
  color: var(--ink);
}

.about-notice p {
  margin: 4px 0 0;
}

/* Tool grid: allow 4 cards */
.about-tools-grid {
  display: grid;
  gap: 12px;
}

/* Contact */
.about-contact-card {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.about-contact-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--surface-2);
  font-size: 1.7rem;
}

.about-contact-card h2 {
  margin: 5px 0 6px;
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.about-contact-card p {
  margin: 0 0 15px;
  color: var(--muted);
}

@media (min-width: 640px) {
  .about-summary-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-profile-card {
    grid-template-columns: auto 1fr;
    align-items: start;
    padding: 28px;
  }

  .about-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-contact-card {
    grid-template-columns: auto 1fr;
    padding: 28px;
  }
}

@media (min-width: 880px) {
  .about-hero-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(230px, .7fr);
  }
}

@media (max-width: 480px) {
  .about-summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-contact-card .primary-btn {
    width: 100%;
  }
}
