/*
  SAMB Inc. — Coming Soon
  Retro-futuristic dark theme with neon accents and subtle motion.

  Notes:
  - Uses CSS variables for easy theme tweaks
  - Honors reduced motion preferences
  - Responsive layout with fluid typography
*/

/* ===== CSS Reset (minimal) ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img { max-width: 100%; display: block; }
input, button { font: inherit; }

/* ===== Theme Variables ===== */
:root {
  --bg: #0a0b10;
  --bg-elev: #0f1119;
  --text: #d8dcff;
  --muted: #93a0b8;
  --neon-1: #8a2be2; /* purple */
  --neon-2: #00e5ff; /* cyan */
  --neon-3: #5ad1ff; /* light blue */
  --accent: #b388ff;
  --focus: #76e4f7;
  --maxw: 1040px;
  --radius: 14px;
  --shadow-neon: 0 0 12px rgba(138,43,226,.6), 0 0 32px rgba(0,229,255,.3);
}

/* ===== Base ===== */
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 2rem;
  padding: 4rem 1.25rem 2rem;
}

/* ===== Background layers ===== */
.bg { position: fixed; inset: 0; overflow: hidden; z-index: -1; }
.bg-gradient {
  position: absolute; inset: -20% -20% -20% -20%;
  background: radial-gradient(60% 60% at 70% 30%, rgba(138,43,226,.35) 0%, rgba(10,11,16,0) 60%),
              radial-gradient(50% 50% at 30% 70%, rgba(0,229,255,.27) 0%, rgba(10,11,16,0) 60%),
              linear-gradient(120deg, #0a0b10 0%, #0f1119 100%);
  filter: saturate(115%);
  animation: floatGrad 18s ease-in-out infinite alternate;
}

.bg-orb {
  position: absolute; width: 42vmax; height: 42vmax; border-radius: 50%;
  mix-blend-mode: screen; filter: blur(60px) saturate(120%);
  opacity: .22;
}
.orb-1 { background: radial-gradient(circle at 30% 30%, var(--neon-1), transparent 60%); top: -12vmax; left: -10vmax; }
.orb-2 { background: radial-gradient(circle at 70% 70%, var(--neon-2), transparent 60%); bottom: -14vmax; right: -12vmax; }

/* Mouse-following glow */
.cursor-glow { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.cursor-glow::before {
  content: ""; position: absolute; width: 34vmin; height: 34vmin; border-radius: 50%;
  left: var(--cx, 50%); top: var(--cy, 50%); transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 50%, rgba(90,209,255,.35), rgba(138,43,226,.22) 55%, rgba(10,11,16,0) 70%);
  filter: blur(40px) saturate(120%);
  mix-blend-mode: screen; opacity: .55;
  transition: opacity .3s ease;
}

.scanline {
  position: absolute; inset: 0; background: repeating-linear-gradient(
    to bottom, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 2px, transparent 2px, transparent 6px
  ); opacity: .25; pointer-events: none; mix-blend-mode: overlay;
  animation: scan 8s linear infinite;
}

/* remove duplicate cursor-glow block (consolidated above) */

@keyframes floatGrad { from { transform: translateY(-2%); } to { transform: translateY(2%); } }
@keyframes drift1 { from { transform: translate(0,0) rotate(0deg); } to { transform: translate(2vmax, -1vmax) rotate(360deg); } }
@keyframes drift2 { from { transform: translate(0,0) rotate(0deg); } to { transform: translate(-2vmax, 1.5vmax) rotate(-360deg); } }
@keyframes scan { 0% { transform: translateY(-10%);} 100% { transform: translateY(10%);} }

/* ===== Brand ===== */
.brand { width: 100%; max-width: var(--maxw); display: flex; align-items: center; gap: .9rem; }
.logo {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: Audiowide, system-ui, sans-serif; font-size: 1.2rem; letter-spacing: .04em;
  color: #fff; background: linear-gradient(135deg, var(--neon-1), var(--neon-2));
  box-shadow: var(--shadow-neon);
}
.brand-name { font-family: Audiowide, system-ui, sans-serif; font-size: clamp(1.1rem, 1.2rem + 1vw, 1.6rem); letter-spacing: .06em; color: #e9e7ff; text-shadow: 0 0 10px rgba(138,43,226,.4); }

/* ===== Hero ===== */
.hero { width: 100%; max-width: var(--maxw); text-align: center; padding: 2rem 0 1rem; }
.headline {
  font-family: Audiowide, system-ui, sans-serif;
  font-size: clamp(2rem, 4.2vw + 1rem, 4.5rem);
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: none;
  color: #f3f0ff;
  text-shadow: 0 0 12px rgba(138,43,226,.6), 0 0 32px rgba(0,229,255,.25);
}
.headline span { display: inline-block; background: linear-gradient(90deg, var(--neon-2), var(--neon-1)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(90,209,255,.22)); }
.tagline { margin: 1rem auto 2rem; max-width: 48ch; color: var(--muted); font-size: clamp(.95rem, .7rem + .6vw, 1.1rem); }

/* ===== Notify Section ===== */
.notify-section { width: 100%; display: grid; place-items: center; }
.notify-card {
  width: 100%; max-width: 720px; margin: 0 auto; padding: 1.4rem; border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, rgba(18,20,31,.85), rgba(14,16,25,.72));
  box-shadow: 0 10px 32px rgba(0,229,255,.14), inset 0 0 28px rgba(138,43,226,.08);
  border: 1px solid rgba(118,228,247,.25);
  backdrop-filter: blur(8px);
}
.notify-title { font-family: Audiowide, system-ui, sans-serif; font-size: clamp(1.1rem, .9rem + 1.5vw, 1.7rem); color: #f1f2ff; }
.notify-copy { margin: .45rem 0 1rem; color: #a8b6cc; }
.notify-form { margin: 0 auto; max-width: 560px; width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr auto; gap: .75rem; align-items: center; }
.notify-form input[type="email"] {
  width: 100%; padding: .95rem 1rem; border-radius: var(--radius);
  border: 1px solid rgba(122, 139, 168, .25);
  background: linear-gradient(180deg, rgba(22,24,35,.6), rgba(14,16,25,.7));
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 0 0 0 rgba(0,229,255,.0);
  transition: border-color .2s ease, box-shadow .2s ease, transform .06s ease;
}
.notify-form input[type="email"]::placeholder { color: #9fb3c8; opacity: .85; }
.notify-form input[type="email"]:focus { outline: none; border-color: rgba(118, 228, 247, .65); box-shadow: 0 0 0 3px rgba(118,228,247,.15), var(--shadow-neon); }

.cta-row { margin: 0 auto; max-width: 560px; }

.btn-primary {
  padding: .95rem 1.1rem; border-radius: var(--radius);
  border: 0; color: #0a0b10; font-weight: 700; letter-spacing: .02em; cursor: pointer;
  background: linear-gradient(135deg, var(--neon-2), var(--neon-3) 50%, var(--neon-1));
  box-shadow: 0 8px 24px rgba(0,229,255,.25), 0 0 0 0 rgba(0,229,255,.0);
  transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-primary:hover { transform: translateY(-1px); filter: saturate(115%); box-shadow: 0 10px 28px rgba(0,229,255,.28), 0 0 18px rgba(138,43,226,.22); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(118,228,247,.25), var(--shadow-neon); }

.btn-linkedin { display: inline-block; text-decoration: none; color: #0a0b10; white-space: nowrap; }
.btn-linkedin::after { content: " ↗"; font-weight: 800; }

/* Notify button special hover with hue rotate */
.btn-notify { position: relative; overflow: hidden; }
.btn-notify::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.18), rgba(255,255,255,0) 60%);
  transform: translateX(-120%); transition: transform .45s ease; pointer-events: none;
}
.btn-notify:hover::before { transform: translateX(120%); }
.btn-notify:hover { filter: saturate(125%) hue-rotate(10deg); }

.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Success state */
.notify-success { margin-top: 1rem; text-align: center; padding: 1rem; border-radius: var(--radius); background: rgba(0,229,255,.06); border: 1px solid rgba(0,229,255,.18); box-shadow: 0 0 22px rgba(0,229,255,.08) inset; }
.success-badge { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--neon-2), var(--neon-1)); color: #0a0b10; font-weight: 800; box-shadow: var(--shadow-neon); margin-bottom: .5rem; }

/* ===== Footer ===== */
.footer { width: 100%; max-width: var(--maxw); display: grid; place-items: center; gap: .5rem; color: #a7b3c6; text-align: center; padding: 1rem 0 0; }
.footer a { display: none; }
.footer span { opacity: .3; }

/* Toast notification */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: rgba(16, 22, 32, .85);
  color: #d8f7ff; border: 1px solid rgba(118,228,247,.35);
  box-shadow: 0 8px 28px rgba(0,229,255,.18), inset 0 0 22px rgba(0,229,255,.08);
  padding: .7rem 1rem; border-radius: 12px; z-index: 10;
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
}
.toast.show { animation: toastIn .45s cubic-bezier(.2,.9,.2,1) forwards; }
.toast.hide { animation: toastOut .35s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(20px) scale(.98); } to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(-50%) translateY(12px) scale(.98); } }

/* ===== Responsive ===== */
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .btn-primary { width: 100%; }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


