:root {
  --bg: #081018;
  --bg-deep: #03131d;
  --panel: rgba(5, 18, 28, 0.82);
  --panel-border: rgba(255, 255, 255, 0.10);
  --text: #edf4f7;
  --muted: #b8c7cf;
  --accent: #4dd0e1;
  --accent-hover: #6ee7f2;
  --success: #85e89d;
  --error: #ff9b9b;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 30px 70px rgba(0, 0, 0, 0.45);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
}

.page {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(90deg, #071922 0%, var(--bg-deep) 45%, #02111a 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  background: url("aquanexus-landing.png") left center / contain no-repeat;
  opacity: 0.92;
  pointer-events: none;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(77, 208, 225, 0.10), transparent 28%),
    radial-gradient(circle at bottom right, rgba(77, 208, 225, 0.08), transparent 24%);
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr minmax(320px, 500px);
  align-items: center;
  gap: 40px;
  padding: 40px 56px;
}

.left {
  grid-column: 2;
  max-width: 360px;
}

.right {
  grid-column: 3;
  display: flex;
  justify-content: flex-end;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #44d7ff;
  font-size: 0.82rem;
  font-weight: 700;
}

h1 {
  margin: 0 0 18px;
  max-width: 340px;
  font-size: clamp(2.2rem, 3.4vw, 4rem);
  line-height: 1.02;
}

.intro {
  margin: 0;
  max-width: 320px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}

.card {
  width: 100%;
  max-width: 500px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}

.card-copy {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.5;
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-size: 0.95rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(77, 208, 225, 0.2);
}

input::placeholder,
textarea::placeholder {
  color: #a9bac3;
}

select:invalid {
  color: #a9bac3;
}

select option {
  background-color: #0f1b26;
  color: var(--text);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  margin-top: 8px;
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: var(--accent);
  color: #062129;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 0 0 rgba(77, 208, 225, 0);
}

button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(77, 208, 225, 0.35);
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.status {
  min-height: 1.2em;
  margin: 6px 0 0;
  font-size: 0.95rem;
}

.status.success {
  color: var(--success);
  font-weight: 500;
}

.status.error {
  color: var(--error);
  font-weight: 500;
}

@media (max-width: 1100px) {
  .hero::before {
    width: 34%;
    opacity: 0.72;
  }

  .content {
    grid-template-columns: minmax(240px, 300px) 1fr minmax(300px, 460px);
    gap: 28px;
    padding: 32px 32px;
  }

  h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero::before {
    display: none;
  }

  .content {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px 16px 40px;
  }

  .left,
  .right {
    width: 100%;
    max-width: 100%;
  }

  .left {
    order: 1;
  }

  .right {
    order: 2;
    justify-content: stretch;
  }

  .card {
    max-width: 100%;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
  }

  h1 {
    max-width: 100%;
    font-size: 2.2rem;
    line-height: 1.05;
    margin-bottom: 14px;
  }

  .intro {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.5;
  }

  .card h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .card-copy {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  input,
  select,
  textarea,
  button {
    font-size: 16px;
  }

  textarea {
    min-height: 140px;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 20px 14px 32px;
    gap: 20px;
  }

  h1 {
    font-size: 1.95rem;
  }

  .card {
    padding: 20px 16px;
  }

  .card h2 {
    font-size: 1.6rem;
  }
}