/* ============================================================
   ROCK DID IT™ — getpaid.rockdidit.com
   Apple-level · Clean white · Bold red · Real brand images
   Feathered photo blending · Video hero · Bilingual EN/ES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  --white:      #FFFFFF;
  --off:        #F5F5F7;
  --light:      #E8E8ED;
  --mid:        #6E6E73;
  --dark:       #1D1D1F;
  --black:      #000000;
  --red:        #E10600;
  --red-dk:     #B80500;
  --red-bg:     #FFF0F0;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --max: 960px;
  --maxw: 1200px;
  --r: 8px;
  --rl: 16px;
  --rxl: 24px;
  --pill: 999px;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ── BILINGUAL TOGGLE ── */
body.lang-es .lang-en { display: none !important; }
body.lang-en .lang-es { display: none !important; }

/* ── TOPBAR ── */
.topbar {
  position: sticky; top: 0; z-index: 400;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
}
.topbar-logo { height: 36px; width: auto; }
.topbar-right { display: flex; align-items: center; gap: 16px; }

/* ── LANGUAGE SWITCHER ── */
.lang-switcher {
  display: flex; align-items: center;
  background: var(--off);
  border-radius: var(--pill);
  padding: 4px;
  gap: 2px;
}
.lang-btn {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  padding: 6px 16px; border-radius: var(--pill);
  border: none; cursor: pointer;
  transition: all 0.2s; color: var(--mid); background: none;
}
.lang-btn.active {
  background: var(--white); color: var(--dark);
  box-shadow: 0 1px 6px rgba(0,0,0,0.14);
}

/* ── VIDEO HERO ── */
.video-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  max-height: 900px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--black);
}

.video-hero video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

/* Feathered gradient overlay - fades video into black at edges and bottom */
.video-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.5) 0%,
      rgba(0,0,0,0.1) 30%,
      rgba(0,0,0,0.1) 60%,
      rgba(0,0,0,0.85) 100%),
    linear-gradient(to right,
      rgba(0,0,0,0.6) 0%,
      transparent 50%,
      rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.video-hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 44px;
  max-width: 900px;
}

/* ── PHOTO HERO — with feathered image on right ── */
.photo-hero {
  position: relative;
  min-height: 640px;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--off);
}

.photo-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.18;
}

/* Feathered edges: fades photo into white background at left, right, bottom */
.photo-hero-fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right,
      var(--off) 0%,
      rgba(245,245,247,0.9) 35%,
      rgba(245,245,247,0.3) 60%,
      var(--off) 100%),
    linear-gradient(to bottom,
      transparent 0%,
      transparent 70%,
      var(--off) 100%);
  z-index: 1;
}

.photo-hero-img {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  object-fit: cover;
  object-position: top center;
  /* Feather the left and bottom edges of the person photo */
  mask-image:
    linear-gradient(to left, black 30%, transparent 100%),
    linear-gradient(to top, transparent 0%, black 20%);
  -webkit-mask-image:
    linear-gradient(to left, black 30%, transparent 100%),
    linear-gradient(to top, transparent 0%, black 20%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.photo-hero-content {
  position: relative; z-index: 2;
  padding: 80px 48px 80px 60px;
  max-width: 55%;
}

/* ── SECTION WITH FEATHERED BACKGROUND IMAGE ── */
.img-section {
  position: relative;
  overflow: hidden;
}

.img-section-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Feathered dark overlay - blends image into dark/black */
.img-section-overlay-dark {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.75) 40%,
    rgba(0,0,0,0.85) 100%
  );
  z-index: 1;
}

/* Feathered light overlay - blends image into white */
.img-section-overlay-light {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.8) 30%,
    rgba(255,255,255,0.8) 70%,
    rgba(255,255,255,0.95) 100%
  );
  z-index: 1;
}

.img-section-content {
  position: relative; z-index: 2;
}

/* ── TYPOGRAPHY — Full Apple scale ── */
.d1 {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900; letter-spacing: -0.04em; line-height: 0.95;
  color: var(--dark);
}
.d1.white { color: var(--white); }

.d2 {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1;
  color: var(--dark);
}
.d2.white { color: var(--white); }

.d3 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.06;
  color: var(--dark);
}
.d3.white { color: var(--white); }

.h-med {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600; letter-spacing: -0.015em; line-height: 1.25;
}

.red { color: var(--red); }

.sub {
  font-size: clamp(17px, 2vw, 21px); font-weight: 400;
  color: var(--mid); line-height: 1.65;
}
.sub.white { color: rgba(255,255,255,0.75); }

.sec-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red); margin-bottom: 12px;
}

.body {
  font-size: 17px; color: var(--mid); line-height: 1.8; margin-bottom: 14px;
}
.body strong { color: var(--dark); font-weight: 600; }
.body.white { color: rgba(255,255,255,0.72); }
.body.white strong { color: var(--white); }

