/* =============================================
   GadgetHub Signature — Under Construction
   styles.css
   ============================================= */

/* --- Reset & Root Variables --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-core:     #0a3cc7;
  --bg-deep:     #051f7a;
  --bg-glow:     #1a5ce6;
  --blue-light:  #4db8f0;
  --white:       #ffffff;
  --white-dim:   rgba(255, 255, 255, 0.55);
  --stripe:      rgba(255, 255, 255, 0.03);
  --radius-sm:   8px;
  --radius-pill: 999px;
}

/* --- Base --- */
html, body {
  height: 100%;
  font-family: 'Barlow', sans-serif;
}

body {
  min-height: 100vh;
  background: radial-gradient(
    ellipse 90% 70% at 50% 40%,
    var(--bg-glow)  0%,
    var(--bg-core) 50%,
    var(--bg-deep) 100%
  );
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

/* Subtle scanline */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    var(--stripe) 0px,
    var(--stripe) 1px,
    transparent 1px,
    transparent 6px
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* --- Ambient Orbs --- */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: #1a6fff;
  top: -150px;
  left: -120px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: #4db8f0;
  bottom: -100px;
  right: -100px;
}

/* --- Main Stage --- */
.stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
  width: 100%;
  max-width: 760px;
  gap: 0.4rem;
  flex: 1;
}

/* --- Logo --- */
.logo-wrap {
  width: min(500px, 78vw);
  flex-shrink: 0;
  margin-bottom: 0.8rem;
  animation: fadeInDrop 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 0.35rem 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  animation: fadeUp 1s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}

/* --- Headline --- */
h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.01em;
  animation: fadeUp 1s 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

h1 span {
  color: var(--blue-light);
}

/* --- Divider --- */
.divider {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-light), transparent);
  border-radius: 2px;
  margin: 0 auto;
  animation: fadeUp 1s 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* --- Sub Copy --- */
.sub {
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 400;
  color: var(--white-dim);
  line-height: 1.6;
  max-width: 440px;
  animation: fadeUp 1s 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* --- Email Notify Form --- */
.notify {
  display: flex;
  gap: 0.5rem;
  width: min(400px, 90vw);
  margin-top: 0.4rem;
  animation: fadeUp 1s 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.notify input {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}

.notify input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.notify input:focus {
  border-color: var(--blue-light);
}

.notify button {
  background: var(--blue-light);
  color: #051f7a;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.2rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.notify button:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.notify button:active {
  transform: translateY(0);
}

/* --- Success Message --- */
.success-msg {
  display: none;
  font-size: 0.88rem;
  color: var(--blue-light);
}

.success-msg.visible {
  display: block;
  animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* --- Footer --- */
.foot {
  position: relative;
  z-index: 1;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  padding: 1rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.03em;
  margin-top: auto;
  animation: fadeUp 1s 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* --- Animations --- */
@keyframes fadeInDrop {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* --- Responsive --- */
@media (max-width: 480px) {
  .logo-wrap {
    width: min(300px, 88vw);
  }

  h1 {
    font-size: 2rem;
  }

  .notify {
    flex-direction: column;
  }

  .notify button {
    width: 100%;
    padding: 0.8rem;
  }
}
