/*
Theme Name: HostDocks Coming Soon
Theme URI: https://hostdocks.com/
Author: Nexovik
Description: Premium one-page coming-soon theme for HostDocks with a secure built-in contact form. No page-builder or contact-form plugin required.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: hostdocks
*/

:root {
  --hd-bg: #020812;
  --hd-bg-soft: #06162b;
  --hd-panel: rgba(7, 26, 47, .82);
  --hd-panel-strong: rgba(5, 20, 38, .96);
  --hd-border: rgba(99, 190, 255, .20);
  --hd-text: #f7fbff;
  --hd-muted: #9db0c8;
  --hd-blue: #00a9ff;
  --hd-blue-2: #0877ff;
  --hd-blue-3: #69d8ff;
  --hd-success: #79f2b5;
  --hd-shadow: 0 24px 80px rgba(0, 0, 0, .40);
  --hd-radius-lg: 28px;
  --hd-radius-md: 19px;
  --hd-radius-sm: 13px;
  --hd-container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--hd-text);
  background:
    radial-gradient(circle at 12% 5%, rgba(0, 141, 255, .24), transparent 31%),
    radial-gradient(circle at 85% 15%, rgba(18, 73, 195, .20), transparent 28%),
    linear-gradient(180deg, #07172d 0%, #020914 57%, #01040a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .10;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.78), transparent 74%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.78), transparent 74%);
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(0,169,255,.32); color: #fff; }

.hd-site { position: relative; overflow-x: clip; }
.hd-container { width: min(calc(100% - 40px), var(--hd-container)); margin-inline: auto; }

.hd-header { position: relative; z-index: 20; padding: 24px 0 0; }
.hd-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 0;
  padding: 12px 13px 12px 17px;
  border: 1px solid var(--hd-border);
  border-radius: 18px;
  background: rgba(3, 15, 30, .72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(0,0,0,.18);
}
.hd-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.hd-brand-mark {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--hd-blue-3), var(--hd-blue-2));
  box-shadow: 0 8px 22px rgba(0, 134, 255, .35);
  overflow: hidden;
}
.hd-brand-mark svg { width: 21px; height: 21px; }
.hd-brand strong span { color: var(--hd-blue); }
.hd-nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.hd-status-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b6c9df;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hd-status-mini::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--hd-success);
  box-shadow: 0 0 0 6px rgba(121, 242, 181, .08);
}

.hd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 0 19px;
  border: 0;
  border-radius: 13px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.hd-button:hover { transform: translateY(-2px); }
