:root {
  --navy: #031f3a;
  --navy-2: #063b68;
  --blue: #0878d8;
  --blue-2: #16a7e0;
  --ink: #0d1b2f;
  --muted: #52667c;
  --line: #d9e4ef;
  --bg: #f4f8fc;
  --card: #ffffff;
  --warning-bg: #fff7e5;
  --warning-border: #f0bd4f;
  --warning-text: #8a5400;
  --success: #18a058;
  --shadow: 0 18px 45px rgba(6, 37, 68, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 12%, rgba(22, 167, 224, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fbfe 0%, var(--bg) 100%);
}

a { color: inherit; }

.site-header {
  height: 86px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%);
  color: white;
  box-shadow: 0 10px 30px rgba(3, 31, 58, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 250px;
}

.brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.brand-product {
  font-weight: 800;
  letter-spacing: -0.02em;
  opacity: 0.92;
  border-left: 1px solid rgba(255,255,255,.25);
  padding-left: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
}

.nav a:hover { opacity: 1; color: #7fdcff; }

.trust-pill {
  border: 1px solid rgba(127, 220, 255, 0.55);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.trust-icon { color: #7fdcff; }

.page-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 42px 48px 72px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 42px;
  align-items: center;
  min-height: 510px;
}

.eyebrow,
.panel-kicker {
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .12em;
  font-size: 13px;
  margin: 0 0 14px;
}

.hero-copy h1 {
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin: 0 0 24px;
}

.hero-copy h1 span {
  color: var(--blue);
}

.hero-text {
  max-width: 640px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button-primary,
.button-secondary,
.button-link,
button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  border-radius: 10px;
  padding: 0 22px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 15px;
}

.button-primary,
button {
  background: linear-gradient(135deg, #0059c9, var(--blue));
  color: white;
  box-shadow: 0 10px 24px rgba(8, 120, 216, .22);
}

.button-secondary,
.button-link {
  color: #064c87;
  background: white;
  border-color: #9bc7e8;
}

.button-link { margin-top: 22px; }

.it-graphic {
  position: relative;
  min-height: 430px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(218, 240, 255, .68)),
    radial-gradient(circle at 75% 22%, rgba(22, 167, 224, .25), transparent 28%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(166, 200, 226, .55);
}

.it-graphic::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(8,120,216,.10) 1px, transparent 1px),
    linear-gradient(rgba(8,120,216,.10) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 60% 50%, black, transparent 70%);
}

.server-stack {
  position: absolute;
  right: 90px;
  top: 90px;
  width: 120px;
  z-index: 2;
}

.server-stack span {
  display: block;
  height: 68px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #07223f, #0f4f82);
  border-radius: 16px;
  box-shadow: 0 18px 35px rgba(3,31,58,.22);
  border: 1px solid rgba(127,220,255,.3);
}

.server-stack span::after {
  content: "";
  display: block;
  width: 46px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue-2);
  margin: 30px 0 0 18px;
}

.laptop {
  position: absolute;
  left: 80px;
  bottom: 72px;
  width: 300px;
  height: 190px;
  z-index: 3;
}

.screen {
  height: 165px;
  border-radius: 22px;
  background: linear-gradient(135deg, #062341, #0b5f9f);
  color: #78dcff;
  display: grid;
  place-items: center;
  font-size: 76px;
  font-weight: 900;
  box-shadow: 0 24px 40px rgba(3,31,58,.25);
}

.keyboard {
  height: 22px;
  margin: -2px 28px 0;
  border-radius: 0 0 22px 22px;
  background: #9fb8cf;
}

.cloud {
  position: absolute;
  right: 215px;
  top: 65px;
  width: 125px;
  height: 66px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d9f3ff, #ffffff);
  box-shadow: 0 14px 30px rgba(8,120,216,.14);
}

.lock-badge {
  position: absolute;
  left: 62px;
  top: 92px;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: white;
  font-size: 42px;
  box-shadow: var(--shadow);
  z-index: 4;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 16px 0 42px;
}

.feature-card,
.app-panel,
.privacy-panel,
.side-illustration {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(186, 210, 230, .75);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
  align-items: start;
}

.feature-icon {
  grid-row: span 2;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #eaf6ff;
  display: grid;
  place-items: center;
  font-size: 28px;
}

.feature-card h2 {
  margin: 0;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.app-panel {
  padding: 34px;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: stretch;
}

.app-panel h1,
.app-panel h2 {
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.muted {
  color: var(--muted);
  line-height: 1.55;
}

.form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

label {
  font-size: 13px;
  font-weight: 850;
  color: #10233b;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid #cbd9e6;
  border-radius: 10px;
  padding: 14px 15px;
  font: inherit;
  background: white;
  color: var(--ink);
}

textarea:focus,
input:focus,
select:focus {
  outline: 3px solid rgba(8,120,216,.18);
  border-color: var(--blue);
}

.privacy-panel {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.privacy-icon,
.shield-large {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #eaf6ff;
  font-size: 44px;
}

.center-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: 34px;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 190px);
}

.result-panel,
.reveal-panel {
  text-align: center;
}

.copy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 8px 0 14px;
}

.copy-row button {
  min-height: 46px;
}

.warning,
.error {
  border-radius: 10px;
  padding: 14px 16px;
  margin: 18px 0;
  text-align: left;
}

.warning {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: var(--warning-text);
}

.error {
  background: #fff0f0;
  border: 1px solid #ffb4b4;
  color: #a40000;
}

.status-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 34px;
  font-weight: 900;
}

.success,
.unlocked {
  background: #dff8ea;
  color: var(--success);
}

.warning-icon {
  background: #fff3d5;
  color: #b56a00;
}

.secret-output {
  white-space: pre-wrap;
  text-align: left;
  background: #f5f8fb;
  border: 1px solid #dbe5ee;
  border-radius: 12px;
  padding: 22px;
  line-height: 1.55;
  overflow-x: auto;
}

.tiny-note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 18px;
}

