/* === BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Catamaran', sans-serif; color: #212121; line-height: 1.7; font-size: 18px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === BUTTONS === */
.btn {
  display: inline-block; padding: 14px 32px; font-weight: 600; font-size: 14px;
  border-radius: 3px; border: none; cursor: pointer; transition: all .3s;
  background: #292f7c; color: #fff;
}
.btn:hover { background: #1f2560; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(41,47,124,.3); }
.btn--nav { padding: 10px 24px; background: #ff8300; color: #fff; font-size: 16px; }
.btn--nav:hover { background: #e67500; box-shadow: 0 4px 12px rgba(255,131,0,.3); }
.btn--hero { padding: 18px 44px; font-size: 20px; background: #ff8300; }
.btn--hero:hover { background: #e67500; box-shadow: 0 6px 20px rgba(255,131,0,.4); }
.btn--white { background: #53bd8b; color: #fff; }
.btn--white:hover { background: #45a577; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(83,189,139,.4); }

/* === HEADER === */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.header__logo img { height: 40px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-weight: 600; font-size: 16px; color: #212121; transition: color .2s; }
.nav a:hover { color: #292f7c; }
.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 26px; height: 3px; background: #292f7c; transition: .3s; border-radius: 2px; }
.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* === HERO === */
.hero { 
  background: 
    linear-gradient(to right, rgba(20, 25, 80, 1) 0%, rgba(20, 25, 80, 1) 35%, rgba(20, 25, 80, 0.8) 60%, rgba(20, 25, 80, 0.5) 100%),
    url('img/speaker.png');
  background-size: 65% auto;
  background-position: right 10%;
  background-repeat: no-repeat;
  background-color: #141950;
  color: #fff; 
  padding: 140px 0 60px; 
}
.hero__eyebrow { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; opacity: .9; text-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.hero__title { font-weight: 800; font-size: clamp(36px, 6vw, 64px); line-height: 1.1; margin-bottom: 20px; text-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.hero__sub { font-size: clamp(18px, 2.5vw, 24px); margin-bottom: 40px; max-width: 700px; font-weight: 500; opacity: .95; text-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.hero__meta { display: flex; flex-wrap: wrap; column-gap: 32px; row-gap: 8px; margin-bottom: 32px; }
.meta-break { flex-basis: 100%; height: 0; }
.meta-item { font-size: 20px; text-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.meta-item strong { font-weight: 700; margin-right: 8px; }

/* === STATS === */
.stats { padding: 80px 0; background: #f8f9fa; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-card {
  background: #fff; border-radius: 12px; padding: 40px 32px; text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.08); transition: all .3s; position: relative; overflow: hidden;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.stat-card:before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
}
.stat-card--blue:before { background: #0071ce; }
.stat-card--orange:before { background: #ff8300; }
.stat-card--green:before { background: #53bd8b; }
.stat-card--purple:before { background: #000b8c; }
.stat-card__number {
  font-size: 56px; font-weight: 900; line-height: 1; margin-bottom: 16px;
}
.stat-card--blue .stat-card__number { color: #0071ce; }
.stat-card--orange .stat-card__number { color: #ff8300; }
.stat-card--green .stat-card__number { color: #53bd8b; }
.stat-card--purple .stat-card__number { color: #000b8c; }
.stat-card__text { font-size: 16px; font-weight: 600; line-height: 1.4; color: #444; }

/* === SECTIONS === */
.section { padding: 80px 0; }
.section--gray { background: #f8f9fa; }
.section--navy { background: #292f7c; color: #fff; }
.section--blue { background: linear-gradient(135deg, #292f7c 0%, #1f2560 100%); color: #fff; }
.section__heading { font-weight: 800; font-size: 36px; margin-bottom: 48px; }
.section__heading--center { text-align: center; }
.section__heading--white { color: #fff; }
.section__intro {
  text-align: center;
  max-width: 700px;
  margin: -20px auto 60px;
  font-size: 18px;
}
.section__intro--muted { color: #666; }
.section__intro--light { color: rgba(255,255,255,0.9); }
.sub-heading { font-size: 22px; font-weight: 700; margin: 32px 0 16px; }

/* === CONTENT SPLIT === */
.content-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.content-split__text p { margin-bottom: 20px; line-height: 1.8; }
.content-split__image { display: flex; flex-direction: column; gap: 16px; }
.content-split__image img { border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }

/* === SPEAKERS === */
.speakers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.speaker-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.08); transition: all .3s;
  display: flex; align-items: center; padding: 24px; gap: 24px;
}
.speaker-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.speaker-card__photo {
  width: 120px; height: 120px; min-width: 120px; border-radius: 50%;
  background-size: cover; background-position: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.speaker-card__photo--stephanos {
  background-image: url('img/stephanos.jpg');
  background-position: center top;
}
.speaker-card__photo--liam { background-image: url('img/liam.png'); }
.speaker-card__photo--adrian { background-image: url('img/adrian.png'); }
.speaker-card__photo--lukasz { background-image: url('img/lukasz.png'); background-position: center top; }
.speaker-card__photo--daniel { background-image: url('img/daniel.png'); background-position: center 20%; }
.speaker-card__photo--tba { background-image: url('img/secret_person.png'); }
.speaker-card__content { padding: 0; }
.speaker-card__name { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.speaker-card__role { font-size: 13px; color: #666; margin-bottom: 14px; font-style: italic; }
.speaker-card__bio { font-size: 14px; line-height: 1.6; color: #444; margin-bottom: 16px; }
.speaker-card__link {
  display: inline-flex; align-items: center; gap: 8px; color: #292f7c;
  font-weight: 600; font-size: 14px; transition: color .2s;
}
.speaker-card__link:hover { color: #1f2560; }

/* === TOPICS === */
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.topic-card {
  background: #fff; border-radius: 12px; padding: 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08); transition: all .3s;
}
.topic-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.topic-card__badge {
  display: inline-block; padding: 6px 12px; background: rgba(41,47,124,.1);
  color: #292f7c; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; border-radius: 4px; margin-bottom: 16px;
}
.topic-card__title { font-size: 22px; font-weight: 800; margin-bottom: 12px; line-height: 1.3; }
.topic-card__speaker { font-size: 14px; color: #666; margin-bottom: 16px; font-style: italic; }
.topic-card p { margin-bottom: 20px; line-height: 1.7; }
.topic-card__list { list-style: none; padding: 0; }
.topic-card__list li {
  padding-left: 28px; position: relative; margin-bottom: 8px; line-height: 1.6;
}
.topic-card__list li:before {
  content: '✓'; position: absolute; left: 0; color: #292f7c; font-weight: 800; font-size: 18px;
}
.topics__footer { display: inline-block; font-size: 18px; font-weight: 600; color: #292f7c; background: #fff; border-radius: 12px; padding: 20px 32px; box-shadow: 0 4px 12px rgba(0,0,0,.08); }

/* === AGENDA === */
.agenda { max-width: 800px; margin: 0 auto; }
.agenda__item {
  display: flex; gap: 32px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.2);
}
.agenda__item:last-child { border-bottom: none; }
.agenda__time { font-weight: 700; font-size: 19px; min-width: 180px; white-space: nowrap; }
.agenda__desc { font-size: 19px; line-height: 1.6; }

/* === REGISTER === */
.register { max-width: 700px; margin: 0 auto; text-align: center; }
.register__sub { font-size: 18px; margin-bottom: 40px; opacity: .9; }
.register__form { text-align: left; }
.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.form-row input {
  flex: 1; padding: 16px; border: 1px solid rgba(255,255,255,.3);
  border-radius: 4px; background: rgba(255,255,255,.1); color: #fff;
  font-size: 15px; font-family: 'Catamaran', sans-serif;
}
.form-row input::placeholder { color: rgba(255,255,255,.6); }
.form-row input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.15); }
.register__form .btn { width: 100%; margin-top: 12px; }
.register__note { font-size: 13px; opacity: .6; margin-top: 12px; text-align: center; }

/* === MODAL === */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 999;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 40, 0.8);
  backdrop-filter: blur(4px);
}
.modal__content {
  position: relative;
  z-index: 1;
  background: #ffffff;
  color: #1a1d3a;
  padding: 40px 36px;
  width: min(520px, 90vw);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  text-align: center;
}
.modal__title { font-size: 26px; margin-bottom: 12px; }
.modal__text { font-size: 16px; line-height: 1.6; color: #394057; }
.modal__actions { margin-top: 24px; }
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(41, 47, 124, 0.12);
  color: #292f7c;
  font-size: 22px;
  cursor: pointer;
}
.modal__close:hover { background: rgba(41, 47, 124, 0.2); }

/* === FOOTER === */
.footer { background: #1a1d3a; color: #b0b5c9; padding: 60px 0 32px; }
.footer__main {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer__left { }
.footer__logo { height: 36px; margin-bottom: 20px; }
.footer__left p { font-size: 16px; line-height: 1.7; }
.footer__right { display: flex; justify-content: flex-end; align-items: center; gap: 40px; }
.footer__links { display: flex; gap: 40px; }
.footer__links a { font-size: 16px; font-weight: 600; transition: all .2s; }
.footer__links a:hover { color: #fff; }
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1);
  transition: all .3s;
}
.footer__social a:hover { background: #ff8300; transform: scale(1.1); }
.footer__bottom { padding-top: 32px; text-align: center; font-size: 14px; opacity: .7; }

/* === RESPONSIVE === */
@media (max-width: 980px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .content-split { grid-template-columns: 1fr; gap: 40px; }
  .speakers { grid-template-columns: 1fr; }
  .topics { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; gap: 40px; }
  .footer__right { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__links { flex-direction: column; gap: 16px; }
  .agenda__item { flex-direction: column; gap: 8px; }
  .agenda__time { min-width: auto; }
  .hero { 
    background: 
      linear-gradient(to right, rgba(20, 25, 80, 1) 0%, rgba(20, 25, 80, 0.9) 40%, rgba(20, 25, 80, 0.6) 70%, rgba(20, 25, 80, 0.3) 100%),
      url('img/speaker.png');
    background-size: cover;
    background-position: right top;
    background-repeat: no-repeat;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .nav { display: none; position: fixed; top: 72px; left: 0; width: 100%; background: #fff;
    flex-direction: column; padding: 24px; gap: 16px; box-shadow: 0 4px 12px rgba(0,0,0,.1);
  }
  .nav.open { display: flex; }
  .burger { display: flex; }
  .section { padding: 56px 0; }
  .section__heading { font-size: 28px; margin-bottom: 28px; }
  .section__intro { font-size: 16px; margin: -12px auto 36px; }
  .sub-heading { font-size: 18px; margin: 24px 0 12px; }
  .hero__title { font-size: 34px; }
  .hero__sub { font-size: 16px; margin-bottom: 28px; }
  .hero__meta { gap: 16px; margin-bottom: 24px; }
  .speaker-card__name { font-size: 20px; }
  .speakers { grid-template-columns: 1fr; }
  .topic-card__title { font-size: 20px; }
  .register__sub { margin-bottom: 24px; }
  .form-row { margin-bottom: 14px; }
  .stats { padding: 48px 0; }
  .stat-card { padding: 24px 20px; }
  .stat-card__number { font-size: 40px; margin-bottom: 10px; }
  .stat-card__text { font-size: 14px; }
  .hero { 
    padding: 120px 0 50px; 
    background: 
      linear-gradient(to bottom, rgba(20, 25, 80, 0.85), rgba(20, 25, 80, 0.7)),
      url('img/speaker.png');
    background-size: cover;
    background-position: right top;
    background-repeat: no-repeat;
  }
  .stats__grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
}

@media (max-width: 420px) {
  .section { padding: 32px 0; }
  .stats { padding: 32px 0; }
}
