/* ===========================
   HACK THE FUTURE - CSS v2
   Matches original Webflow design
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg: #f0f0f8;
  --bg-white: #ffffff;
  --accent: #5b50e8;
  --accent-light: #7b71f0;
  --text: #1a1a2e;
  --text-muted: #555570;
  --text-light: #8888a8;
  --card-bg: #ffffff;
  --border: #e2e2f0;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* NAV */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 44px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-name { font-weight: 700; font-size: 1rem; color: var(--text); }
.nav-logo-sub { font-size: 0.7rem; color: var(--accent); font-weight: 500; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }

.mobile-menu { display: none; flex-direction: column; background: #fff; border-top: 1px solid var(--border); padding: 16px 32px; gap: 4px; }
.mobile-menu a { color: var(--text-muted); font-size: 0.9rem; padding: 10px 0; border-bottom: 1px solid var(--border); }
.mobile-menu.open { display: flex; }

/* HERO - SPLIT */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-left {
  background: var(--bg);
  display: flex;
  align-items: center;
  padding: 80px 60px 80px 80px;
  position: relative;
}

.hero-doodle { position: absolute; pointer-events: none; }
.hero-doodle-1 { top: 100px; left: 44px; width: 55px; }
.hero-doodle-2 { bottom: 160px; right: 60px; width: 110px; }

.hero-content { max-width: 520px; }

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 6px;
}

.hero-title-accent {
  display: block;
  font-style: italic;
  color: var(--accent);
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
}

.hero-sub { font-size: 1rem; color: var(--text-muted); margin: 22px 0 8px; }
.hero-sub strong { color: var(--text); }
.hero-date { font-size: 1rem; color: var(--text-muted); margin-bottom: 36px; }

.hero-right { overflow: hidden; }
.hero-right img { width: 100%; height: 100%; object-fit: cover; }

/* BUTTONS */
.btn-main {
  display: inline-block;
  padding: 13px 30px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}
.btn-main:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-main.disabled { opacity: 0.6; cursor: not-allowed; pointer-events: none; }

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* SECTIONS */
.section { padding: 96px 0; }
.section-alt { background: var(--bg); }

.section-eyebrow { font-size: 0.73rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

.section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; line-height: 1.2; margin-bottom: 18px; color: var(--text); }

.section-sub { max-width: 720px; color: var(--text-muted); font-size: 1rem; margin-bottom: 48px; }

/* 01 02 03 CARDS */
.cards-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 48px; }

.card-num {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s, transform 0.3s;
}
.card-num:hover { box-shadow: 0 8px 32px rgba(91,80,232,0.1); transform: translateY(-3px); }

.num { font-size: 3rem; font-weight: 800; color: var(--bg); position: absolute; top: 18px; right: 22px; line-height: 1; }
.card-num h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.card-num p { color: var(--text-muted); font-size: 0.87rem; }

/* TWO COL */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col.reverse .col-img { order: -1; }

.col-text h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 700; margin-bottom: 18px; line-height: 1.25; }
.col-text p { color: var(--text-muted); margin-bottom: 14px; }
.col-text p strong { color: var(--text); }

.col-img img { border-radius: 14px; width: 100%; object-fit: cover; box-shadow: 0 12px 40px rgba(0,0,0,0.1); }

.styled-list { list-style: none; margin: 0 0 24px; }
.styled-list li { padding: 10px 0 10px 20px; border-bottom: 1px solid var(--border); position: relative; color: var(--text-muted); font-size: 0.92rem; }
.styled-list li strong { color: var(--text); }
.styled-list li::before { content: '▸'; color: var(--accent); position: absolute; left: 0; top: 11px; font-size: 0.78rem; }

.nota { font-size: 0.79rem; color: var(--text-light); font-style: italic; margin-top: 4px; }

/* JURY */
.jury-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 18px; margin-top: 40px; }

