:root {
  --bg: #050b12;
  --bg2: #07111d;
  --panel: rgba(10, 22, 34, .86);
  --panel2: rgba(6, 12, 18, .78);
  --cyan: #00f6ff;
  --blue: #0aa2ff;
  --line: rgba(0, 246, 255, .30);
  --text: #e8f6ff;
  --muted: #9fb7c7;
  --radius: 18px;
  --shadow: 0 18px 60px rgba(0, 0, 0, .55);
  --glow: 0 0 40px rgba(0, 246, 255, .18);
}

* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }

html, body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff, #f3f7fb);
  line-height: 1.6;
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* --- LAYERING FIXES --- */
canvas#ft-traffic {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}
main { padding-top: 12px; flex: 1; position: relative; z-index: 1; }
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 11, 18, .78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  color: white; overflow: visible;
}
header .nav a { color: white; }
header .brandBadge { background: transparent; border: none; }
footer {
  border-top: 1px solid var(--line); padding: 28px 0;
  color: var(--muted); background: rgba(5, 11, 18, .78);
  position: relative; z-index: 2;
}

/* --- SITE STYLES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 100px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 0 0 auto; }
.brandLogo {
  height: 250px; width: auto; max-width: 520px;
  display: block; object-fit: contain;
  margin-top: -98px; margin-bottom: -105px; margin-left: -56px; 
}
nav { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; justify-content: flex-end; white-space: nowrap; flex: 1 1 auto; min-width: 0; }
nav a {
  font-weight: 900; font-size: .95rem; padding: 8px 10px;
  border-radius: 999px; border: 1px solid transparent; white-space: nowrap;
  transition: all 0.2s ease;
}
nav a:hover { color: var(--cyan); border-color: rgba(0, 246, 255, .25); background: rgba(0, 246, 255, .06); }
nav a.active { color: var(--cyan); border-color: rgba(0, 246, 255, .35); background: rgba(0, 246, 255, .08); }

@media (max-width: 980px) {
  .nav { flex-direction: column; align-items: flex-start; gap: 12px; }
  nav { flex-wrap: wrap; white-space: normal; justify-content: flex-start; width: 100%; }
  .brandLogo { height: 130px; max-width: 100%; }
}
@media (max-width: 720px) {
  .nav { padding: 8px 0; }
  .brandLogo { height: 110px; max-width: none; filter: none; }
  nav { justify-content: flex-start; }
  nav a { font-size: .98rem; padding: 9px 12px; }
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #b9fdff; }
.panel {
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid rgba(0, 246, 255, .34);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 246, 255, .12), 0 0 28px rgba(0, 246, 255, .22), 0 0 64px rgba(10, 162, 255, .14);
  padding: 24px; position: relative; overflow: hidden;
}
.panel::before {
  content: ""; position: absolute; inset: -2px;
  background: radial-gradient(circle at 30% 0%, rgba(0, 246, 255, .18), transparent 55%);
  pointer-events: none;
}
.hero { padding: 74px 0 26px; }
.heroGrid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: stretch; }
@media (max-width: 980px) { .heroGrid { grid-template-columns: 1fr; } }
h1 {
  font-family: Orbitron, sans-serif; margin: 12px 0 10px;
  font-size: clamp(2.0rem, 4.6vw, 3.3rem); line-height: 1.06;
  color: var(--cyan); text-shadow: 0 0 22px rgba(0, 246, 255, .45);
}
.kicker {
  display: inline-flex; gap: 10px; align-items: center;
  font-family: Orbitron, sans-serif; text-transform: uppercase; letter-spacing: 1px;
  font-weight: 700; font-size: .78rem; color: #b9fdff;
}
.kicker .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 16px rgba(0, 246, 255, .8);
}
.lead { margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 70ch; }
.section { padding: 34px 0; }
.section h2 { font-family: Orbitron, sans-serif; margin: 0 0 12px; color: var(--cyan); letter-spacing: .6px; }
.sub { margin: 0 0 18px; color: var(--muted); max-width: 90ch; }
.btnRow { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 16px; border-radius: 999px;
  font-weight: 900;
  border: 1px solid rgba(0, 246, 255, .25);
  background: rgba(0, 246, 255, .06);
  color: var(--text);
  cursor: pointer;
}
.btn:hover { border-color: rgba(0, 246, 255, .45); background: rgba(0, 246, 255, .10); }
.btn.primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-color: transparent;
  color: #001018;
  box-shadow: 0 0 28px rgba(0, 246, 255, .30);
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: linear-gradient(180deg, rgba(10, 22, 34, .80), rgba(6, 12, 18, .72));
  border: 1px solid rgba(0, 246, 255, .24);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 0 0 1px rgba(0, 246, 255, .06), 0 0 22px rgba(0, 246, 255, .12);
}
.card h3 { margin: 0 0 8px; color: #b9fdff; }
.card p { margin: 0; color: var(--muted); }
.card ul { margin: 10px 0 0 0; color: var(--muted); list-style: none; padding: 0; }
.card li { margin: 6px 0; position: relative; padding-left: 16px; }
.card li::before {
  content: "◆"; position: absolute; left: 0; top: 0;
  color: rgba(0, 246, 255, .85);
}
.form { display: grid; gap: 12px; }
label { display: block; font-weight: 900; color: #c9eaff; font-size: .92rem; margin: 0 0 6px; }
input, select, textarea {
  width: 100%; padding: 12px; border-radius: 12px;
  border: 1px solid rgba(0, 246, 255, .18);
  background: rgba(5, 11, 18, .65); color: var(--text);
}
textarea { min-height: 110px; resize: vertical; }
.inline { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.notice {
  border: 1px dashed rgba(0, 246, 255, .30);
  background: rgba(0, 246, 255, .06);
  border-radius: 14px; padding: 12px; color: var(--muted);
}
.docPaper { background: #ffffff; color: #0b1220; border: 1px solid rgba(0, 0, 0, .10); border-radius: 10px; box-shadow: 0 14px 50px rgba(0, 0, 0, .35); padding: 28px; }
.docPaper h1, .docPaper h2, .docPaper h3 { color: #0b1220; text-shadow: none; font-family: Inter, sans-serif; }
.docHeader { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid rgba(0, 0, 0, .18); padding-bottom: 10px; margin-bottom: 16px; }
.docHeader .docBrand { font-weight: 900; font-size: 1.1rem; }
.docHeader .docContact { color: #1b2a41; font-weight: 600; }
.docTitle { font-weight: 900; font-size: 1.2rem; margin: 6px 0 0; }
.docTable { width: 100%; border-collapse: collapse; margin-top: 10px; }
.docTable td { border: 1px solid rgba(0, 0, 0, .14); padding: 10px; vertical-align: top; }
.docLabel { font-weight: 800; }
.docInput { width: 100%; border: none; border-bottom: 1px solid rgba(0, 0, 0, .35); padding: 6px 2px; background: transparent; color: #0b1220; }
.docInput:focus { outline: none; border-bottom-color: #0b1220; }
.docNote { color: #243b56; font-size: .95rem; }
.docSection { margin-top: 16px; }
.docCheckboxRow { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; }
.docBtn { margin-top: 14px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 10px; font-weight: 900; border: 1px solid rgba(0, 0, 0, .25); background: #0b1220; color: #fff; }
.consentCard { margin-top: 14px; }
.consentRow { display: flex; gap: 12px; align-items: flex-start; text-align: left; }
.consentRow input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--cyan); }
.consentRow label { margin: 0; font-weight: 800; color: var(--text); line-height: 1.35; }
.consentRow .consentSmall { display: block; margin-top: 6px; font-weight: 600; color: var(--muted); }
.registerSection { margin: 18px 0 8px; font-family: Orbitron, sans-serif; color: var(--cyan); letter-spacing: .4px; }
:focus-visible { outline: 2px solid rgba(0, 246, 255, .75); outline-offset: 2px; }
.sectionHead { margin-bottom: 16px; }
.bulletList { margin: 14px 0 0 18px; color: var(--muted); }
.bulletList li { margin: 6px 0; }
.mutedNote { margin: 10px 0 0; color: var(--muted); font-size: .95rem; }
input:focus, select:focus, textarea:focus { border-color: rgba(0, 246, 255, .40); outline: none; }

/* --- MANDATORY STARS FIX --- */
.ft-required-wrap { position: relative; display: block; width: 100%; }
.ft-required-star {
  position: absolute; right: 14px; top: 14px;
  color: #00f6ff; font-weight: 900; font-family: 'Orbitron', sans-serif;
  pointer-events: none; z-index: 10;
}
.ft-required-wrap input, .ft-required-wrap select, .ft-required-wrap textarea {
  padding-right: 35px !important; width: 100%;
}

/* --- VALIDATION: RED BORDER ONLY AFTER SUBMIT --- */
.form-submitted input:invalid, 
.form-submitted select:invalid, 
.form-submitted textarea:invalid {
    border-color: #ff4444 !important;
    box-shadow: 0 0 8px rgba(255, 68, 68, 0.4);
}