/* ── LAYOUT ── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 48px; }
.wrap-wide { max-width: var(--maxw); margin: 0 auto; padding: 0 48px; }
.pad { padding: 96px 48px; }
.pad-sm { padding: 64px 48px; }
.bg-w { background: var(--white); }
.bg-off { background: var(--off); }
.bg-dk { background: var(--dark); color: var(--white); }
.bg-blk { background: var(--black); color: var(--white); }
.center { text-align: center; }

/* ── BADGE PILLS ── */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  border-radius: var(--pill); padding: 7px 18px; margin-bottom: 28px;
}
.badge-light { background: var(--red-bg); color: var(--red); }
.badge-dark {
  background: rgba(225,6,0,0.15);
  border: 1px solid rgba(225,6,0,0.35);
  color: var(--red);
}
.badge-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; animation: blink 2s ease infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.25} }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-size: 17px; font-weight: 600;
  padding: 17px 38px; border-radius: var(--pill);
  border: none; cursor: pointer; transition: all 0.15s; text-decoration: none;
  white-space: nowrap; letter-spacing: -0.01em;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dk); box-shadow: 0 8px 28px rgba(225,6,0,0.3); }
.btn-red:active { transform: scale(0.98); }
.btn-red-xl { font-size: 20px; padding: 22px 56px; }
.btn-red-sm { font-size: 15px; padding: 12px 28px; }

.btn-outline-w {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-w:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

.btn-outline-r {
  background: transparent; color: var(--red);
  border: 1.5px solid var(--red);
}
.btn-outline-r:hover { background: var(--red-bg); }

.brow { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.brow.c { justify-content: center; }

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--off); padding: 16px 48px;
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 32px;
}
.ti { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--mid); }
.td { width: 5px; height: 5px; background: var(--red); border-radius: 50%; }

/* ── STATS ── */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(0,0,0,0.08);
  border-radius: var(--rl); overflow: hidden; margin: 36px 0;
}
.stat-box { background: var(--white); padding: 32px 20px; text-align: center; }
.stat-box.dark { background: rgba(255,255,255,0.05); }
.stat-val {
  font-size: clamp(32px, 5vw, 48px); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1; color: var(--red); margin-bottom: 10px;
}
.stat-lbl { font-size: 14px; color: var(--mid); line-height: 1.45; }
.stat-lbl.white { color: rgba(255,255,255,0.65); }

/* ── FRAMEWORK PILLARS ── */
.pillars {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 14px; margin: 36px 0;
}
.pillar {
  background: var(--off); border-radius: var(--rxl);
  padding: 28px 16px; text-align: center;
  position: relative; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.pillar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
}
.pillar-letter {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--red-bg); margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900; letter-spacing: -0.04em; color: var(--red);
}
.pillar-title { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dark); margin-bottom: 6px; }
.pillar-desc { font-size: 12px; color: var(--mid); line-height: 1.55; }

/* ── CARDS ── */
.card {
  background: var(--off); border-radius: var(--rxl); padding: 32px 28px;
  position: relative; overflow: hidden; transition: transform 0.2s;
}
.card:hover { transform: translateY(-3px); }
.card-w { background: var(--white); border: 1px solid rgba(0,0,0,0.07); border-radius: var(--rxl); padding: 32px 28px; }
.card-dk { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--rxl); padding: 32px 28px; }
.card-red-top::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red); border-radius: var(--rxl) var(--rxl) 0 0;
}
.card-num { font-size: 52px; font-weight: 900; letter-spacing: -0.04em; color: rgba(225,6,0,0.12); line-height: 1; margin-bottom: 10px; }
.card-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--dark); margin-bottom: 8px; }
.card-dk .card-title { color: var(--white); }
.card-body { font-size: 14px; color: var(--mid); line-height: 1.68; }
.card-dk .card-body { color: rgba(255,255,255,0.65); }

/* ── PDF DOWNLOAD CARDS ── */
.pdf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.pdf-card {
  background: var(--white); border-radius: var(--rxl); padding: 36px 28px;
  border: 1px solid rgba(0,0,0,0.08); text-align: center;
  position: relative; overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s; cursor: default;
}
.pdf-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #FF6B1A, #E8324A, #8B2BE2);
}
.pdf-card:hover { box-shadow: 0 12px 44px rgba(0,0,0,0.1); transform: translateY(-3px); }
.pdf-flag { font-size: 52px; display: block; margin-bottom: 16px; }
.pdf-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--dark); margin-bottom: 8px; }
.pdf-desc { font-size: 14px; color: var(--mid); line-height: 1.6; margin-bottom: 24px; }
.pdf-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.pdf-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--off); color: var(--mid); border-radius: var(--pill); padding: 4px 12px;
}

