/* ═══════════════════════════════════════════════════
   CHESLYN DANIELS — LinkedIn Post Web App
   Color Palette:
     Navy  : #0d1b2a
     Gold  : #c9a84c
     Green : #27ae60
     White : #ffffff
     Light : #f4f6f9
═══════════════════════════════════════════════════ */

:root {
  --navy:   #0d1b2a;
  --navy2:  #1a2f45;
  --gold:   #c9a84c;
  --gold2:  #e8c76a;
  --green:  #27ae60;
  --green2: #2ecc71;
  --white:  #ffffff;
  --light:  #f4f6f9;
  --text:   #2c3e50;
  --muted:  #6b7d8f;
  --radius: 18px;
  --shadow: 0 8px 40px rgba(13,27,42,0.18);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 50%, #0d1b2a 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  color: var(--text);
}

/* ─── Particles ─── */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.15; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-20px) rotate(720deg); opacity: 0; }
}

/* ─── Page Wrapper ─── */
.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 16px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ─── Card Base ─── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 60px rgba(13,27,42,0.28);
}

/* ─── Animation: animate-in ─── */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   HERO CARD
══════════════════════════════════════════ */
.hero-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 40px 36px;
  display: flex;
  align-items: center;
  gap: 36px;
  border: 2px solid rgba(201,168,76,0.25);
}

/* Gold shimmer top bar */
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold2), var(--gold), transparent);
  animation: shimmerBar 3s ease-in-out infinite;
}
@keyframes shimmerBar {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

/* Photo Column */
.hero-photo-col {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.photo-ring {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(var(--gold), var(--gold2), var(--gold), var(--gold2), var(--gold));
  animation: rotateBorder 6s linear infinite;
  box-shadow: 0 0 30px rgba(201,168,76,0.4);
}
@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.profile-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  display: block;
  border: 4px solid var(--navy);
  filter: brightness(1.05) contrast(1.05);
}

.photo-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid var(--navy);
  background: linear-gradient(135deg, var(--navy2), var(--navy));
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gold);
}

.available-badge {
  background: var(--green);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(39,174,96,0.4);
}

.pulse-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: 0.5; }
}

/* Hero Text Column */
.hero-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

.hero-name {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold2);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gold-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-title .gold-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Skill Chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.chip {
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold2);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s;
  cursor: default;
}
.chip:hover {
  background: rgba(201,168,76,0.25);
  border-color: var(--gold2);
  transform: scale(1.05);
}
.chip i { font-size: 0.72rem; }

/* ══════════════════════════════════════════
   METRICS CARD
══════════════════════════════════════════ */
.metrics-card {
  background: linear-gradient(160deg, #0d1b2a 0%, #1a3a5c 100%);
  padding: 36px 32px 28px;
  border: 2px solid rgba(201,168,76,0.2);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.section-header h2 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.gold-dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
  flex-shrink: 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.metric-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all 0.3s;
}
.metric-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(39,174,96,0.4);
  transform: translateY(-2px);
}

.metric-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.metric-icon.green {
  background: linear-gradient(135deg, var(--green), var(--green2));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(39,174,96,0.4);
}

.metric-body { flex: 1; }
.metric-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.metric-value {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--green2);
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.metric-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(39,174,96,0.2);
  color: var(--green2);
  border: 1px solid rgba(39,174,96,0.4);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Progress Bar */
.metric-bar-wrap {
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 6px;
}
.metric-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--green2));
  width: 0%;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 10px rgba(46,204,113,0.5);
}
.metric-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}

/* Extra Achievements */
.extra-achievements {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.achieve-pill {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold2);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.83rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 220px;
  transition: all 0.3s;
}
.achieve-pill:hover {
  background: rgba(201,168,76,0.2);
  border-color: var(--gold);
}
.achieve-pill i {
  font-size: 1.1rem;
  color: var(--gold);
}

/* ══════════════════════════════════════════
   ABOUT CARD
══════════════════════════════════════════ */
.about-card {
  padding: 36px 36px 32px;
  position: relative;
}
.about-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--gold), var(--gold2), var(--gold));
  border-radius: 18px 0 0 18px;
}

.about-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 50px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.7;
}

