/*
Theme Name: Floating Notification WP
Theme URI: https://example.com/
Author: LeadSynth
Author URI: https://example.com/
Description: Lightweight WordPress theme replicating the floating-notification landing page.
Version: 0.1.0
License: MIT
Text Domain: floating-notification-wp
*/

/* Base reset and typography */
html, body {
  margin: 0;
  padding: 0;
}
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: rgb(28, 32, 36);
  background: radial-gradient(1200px 800px at 10% 10%, var(--bg1, #eef2ff) 0%, transparent 60%),
              radial-gradient(1000px 700px at 90% 30%, var(--bg2, #ecfeff) 0%, transparent 60%),
              radial-gradient(900px 600px at 50% 100%, var(--bg3, #f0fff4) 0%, transparent 60%),
              var(--bg4, #fafafa);
  background-size: 120% 120%;
  animation: bg-move var(--bgdur, 8s) ease-in-out infinite alternate;
  min-height: 100vh;
}

@keyframes bg-move {
  0% { background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; }
  50% { background-position: 20% 10%, 80% 20%, 50% 80%, 0 0; }
  100% { background-position: 30% 20%, 70% 30%, 50% 60%, 0 0; }
}

/* Layout */
.site-wrapper {
  position: relative;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-inner {
  position: relative;
  z-index: 1;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10vh;
  padding-bottom: 10vh;
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1 1 auto;
}

/* Header / Nav */
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav {
  background: #ffffff;
  border-radius: 9999px;
  padding: 4px;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05), 0 7px 2px rgba(0, 0, 0, 0.02), 0 4px 2px rgba(0, 0, 0, 0.05), 0 2px 1px rgba(0, 0, 0, 0.05), 0 1px 1px rgba(0, 0, 0, 0.03), 0 0 1px rgba(0, 0, 0, 0.04);
}
.nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  position: relative;
  gap: 6px;
}
.nav a {
  display: inline-flex;
  width: 90px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding-left: 12px;
  padding-right: 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(28, 32, 36, 0.6);
  text-decoration: none;
  border-radius: 9999px;
  transition: color 0.2s ease;
}
.nav a:hover {
  color: rgba(28, 32, 36, 0.9);
}
.nav .current-menu-item > a,
.nav .current_page_item > a {
  color: rgba(28, 32, 36, 1);
  background: rgb(240, 240, 243);
}

/* Main */
.stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.logo-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.logo-dot {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, #111 0%, #333 100%);
  display: inline-block;
}
.logo-text {
  font-weight: 700;
}
.title {
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.2;
  font-weight: 600;
  color: rgb(28, 32, 36);
}
.subtitle {
  color: rgb(96, 100, 108);
}

/* Card */
.hero-card {
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 30px 60px rgba(37, 0, 116, 0.25), 0 10px 20px rgba(0, 0, 0, 0.06);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.hero-inner {
  padding: 32px 36px 18px 36px;
}
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 16px 16px;
  color: rgba(28, 32, 36, 0.7);
  font-size: 12px;
}
.hero-meta a { color: inherit; }

/* Form */
.form {
  width: 100%;
}
.field-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.email-input {
  flex: 1 1 auto;
  height: 52px;
  border-radius: 9999px;
  border: 2px solid rgba(0, 0, 0, 0.65);
  background: rgba(255, 255, 255, 0.7);
  padding-left: 18px;
  padding-right: 140px;
  font-size: 15px;
  color: rgb(32, 32, 32);
}
.email-input::placeholder { color: rgba(0,0,0,0.45); }
.email-input:focus { outline: none; box-shadow: 0 0 0 4px rgba(80, 34, 255, 0.12); }
.submit-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  height: 42px;
  padding: 0 18px;
  border-radius: 9999px;
  background: #111213;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 rgba(255,255,255,0.15), 0 2px 0 rgba(0,0,0,0.35), 0 6px 14px rgba(0,0,0,0.25);
}
.notice {
  margin-top: 8px;
  font-size: 12px;
  color: #c00;
}
.success {
  color: #0a7a28;
}

/* Footer space for long pages */
.spacer {
  height: 8px;
}