.hd-button--primary {
  color: #001527;
  background: linear-gradient(135deg, #72dcff 0%, #0ab0ff 42%, #1478ff 100%);
  box-shadow: 0 14px 34px rgba(0, 151, 255, .25);
}
.hd-button--primary:hover { box-shadow: 0 18px 40px rgba(0, 151, 255, .36); }
.hd-button--ghost {
  color: #dcecff;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
}
.hd-button--ghost:hover { border-color: rgba(105,216,255,.32); background: rgba(255,255,255,.07); }
.hd-button svg { flex: 0 0 auto; width: 18px; height: 18px; margin-left: 9px; }

.hd-hero { position: relative; z-index: 2; padding: 82px 0 56px; }
.hd-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr);
  align-items: center;
  gap: 58px;
}
.hd-hero-grid > * { min-width: 0; }
.hd-kicker {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 9px;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid rgba(72, 187, 255, .22);
  border-radius: 999px;
  color: #9edcff;
  background: rgba(0, 126, 255, .08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.25;
  text-transform: uppercase;
}
.hd-kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hd-blue-3);
  box-shadow: 0 0 16px var(--hd-blue-3);
}
.hd-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 6vw, 84px);
  line-height: .99;
  letter-spacing: -.055em;
  font-weight: 850;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.hd-title .hd-gradient {
  color: transparent;
  background: linear-gradient(100deg, #fff 5%, #80ddff 43%, #009dff 71%, #277dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hd-lead {
  max-width: 625px;
  margin: 25px 0 0;
  color: var(--hd-muted);
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.hd-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hd-hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 28px;
  color: #8fa6bd;
  font-size: 13px;
  font-weight: 650;
}
.hd-hero-note span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.hd-hero-note span::before { content: "✓"; color: #73d9ff; font-weight: 900; }

.hd-brand-panel {
  position: relative;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(109, 201, 255, .20);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(92, 199, 255, .10), rgba(255,255,255,.018));
  box-shadow: var(--hd-shadow);
}
.hd-brand-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 78%;
  height: 78%;
  inset: 11% auto auto 11%;
  border-radius: 50%;
  background: rgba(0, 153, 255, .18);
  filter: blur(68px);
}
.hd-brand-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 20px;
  background: #061426;
}
.hd-brand-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hd-brand-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  pointer-events: none;
}
.hd-floating-card {
  position: static;
  width: 100%;
  max-width: none;
  margin-top: 9px;
  padding: 12px 14px;
  border: 1px solid rgba(131, 220, 255, .18);
  border-radius: 15px;
  background: rgba(3, 16, 31, .72);
  box-shadow: none;
}
.hd-floating-card small { display: block; margin-bottom: 4px; color: #79cfff; font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.hd-floating-card strong { display: block; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }

.hd-section { position: relative; z-index: 2; padding: 72px 0; }
.hd-section-heading { display: flex; justify-content: space-between; gap: 36px; align-items: end; margin-bottom: 28px; }
.hd-section-heading > * { min-width: 0; }
.hd-eyebrow { margin: 0 0 10px; color: #68cfff; font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.hd-section h2 { margin: 0; max-width: 700px; font-size: clamp(32px, 4.1vw, 52px); line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; overflow-wrap: break-word; }
.hd-section-copy { max-width: 460px; margin: 0; color: var(--hd-muted); line-height: 1.7; overflow-wrap: anywhere; }

.hd-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hd-service {
  position: relative;
  min-width: 0;
  min-height: 232px;
  padding: 25px;
  border: 1px solid var(--hd-border);
  border-radius: var(--hd-radius-md);
  background: linear-gradient(145deg, rgba(10, 34, 61, .84), rgba(3, 15, 29, .78));
  box-shadow: 0 16px 50px rgba(0,0,0,.12);
  overflow: hidden;
}
.hd-service::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 130px;
  height: 130px;
  right: -50px;
  top: -50px;
  border-radius: 50%;
  background: rgba(0, 166, 255, .10);
  filter: blur(4px);
}
.hd-service > * { position: relative; z-index: 1; }
.hd-service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 14px;
  color: #9fe5ff;
  background: linear-gradient(135deg, rgba(80, 204, 255, .16), rgba(4, 106, 255, .16));
  border: 1px solid rgba(86, 209, 255, .15);
}
.hd-service-icon svg { width: 24px; height: 24px; }
.hd-service h3 { margin: 0 0 9px; font-size: 20px; letter-spacing: -.02em; }
.hd-service p { margin: 0; color: var(--hd-muted); line-height: 1.6; font-size: 15px; overflow-wrap: anywhere; }

