/* ─────────────────────────────────────────────
   FWF Event Landing Page — Stylesheet
   ───────────────────────────────────────────── */

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

:root {
  --brand-dark:   #1a1f5e;
  --brand-mid:    #2b3498;
  --brand-accent: #e84a4a;
  --brand-light:  #eef0fb;
  --text-primary: #1a1a2e;
  --text-muted:   #6b7280;
  --border:       #e5e7eb;
  --white:        #ffffff;
  --success:      #16a34a;
  --radius:       10px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,.10);
  --transition:   .2s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
}

/* ── Utility ─────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-primary {
  background: var(--brand-accent);
  color: var(--white);
  border-color: var(--brand-accent);
}

.btn-primary:hover {
  background: #c73c3c;
  border-color: #c73c3c;
  transform: translateY(-1px);
}

.btn-outline-sm {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
  font-size: 13px;
  padding: 7px 18px;
}

.btn-outline-sm:hover {
  background: rgba(255,255,255,.15);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

.btn-submit {
  min-width: 220px;
  justify-content: center;
  position: relative;
}

.btn-submit:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

/* ── Header ──────────────────────────────── */
.site-header {
  background: var(--brand-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}

.logo-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,.35);
}

.logo-sub {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,.65);
  letter-spacing: .5px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.header-nav a:hover {
  color: var(--white);
}

/* ── Hero ────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-mid) 100%);
  overflow: hidden;
  position: relative;
  padding: 80px 0;
}

.hero-bg-shape {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.event-badge {
  display: inline-block;
  background: rgba(232,74,74,.2);
  color: #f8a0a0;
  border: 1px solid rgba(232,74,74,.35);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.72);
  max-width: 520px;
  margin-bottom: 32px;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
}

.meta-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #a0a8d9;
}

/* Decorative visual cards */
.hero-visual {
  flex-shrink: 0;
  width: 280px;
  position: relative;
  height: 220px;
}

.visual-card {
  position: absolute;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 18px;
  backdrop-filter: blur(8px);
  width: 200px;
}

.vc1 { top: 0;   left: 0;   }
.vc2 { top: 60px; left: 60px; }
.vc3 { top: 120px; left: 20px; }

.vc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a0a8f8;
  margin-bottom: 12px;
}

.vc-lines { display: flex; flex-direction: column; gap: 7px; }
.vc-lines span {
  display: block;
  height: 5px;
  background: rgba(255,255,255,.18);
  border-radius: 4px;
  width: 100%;
}

/* ── Sections ────────────────────────────── */
.section-light {
  padding: 80px 0;
  background: var(--white);
}

.section-dark {
  padding: 80px 0;
  background: var(--brand-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
}

.section-header--light h2 {
  color: var(--white);
}

.section-rule {
  width: 48px;
  height: 3px;
  background: var(--brand-accent);
  border-radius: 2px;
  margin: 14px auto 0;
}

.section-desc {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ── About ───────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.highlight-item {
  background: var(--brand-light);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.highlight-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.highlight-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Agenda ──────────────────────────────── */
.agenda-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.agenda-item {
  display: flex;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
}

.agenda-item:last-child {
  border-bottom: none;
}

.agenda-time {
  min-width: 90px;
  font-size: 13px;
  font-weight: 600;
  color: #a0a8d9;
  padding-top: 2px;
}

.agenda-body {}

.agenda-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.agenda-desc {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}

/* ── Form ────────────────────────────────── */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 48px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: .2px;
}

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

.form-group input {
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus {
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 3px rgba(43,52,152,.12);
}

.form-group input.is-invalid {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(232,74,74,.10);
}

.field-error {
  font-size: 12px;
  color: var(--brand-accent);
  min-height: 16px;
  display: block;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.form-privacy {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.6;
}

/* Spinner animation */
.btn-spinner { display: inline-flex; }
.spinner-arc {
  transform-origin: center;
  animation: spin .75s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Success message ─────────────────────── */
.success-message {
  text-align: center;
  padding: 48px 24px;
}

.success-icon {
  display: inline-flex;
  background: #dcfce7;
  color: var(--success);
  border-radius: 50%;
  padding: 20px;
  margin-bottom: 20px;
}

.success-message h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.success-message p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ── Footer ──────────────────────────────── */
.site-footer {
  background: var(--brand-dark);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    gap: 40px;
  }

  .hero-visual {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .form-card {
    padding: 32px 24px;
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-submit {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .header-nav a:not(.btn-outline-sm) {
    display: none;
  }

  .about-highlights {
    grid-template-columns: 1fr 1fr;
  }
}
