/* ── Inner Circle — Next.js component styles ─────────────────── */

/* ── Base fixes ─────────────────────────────────────────────── */
main { padding-top: 0; }
.reveal { opacity: 1 !important; transform: none !important; }
.modal-overlay { z-index: 10000 !important; }

/* ── Nav ────────────────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--forest-night); border-bottom: 1px solid rgba(255,255,255,.06); transition: box-shadow .3s; overflow: visible; }
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.3); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: var(--nav-h); }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 14px; color: var(--sage-mist); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--warm-white); }
.nav-actions { display: flex; gap: 10px; margin-left: auto; }
.nav-menu-btn { display: none; background: none; border: none; color: var(--warm-white); font-size: 22px; cursor: pointer; padding: 4px; margin-left: auto; }
.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 12px 20px 20px; background: var(--deep-canopy); border-bottom: 1px solid var(--fern); position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99; }
.mobile-nav a { color: var(--sage-mist); text-decoration: none; padding: 10px 0; font-size: 15px; }
.mobile-nav.open { display: flex; }
@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-menu-btn { display: block; }
}

/* ── Legal pages ────────────────────────────────────────────── */
.legal-hero { background: var(--forest-night); padding-top: calc(var(--nav-h) + 56px); padding-bottom: 40px; }
.legal-body { padding: 60px 0 88px; }
.legal-content { max-width: 720px; margin: 0 auto; }
.legal-content h2 { font-size: 22px; color: var(--light-text); margin: 36px 0 10px; }
.legal-content h3 { font-size: 16px; color: var(--light-text); margin: 20px 0 8px; }
.legal-content p { color: var(--light-muted); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.legal-content ul { color: var(--light-muted); font-size: 15px; line-height: 1.75; padding-left: 20px; margin-bottom: 14px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--vivid-grove); }

