:root{
  --bg:#05070b;
  --panel:rgba(8,13,20,.88);
  --panel-soft:rgba(255,255,255,.07);
  --line:rgba(255,255,255,.13);
  --cyan:#00cffc;
  --gold:#ffd24a;
  --text:#f6fbff;
  --muted:#b7c7d7;
  --danger:#ff4d67;
  --ok:#38f2a6;
}

*{box-sizing:border-box}

body{
  margin:0;
  min-height:100vh;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 14% 12%,rgba(0,207,252,.18),transparent 30%),
    radial-gradient(circle at 86% 14%,rgba(255,210,74,.15),transparent 28%),
    linear-gradient(135deg,#05070b 0%,#101824 54%,#070a10 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.page{
  width:100%;
  display:flex;
  justify-content:center;
}

.modal-card{
  width:min(760px,100%);
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:0 24px 80px rgba(0,0,0,.48),0 0 30px rgba(0,207,252,.08);
  padding:28px;
  backdrop-filter:blur(14px);
}

.brand{
  display:flex;
  gap:18px;
  align-items:center;
  margin-bottom:22px;
}

.logo{
  width:128px;
  max-width:32%;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 0 18px rgba(0,207,252,.28));
}

.eyebrow{
  margin:0 0 5px;
  color:var(--gold);
  font-weight:800;
  text-transform:uppercase;
  font-size:12px;
}

h1{
  margin:0;
  font-size:clamp(26px,4vw,38px);
  line-height:1.08;
  color:#fff;
}

.intro{
  margin:10px 0 0;
  color:var(--muted);
  font-size:16px;
  line-height:1.5;
}

.contact-box{
  background:rgba(0,0,0,.28);
  border:1px solid var(--line);
  border-radius:18px;
  padding:20px;
}

.contact-fields{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

.contact-field{width:100%}
.contact-field.half{width:calc(50% - 8px)}

label{
  display:block;
  font-weight:700;
  margin-bottom:8px;
  color:#eaf8ff;
}

input,textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  border-radius:13px;
  padding:14px 15px;
  font-size:16px;
  color:#fff;
  outline:none;
  transition:.18s;
}

input::placeholder,
textarea::placeholder{color:#a9bbc9}

input:focus,
textarea:focus{
  border-color:var(--cyan);
  box-shadow:0 0 0 4px rgba(0,207,252,.14);
  background:rgba(255,255,255,.11);
}

textarea{
  resize:vertical;
  min-height:145px;
}

.contact-captcha{
  background:rgba(0,207,252,.08);
  border:1px dashed rgba(0,207,252,.38);
  border-radius:16px;
  padding:16px;
}

.contact-captcha strong{
  color:var(--gold);
  font-size:22px;
}

.captcha-help{
  margin:8px 0 0;
  color:var(--muted);
  font-size:13px;
}

.mega-field-check{
  position:absolute;
  left:-9999px;
  opacity:0;
  height:0;
  overflow:hidden;
}

.contact-button{margin-top:18px}

button{
  width:100%;
  border:0;
  border-radius:14px;
  padding:16px 20px;
  background:linear-gradient(135deg,var(--cyan),var(--gold));
  color:#071018;
  font-weight:900;
  font-size:18px;
  cursor:pointer;
  box-shadow:0 12px 26px rgba(0,207,252,.22);
}

button:hover{filter:brightness(1.04)}

.status{
  min-height:22px;
  margin:14px 0 0;
  font-weight:700;
  line-height:1.4;
}

.status.error{color:var(--danger)}
.status.ok{color:var(--ok)}

.small-note{
  text-align:center;
  color:var(--muted);
  font-size:13px;
  margin:16px 0 0;
}

@media(max-width:640px){
  body{
    align-items:flex-start;
    padding:12px;
  }

  .modal-card{
    padding:20px;
    border-radius:20px;
  }

  .brand{
    align-items:flex-start;
    gap:12px;
  }

  .logo{width:92px}
  .contact-field.half{width:100%}
  button{font-size:17px}
}