.hd-contact-wrap {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 18px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--hd-border);
  border-radius: 27px;
  background: linear-gradient(145deg, rgba(9, 30, 54, .86), rgba(4, 14, 27, .90));
  box-shadow: var(--hd-shadow);
}
.hd-contact-wrap > * { min-width: 0; }
.hd-contact-info {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100%;
  padding: 34px;
  border-radius: 21px;
  background:
    radial-gradient(circle at 90% 10%, rgba(77,201,255,.20), transparent 27%),
    linear-gradient(150deg, #07315e, #071b34 55%, #071527);
}
.hd-contact-info > * { position: relative; z-index: 2; }
.hd-contact-info::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -62px;
  right: -72px;
  width: 235px;
  height: 235px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(89, 218, 255, .88), rgba(13, 126, 255, .92));
  opacity: .28;
  pointer-events: none;
}
.hd-contact-info h2 { font-size: clamp(34px, 4vw, 50px); }
.hd-contact-info p { color: #adbed0; line-height: 1.7; overflow-wrap: anywhere; }
.hd-contact-email {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 10px;
  margin-top: 18px;
  padding: 11px 12px;
  border: 1px solid rgba(131, 220, 255, .12);
  border-radius: 13px;
  color: #dff6ff;
  background: rgba(1, 10, 20, .42);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hd-contact-email span { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(255,255,255,.07); }
.hd-contact-form { min-width: 0; padding: 20px 17px 17px; }
.hd-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.hd-field { min-width: 0; margin-bottom: 15px; }
.hd-field--full { grid-column: 1 / -1; }
.hd-field label { display: block; margin-bottom: 7px; color: #cfe0ef; font-size: 13px; font-weight: 750; }
.hd-field input, .hd-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(141, 192, 232, .17);
  border-radius: 12px;
  outline: none;
  color: #f8fcff;
  background: rgba(1, 11, 22, .58);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.hd-field input::placeholder, .hd-field textarea::placeholder { color: #6f849b; opacity: 1; }
.hd-field input { min-height: 50px; padding: 0 14px; }
.hd-field textarea { min-height: 142px; padding: 13px 14px; resize: vertical; }
.hd-field input:focus, .hd-field textarea:focus {
  border-color: rgba(77, 203, 255, .62);
  box-shadow: 0 0 0 4px rgba(0, 169, 255, .08);
  background: rgba(1, 14, 28, .82);
}
.hd-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.hd-form-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hd-form-meta p { margin: 0; max-width: 390px; color: #70869f; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.hd-form-meta .hd-button { flex: 0 0 auto; }
.hd-alert { margin: 0 0 16px; padding: 13px 15px; border-radius: 12px; font-size: 14px; }
.hd-alert--success { color: #c9ffe4; border: 1px solid rgba(94, 237, 163, .22); background: rgba(26, 140, 83, .14); }
.hd-alert--error { color: #ffd9d9; border: 1px solid rgba(255, 126, 126, .2); background: rgba(167, 47, 47, .14); }

.hd-footer { padding: 26px 0 44px; color: #6f849b; font-size: 13px; }
.hd-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.hd-footer-row > * { min-width: 0; overflow-wrap: anywhere; }
.hd-footer a { color: #23b9ff; text-decoration: none; }
.hd-footer a:hover { color: #d5f2ff; }

@media (max-width: 980px) {
  .hd-hero { padding-top: 62px; }
  .hd-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hd-brand-panel { width: min(100%, 760px); }
  .hd-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-services .hd-service:last-child { grid-column: 1 / -1; }
  .hd-contact-wrap { grid-template-columns: 1fr; }
  .hd-section-heading { align-items: start; flex-direction: column; gap: 14px; }
}

@media (max-width: 680px) {
  .hd-container { width: min(calc(100% - 24px), var(--hd-container)); }
  .hd-header { padding-top: 12px; }
  .hd-nav { gap: 10px; padding: 10px 10px 10px 12px; border-radius: 16px; }
  .hd-brand { gap: 8px; font-size: 16px; }
  .hd-brand-mark { width: 31px; height: 31px; border-radius: 10px; }
  .hd-brand-mark svg { width: 19px; height: 19px; }
  .hd-status-mini { display: none; }
  .hd-nav .hd-button { min-height: 40px; padding: 0 12px; font-size: 12px; white-space: nowrap; }

  .hd-hero { padding: 46px 0 36px; }
  .hd-hero-grid { gap: 34px; }
  .hd-kicker { margin-bottom: 18px; padding: 7px 10px; font-size: 10px; letter-spacing: .10em; }
  .hd-title { max-width: 100%; font-size: clamp(38px, 12.2vw, 54px); line-height: 1.01; letter-spacing: -.047em; }
  .hd-lead { margin-top: 20px; font-size: 15px; line-height: 1.62; }

  .hd-hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 26px; }
  .hd-hero-actions .hd-button { min-height: 48px; padding: 0 12px; font-size: 12px; }
  .hd-hero-actions .hd-button svg { width: 16px; height: 16px; margin-left: 6px; }

  .hd-hero-note { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 22px; font-size: 10.5px; }
  .hd-hero-note span { align-items: flex-start; gap: 5px; line-height: 1.35; }

  .hd-brand-panel { padding: 7px; border-radius: 21px; }
  .hd-brand-frame { border-radius: 16px; }
  .hd-floating-card { margin-top: 7px; padding: 10px 11px; border-radius: 13px; }
  .hd-floating-card small { font-size: 9px; }
  .hd-floating-card strong { font-size: 12px; }

  .hd-section { padding: 48px 0; }
  .hd-section-heading { margin-bottom: 22px; }
  .hd-section h2 { font-size: clamp(29px, 9.3vw, 40px); line-height: 1.06; }
  .hd-section-copy { font-size: 14px; line-height: 1.62; }

  .hd-services { grid-template-columns: 1fr; gap: 12px; }
  .hd-services .hd-service:last-child { grid-column: auto; }
  .hd-service {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 14px;
    min-height: 0;
    padding: 18px;
    border-radius: 17px;
  }
  .hd-service-icon { grid-row: 1 / span 2; width: 48px; height: 48px; margin: 0; border-radius: 13px; }
  .hd-service h3 { grid-column: 2; align-self: end; margin: 1px 0 6px; font-size: 17px; }
  .hd-service p { grid-column: 2; margin: 0; font-size: 13px; line-height: 1.55; }
  .hd-service::after { width: 110px; height: 110px; }

  .hd-contact-wrap { gap: 0; padding: 8px; border-radius: 21px; }
  .hd-contact-info { padding: 25px 19px 21px; border-radius: 16px; }
  .hd-contact-info::after { top: -62px; right: -68px; width: 190px; height: 190px; opacity: .26; }
  .hd-contact-info h2 { max-width: 280px; font-size: clamp(30px, 9.5vw, 40px); line-height: 1.03; }
  .hd-contact-info p { max-width: 94%; margin-bottom: 0; font-size: 14px; line-height: 1.6; }
  .hd-contact-email { margin-top: 16px; padding: 9px 10px; font-size: 12px; }
  .hd-contact-email span { width: 34px; height: 34px; }
  .hd-contact-form { padding: 18px 10px 11px; }
  .hd-form-grid { grid-template-columns: 1fr; gap: 0; }
  .hd-field--full { grid-column: auto; }
  .hd-field { margin-bottom: 13px; }
  .hd-field label { margin-bottom: 6px; font-size: 11px; }
  .hd-field input { min-height: 47px; padding: 0 12px; border-radius: 10px; font-size: 13px; }
  .hd-field textarea { min-height: 126px; padding: 12px; border-radius: 10px; font-size: 13px; }
  .hd-form-meta { align-items: stretch; flex-direction: column; gap: 12px; }
  .hd-form-meta p { max-width: 100%; font-size: 10.5px; }
  .hd-form-meta .hd-button { width: 100%; min-height: 48px; font-size: 13px; }

  .hd-footer { padding: 22px 0 34px; }
  .hd-footer-row { flex-direction: column; align-items: center; gap: 7px; padding-top: 18px; text-align: center; font-size: 11px; }
}

@media (max-width: 420px) {
  .hd-container { width: min(calc(100% - 20px), var(--hd-container)); }
  .hd-nav .hd-button { padding: 0 10px; }
  .hd-hero-actions { grid-template-columns: 1fr; }
  .hd-hero-note { grid-template-columns: 1fr 1fr; }
  .hd-hero-note span:last-child { grid-column: 1 / -1; }
  .hd-contact-info p { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
