/* ===================================================================
   מועדון ה-AI של הטכניון  —  styles.css
   Dark, glassy, gradient-mesh 2026 aesthetic. RTL-first.
   =================================================================== */

:root {
  /* Palette */
  --bg:        #06070f;
  --bg-2:      #0b0d1a;
  --surface:   rgba(255, 255, 255, 0.055);
  --surface-2: rgba(255, 255, 255, 0.085);
  --border:    rgba(255, 255, 255, 0.12);
  --text:      #f3f5ff;
  --muted:     #9aa3c4;

  /* Accents */
  --c1: #6366f1;   /* indigo  */
  --c2: #22d3ee;   /* cyan    */
  --c3: #a855f7;   /* violet  */
  --wa: #25d366;   /* whatsapp */

  --grad: linear-gradient(120deg, var(--c2), var(--c1) 45%, var(--c3));
  --grad-soft: linear-gradient(120deg, rgba(34,211,238,.18), rgba(168,85,247,.18));

  --radius: 26px;
  --radius-sm: 14px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --maxw: 1180px;

  --font: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Heebo", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(34, 211, 238, .28); color: #fff; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--c2); outline-offset: 4px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Animated background mesh ===== */
.bg-mesh {
  position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(140% 120% at 80% -10%, #131734 0%, var(--bg) 55%);
  overflow: hidden;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .55;
  animation: float 18s ease-in-out infinite;
}
.blob-1 { width: 480px; height: 480px; background: var(--c1); top: -120px; right: -80px; }
.blob-2 { width: 420px; height: 420px; background: var(--c2); top: 30%; left: -120px; animation-delay: -6s; }
.blob-3 { width: 520px; height: 520px; background: var(--c3); bottom: -160px; right: 20%; animation-delay: -11s; }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.1); }
  66%      { transform: translate(-30px, 25px) scale(.95); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}

/* ===== Navbar ===== */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  transition: all .3s ease;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 12px 20px;
  margin-top: 14px;
  border-radius: var(--radius);
  background: rgba(8, 10, 20, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  transition: all .3s ease;
}
.nav.scrolled .nav-inner {
  margin-top: 8px;
  background: rgba(8, 10, 20, 0.8);
  box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; padding-inline: 2px 8px; }
