/* Home Page — dark theme with orange accents (EventraVlog redesign) */
:root {
  --home-bg: #0B0B0D;
  --home-panel: #16161A;
  --home-panel-2: #1E1E24;
  --home-border: #2A2A31;
  --home-text: #EDEDED;
  --home-muted: #9C9CA6;
}

body.home-page { background: var(--home-bg); color: var(--home-text); }
body.home-page .site-header { background: #000; border-bottom: 1px solid var(--home-border); }
body.home-page .primary-nav a { color: #D5D5DE; }

/* ---------- HERO ---------- */
.home-hero {
  position: relative;
  padding: 50px 0 50px;
  background:
    linear-gradient(180deg, rgba(11,11,13,.35) 0%, rgba(11,11,13,.92) 100%),
    radial-gradient(1200px 400px at 80% 20%, rgba(255,90,31,.14), transparent 60%),
    linear-gradient(135deg, #0B0B0D 0%, #1a0a04 100%);
  overflow: hidden;
}
.home-hero::before {
  content:''; position:absolute; inset:0; opacity:.12;
  background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events:none;
}
.home-hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.home-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--orange); font-size: 11px; font-weight: 800;
  letter-spacing: 2.6px; padding: 8px 14px;
  background: rgba(255,90,31,.10); border: 1px solid rgba(255,90,31,.25);
  border-radius: 999px; margin-bottom: 22px;
}
.home-hero h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.02; letter-spacing: -1.5px; font-weight: 900;
  color: #fff;
}
.home-hero h1 .accent { color: var(--orange); }
.home-hero .sub {
  color: var(--home-muted); font-size: 17px; margin: 22px 0 32px;
  max-width: 560px; line-height: 1.55;
}
.home-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.home-hero-actions .btn-primary { box-shadow: 0 12px 30px rgba(255,90,31,.35); }
.home-hero-visual {
  position: relative; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--home-border);
  background: #111;
}
.home-hero-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.home-hero-visual::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(140deg, transparent 40%, rgba(255,90,31,.25) 100%);
}
.home-hero-badge {
  position: absolute; left: 22px; bottom: 22px; z-index: 2;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  padding: 12px 16px; border-radius: 14px; color: #fff; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
}
.home-hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,90,31,.25); }

