/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:  #0a0a0a;
  --dark:   #111111;
  --dark2:  #1a1a1a;
  --orange: #e87820;
  --orange2:#c5621a;
  --white:  #ffffff;
  --light:  #1c1c1c;
  --gray:   #9ca3af;
  --radius: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--white);
  background: var(--dark);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* ── NAV ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--black);
  box-shadow: 0 2px 12px rgba(0,0,0,.6);
  transition: background .3s;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
  opacity: .9;
  mix-blend-mode: lighten;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .95rem;
  transition: color .2s;
}

.nav-links a:hover { color: var(--orange); }

.nav-cta {
  background: var(--orange);
  color: var(--black) !important;
  font-weight: 700;
  padding: .45rem 1.1rem;
  border-radius: var(--radius);
  transition: opacity .2s !important;
}

.nav-cta:hover { opacity: .85; }

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

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--black);
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232,120,32,.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(232,120,32,.08) 0%, transparent 50%);
}

.hero-overlay { position: absolute; inset: 0; }

.hero-logo {
  width: 260px;
  max-width: 70%;
  margin: 0 auto 2rem;
  display: block;
  mix-blend-mode: lighten;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 6rem 1.5rem 3rem;
  opacity: 0;
  animation: hero-drop-in 1.2s ease-out 1.4s forwards;
}

.hero-presented {
  color: var(--orange);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-tagline {
  color: rgba(255,255,255,.75);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(232,120,32,.12);
  border: 1px solid rgba(232,120,32,.3);
  border-radius: 50px;
  padding: .5rem 1.2rem;
  color: var(--white);
  font-size: .95rem;
}

.meta-icon { font-size: 1.1rem; }

/* ── HERO FRAME ANIMATION ── */
.hero-frame {
  position: absolute;
  inset: 18% 8%;
  z-index: 2;
  pointer-events: none;
}

.hero-frame span {
  position: absolute;
  width: 100px;
  height: 50px;
  border: 3px solid var(--orange);
  opacity: 0;
}

/* wide horizontal bar + short vertical leg = bracket corner */
.hero-frame .hf-tl { top: 0; left: 0; border-right: none; border-bottom: none;
  animation: hf-tl-in 1.5s cubic-bezier(.25,.46,.45,.94) .2s forwards; }
.hero-frame .hf-tr { top: 0; right: 0; border-left: none; border-bottom: none;
  animation: hf-tr-in 1.5s cubic-bezier(.25,.46,.45,.94) .2s forwards; }
.hero-frame .hf-bl { bottom: 0; left: 0; border-right: none; border-top: none;
  animation: hf-bl-in 1.5s cubic-bezier(.25,.46,.45,.94) .2s forwards; }
.hero-frame .hf-br { bottom: 0; right: 0; border-left: none; border-top: none;
  animation: hf-br-in 1.5s cubic-bezier(.25,.46,.45,.94) .2s forwards; }

@keyframes hf-tl-in {
  0%   { opacity: 0; transform: translate(50px, 50px); }
  20%  { opacity: 1; }
  100% { opacity: .6; transform: translate(0, 0); }
}
@keyframes hf-tr-in {
  0%   { opacity: 0; transform: translate(-50px, 50px); }
  20%  { opacity: 1; }
  100% { opacity: .6; transform: translate(0, 0); }
}
@keyframes hf-bl-in {
  0%   { opacity: 0; transform: translate(50px, -50px); }
  20%  { opacity: 1; }
  100% { opacity: .6; transform: translate(0, 0); }
}
@keyframes hf-br-in {
  0%   { opacity: 0; transform: translate(-50px, -50px); }
  20%  { opacity: 1; }
  100% { opacity: .6; transform: translate(0, 0); }
}

@keyframes hero-drop-in {
  0%   { opacity: 0; transform: translateY(-40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-frame span { animation: none; opacity: .6; }
  .hero-content    { animation: none !important; opacity: 1 !important; }
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--black);
  font-weight: 700;
  font-size: 1.05rem;
  padding: .85rem 2.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}

.btn-primary:hover { opacity: .85; transform: translateY(-1px); }

/* ── SECTIONS ── */
section { padding: 5rem 0; }

.dark-section {
  background: var(--black);
  color: var(--white);
}

.light-section {
  background: var(--dark2);
  color: var(--white);
}

.dark-section .section-sub,
.light-section .section-sub { color: rgba(255,255,255,.65); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: .75rem;
  color: var(--white);
}

.section-sub {
  text-align: center;
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 3rem;
}

/* ── ABOUT CARDS ── */
.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.about-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 4px solid var(--orange);
  transition: transform .2s, box-shadow .2s;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(232,120,32,.2);
}

.card-icon { font-size: 2.2rem; margin-bottom: 1rem; }

.about-card h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  color: var(--orange);
}