.brand-logo { height: 46px; width: 46px; object-fit: contain; background: #fff; padding: 4px; border-radius: 13px; box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 8px 28px rgba(99,102,241,.25); }
.brand-copy { display: grid; line-height: 1; text-align: left; }
.brand-copy strong { font-family: var(--font-display); font-size: .98rem; letter-spacing: .02em; }
.brand-copy small { color: var(--c2); font-size: .58rem; letter-spacing: .22em; margin-top: 5px; }
.brand-logo-lg { width: 62px; height: 62px; border-radius: 16px; }
.brand-text { font-family: var(--font-display); font-size: 1.15rem; line-height: 1; letter-spacing: .3px; }
.brand-text small { display: block; font-size: .62rem; color: var(--muted); font-weight: 500; letter-spacing: 2px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 9px 16px; border-radius: 999px; font-weight: 500; color: var(--muted);
  transition: all .2s ease;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-cta {
  margin-inline-start: 8px; padding: 10px 20px; border-radius: 999px;
  font-weight: 700; color: #06070f; background: var(--grad);
  box-shadow: 0 8px 24px -8px var(--c1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px var(--c1); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn .icon { width: 20px; height: 20px; flex-shrink: 0; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #06070f; box-shadow: 0 12px 34px -12px var(--c1); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px var(--c1); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-3px); }
.btn-whatsapp { background: var(--wa); color: #04210f; box-shadow: 0 12px 34px -12px var(--wa); }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px var(--wa); }

/* ===== Layout / sections ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 100px 24px; }
.section + .section { position: relative; }
.section + .section::before { content: ""; position: absolute; top: 0; inset-inline: 24px; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-tag {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: 1px;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
  background: var(--grad-soft); border: 1px solid var(--border); color: var(--c2);
}
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.15; }
.section-lead { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 140px 24px 80px; position: relative;
}
.hero::before {
  content: "AI"; position: absolute; inset-inline-end: 2vw; top: 44%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: clamp(12rem, 32vw, 34rem); font-weight: 700; line-height: .7;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.035); pointer-events: none; direction: ltr;
}
.hero-content { max-width: 920px; position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  background: rgba(10,13,27,.72); border: 1px solid var(--border); margin-bottom: 28px; color: var(--c2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 5rem); line-height: 1.08; letter-spacing: -.5px;
}
.hero-sub { color: #b5bdd8; font-size: clamp(1.05rem, 2.5vw, 1.3rem); max-width: 700px; margin: 26px auto 0; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hero-proof {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-top: 54px;
  color: var(--muted); font-size: .9rem;
}
.hero-proof span { display: inline-flex; align-items: center; gap: 9px; }
.hero-proof b { font-family: var(--font-display); color: var(--c2); font-size: .72rem; letter-spacing: .08em; }

.hero-stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; margin-top: 72px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .95rem; margin-top: 6px; }

/* ===== Events ===== */
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.event-card {
  display: flex; gap: 18px; padding: 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(12px); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative; overflow: hidden;
}
.event-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s ease;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.event-card:hover::before { opacity: 1; }
.event-date {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; background: var(--grad-soft); border: 1px solid var(--border);
}
.event-date .day { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.event-date .mon { font-size: .78rem; color: var(--muted); }
.event-body h3 { font-size: 1.18rem; margin: 8px 0 6px; }
.event-body p { color: var(--muted); font-size: .95rem; }
.event-pill {
  display: inline-block; font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  background: rgba(99,102,241,.18); color: var(--c2); border: 1px solid var(--border);
}
.event-meta { margin-top: 12px; font-size: .88rem; color: var(--muted); }

/* Mysterious "all events" coming-soon CTA */
.events-cta-wrap { display: flex; justify-content: center; }
.events-cta {
  position: relative; overflow: hidden; cursor: default;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 44px 52px; max-width: 640px; width: 100%;
  font-family: inherit; color: var(--text); text-align: center;
  background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(12px); transition: transform .3s ease, box-shadow .3s ease;
  animation: ctaPulse 3.2s ease-in-out infinite;
}
.events-cta::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .6;
}
.events-cta:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -24px var(--c3); }
.events-cta-glow {
  position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: var(--c3); filter: blur(80px); opacity: .35; top: -120px; left: 50%; transform: translateX(-50%);
  animation: ctaGlow 4s ease-in-out infinite; pointer-events: none;
}
.events-cta-soon {
  font-size: .8rem; font-weight: 700; letter-spacing: 1px; padding: 5px 14px; border-radius: 999px;
  background: var(--grad-soft); border: 1px solid var(--border); color: var(--c2); position: relative; z-index: 1;
}
.events-cta-main { font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 700; line-height: 1.2; position: relative; z-index: 1; }
.events-cta-hint { font-size: .98rem; color: var(--muted); position: relative; z-index: 1; max-width: 460px; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168,85,247,0); }
  50%      { box-shadow: 0 0 40px -8px rgba(168,85,247,.35); }
}
@keyframes ctaGlow {
  0%, 100% { opacity: .25; transform: translateX(-50%) scale(1); }
  50%      { opacity: .45; transform: translateX(-50%) scale(1.15); }
}

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 90px; }
.feature-card {
  padding: 34px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center; transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-6px); background: var(--surface-2); border-color: rgba(34,211,238,.28); box-shadow: 0 24px 60px -35px var(--c2); }
.feature-ico {
  width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center;
  border-radius: 18px; background: var(--grad-soft); border: 1px solid var(--border); color: var(--c2);
}
.feature-ico svg { width: 30px; height: 30px; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .96rem; }

/* ===== Founders ===== */
.founders-head { text-align: center; margin-bottom: 40px; }
.founders-title { font-family: var(--font-display); font-size: 1.9rem; }
.founders-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; max-width: 860px; margin: 0 auto; }
.founder-card {
  flex: 0 1 250px; text-align: center; padding: 30px 24px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.founder-card:hover { transform: translateY(-6px); border-color: rgba(168,85,247,.3); box-shadow: 0 28px 70px -42px var(--c3); }
.founder-photo {
  width: 130px; height: 130px; margin: 0 auto 18px; border-radius: 50%; position: relative; overflow: hidden;
  background: var(--grad); padding: 3px;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; position: relative; z-index: 2; }
.founder-initials {
  position: absolute; inset: 3px; border-radius: 50%; display: none; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; background: var(--bg-2); color: var(--muted); z-index: 1;
}
.founder-photo.no-img img { display: none; }
.founder-photo.no-img .founder-initials { display: flex; z-index: 3; }
.founder-card h4 { font-size: 1.2rem; margin-bottom: 4px; }
.founder-role { display: block; color: var(--c2); font-size: .92rem; font-weight: 500; }
.founder-social {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-top: 14px;
  border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--muted); transition: .25s;
}
.founder-social .icon { width: 18px; height: 18px; }
.founder-social:hover { color: #fff; background: #0a66c2; border-color: transparent; transform: translateY(-3px); }

/* ===== Logo grids (sponsors / partners) ===== */
.logo-block { margin-bottom: 56px; }
.logo-block-title { text-align: center; font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 26px; color: var(--muted); }
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.logo-item {
  flex: 0 1 200px; aspect-ratio: 16/9; display: grid; place-items: center; padding: 22px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.logo-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-item img { max-height: 80px; max-width: 100%; width: auto; object-fit: contain; }
.logo-item.placeholder { background: var(--surface); color: var(--muted); font-size: .9rem; border-style: dashed; }

/* ===== Pitch (why sponsor) ===== */
.pitch {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; margin-top: 80px;
  padding: 44px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.pitch::after {
  content: ""; position: absolute; width: 320px; height: 320px; background: var(--c3); filter: blur(120px);
  opacity: .2; top: -100px; left: -60px; pointer-events: none;
}
.pitch-text h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 22px; }
.pitch-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.pitch-list li { padding-inline-start: 30px; position: relative; color: var(--muted); }
.pitch-list li::before {
  content: "→"; position: absolute; inset-inline-start: 0; color: var(--c2); font-weight: 700;
}
.pitch-list strong { color: var(--text); }
.pitch-note { margin-top: 22px; color: var(--muted); font-size: .95rem; }
.pitch-actions { display: flex; flex-direction: column; gap: 14px; }

/* ===== Featured section (Work With Us) ===== */
.nav-link-hot { color: var(--c2); font-weight: 700; }
.nav-link-hot:hover { color: var(--text); background: var(--surface); }

.section-featured { position: relative; }
.section-featured::after {
  content: ""; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: min(820px, 94%); height: 380px; z-index: -1; pointer-events: none;
  background: radial-gradient(58% 70% at 50% 8%, rgba(99,102,241,.20), rgba(168,85,247,.12) 46%, transparent 72%);
}
.section-tag-hot {
  background: var(--grad); color: #06070f; border: 0;
  box-shadow: 0 10px 26px -10px var(--c1); animation: tagGlow 3.4s ease-in-out infinite;
}
@keyframes tagGlow {
  0%, 100% { box-shadow: 0 10px 26px -12px var(--c1); }
  50%      { box-shadow: 0 12px 30px -8px var(--c3); }
}

/* ===== Call for Proposals ===== */
.proposal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 44px; }
.proposal-col {
  padding: 34px 30px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.proposal-col:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.28); box-shadow: 0 24px 60px -35px var(--c2); }