/* ---------- STATS STRIP ---------- */
.home-stats {
  background: var(--home-panel);
  border-top: 1px solid var(--home-border);
  border-bottom: 1px solid var(--home-border);
  padding: 30px 0;
}
.home-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.home-stat { display: flex; align-items: center; gap: 14px; }
.home-stat .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,90,31,.14); color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
}
.home-stat .num { font-size: 24px; font-weight: 800; color: #fff; line-height: 1.1; }
.home-stat .label { color: var(--home-muted); font-size: 13px; font-weight: 500; }

/* ---------- SECTION FRAME ---------- */
.home-section { padding: 80px 0; background: var(--home-bg); }
.home-section-alt { background: #0F0F13; }
.home-head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 36px; gap: 20px; flex-wrap: wrap;
}
.home-head h2 {
  color: var(--orange); font-size: clamp(24px, 3vw, 34px);
  font-weight: 800; letter-spacing: -.5px;
}
.home-head .lead { color: var(--home-muted); font-size: 14px; margin-top: 6px; }
.home-head .view-all { color: var(--home-muted); font-size: 13px; font-weight: 600; }
.home-head .view-all:hover { color: var(--orange); }
.home-head .nav-btns { display: inline-flex; gap: 8px; }
.home-head .nav-btns button {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--home-border); background: transparent; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.home-head .nav-btns button:hover { background: var(--orange); border-color: var(--orange); }

/* Reusable rail (carousel style horizontal scroller) */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* ---------- EVENT CARD ---------- */
.event-card-h {
  background: var(--home-panel); border: 1px solid var(--home-border);
  border-radius: 16px; overflow: hidden; transition: transform .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.event-card-h:hover { transform: translateY(-4px); border-color: rgba(255,90,31,.4); }
.event-card-h .thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; background: #222; }
.event-card-h .thumb img { width: 100%; height: 100%; object-fit: cover; }
.event-card-h .thumb::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.5)); }
.event-card-h .tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--orange); color: #fff; font-size: 11px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; letter-spacing: .5px;
}
.event-card-h .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.event-card-h h3 { font-size: 17px; color: #fff; line-height: 1.3; letter-spacing: -.3px; }
.event-card-h .meta { color: var(--home-muted); font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
.event-card-h .meta .row { display: inline-flex; align-items: center; gap: 8px; }
.event-card-h .cta { margin-top: auto; }
.event-card-h .cta a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--orange); font-weight: 700; font-size: 13px;
  padding: 10px 16px; border: 1px solid var(--orange); border-radius: 10px;
  transition: all .2s;
}
.event-card-h .cta a:hover { background: var(--orange); color: #fff; }

/* ---------- WHAT WE DO ---------- */
.wwd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.wwd-eyebrow { color: var(--orange); font-weight: 800; letter-spacing: 2.6px; font-size: 12px; }
.wwd-headline { color: #fff; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; margin: 10px 0 26px; line-height: 1.3; }
.wwd-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 14px; }
.wwd-list li { display: flex; align-items: center; gap: 12px; color: #EDEDED; font-size: 15px; }
.wwd-list li .ic {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,90,31,.12); color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wwd-video {
  position: relative; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--home-border); background: #111;
}
.wwd-video img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.wwd-video .play-big {
  position: absolute; inset: 0; margin: auto; width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,90,31,.9); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 12px 40px rgba(255,90,31,.5);
  transition: transform .2s;
}
.wwd-video .play-big:hover { transform: scale(1.08); }
.wwd-video .label { position: absolute; left: 20px; bottom: 20px; color: #fff; font-weight: 700; font-size: 15px; }

/* ---------- STARTUP CARD ---------- */
.startup-card {
  background: var(--home-panel); border: 1px solid var(--home-border);
  border-radius: 16px; padding: 22px; transition: all .25s;
  display: flex; flex-direction: column; gap: 12px; min-width: 260px;
}
.startup-card:hover { border-color: rgba(255,90,31,.4); transform: translateY(-3px); }
.startup-card .logo-box {
  width: 54px; height: 54px; border-radius: 14px; overflow: hidden;
  background: #2A2A31; display: inline-flex; align-items: center; justify-content: center;
}
.startup-card .logo-box img { width: 100%; height: 100%; object-fit: cover; }
.startup-card h3 { color: #fff; font-size: 17px; letter-spacing: -.2px; }
.startup-card .tag { color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .8px; }
.startup-card p { color: var(--home-muted); font-size: 13px; line-height: 1.55; }
.startup-card .loc { color: var(--home-muted); font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- PODCAST CARD ---------- */
.podcast-card-h {
  background: var(--home-panel); border: 1px solid var(--home-border);
  border-radius: 16px; overflow: hidden; transition: transform .25s;
  /* button-reset when used as button */
  padding: 0; text-align: left; color: inherit; font: inherit; cursor: pointer; display: block; width: 100%;
}
.podcast-card-h:hover { transform: translateY(-3px); border-color: rgba(255,90,31,.4); }
.podcast-card-h .thumb { aspect-ratio: 16/10; position: relative; }
.podcast-card-h .thumb img { width: 100%; height: 100%; object-fit: cover; }
.podcast-card-h .thumb::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.6)); }
.podcast-card-h .thumb .duration {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  background: rgba(0,0,0,.7); color: #fff; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
}
.podcast-card-h .thumb .play-mini {
  position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,90,31,.9); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; z-index: 2;
  opacity: 0; transition: opacity .2s;
}
.podcast-card-h:hover .thumb .play-mini { opacity: 1; }
.podcast-card-h .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.podcast-card-h h3 { color: #fff; font-size: 15px; line-height: 1.35; }
.podcast-card-h .host { color: var(--home-muted); font-size: 12px; }

/* ---------- MEMBERSHIP PLANS ---------- */
.plan-toggle {
  display: inline-flex; background: var(--home-panel); border: 1px solid var(--home-border);
  border-radius: 999px; padding: 4px;
}
.plan-toggle button {
  padding: 8px 20px; border-radius: 999px; color: var(--home-muted);
  font-weight: 700; font-size: 13px; transition: all .2s;
}
.plan-toggle button.on { background: var(--orange); color: #fff; }
.plan-toggle .save { color: var(--orange); font-size: 11px; margin-left: 6px; padding: 2px 8px; background: rgba(255,90,31,.15); border-radius: 999px; }
.plans-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 30px; }
.plan-card {
  background: var(--home-panel); border: 1px solid var(--home-border);
  border-radius: 18px; padding: 26px; transition: all .25s;
  display: flex; flex-direction: column; gap: 16px;
}
.plan-card:hover { border-color: rgba(255,90,31,.4); }
.plan-card.featured { border-color: var(--orange); background: linear-gradient(180deg, rgba(255,90,31,.08), transparent 40%), var(--home-panel); position: relative; }
.plan-card.featured::before {
  content:'MOST POPULAR'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; padding: 4px 12px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: 1.4px;
}
.plan-card .icon-box {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,90,31,.12); color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
}
.plan-card h3 { color: #fff; font-size: 20px; font-weight: 800; }
.plan-card .price { color: #fff; font-size: 28px; font-weight: 800; }
.plan-card .price span { color: var(--home-muted); font-size: 13px; font-weight: 500; }
.plan-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.plan-card ul li { display: flex; align-items: flex-start; gap: 8px; color: #D8D8E0; font-size: 13px; line-height: 1.5; }
.plan-card ul li::before { content:'✓'; color: var(--orange); font-weight: 800; font-size: 14px; line-height: 1.4; }
.plan-card .cta { margin-top: auto; }
.plan-card .cta a {
  display: block; text-align: center; padding: 12px; border-radius: 10px;
  background: transparent; color: #fff; border: 1px solid var(--home-border); font-weight: 700; font-size: 13px;
  transition: all .2s;
}
.plan-card.featured .cta a { background: var(--orange); border-color: var(--orange); }
.plan-card .cta a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ---------- REELS GALLERY ---------- */
.reels-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 16px; }
.reel-card {
  position: relative; aspect-ratio: 9/16; border-radius: 16px; overflow: hidden;
  background: #111; border: 1px solid var(--home-border); transition: transform .25s;
  cursor: pointer;
  /* button-reset when used as button */
  padding: 0; color: inherit; font: inherit; display: block; width: 100%; text-align: left;
}
.reel-card.featured { aspect-ratio: 9/16; grid-row: span 1; }
.reel-card:hover { transform: translateY(-3px); }
.reel-card img { width: 100%; height: 100%; object-fit: cover; }
.reel-card::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75)); }
.reel-card .info {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; color: #fff;
}
.reel-card .info h4 { font-size: 13px; font-weight: 700; line-height: 1.3; }
.reel-card .info .views { color: rgba(255,255,255,.85); font-size: 11px; margin-top: 4px; display: inline-flex; align-items: center; gap: 4px; }
.reel-card .play-r {
  position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,90,31,.9); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; z-index: 2;
}