.about-card p { color: var(--gray); font-size: .95rem; }

/* ── AGENDA ── */
.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 3px solid var(--orange);
  padding-left: 0;
  margin-left: 1rem;
}

.agenda-item {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0 1.5rem 2rem;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.agenda-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 1.8rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
}

.agenda-time {
  flex-shrink: 0;
  width: 85px;
  color: var(--orange);
  font-weight: 700;
  font-size: .9rem;
  padding-top: .15rem;
}

.agenda-body h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: .25rem;
}

.agenda-speaker {
  color: var(--orange);
  font-size: .88rem;
  font-style: italic;
  margin-bottom: .35rem;
}

.agenda-body p { color: rgba(255,255,255,.65); font-size: .93rem; }

/* ── SPEAKERS ── */
#speakers { background: var(--dark2); }

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.speaker-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 3px solid var(--orange);
  transition: transform .2s, box-shadow .2s;
}

.speaker-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(232,120,32,.2);
}

.speaker-card.placeholder { opacity: .5; }

.speaker-avatar {
  font-size: 3rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.speaker-card h3 { font-size: 1.1rem; color: var(--white); margin-bottom: .3rem; }

.speaker-title {
  color: var(--orange);
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: .6rem;
}

.speaker-bio { color: var(--gray); font-size: .9rem; }

/* ── REGISTER FORM ── */
.reg-form {
  background: rgba(232,120,32,.06);
  border: 1px solid rgba(232,120,32,.25);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group.full-width { margin-bottom: 1.25rem; }

label {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 600;
}

input, select, textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  color: var(--white);
  padding: .7rem 1rem;
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s, background .2s;
  width: 100%;
}

input::placeholder, textarea::placeholder { color: rgba(255,255,255,.3); }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(232,120,32,.08);
}

select option { background: var(--dark); color: var(--white); }

textarea { resize: vertical; }

.form-submit { text-align: center; margin-top: 1.75rem; }

.form-note {
  color: rgba(255,255,255,.45);
  font-size: .85rem;
  margin-top: .85rem;
}

/* ── FOOTER ── */
footer {
  background: #050505;
  color: rgba(255,255,255,.5);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(232,120,32,.2);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  height: 50px;
  width: auto;
  opacity: .85;
  mix-blend-mode: lighten;
}

.footer-brand p { font-size: .9rem; margin-top: .5rem; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.footer-links a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s;
}

.footer-links a:hover { color: var(--orange); }

.footer-copy { font-size: .8rem; color: rgba(255,255,255,.3); }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .nav-links { display: none; flex-direction: column; gap: 1rem; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--black);
    padding: 1.5rem;
    border-top: 1px solid rgba(232,120,32,.2);
  }
  .nav-toggle { display: block; }

  .form-row { grid-template-columns: 1fr; }

  .agenda-item { flex-direction: column; gap: .25rem; }
  .agenda-time { width: auto; }

  .hero-meta { flex-direction: column; align-items: center; }

  .hero-logo { width: 200px; }
}
