/* ============================================================
   Social media page (social.php only). Loaded after styles.css.
   ============================================================ */

/* ---------- Hero ---------- */
.soc-hero {
  position: relative; overflow: hidden; padding: 120px 32px 80px;
  background: radial-gradient(90% 90% at 80% 40%, #3a1024 0%, #1d1b22 45%, var(--ink) 100%);
}
.soc-hero-inner { max-width: 1200px; margin: 0 auto; }
.soc-hero .label-overline-red { color: var(--accent-soft); margin-bottom: 18px; }
.soc-hero h1 { color: #fff; font-size: clamp(46px, 6vw, 80px); line-height: 1; margin-bottom: 24px; }
.soc-hero-accent { color: var(--accent-soft); }
.soc-hero-sub { color: rgba(255,255,255,.88); font-size: 19px; line-height: 1.75; max-width: 520px; margin-bottom: 36px; }

.soc-hero-photo { position: relative; max-width: 520px; margin: 0 auto; padding: 10px 0; }
/* iPhone frame around the hero photo */
.soc-phone {
  position: relative; z-index: 1; width: min(340px, 78%); margin: 0 auto; padding: 12px;
  background: #0d0c0f; border-radius: 54px;
  box-shadow: 0 50px 110px rgba(0,0,0,.6), 0 0 0 2px #2b2a30, inset 0 0 0 2px #3a3940;
}
.soc-phone-screen { position: relative; aspect-ratio: 9 / 19; border-radius: 42px; overflow: hidden; background: #1d1c21; }
.soc-phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.soc-phone-screen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,0) 14%); pointer-events: none; }
.soc-phone-island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 999px; background: #000; z-index: 2; }
.soc-phone-status { position: absolute; top: 16px; left: 26px; right: 22px; z-index: 2; display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 14px; }
.soc-phone-status b { font-weight: 600; }
.soc-phone-status span { display: flex; gap: 5px; font-size: 12px; }

/* Notification bubbles that pop in around the photo, then bob gently */
.soc-notifs { position: absolute; inset: 0; pointer-events: none; }
.soc-notif {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--near-black);
  font-size: 15px; font-weight: 600; box-shadow: 0 14px 34px rgba(0,0,0,.28);
  opacity: 0; transform: translateY(14px) scale(.85);
  animation: notifIn .5s cubic-bezier(.34,1.56,.64,1) forwards, notifBob 5s ease-in-out infinite;
}
.soc-notif i { color: var(--accent); }
/* positioned against the phone frame so each bubble tucks over its edge */
.soc-notif.n1 { top: 9%;  left: -20%; animation-delay: .5s, 1.1s; }
.soc-notif.n2 { top: 21%; right: -50%; animation-delay: 1s, 1.6s; }
.soc-notif.n3 { top: 38%; left: -28%; animation-delay: 1.5s, 2.1s; }
.soc-notif.n6 { top: 52%; right: -20%; animation-delay: 2s, 2.6s; }
.soc-notif.n4 { top: 68%; right: -24%; animation-delay: 2.5s, 3.1s; }
.soc-notif.n5 { top: 83%; left: -16%; animation-delay: 3s, 3.6s; }
.soc-notif .fa-heart { color: #ff3040; } /* Instagram heart red */
.soc-notif.n4 i { color: #15803d; }
@keyframes notifIn { to { opacity: 1; transform: none; } }
@keyframes notifBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- Statement ---------- */
.soc-statement h2 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; margin-top: 10px; }
.soc-statement h2 em { font-style: normal; color: var(--accent); }

/* ---------- Check lists ---------- */
.soc-checks { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 26px 0; }
.soc-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: var(--gray-700); line-height: 1.5; }
.soc-checks i { color: var(--accent); padding-top: 4px; font-size: 15px; }
.soc-checks--dark li { color: rgba(255,255,255,.9); }
.soc-checks--dark i { color: var(--accent-soft); }
.soc-note { font-size: 16px; color: var(--gray-600); font-style: italic; margin: 0; }

