/* ═══════════════════════════════════════
   LEO FRAIMAN — SCROLL SITE PREMIUM
   ═══════════════════════════════════════ */

:root {
  --primary: #0f1f3d;
  --primary-light: #1a3058;
  --accent: #c9935a;
  --accent-hover: #b37f48;
  --text: #f2f0eb;
  --text-muted: #99a3b8;
  --bg-light: #f5f3ef;
  --bg-dark: #0b1628;
  --font: 'Outfit', -apple-system, sans-serif;
  --radius: 12px;
  --max-w: 1200px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body { font-family: var(--font); color: #1a1a2e; background: var(--bg-light); line-height: 1.6; }

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; transition: color .2s; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 1rem;
  transition: all .25s; cursor: pointer; border: none; font-family: var(--font);
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--small { padding: 10px 24px; font-size: .875rem; }
.btn--full { width: 100%; }

/* ═══ HEADER ═══ */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 16px 0; transition: all .3s;
}
.header.scrolled { background: rgba(11,22,40,.95); backdrop-filter: blur(12px); padding: 10px 0; }
.header__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.header__logo { display: flex; align-items: center; }
.header__logo img { height: 36px; width: auto; }
.header__nav { display: flex; gap: 28px; }
.header__nav a { color: rgba(255,255,255,.7); font-size: .875rem; font-weight: 500; transition: color .2s; }
.header__nav a:hover, .header__nav a.active { color: #fff; }
.header__cta { padding: 8px 20px; border-radius: 50px; background: var(--accent); color: #fff; font-size: .875rem; font-weight: 600; }
.header__cta:hover { background: var(--accent-hover); }
.header__menu { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.header__menu span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; position: absolute; left: 0; transition: all .3s; }
.header__menu span:nth-child(1) { top: 0; }
.header__menu span:nth-child(2) { top: 9px; }
.header__menu span:nth-child(3) { top: 18px; }

/* MOBILE NAV */
.mobile-nav {
  position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; z-index: 99;
  background: var(--bg-dark); display: flex; flex-direction: column; padding: 80px 32px 32px;
  gap: 20px; transition: right .35s ease;
}
.mobile-nav.open { right: 0; }
.mobile-nav a { color: rgba(255,255,255,.8); font-size: 1.1rem; font-weight: 500; }
.mobile-nav__cta { margin-top: auto; padding: 14px; text-align: center; border-radius: 50px; background: var(--accent); color: #fff; font-weight: 600; }

/* ═══ HERO SCROLL ═══ */
.hero-scroll { height: 400vh; position: relative; }
.hero-sticky {
  position: sticky; top: 0; height: 100vh; width: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-dark); overflow: hidden;
}
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11,22,40,.4) 0%, rgba(11,22,40,.2) 40%, rgba(11,22,40,.5) 100%);
}

.hero-layer {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px; opacity: 0; pointer-events: none;
}
.hero-layer.active { opacity: 1; pointer-events: auto; }

.hero-tag {
  font-size: .875rem; font-weight: 500; color: var(--accent);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
}
.hero-logo {
  max-width: clamp(360px, 65vw, 800px); height: auto;
}
.hero-headline {
  font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; color: #fff;
  max-width: 700px; line-height: 1.15;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.75);
  max-width: 560px; margin-top: 16px;
}
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.hero-stat { text-align: center; }
.hero-stat__num { display: block; font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.hero-stat__label { font-size: .8rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: 1px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ═══ SECTIONS ═══ */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-dark); color: var(--text); }
.section-tag {
  display: inline-block; font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; color: var(--accent);
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 40px; line-height: 1.2; text-align: center; }
.section-tag { display: block; text-align: center; }
.section-dark .section-title { color: #fff; }

/* ═══ BIO SCROLL ═══ */
.bio-scroll { height: 350vh; position: relative; }
.bio-sticky {
  position: sticky; top: 0; height: 100vh; width: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-dark); overflow: hidden;
}
.bio-video-wrap { position: absolute; inset: 0; z-index: 0; }
.bio-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.bio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(11,22,40,.88) 0%, rgba(11,22,40,.5) 45%, rgba(11,22,40,.05) 100%);
}
.bio-layer {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
  padding: 0 6%; opacity: 0; pointer-events: none;
  text-align: right;
}
.bio-layer.active { opacity: 1; pointer-events: auto; }
.bio-layer { transition: opacity .5s ease, transform .5s ease; }
.bio-title {
  font-size: clamp(1.75rem, 3.5vw, 2.8rem); font-weight: 700; color: #fff;
  line-height: 1.15; margin-top: 12px;
}
.bio-desc { font-size: 1.25rem; color: rgba(255,255,255,.85); line-height: 1.7; max-width: 520px; margin-left: auto; }
.bio-desc-small { font-size: .9rem; color: rgba(255,255,255,.6); margin-top: 20px; max-width: 480px; margin-left: auto; }
.bio-badges-hero { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; align-items: flex-end; }
.bio-badge-h {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 50px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; font-weight: 600; color: #fff;
}
.bio-badge-h i { color: var(--accent); }