.side-illustration {
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    padding: 20px;
    flex-wrap: wrap;
  }

  .nav { order: 3; width: 100%; justify-content: center; }
  .trust-pill { margin-left: auto; }
  .brand { min-width: auto; }
  .brand-product { display: none; }

  .page-shell { padding: 28px 18px 52px; }

  .hero-layout,
  .split-panel,
  .center-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .it-graphic,
  .side-illustration {
    display: none;
  }
}

button,
.button-primary,
.button-secondary,
.button-link,
.copy-row button,
a.button-primary,
a.button-secondary,
a.button-link {
    cursor: pointer;
    transition: all 0.18s ease;
}

button:hover,
.button-primary:hover,
.button-secondary:hover,
.button-link:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

/* River Valley IT illustration asset update */
.hero-image-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(255,255,255,.92), rgba(222,241,255,.72));
    border-radius: 34px;
    min-height: 430px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(166, 200, 226, .55);
    padding: 26px;
}

.hero-image {
    width: 100%;
    max-width: 720px;
    height: auto;
    object-fit: contain;
    display: block;
}

.side-art {
    width: min(240px, 90%);
    height: auto;
    margin: 0 auto 18px;
    display: block;
}

.side-art-large {
    width: min(320px, 95%);
    height: auto;
    margin: 0 auto 16px;
    display: block;
}

button,
.button-primary,
.button-secondary,
.button-link,
.copy-row button,
a.button-primary,
a.button-secondary,
a.button-link {
    cursor: pointer;
    transition: all 0.18s ease;
}

button:hover,
.button-primary:hover,
.button-secondary:hover,
.button-link:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.copied {
    background: linear-gradient(135deg, #078449, #18a058) !important;
}

@media (max-width: 980px) {
    .hero-image-panel,
    .side-illustration {
        display: none;
    }
}