.principle-quote {
  border-left: 4px solid var(--gold);
  background: linear-gradient(90deg, rgba(201,168,76,0.08), transparent);
  padding: 16px 20px;
  margin: 0 0 18px;
  border-radius: 0 10px 10px 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  font-style: italic;
}

.about-body {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* ══════════════════════════════════════════
   OPPORTUNITIES CARD
══════════════════════════════════════════ */
.opps-card {
  background: linear-gradient(135deg, var(--light), var(--white));
  padding: 32px 32px 28px;
}

.opps-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.opps-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(201,168,76,0.4);
  flex-shrink: 0;
}

.opps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.opp-item {
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 2px 12px rgba(13,27,42,0.07);
  transition: all 0.3s;
  cursor: default;
}
.opp-item:hover {
  border-color: var(--gold);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(201,168,76,0.2);
}

.opp-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   CONNECT CARD
══════════════════════════════════════════ */
.connect-card {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 32px;
  border: 2px solid rgba(201,168,76,0.2);
}

.connect-left {
  flex: 1;
}
.connect-label {
  font-size: 1rem;
  font-weight: 900;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.connect-left p {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  line-height: 1.7;
}
.connect-left strong { color: var(--gold2); }

.connect-right {
  flex-shrink: 0;
  text-align: center;
}
.cursive-quote {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--gold2);
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(201,168,76,0.3);
  animation: quoteGlow 3s ease-in-out infinite;
}
@keyframes quoteGlow {
  0%, 100% { text-shadow: 0 2px 10px rgba(201,168,76,0.3); }
  50%       { text-shadow: 0 2px 24px rgba(201,168,76,0.7); }
}

/* ══════════════════════════════════════════
   LOCATION CARD
══════════════════════════════════════════ */
.location-card {
  background: linear-gradient(90deg, var(--navy2) 0%, #0d1b2a 100%);
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 2px solid rgba(201,168,76,0.15);
}
.location-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.location-pin {
  font-size: 2rem;
  color: var(--gold);
  animation: pinBounce 2s ease-in-out infinite;
}
@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.location-city {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.03em;
}
.location-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}

.otw-badge {
  background: var(--green);
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 10px 22px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(39,174,96,0.5);
  animation: badgePulse 2s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(39,174,96,0.5); }
  50%       { box-shadow: 0 4px 36px rgba(39,174,96,0.85); }
}

/* ══════════════════════════════════════════
   HASHTAG CARD
══════════════════════════════════════════ */
.hashtag-card {
  background: var(--white);
  padding: 22px 28px;
}
.hashtag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.htag {
  background: linear-gradient(135deg, rgba(13,27,42,0.06), rgba(13,27,42,0.03));
  color: #0a66c2;
  font-size: 0.83rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(10,102,194,0.2);
  cursor: default;
  transition: all 0.25s;
}
.htag:hover {
  background: #0a66c2;
  color: var(--white);
  border-color: #0a66c2;
  transform: scale(1.08);
}

/* ══════════════════════════════════════════
   FOOTER CARD
══════════════════════════════════════════ */
.footer-card {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1520 100%);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  flex-wrap: wrap;
  border: 2px solid rgba(201,168,76,0.15);
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  flex: 1;
  min-width: 110px;
  padding: 12px 8px;
  border-radius: 10px;
  transition: all 0.3s;
  cursor: default;
}
.pillar:hover {
  background: rgba(201,168,76,0.08);
  transform: translateY(-4px);
}
.pillar i {
  font-size: 1.6rem;
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(201,168,76,0.5));
}
.pillar span {
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 640px) {
  .page-wrapper { padding: 20px 12px 40px; }

  .hero-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    gap: 20px;
  }
  .hero-title { justify-content: center; }
  .chip-row { justify-content: center; }
  .hero-sub { text-align: center; }

  .connect-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .connect-label { justify-content: center; }

  .location-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .location-left { flex-direction: column; text-align: center; }

  .footer-card { gap: 0; }
  .pillar { min-width: 80px; }

  .section-header { flex-direction: column; text-align: center; }
  .metrics-grid { grid-template-columns: 1fr; }
  .opps-grid { grid-template-columns: 1fr; }
  .extra-achievements { flex-direction: column; }

  .about-card { padding: 28px 20px 24px; }
  .opps-card { padding: 24px 20px; }
  .opps-header { flex-direction: column; text-align: center; }

  .photo-ring { width: 130px; height: 130px; }
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