/* ═══ WHY ═══ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
.why-card {
  padding: 32px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.why-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(201,147,90,.15); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.why-icon i { color: var(--accent); font-size: 1.2rem; }
.why-card h3 { font-size: 1.1rem; color: #fff; margin-bottom: 8px; }
.why-card p { color: var(--text-muted); font-size: .9rem; }
.why-features { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.why-features span { color: var(--text-muted); font-size: .875rem; }
.why-features i { color: var(--accent); margin-right: 6px; }

/* ═══ TALKS ═══ */
.talk-card {
  padding: 28px; border-radius: var(--radius); background: #fff;
  border: 1px solid rgba(0,0,0,.06); transition: all .25s; position: relative; overflow: hidden;
}
.talk-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); border-color: var(--accent); }
.talk-num { font-size: 2.5rem; font-weight: 800; color: rgba(15,31,61,.06); position: absolute; top: 12px; right: 16px; }
.talk-card h3 { font-size: .95rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; line-height: 1.3; }
.talk-card p { font-size: .85rem; color: #666; margin-bottom: 12px; }
.talk-tag { font-size: .7rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }

/* ═══ TALKS CAROUSEL ═══ */
.talks-carousel-wrap {
  position: relative; margin-top: 24px; padding: 0 48px;
}
.talks-carousel {
  display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none; padding: 8px 0;
}
.talks-carousel::-webkit-scrollbar { display: none; }
.talks-carousel .talk-card {
  flex: 0 0 calc(33.333% - 14px); min-width: 280px;
}
.talks-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.12);
  background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s; box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.talks-arrow:hover { border-color: var(--accent); color: var(--accent); }
.talks-arrow--left { left: 0; }
.talks-arrow--right { right: 0; }
.talks-arrow i { font-size: .9rem; color: var(--primary); }
.talks-arrow:hover i { color: var(--accent); }

/* ═══ AUDIENCE ═══ */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.audience-card {
  padding: 36px; border-radius: var(--radius); text-align: center;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  transition: all .25s;
}
.audience-card:hover { background: rgba(255,255,255,.08); border-color: var(--accent); }
.audience-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(201,147,90,.12); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.audience-icon i { color: var(--accent); font-size: 1.5rem; }
.audience-card h3 { font-size: 1.15rem; color: #fff; margin-bottom: 12px; }
.audience-card p { color: var(--text-muted); font-size: .9rem; margin-bottom: 20px; }

/* ═══ AUTHORITY ═══ */
.authority-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; }
.authority-item { text-align: center; padding: 24px; }
.authority-item i { font-size: 2rem; color: var(--accent); margin-bottom: 12px; }
.authority-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.authority-item p { font-size: .85rem; color: #666; }
.authority-photo img { border-radius: var(--radius); width: 100%; }

/* ═══ CONTACT ═══ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-text p { color: var(--text-muted); margin-bottom: 24px; }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-info a { color: rgba(255,255,255,.7); font-size: .9rem; transition: color .2s; }
.contact-info a:hover { color: var(--accent); }
.contact-info i { width: 24px; color: var(--accent); }

.contact-form {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .8rem; color: var(--text-muted); font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06); color: #fff; font-family: var(--font); font-size: .9rem;
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-group select option { background: var(--bg-dark); color: #fff; }
.form-consent { margin: 16px 0; }
.form-consent label { font-size: .8rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; cursor: pointer; }

/* ═══ FOOTER ═══ */
.footer { padding: 32px 0; background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,.06); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; }
.footer__logo { display: flex; align-items: center; }
.footer__logo img { height: 32px; width: auto; }
.footer p { font-size: .8rem; color: var(--text-muted); }
.footer__social { display: flex; gap: 16px; }
.footer__social a { color: rgba(255,255,255,.5); font-size: 1.1rem; transition: color .2s; }
.footer__social a:hover { color: var(--accent); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .talks-grid { grid-template-columns: repeat(2, 1fr); }
  .authority-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header__nav, .header__cta { display: none; }
  .header__menu { display: block; }
  .hero-scroll { height: 300vh; }
  .bio-scroll { height: 250vh; }
  .bio-layer { padding: 0 24px; align-items: center; text-align: center; }
  .bio-desc, .bio-desc-small { margin-left: auto; margin-right: auto; }
  .bio-badges-hero { justify-content: center; }
  .bio-overlay { background: rgba(11,22,40,.7); }
  .hero-name { font-size: 3.5rem; }
  .hero-stats { gap: 20px; }
  .hero-stat__num { font-size: 2rem; }
  .hero-video-wrap {
    mask-image: linear-gradient(to bottom, black 30%, rgba(0,0,0,.4) 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 30%, rgba(0,0,0,.4) 70%, transparent 100%);
  }
  .why-grid, .audience-grid { grid-template-columns: 1fr; }
  .talks-grid { grid-template-columns: 1fr; }
  .talks-carousel .talk-card { flex: 0 0 85%; min-width: 260px; }
  .talks-carousel-wrap { padding: 0 40px; }
  .authority-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; gap: 16px; text-align: center; }
  .section { padding: 60px 0; }
}
