/* =========================================================
   Deecke Creative Agency — Coming Soon
   Brand palette:
     #006CA6  deep blue
     #0099D4  bright cyan-blue
     #122A41  navy
   ========================================================= */

:root {
  --blue:   #006CA6;
  --cyan:   #0099D4;
  --navy:   #122A41;

  --ink:        #122A41;            /* primary text */
  --ink-soft:   #46586b;           /* secondary text */
  --ink-faint:  #7c8a99;           /* muted */

  --bg:         #f3f8fc;           /* page base */
  --surface:    rgba(255, 255, 255, 0.62);
  --border:     rgba(18, 42, 65, 0.10);

  --shadow-sm:  0 1px 2px rgba(18, 42, 65, 0.06);
  --shadow-md:  0 18px 40px -16px rgba(18, 42, 65, 0.28);
  --shadow-glow:0 14px 38px -12px rgba(0, 108, 166, 0.55);

  --radius:     16px;
  --radius-lg:  22px;

  --mx: 50%;   /* mouse position, set by JS for the spotlight */
  --my: 35%;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 700px at 80% -10%, rgba(0, 153, 212, 0.10), transparent 60%),
    radial-gradient(1000px 600px at -10% 110%, rgba(0, 108, 166, 0.10), transparent 55%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Background layers ---------- */
.bg { position: fixed; inset: 0; z-index: -3; overflow: hidden; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
  will-change: transform;
}
.blob--cyan {
  width: 46vmax; height: 46vmax;
  top: -16vmax; right: -10vmax;
  background: radial-gradient(circle at 30% 30%, rgba(0, 153, 212, 0.85), transparent 65%);
  animation: drift1 22s ease-in-out infinite;
}
.blob--blue {
  width: 42vmax; height: 42vmax;
  bottom: -18vmax; left: -12vmax;
  background: radial-gradient(circle at 60% 40%, rgba(0, 108, 166, 0.8), transparent 65%);
  animation: drift2 26s ease-in-out infinite;
}
.blob--navy {
  width: 30vmax; height: 30vmax;
  top: 40%; left: 55%;
  background: radial-gradient(circle at 50% 50%, rgba(18, 42, 65, 0.30), transparent 60%);
  animation: drift3 30s ease-in-out infinite;
}

@keyframes drift1 { 50% { transform: translate(-6vmax, 5vmax) scale(1.12); } }
@keyframes drift2 { 50% { transform: translate(7vmax, -4vmax) scale(1.08); } }
@keyframes drift3 { 50% { transform: translate(-8vmax, -6vmax) scale(0.9); } }

/* faint blueprint grid, faded toward the edges */
.grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 42, 65, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 42, 65, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 50% 30%, #000 30%, transparent 78%);
}

/* glow that follows the cursor */
.spotlight {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 153, 212, 0.16), transparent 70%);
  transition: background-position .12s ease-out;
}

/* floating hexagons */
.shapes { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.hex {
  position: absolute;
  fill: none;
  stroke: rgba(0, 108, 166, 0.22);
  stroke-width: 1.5;
  opacity: 0.7;
  will-change: transform;
}
.hex--1 { width: 130px; height: 130px; top: 16%;  left: 9%;  animation: float 16s ease-in-out infinite; }
.hex--2 { width: 78px;  height: 78px;  top: 68%;  left: 82%; stroke: rgba(0, 153, 212, 0.30); animation: float 13s ease-in-out infinite reverse; }
.hex--3 { width: 54px;  height: 54px;  top: 78%;  left: 16%; animation: float 19s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-26px) rotate(28deg); }
}

/* ---------- Layout ---------- */
.page {
  position: relative;
  min-height: 100svh;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-direction: column;
}

.topbar { padding-block: 4px 8px; }
.logo {
  width: clamp(220px, 32vw, 340px);
  height: auto;
  display: block;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  padding-block: clamp(36px, 8vh, 80px);
  max-width: 760px;
}

/* badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--blue);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.badge__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(0, 153, 212, 0.55);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 153, 212, 0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(0, 153, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 153, 212, 0); }
}

/* headline */
.title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7.2vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.grad {
  background: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 55%, var(--navy) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer { 50% { background-position: 100% center; } }

.lede {
  margin: 0;
  max-width: 56ch;
  font-size: clamp(1.02rem, 2.1vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

/* notify form */
.notify { width: min(100%, 480px); margin-top: 6px; }
.field {
  display: flex;
  gap: 8px;
  padding: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.field:focus-within {
  border-color: rgba(0, 153, 212, 0.5);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(0, 153, 212, 0.12);
}
.field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}
.field input::placeholder { color: var(--ink-faint); }
.field input:focus { outline: none; }

.field button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  border: 0;
  cursor: pointer;
  padding: 12px 20px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--cyan), var(--blue));
  box-shadow: var(--shadow-glow);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.field button:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 18px 44px -12px rgba(0, 108, 166, 0.65); }
.field button:active { transform: translateY(0); }
.field button svg { transition: transform .18s ease; }
.field button:hover svg { transform: translateX(3px); }

.note {
  margin: 12px 4px 0;
  font-size: 13.5px;
  color: var(--ink-faint);
  transition: color .2s ease;
}
.note.is-success { color: var(--blue); font-weight: 500; }
.note.is-error   { color: #c0392b; }

.contact {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.contact a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 108, 166, 0.35);
  transition: border-color .2s ease, color .2s ease;
}
.contact a:hover { color: var(--cyan); border-color: var(--cyan); }

/* footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  margin-top: auto;
  border-top: 1px solid var(--border);
}
.social { display: inline-flex; gap: 8px; }
.social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.social a:hover {
  color: var(--blue);
  transform: translateY(-2px);
  border-color: rgba(0, 153, 212, 0.4);
  box-shadow: var(--shadow-sm);
}
.copyright { margin: 0; font-size: 13px; color: var(--ink-faint); }

/* ---------- Entrance animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal .7s cubic-bezier(.21,.6,.35,1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes reveal { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .field { flex-direction: column; border-radius: var(--radius-lg); padding: 10px; }
  .field input { padding: 10px 12px; text-align: center; }
  .field button { justify-content: center; padding: 13px; }
  .footer { justify-content: center; text-align: center; flex-direction: column-reverse; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .spotlight { display: none; }
}