/* ── CHECKLIST ── */
.chk { list-style: none; }
.chk li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 15px 0; border-bottom: 1px solid rgba(0,0,0,0.07);
  font-size: 16px; color: var(--mid); line-height: 1.55;
}
.chk li:last-child { border-bottom: none; }
.chk li.white { color: rgba(255,255,255,0.72); border-color: rgba(255,255,255,0.1); }
.chk li strong { color: var(--dark); font-weight: 600; }
.chk li.white strong { color: var(--white); }
.cb {
  flex-shrink: 0; width: 22px; height: 22px;
  border-radius: 50%; background: var(--red-bg);
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.cb::after { content: ''; width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.cb-w { background: rgba(225,6,0,0.2); }
.cb-w::after { background: var(--red); }

/* ── CALLOUT ── */
.callout {
  background: var(--red-bg); border-radius: var(--rl);
  padding: 20px 24px; border-left: 4px solid var(--red); margin: 24px 0;
}
.callout p { font-size: 15px; color: var(--dark); line-height: 1.7; margin-bottom: 8px; }
.callout p:last-child { margin: 0; }

/* ── QUOTE ── */
.quote {
  background: var(--off); border-radius: var(--rxl); padding: 44px 48px;
  border-left: 4px solid var(--red); margin: 28px 0;
}
.quote-text {
  font-size: clamp(18px, 2.5vw, 26px); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.4; color: var(--dark);
  margin-bottom: 14px; font-style: italic;
}
.quote-author { font-size: 14px; font-weight: 700; color: var(--red); letter-spacing: 0.08em; text-transform: uppercase; }

/* ── FORM ── */
.form-wrap {
  background: var(--white); border-radius: var(--rxl);
  padding: 48px 44px; border: 1px solid rgba(0,0,0,0.08);
}
.fg { margin-bottom: 18px; }
.fl {
  display: block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid); margin-bottom: 8px;
}
.fi {
  width: 100%; background: var(--off); border: 1.5px solid transparent;
  border-radius: var(--r); padding: 14px 18px;
  font-size: 16px; font-family: var(--font); color: var(--dark);
  outline: none; transition: all 0.15s; -webkit-appearance: none;
}
.fi:focus { border-color: var(--red); background: var(--white); box-shadow: 0 0 0 3px rgba(225,6,0,0.1); }
.fi::placeholder { color: rgba(0,0,0,0.28); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── SUCCESS CIRCLE ── */
.sc {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--red-bg); margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
}
.sc::after { content: ''; width: 36px; height: 36px; background: var(--red); border-radius: 50%; }

/* ── GRIDS ── */
.g2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.g3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.g4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

/* ── DIVIDERS ── */
.div { height: 1px; background: rgba(0,0,0,0.08); margin: 36px 0; }
.div-w { height: 1px; background: rgba(255,255,255,0.1); margin: 36px 0; }

/* ── PROGRESS ── */
.prog { height: 3px; background: var(--light); }
.prog-fill { height: 100%; background: var(--red); width: 0; transition: width 0.9s cubic-bezier(0.4,0,0.2,1); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.a1 { animation: fadeUp 0.65s cubic-bezier(0.4,0,0.2,1) 0.05s both; }
.a2 { animation: fadeUp 0.65s cubic-bezier(0.4,0,0.2,1) 0.18s both; }
.a3 { animation: fadeUp 0.65s cubic-bezier(0.4,0,0.2,1) 0.31s both; }
.a4 { animation: fadeUp 0.65s cubic-bezier(0.4,0,0.2,1) 0.44s both; }
.a5 { animation: fadeUp 0.65s cubic-bezier(0.4,0,0.2,1) 0.57s both; }
.a6 { animation: fadeUp 0.65s cubic-bezier(0.4,0,0.2,1) 0.70s both; }

/* ── FOOTER ── */
.footer {
  background: var(--off); border-top: 1px solid rgba(0,0,0,0.08);
  padding: 36px 48px; text-align: center;
}
.footer p { font-size: 13px; color: var(--mid); line-height: 1.7; }
.footer a { color: var(--red); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .video-hero { height: 80vh; min-height: 560px; }
  .photo-hero { min-height: auto; }
  .photo-hero-img { display: none; }
  .photo-hero-content { max-width: 100%; padding: 64px 28px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .pdf-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar { padding: 0 20px; }
  .topbar-logo { height: 30px; }
  .video-hero-content { padding: 0 20px; }
  .wrap, .wrap-wide { padding: 0 20px; }
  .pad { padding: 64px 20px; }
  .pad-sm { padding: 44px 20px; }
  .trust-strip { padding: 14px 20px; gap: 16px; }
  .form-wrap { padding: 28px 20px; }
  .f2 { grid-template-columns: 1fr; }
  .brow { flex-direction: column; align-items: stretch; }
  .brow .btn { width: 100%; justify-content: center; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer { padding: 28px 20px; }
  .d1 { letter-spacing: -0.03em; }
}