.jury-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s, transform 0.3s;
}
.jury-card:hover { box-shadow: 0 8px 28px rgba(91,80,232,0.12); transform: translateY(-3px); }

.jury-card img:first-child { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; border: 3px solid var(--bg); }
.jury-card h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 4px; }
.jury-card p { font-size: 0.73rem; color: var(--text-muted); margin-bottom: 12px; }
.li-icon { width: 18px; margin: 0 auto; opacity: 0.4; transition: opacity 0.2s; }
.jury-card:hover .li-icon { opacity: 0.8; }

/* CHALLENGES */
.challenges-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; margin-top: 48px; }

.challenge-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s, transform 0.3s;
}
.challenge-card:hover { box-shadow: 0 8px 28px rgba(91,80,232,0.12); transform: translateY(-4px); }
.challenge-card img { width: 52px; height: 52px; object-fit: contain; margin-bottom: 14px; }
.challenge-card h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 8px; color: var(--accent); }
.challenge-card p { font-size: 0.84rem; color: var(--text-muted); }

/* AGENDA */
.tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 2px solid var(--border); }
.tab-btn { background: none; border: none; padding: 12px 28px; font-family: inherit; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color 0.2s, border-color 0.2s; }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.agenda-list { display: flex; flex-direction: column; gap: 6px; }
.agenda-item { display: flex; gap: 24px; padding: 13px 18px; border-radius: 10px; background: #fff; border: 1px solid var(--border); align-items: center; }
.agenda-item.accent-item { background: rgba(91,80,232,0.04); border-color: rgba(91,80,232,0.18); }
.time { font-size: 0.82rem; font-weight: 700; color: var(--accent); min-width: 120px; white-space: nowrap; }
.activity { font-size: 0.9rem; color: var(--text-muted); }
.accent-item .activity { color: var(--text); font-weight: 600; }

/* PARTNERS */
.partners-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 20px; margin-top: 40px; }
.partners-label:first-child { margin-top: 0; }
.partners-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; margin-bottom: 8px; }
.partners-row img { max-height: 52px; max-width: 160px; object-fit: contain; opacity: 0.55; filter: grayscale(1); transition: opacity 0.3s, filter 0.3s; }
.partners-row img:hover { opacity: 1; filter: none; }

/* FOOTER */
footer { background: var(--text); color: rgba(255,255,255,0.65); padding: 56px 0 36px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.footer-logo img { height: 38px; margin-bottom: 18px; filter: brightness(10); }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 34px; height: 34px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.55); transition: background 0.2s, color 0.2s; }
.social-links a:hover { background: var(--accent); color: #fff; }
.footer-orgs { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer-orgs > div { text-align: center; }
.org-label { font-size: 0.67rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 10px; }
.footer-orgs img { max-height: 44px; max-width: 130px; object-fit: contain; filter: brightness(10); opacity: 0.45; }

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

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 60px 32px; }
  .hero-right { height: 340px; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col.reverse .col-img { order: 0; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  #navbar { height: auto; }
  .nav-inner { height: var(--nav-h); }
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .hero-left { padding: 48px 20px; }
  .agenda-item { flex-direction: column; gap: 4px; }
  .time { min-width: unset; }
  .footer-inner { flex-direction: column; }
  .footer-orgs { justify-content: center; }
}

/* Footer fixes - logos in color, SVG logo mare */
footer .footer-logo img {
  height: 60px !important;
  width: auto !important;
  max-width: 220px !important;
  filter: none !important;
  opacity: 1 !important;
}
.footer-orgs img {
  filter: none !important;
  opacity: 1 !important;
  max-height: 60px !important;
  max-width: 180px !important;
}

/* Sponsori - color, nu grayscale */
.partners-row img {
  filter: none !important;
  opacity: 1 !important;
  max-height: 80px !important;
  max-width: 220px !important;
}
.partners-label {
  font-size: 0.9rem !important;
  color: var(--text-muted) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