.proposal-col-title { font-family: var(--font-display); font-size: 1.3rem; display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.proposal-ico {
  width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; font-size: 1.35rem;
  border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--border);
}
.proposal-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.proposal-list li { padding-inline-start: 28px; position: relative; color: var(--muted); }
.proposal-list li::before { content: "→"; position: absolute; inset-inline-start: 0; color: var(--c2); font-weight: 700; }
.proposal-list strong { color: var(--text); }

/* Proposal form */
.proposal-form {
  max-width: 780px; margin: 0 auto; padding: 44px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden;
}
.proposal-form::after {
  content: ""; position: absolute; width: 320px; height: 320px; background: var(--c1); filter: blur(120px);
  opacity: .16; top: -120px; right: -80px; pointer-events: none;
}
.proposal-form-title { font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 1.8rem); text-align: center; }
.proposal-form-sub { color: var(--muted); text-align: center; margin: 10px auto 30px; max-width: 520px; }
.proposal-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 600; }
.field label .req { color: var(--c2); }
.field label .opt { color: var(--muted); font-weight: 400; font-size: .85rem; }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--text); width: 100%;
  background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 16px; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #6b7398; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--c2); background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 3px rgba(34,211,238,.14);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field input.invalid, .field textarea.invalid { border-color: rgba(255,90,90,.6); }