/* ---------- Content calendar (decorative) ---------- */
.soc-cal { background: #fff; border-radius: 22px; padding: 26px; box-shadow: 0 24px 60px rgba(17,17,17,.10); }
.soc-cal-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.soc-cal-month { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--near-black); }
.soc-cal-legend { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gray-600); }
.soc-cal-legend i { width: 10px; height: 10px; border-radius: 50%; margin-left: 8px; }
.lg-reel { background: var(--accent); }
.lg-carousel { background: var(--accent-soft); }
.lg-story { background: #f5b8cf; }
.soc-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.soc-cal-dow { text-align: center; font-size: 13px; font-weight: 700; color: var(--gray-500); padding-bottom: 4px; }
.soc-cal-day { position: relative; min-height: 74px; border-radius: 10px; background: var(--gray-50); padding: 6px 7px; display: flex; flex-direction: column; justify-content: space-between; }
.soc-cal-day.is-empty { background: transparent; }
.soc-cal-day b { font-size: 13px; font-weight: 600; color: var(--gray-500); }
.soc-chip {
  display: block; font-style: normal; font-size: 13px; font-weight: 700; line-height: 1.2; color: #fff;
  border-radius: 6px; padding: 4px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: scale(.6);
}
.reveal.visible .soc-chip { animation: chipPop .4s cubic-bezier(.34,1.56,.64,1) forwards; }
.soc-chip--reel { background: var(--accent); }
.soc-chip--carousel { background: var(--accent-soft); }
.soc-chip--story { background: #f5b8cf; color: #5e1029; }
.soc-chip--ads { background: #1d1b22; }
.soc-chip--shoot { background: #c8a96a; color: #2b2210; }
.soc-chip--report { background: #15803d; }
.soc-chip.c1 { animation-delay: .25s !important; }  .soc-chip.c2 { animation-delay: .35s !important; }
.soc-chip.c3 { animation-delay: .45s !important; }  .soc-chip.c4 { animation-delay: .55s !important; }
.soc-chip.c5 { animation-delay: .65s !important; }  .soc-chip.c6 { animation-delay: .75s !important; }
.soc-chip.c7 { animation-delay: .85s !important; }  .soc-chip.c8 { animation-delay: .95s !important; }
.soc-chip.c9 { animation-delay: 1.05s !important; } .soc-chip.c10 { animation-delay: 1.15s !important; }
.soc-chip.c11 { animation-delay: 1.25s !important; } .soc-chip.c12 { animation-delay: 1.35s !important; }
.soc-chip.c13 { animation-delay: 1.45s !important; } .soc-chip.c14 { animation-delay: 1.55s !important; }
@keyframes chipPop { to { opacity: 1; transform: none; } }

/* ---------- Hands-on / hands-off switch ---------- */
.soc-involve { background: var(--accent-dk); }
.soc-involve h2 { color: #fff; }
.soc-involve .label-overline-red { color: var(--accent-soft); }
.soc-involve-lead { font-size: 18px; color: rgba(255,255,255,.88); line-height: 1.8; margin-top: 18px; }
.soc-switch { background: rgba(0,0,0,.22); border-radius: 22px; padding: 28px; }
.soc-switch-toggle { display: inline-flex; flex-wrap: nowrap; background: rgba(255,255,255,.1); border-radius: 999px; padding: 5px; margin-bottom: 26px; }
.soc-switch-btn {
  min-height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-size: 16px; font-weight: 700; color: rgba(255,255,255,.85); transition: background .2s, color .2s;
}
.soc-switch-btn:hover { color: #fff; }
.soc-switch-btn.active { background: #fff; color: var(--accent-dk); }
.soc-switch h3 { color: #fff; font-size: 26px; margin-bottom: 10px; }
.soc-switch p { color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.75; margin: 0; }
.soc-switch .soc-checks { margin-bottom: 0; }

/* ---------- Triad + sample report ---------- */
.soc-triad { font-size: clamp(40px, 5vw, 64px); line-height: 1.02; margin-top: 10px; }
.soc-triad span { color: var(--accent); }
.soc-report { background: var(--ink); border-radius: 22px; padding: 28px; color: #fff; box-shadow: 0 30px 70px rgba(17,17,17,.25); }
.soc-report-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; font-size: 18px; font-weight: 700; }
.soc-report-tag { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 4px 12px; }
.soc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.soc-kpis b { display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.soc-kpis span { display: block; font-size: 14px; color: var(--on-dark-muted); }
.soc-kpis em { display: block; font-style: normal; font-size: 14px; font-weight: 700; color: #4ade80; margin-top: 2px; }
.soc-bars { display: flex; align-items: flex-end; gap: 8px; height: 160px; padding-bottom: 2px; border-bottom: 1px solid rgba(255,255,255,.15); }
.soc-bars span { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(to top, var(--accent), var(--accent-soft)); height: 0; transition: height .9s cubic-bezier(.22,1,.36,1); }
.reveal.visible .soc-bars .b1  { height: 28%; transition-delay: .10s; }
.reveal.visible .soc-bars .b2  { height: 34%; transition-delay: .15s; }
.reveal.visible .soc-bars .b3  { height: 31%; transition-delay: .20s; }
.reveal.visible .soc-bars .b4  { height: 42%; transition-delay: .25s; }
.reveal.visible .soc-bars .b5  { height: 39%; transition-delay: .30s; }
.reveal.visible .soc-bars .b6  { height: 48%; transition-delay: .35s; }
.reveal.visible .soc-bars .b7  { height: 52%; transition-delay: .40s; }
.reveal.visible .soc-bars .b8  { height: 47%; transition-delay: .45s; }
.reveal.visible .soc-bars .b9  { height: 58%; transition-delay: .50s; }
.reveal.visible .soc-bars .b10 { height: 63%; transition-delay: .55s; }
.reveal.visible .soc-bars .b11 { height: 71%; transition-delay: .60s; }
.reveal.visible .soc-bars .b12 { height: 82%; transition-delay: .65s; }
.soc-report-foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--on-dark-muted); }

/* ---------- Real connections ---------- */
.soc-big { background: var(--ink); padding: 120px 32px; text-align: center; }
.soc-big h2 { color: #fff; font-size: clamp(44px, 7.4vw, 104px); line-height: .98; letter-spacing: -.04em; margin-bottom: 30px; }
.soc-big h2 span { color: var(--accent-soft); }
.soc-big p { color: rgba(255,255,255,.86); font-size: 19px; line-height: 1.8; max-width: 720px; margin: 0 auto; }

/* ---------- Responsive & motion ---------- */
@media (max-width: 991px) {
  .soc-hero { padding: 100px 20px 72px; }
  .soc-hero-photo { max-width: 400px; margin-top: 20px; }
  .soc-notif.n1, .soc-notif.n3, .soc-notif.n5 { left: -10%; }
  .soc-notif.n2, .soc-notif.n4, .soc-notif.n6 { right: -10%; }
}
@media (max-width: 575px) {
  .soc-notif { font-size: 14px; padding: 8px 12px; }
  .soc-notif.n2, .soc-notif.n4 { display: none; }
  .soc-cal { padding: 16px; }
  .soc-cal-day { min-height: 56px; padding: 4px; }
  .soc-chip { font-size: 0; padding: 0; height: 8px; border-radius: 4px; }
  .soc-kpis { grid-template-columns: 1fr 1fr; }
  .soc-switch { padding: 20px; }
  .soc-switch-btn { padding: 0 20px; }
  .soc-big { padding: 80px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .soc-notif { animation: none; opacity: 1; transform: none; }
  .soc-chip { opacity: 1; transform: none; }
  .reveal.visible .soc-chip { animation: none; }
}