/* ── About / Apply hero ─────────────────────────────────────── */
.about-hero { background: var(--forest-night); padding-top: calc(var(--nav-h) + 72px); padding-bottom: 56px; }
.apply-hero { padding-top: calc(var(--nav-h) + 72px); padding-bottom: 56px; text-align: center; }
.apply-card { background: var(--light-card); border: 1px solid var(--light-border); border-radius: var(--r-xl); padding: 40px; max-width: 720px; margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 40px; }
.team-card { background: var(--light-card); border: 1px solid var(--light-border); border-radius: var(--r-xl); padding: 28px; }
.team-av { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.team-name { font-family: var(--font-head); font-size: 16px; font-weight: 800; color: var(--light-text); }
.team-role { font-size: 13px; color: var(--light-muted); margin-top: 2px; margin-bottom: 10px; }
.team-bio { font-size: 14px; color: var(--light-muted); line-height: 1.65; }

/* ── Browse page ────────────────────────────────────────────── */
.browse-hero { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 44px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn { background: var(--light-card); border: 1.5px solid var(--light-border); border-radius: var(--r-pill); padding: 7px 16px; font-size: 13px; font-weight: 600; color: var(--light-muted); cursor: pointer; text-decoration: none; transition: all .15s; white-space: nowrap; }
.filter-btn:hover, .filter-btn.active { background: var(--vivid-grove); border-color: var(--vivid-grove); color: #fff; }

/* ── Blog page ──────────────────────────────────────────────── */
.featured-post { background: var(--light-card); border: 1px solid var(--light-border); border-radius: var(--r-xl); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 44px; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.featured-cover { min-height: 260px; display: flex; align-items: center; justify-content: center; font-size: 72px; }
.featured-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { font-size: 24px; color: var(--light-text); margin-bottom: 12px; line-height: 1.3; }
.featured-body p { color: var(--light-muted); margin-bottom: 20px; font-size: 15px; }
@media (max-width: 768px) { .featured-post { grid-template-columns: 1fr; } .featured-cover { min-height: 180px; } }

/* ── Earnings scroll ────────────────────────────────────────── */
.earnings-scroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
.earnings-scroll::-webkit-scrollbar { height: 4px; }
.earnings-scroll::-webkit-scrollbar-track { background: var(--moss-shadow); border-radius: 2px; }
.earnings-scroll::-webkit-scrollbar-thumb { background: var(--fern); border-radius: 2px; }
.earnings-card { background: var(--deep-canopy); border: 1px solid var(--fern); border-radius: var(--r-xl); padding: 22px; min-width: 220px; flex-shrink: 0; }
.earnings-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.earnings-av { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 13px; font-weight: 800; flex-shrink: 0; }
.earnings-name { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 800; color: var(--warm-white); }
.earnings-loc { display: block; font-size: 12px; color: var(--deep-sage); }
.earnings-amount { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 900; color: var(--electric-leaf); margin-bottom: 4px; }
.earnings-period { font-size: 12px; color: var(--deep-sage); margin-bottom: 10px; }
.earnings-badge { display: inline-block; font-size: 11px; font-weight: 700; color: var(--vivid-grove); background: rgba(42,200,112,.1); padding: 3px 10px; border-radius: var(--r-pill); }

/* ── Three ways to earn ─────────────────────────────────────── */
.earn-streams-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 48px; }
@media (max-width: 960px) { .earn-streams-grid { grid-template-columns: 1fr; } }

/* ── Testimonials ───────────────────────────────────────────── */
.rc-wrap { position: relative; overflow: hidden; padding: 8px 48px; }
.rc-track { display: flex; gap: 20px; transition: transform .4s cubic-bezier(.4,0,.2,1); }
.rc-slide { flex: 0 0 calc(50% - 10px); min-width: calc(50% - 10px); }
.intro-review { background: var(--light-card); border: 1px solid var(--light-border); border-radius: var(--r-xl); padding: 28px 32px; }
.intro-review-quote { font-size: 32px; color: var(--electric-leaf); font-family: var(--font-head); line-height: 1; margin-bottom: 12px; }
.intro-review-text { font-size: 15px; color: var(--light-muted); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.intro-review-divider { height: 1px; background: var(--light-border); margin-bottom: 16px; }
.intro-review-author { display: flex; align-items: center; gap: 12px; }
.intro-review-av { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 13px; font-weight: 800; flex-shrink: 0; }
.intro-review-name { font-size: 14px; font-weight: 700; color: var(--light-text); }
.intro-review-role { font-size: 12px; color: var(--light-subtle); }
.rc-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--light-card); border: 1.5px solid var(--light-border); cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; z-index: 2; transition: all .15s; }
.rc-btn:hover { background: var(--vivid-grove); border-color: var(--vivid-grove); color: #fff; }
.rc-btn:disabled { opacity: 0.3; cursor: default; }
.rc-prev { left: 0; }
.rc-next { right: 0; }
.rc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.rc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--light-border); border: none; cursor: pointer; padding: 0; transition: background .2s; }
.rc-dot.active { background: var(--vivid-grove); }
@media (max-width: 768px) { .rc-slide { flex: 0 0 100%; min-width: 100%; } .rc-wrap { padding: 8px 40px; } }

/* ── Creator profile page ───────────────────────────────────── */
.profile-cover-sm { height: 160px; position: relative; overflow: hidden; margin-top: var(--nav-h); contain: layout; }
.profile-header-bar { background: var(--light-card); border-bottom: 1px solid var(--light-border); }
.profile-av-lg { width: 88px; height: 88px; min-width: 88px; border-radius: 50%; border: 4px solid #fff; overflow: hidden; flex-shrink: 0; background: rgba(61,235,138,.15); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 12px rgba(0,0,0,.12); position: relative; z-index: 2; }
.profile-av-lg img { width: 100%; height: 100%; object-fit: cover; }
.profile-head-sub { font-size: 14px; color: var(--light-muted); margin-top: 4px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-stats-row { display: flex; gap: 20px; flex-wrap: wrap; }
.profile-stat { font-size: 13px; color: var(--light-muted); }
.profile-stat strong { color: var(--light-text); }
.verified-tick { background: var(--vivid-grove); color: #fff; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: var(--r-pill); }
.profile-page-body { background: var(--light-bg); padding: 32px 0 80px; }
.profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; padding-top: 32px; }
.profile-booking-col { position: sticky; top: calc(var(--nav-h) + 16px); }
.expertise-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.expertise-tag { background: rgba(42,200,112,.08); color: var(--vivid-grove); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: var(--r-pill); border: 1px solid rgba(42,200,112,.2); }
.tabs-row { display: flex; border-bottom: 2px solid var(--light-border); margin-bottom: 20px; }
.tab-btn { background: none; border: none; font-family: var(--font-head); font-weight: 700; font-size: 14px; padding: 11px 18px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .2s, border-color .2s; color: var(--light-subtle); }
.tab-btn.active { color: var(--vivid-grove); border-bottom-color: var(--vivid-grove); }
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-card { background: var(--light-card); border: 1px solid var(--light-border); border-radius: var(--r-lg); overflow: hidden; cursor: pointer; transition: box-shadow .15s; }
.post-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.post-thumb { height: 130px; display: flex; align-items: center; justify-content: center; font-size: 32px; position: relative; }
.post-lock { position: absolute; inset: 0; background: rgba(248,246,241,.92); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; cursor: pointer; padding: 4px; overflow: hidden; }
.post-lock-icon { font-size: 22px; }
.post-lock-label { font-size: 11px; font-weight: 700; color: var(--light-muted); font-family: var(--font-head); }
.post-lock-tier { font-size: 10px; padding: 3px 8px; border-radius: var(--r-pill); font-weight: 700; max-width: 90%; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-body { padding: 14px; }
.post-body h5 { color: #1A2E22; font-size: 14px; margin-bottom: 5px; }
.post-body p { font-size: 12px; color: #5A6B5E; }
.post-meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--light-subtle); }
.profile-review { background: var(--light-card); border: 1px solid var(--light-border); border-radius: var(--r-lg); padding: 18px 20px; }
.profile-review .review-stars { font-size: 13px; color: var(--sunbaked); margin-bottom: 8px; }
.profile-review .review-q { font-size: 13px; color: #484848; line-height: 1.6; margin-bottom: 12px; font-style: italic; }
.profile-review .review-auth { display: flex; align-items: center; gap: 10px; }
.profile-review .review-auth-av { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 12px; font-weight: 800; flex-shrink: 0; }
.profile-review .review-auth-name { font-size: 13px; font-weight: 700; color: #1A2E22; }
.profile-review .review-auth-role { font-size: 11px; color: var(--light-subtle); }
.expect-steps { display: flex; flex-direction: column; }
.expect-step { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 20px; }
.expect-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--vivid-grove); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 13px; font-weight: 800; flex-shrink: 0; }
.expect-step-text h5 { color: #1A2E22; margin-bottom: 4px; font-size: 14px; }
.expect-step-text p { font-size: 13px; color: #6B7B6E; line-height: 1.5; }
.faq-list { margin-top: 16px; }
.faq-item { border-bottom: 1px solid var(--light-border); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; }
.faq-q h5 { color: #1A2E22; font-size: 14px; font-weight: 700; }
.faq-chevron { font-size: 18px; color: var(--light-muted); font-weight: 300; flex-shrink: 0; }
.faq-a { display: none; padding-bottom: 16px; }
.faq-item.open .faq-a { display: block; }
.faq-a p { font-size: 14px; color: #484848; line-height: 1.65; }

/* ── Apply page ─────────────────────────────────────────────── */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.calc-card { background: var(--deep-canopy); border: 1px solid var(--fern); border-radius: var(--r-xl); padding: 28px; }
.range-wrap { margin-bottom: 14px; }
.range-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--eucalyptus); margin-bottom: 6px; }
.range-label strong { color: var(--warm-white); }
input[type=range] { width: 100%; accent-color: var(--electric-leaf); }
.calc-result { border-radius: var(--r-xl); padding: 24px; text-align: center; }
.calc-amount { display: block; font-family: var(--font-head); font-size: 36px; font-weight: 900; color: var(--electric-leaf); margin-bottom: 6px; }
.calc-period { font-size: 13px; margin-bottom: 16px; }
.calc-breakdown { display: flex; gap: 32px; justify-content: center; }
.calc-item { text-align: center; }
.calc-item-val { font-family: var(--font-head); font-size: 18px; font-weight: 800; }
.calc-item-label { font-size: 11px; margin-top: 2px; }
.protection-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.protection-card { background: var(--deep-canopy); border: 1px solid var(--fern); border-radius: var(--r-lg); padding: 24px; }
.protection-icon { width: 44px; height: 44px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }

/* ── Modal styles ───────────────────────────────────────────── */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.6); align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--light-card); border-radius: var(--r-xl); padding: 32px; max-width: 520px; width: 100%; position: relative; max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 24px; color: var(--light-muted); cursor: pointer; line-height: 1; }
.modal h3 { color: var(--light-text); margin-bottom: 6px; font-size: 20px; }
.modal-sub { font-size: 14px; color: var(--light-muted); margin-bottom: 16px; }
.modal-session-badge { display: inline-block; background: rgba(42,200,112,.1); color: var(--vivid-grove); font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: var(--r-pill); margin-bottom: 20px; min-height: 28px; }
.form-label-light { font-size: 13px; font-weight: 600; color: var(--light-muted); display: block; margin-bottom: 4px; }
.input-light { background: var(--light-card); border: 1.5px solid var(--light-border); border-radius: var(--r-md); padding: 10px 14px; color: var(--light-text); font-size: 14px; width: 100%; transition: border-color .2s; }
.input-light:focus { border-color: var(--vivid-grove); outline: none; }
.input-light::placeholder { color: var(--light-subtle); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 14px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-booking-col { position: static; }
  .post-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .protection-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .profile-head-inner { flex-wrap: wrap; }
  .profile-stats-row { gap: 12px; }
  .profile-header-bar { overflow: visible !important; }
}
@media (max-width: 600px) {
  .protection-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
