/* DigeeMed Author Profile — shared modern layout */
:root {
  --ap-ink: #101413;
  --ap-muted: #4a5551;
  --ap-teal: #50af9b;
  --ap-teal-deep: #2a9d88;
  --ap-mint: #e8f6f2;
  --ap-soft: #f6fbf9;
  --ap-line: rgba(16, 20, 19, 0.1);
  --ap-white: #ffffff;
}

.ap-page {
  font-family: "Lexend Deca", Sans-serif;
  color: var(--ap-ink);
  background: var(--ap-white);
  overflow-x: hidden;
}

.ap-hero {
  margin-top: 76px;
  padding: 56px 0 48px;
  background:
    radial-gradient(circle at 92% 12%, rgba(80, 175, 155, 0.28), transparent 42%),
    radial-gradient(circle at 8% 88%, rgba(44, 188, 165, 0.12), transparent 40%),
    linear-gradient(180deg, #edf7f5 0%, #ffffff 72%);
  position: relative;
}

.ap-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ap-line), transparent);
}

.ap-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.ap-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 40px;
  align-items: center;
}

.ap-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ap-teal-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: apIn 0.55s ease both;
}

.ap-brand::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--ap-teal);
}

.ap-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  animation: apIn 0.6s ease 0.08s both;
}

.ap-lead {
  margin: 0 0 26px;
  max-width: 42ch;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.65;
  color: var(--ap-muted);
  animation: apIn 0.6s ease 0.16s both;
}

.ap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: apIn 0.6s ease 0.24s both;
}

.ap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ap-btn:hover {
  transform: translateY(-2px);
}

.ap-btn-primary {
  background: var(--ap-teal);
  border-color: var(--ap-teal);
  color: #fff !important;
}

.ap-btn-primary:hover {
  background: var(--ap-teal-deep);
  border-color: var(--ap-teal-deep);
  color: #fff !important;
}

.ap-btn-ghost {
  background: transparent;
  border-color: var(--ap-ink);
  color: var(--ap-ink) !important;
}

.ap-btn-ghost:hover {
  background: var(--ap-ink);
  color: #fff !important;
}

.ap-photo-wrap {
  justify-self: end;
  position: relative;
  width: 180px;
  height: 180px;
  animation: apIn 0.7s ease 0.12s both;
}

.ap-photo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(80, 175, 155, 0.55);
  animation: apPulse 3.4s ease-in-out infinite;
}

.ap-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: var(--ap-mint);
  border: 4px solid #fff;
  box-shadow: 0 16px 40px rgba(16, 20, 19, 0.12);
  image-rendering: auto;
}

.ap-section {
  padding: 72px 0;
}

.ap-section-soft {
  background: var(--ap-soft);
}

.ap-kicker {
  margin: 0 0 10px;
  color: var(--ap-teal-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ap-section h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
  max-width: 16ch;
}

.ap-bio-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 36px;
  align-items: start;
}

.ap-bio p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ap-muted);
  max-width: 62ch;
}

.ap-bio p:last-child {
  margin-bottom: 0;
}

.ap-focus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.ap-focus-item {
  background: var(--ap-white);
  border: 1px solid var(--ap-line);
  padding: 22px 20px;
  min-height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ap-focus-item:hover {
  border-color: rgba(80, 175, 155, 0.55);
  transform: translateY(-3px);
}

.ap-focus-num {
  display: block;
  margin-bottom: 10px;
  color: var(--ap-teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ap-focus-item h3 {
  margin: 0 0 8px;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
}

.ap-focus-item p {
  margin: 0;
  color: var(--ap-muted);
  font-size: 15px;
  line-height: 1.65;
}

.ap-connect {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  align-items: stretch;
}

.ap-connect-panel {
  background: var(--ap-ink);
  color: #fff;
  padding: 36px 32px;
}

.ap-connect-panel .ap-kicker {
  color: #8fd9c8;
}

.ap-connect-panel h2 {
  color: #fff;
  max-width: none;
  margin-bottom: 12px;
}

.ap-connect-panel p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.7;
  max-width: 46ch;
}

.ap-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  background: #0a66c2;
  color: #fff !important;
  font-weight: 600;
  border: 1px solid #0a66c2;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ap-linkedin:hover {
  background: #084f96;
  transform: translateY(-2px);
  color: #fff !important;
}

.ap-points {
  display: grid;
  gap: 14px;
}

.ap-point {
  background: var(--ap-white);
  border: 1px solid var(--ap-line);
  border-left: 3px solid var(--ap-teal);
  padding: 18px 16px;
}

.ap-point strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.ap-point span {
  color: var(--ap-muted);
  font-size: 14px;
  line-height: 1.55;
}

@keyframes apIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes apPulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.03); opacity: 1; }
}

@media (max-width: 900px) {
  .ap-hero-grid,
  .ap-bio-grid,
  .ap-focus,
  .ap-connect {
    grid-template-columns: 1fr;
  }

  .ap-photo-wrap {
    justify-self: start;
    width: 148px;
    height: 148px;
  }

  .ap-photo {
    width: 148px;
    height: 148px;
  }

  .ap-hero {
    padding: 40px 0 36px;
  }

  .ap-section {
    padding: 56px 0;
  }

  .ap-section h2 {
    max-width: none;
  }
}