.proposal-submit { margin-top: 28px; }
.proposal-submit[disabled] { opacity: .65; cursor: progress; transform: none; }
.form-note { margin-top: 16px; text-align: center; color: var(--muted); font-size: .9rem; }
.form-note a { color: var(--c2); font-weight: 600; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-sm); text-align: center; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.success { background: rgba(37,211,102,.14); border: 1px solid rgba(37,211,102,.4); color: #86efac; }
.form-status.error { background: rgba(255,90,90,.12); border: 1px solid rgba(255,90,90,.4); color: #ffb0b0; }
.form-status.info { background: var(--grad-soft); border: 1px solid var(--border); color: var(--text); }
.status-cta { display: inline-block; margin-top: 8px; color: var(--c2); font-weight: 700; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Segmented toggle (Work With Us) */
.switch {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  max-width: 520px; margin: 0 auto 40px; padding: 6px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.switch-thumb {
  position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 5px);
  border-radius: 999px; background: var(--grad); box-shadow: 0 10px 28px -10px var(--c1);
  transition: left .38s cubic-bezier(.34, 1.2, .4, 1);
}
.switch[data-active="sponsor"] .switch-thumb { left: calc(50% - 1px); }
.switch-btn {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 14px; border: 0; background: none; cursor: pointer; font-family: inherit;
  font-weight: 700; font-size: 1rem; color: var(--muted); border-radius: 999px;
  transition: color .3s ease; white-space: nowrap;
}
.switch-btn.is-active { color: #06070f; }

/* Panels */
.panel { display: none; }
.panel.is-active { display: block; animation: panelIn .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px) scale(.99); } to { opacity: 1; transform: none; } }

.panel-card {
  display: grid; grid-template-columns: 0.82fr 1.18fr; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
}

/* Cover visual with stock photo + gradient overlay */
.panel-visual {
  position: relative; padding: 40px 34px; display: flex; align-items: flex-end; min-height: 420px;
  background-image: linear-gradient(165deg, rgba(6,7,15,.30) 0%, rgba(6,7,15,.82) 70%, rgba(6,7,15,.95) 100%), var(--cover);
  background-size: cover; background-position: center; isolation: isolate;
}
.panel-visual::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 15% 110%, rgba(99,102,241,.42), transparent 60%);
  mix-blend-mode: screen;
}
.panel-visual-sponsor::after { background: radial-gradient(120% 80% at 15% 110%, rgba(168,85,247,.45), transparent 60%); }
.panel-visual-inner { position: relative; z-index: 1; }
.panel-badge {
  display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .04em; padding: 6px 14px;
  border-radius: 999px; background: rgba(10,13,27,.6); border: 1px solid var(--border); color: var(--c2);
  margin-bottom: 16px; backdrop-filter: blur(6px);
}
.panel-visual-title { font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.2; margin-bottom: 18px; }
.panel-points { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.panel-points li { padding-inline-start: 28px; position: relative; color: #dbe0f2; font-size: .96rem; }
.panel-points li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: -1px; color: var(--c2); font-weight: 800;
}

/* Form sits in the right column — drop its own card chrome */
.panel-card .proposal-form { max-width: none; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.panel-card .proposal-form::after { display: none; }

/* Select fields */
.field select {
  font-family: inherit; font-size: 1rem; color: var(--text); width: 100%; cursor: pointer;
  background-color: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 40px 13px 16px; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa3c4' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field select:focus {
  outline: none; border-color: var(--c2); background-color: rgba(255,255,255,.06);
  box-shadow: 0 0 0 3px rgba(34,211,238,.14);
}
.field select.invalid { border-color: rgba(255,90,90,.6); }
.field select option { color: #06070f; }

/* ===== Contact ===== */
.contact-card {
  max-width: 760px; margin: 0 auto; text-align: center; padding: 60px 40px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.contact-card::after {
  content: ""; position: absolute; inset: 0; background: var(--grad-soft); opacity: .5; z-index: -1;
}
.contact-card .section-head { margin-bottom: 36px; }
.contact-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); margin-top: 60px; background: rgba(6,7,15,.6); }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 48px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.socials { display: flex; gap: 14px; }
.social {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted); transition: .25s;
}
.social .icon { width: 22px; height: 22px; }
.social:hover { color: var(--text); background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.footer-copy { color: var(--muted); font-size: .9rem; }

/* ===== Floating WhatsApp button ===== */
.fab {
  position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #04210f;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px var(--wa);
  animation: pulse 2.4s ease-in-out infinite; transition: transform .25s ease;
}
.fab .icon { width: 30px; height: 30px; }
.fab:hover { transform: scale(1.1); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 30px -8px var(--wa), 0 0 0 0 rgba(37,211,102,.45); }
  50%      { box-shadow: 0 12px 30px -8px var(--wa), 0 0 0 16px rgba(37,211,102,0); }
}

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav { padding-inline: 12px; }
  .nav-inner { margin-top: 10px; padding: 10px 12px; border-radius: 18px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); inset-inline: 12px;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 14px;
    background: rgba(8,10,20,.96); backdrop-filter: blur(20px);
    border: 1px solid var(--border); border-radius: var(--radius);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-link { padding: 13px 16px; text-align: center; }
  .nav-cta { margin: 6px 0 0; text-align: center; }
  .pitch { grid-template-columns: 1fr; padding: 32px 24px; }
  .panel-card { grid-template-columns: 1fr; }
  .panel-visual { min-height: 260px; padding: 28px 26px; }
  .hero-stats { gap: 32px; }
  .stat strong { font-size: 2.1rem; }
  .section { padding: 70px 20px; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 76px; }
  .nav { padding-inline: 8px; }
  .nav-inner { margin-top: 7px; }
  .brand-logo { width: 40px; height: 40px; border-radius: 11px; }
  .brand-copy strong { font-size: .88rem; }
  .brand-copy small { font-size: .52rem; }
  .nav-links { inset-inline: 0; max-height: calc(100vh - 86px); overflow-y: auto; }
  .hero { min-height: 100svh; padding: 118px 18px 58px; }
  .hero-title { font-size: clamp(2.35rem, 12.5vw, 3.6rem); line-height: 1.06; }
  .hero-sub { font-size: 1rem; line-height: 1.75; }
  .eyebrow { padding: 7px 13px; font-size: .78rem; margin-bottom: 22px; }
  .hero-actions { width: 100%; gap: 11px; margin-top: 32px; }
  .hero-actions .btn { width: 100%; min-height: 52px; }
  .hero-proof { justify-content: flex-start; margin-top: 38px; gap: 10px; }
  .hero-proof span { width: calc(50% - 5px); justify-content: flex-start; padding: 9px 11px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
  .section { padding: 62px 16px; }
  .section + .section::before { inset-inline: 16px; }
  .section-head { margin-bottom: 36px; }
  .section-title { font-size: 2rem; }
  .section-lead { font-size: .98rem; }
  .events-cta { padding: 34px 20px; border-radius: 20px; }
  .events-cta-main { font-size: 1.35rem; }
  .features { grid-template-columns: 1fr; gap: 14px; margin-bottom: 64px; }
  .feature-card { padding: 26px 20px; }
  .founders-grid { gap: 14px; }
  .founder-card { flex-basis: 100%; display: grid; grid-template-columns: 92px 1fr 42px; grid-template-rows: auto auto; align-items: center; text-align: left; column-gap: 16px; padding: 20px; }
  .founder-photo { width: 92px; height: 92px; margin: 0; grid-row: 1 / 3; }
  .founder-card h4 { align-self: end; }
  .founder-role { align-self: start; }
  .founder-social { grid-column: 3; grid-row: 1 / 3; margin: 0; }
  .logo-item { flex-basis: calc(50% - 9px); min-width: 0; padding: 16px; }
  .pitch { margin-top: 54px; padding: 28px 20px; gap: 28px; border-radius: 20px; }
  .pitch-text h3 { font-size: 1.7rem; }
  .pitch-list { gap: 18px; }
  .proposal-grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
  .proposal-col { padding: 26px 22px; }
  .proposal-form { padding: 28px 20px; border-radius: 20px; }
  .panel-card .proposal-form { padding: 26px 20px; }
  .proposal-form-grid { grid-template-columns: 1fr; }
  .switch { max-width: 100%; }
  .switch-btn { padding: 12px 8px; font-size: .92rem; gap: 6px; }
  .panel-visual-title { font-size: 1.3rem; }
  .contact-card { padding: 42px 18px; border-radius: 20px; }
  .contact-actions { flex-direction: column; }
  .contact-actions .btn { width: 100%; }
  .footer-inner { padding: 40px 20px 96px; }
  .fab { width: 54px; height: 54px; bottom: 16px; inset-inline-start: 16px; }
}

@media (hover: none) {
  .feature-card:hover, .founder-card:hover, .logo-item:hover, .btn:hover, .social:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