/* ---------- MEDIA GALLERY ---------- */
.media-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 200px; gap: 14px; }
.media-tile { position: relative; border-radius: 14px; overflow: hidden; background: #111; border: 1px solid var(--home-border); }
.media-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.media-tile:hover img { transform: scale(1.05); }
.media-tile:nth-child(1), .media-tile:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.media-tile .cap {
  position: absolute; left: 12px; bottom: 12px; color: #fff; font-size: 12px; font-weight: 600;
  background: rgba(0,0,0,.55); padding: 4px 10px; border-radius: 8px; backdrop-filter: blur(6px);
}

/* ---------- COMMUNITY CTA ---------- */
.community-cta {
  background:
    radial-gradient(600px 200px at 20% 30%, rgba(255,90,31,.16), transparent 60%),
    linear-gradient(135deg, #180903 0%, #0B0B0D 100%);
  border-radius: 24px; border: 1px solid rgba(255,90,31,.25);
  padding: 60px 50px; margin: 60px auto; max-width: 1150px;
  text-align: center; position: relative; overflow: hidden;
}
.community-cta::before {
  content:''; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.28) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .1;
}
.community-cta .pin {
  width: 60px; height: 60px; border-radius: 50%; background: rgba(255,90,31,.18);
  color: var(--orange); display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px; position: relative;
}
.community-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 38px); font-weight: 900; letter-spacing: -.6px; position: relative; }
.community-cta p { color: var(--home-muted); font-size: 16px; margin: 12px 0 26px; position: relative; }
.community-cta .join-now {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff; padding: 14px 26px;
  border-radius: 10px; font-weight: 800; font-size: 14px; letter-spacing: .5px;
  box-shadow: 0 12px 30px rgba(255,90,31,.35); position: relative;
  transition: transform .2s;
}
.community-cta .join-now:hover { transform: translateY(-2px); }
.community-cta .members-badge {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--home-muted); font-size: 13px; margin-top: 22px; position: relative;
}
.community-cta .members-badge strong { color: #fff; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .home-hero .container { grid-template-columns: 1fr; }
  .home-hero-visual { max-width: 500px; margin: 20px auto 0; }
  .home-stats-grid { grid-template-columns: repeat(2,1fr); }
  .wwd-grid { grid-template-columns: 1fr; gap: 30px; }
  .plans-grid { grid-template-columns: repeat(2,1fr); }
  .reels-grid { grid-template-columns: repeat(2,1fr); }
  .media-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 640px) {
  .home-section { padding: 60px 0; }
  .home-stats-grid { grid-template-columns: 1fr 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .reels-grid { grid-template-columns: 1fr 1fr; }
  .media-grid { grid-template-columns: 1fr 1fr; }
  .community-cta { padding: 40px 24px; }
}
