/* ============================================
   NovixTech — Coming Soon
   Style: Dark tech / industrial precision
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;900&family=Rajdhani:wght@300;400;500&display=swap');

/* ── Variables ─────────────────────────────── */
:root {
  --green-primary: #1a7a1a;
  --green-bright:  #2ecc2e;
  --green-glow:    #00ff41;
  --green-dark:    #0d4a0d;
  --black:         #060a06;
  --dark:          #0c110c;
  --mid:           #111811;
  --surface:       #141c14;
  --border:        rgba(46, 204, 46, 0.18);
  --text-dim:      rgba(200, 230, 200, 0.45);
  --text-mid:      rgba(200, 230, 200, 0.72);
  --text-bright:   #d4f0d4;
  --ff-display:    'Orbitron', monospace;
  --ff-body:       'Rajdhani', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--text-bright);
  font-family: var(--ff-body);
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── Grid background ────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,122,26,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,122,26,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── Noise overlay ──────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* ── Page wrapper ───────────────────────────── */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

/* ── Corner brackets ────────────────────────── */
.corner { position: fixed; width: 48px; height: 48px; z-index: 10; }
.corner--tl { top: 24px; left: 24px; border-top: 2px solid var(--green-bright); border-left: 2px solid var(--green-bright); }
.corner--tr { top: 24px; right: 24px; border-top: 2px solid var(--green-bright); border-right: 2px solid var(--green-bright); }
.corner--bl { bottom: 24px; left: 24px; border-bottom: 2px solid var(--green-bright); border-left: 2px solid var(--green-bright); }
.corner--br { bottom: 24px; right: 24px; border-bottom: 2px solid var(--green-bright); border-right: 2px solid var(--green-bright); }

/* ── Logo ───────────────────────────────────── */
.logo-wrap {
  margin-bottom: 32px;
  animation: fadeDown 0.8s ease both;
}

.logo-wrap img {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(46,204,46,0.5));
}

/* ── Status badge ───────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,122,26,0.15);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 18px;
  font-family: var(--ff-display);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--green-bright);
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeDown 0.8s 0.1s ease both;
}

.badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-glow);
  box-shadow: 0 0 8px var(--green-glow);
  animation: pulse 2s ease-in-out infinite;
}

/* ── Headline ───────────────────────────────── */
.headline {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  animation: fadeUp 0.9s 0.2s ease both;
}

.headline span {
  display: block;
  background: linear-gradient(135deg, var(--green-bright) 0%, var(--green-glow) 60%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 24px rgba(0,255,65,0.35));
}

/* ── Sub-copy ───────────────────────────────── */
.sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-mid);
  text-align: center;
  max-width: 500px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  margin-bottom: 30px;
  animation: fadeUp 0.9s 0.3s ease both;
}

/* ── Countdown ──────────────────────────────── */
.countdown {
  display: flex;
  gap: 20px;
  margin-bottom: 56px;
  animation: fadeUp 0.9s 0.4s ease both;
  flex-wrap: wrap;
  justify-content: center;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.countdown__box {
  width: 90px; height: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--green-bright);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 24px rgba(26,122,26,0.2), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: box-shadow 0.3s;
}

.countdown__box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46,204,46,0.05) 0%, transparent 100%);
}

.countdown__box:hover {
  box-shadow: 0 0 40px rgba(46,204,46,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
}

.countdown__label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--ff-display);
}

/* ── Divider ────────────────────────────────── */
.divider {
  width: 100%;
  max-width: 560px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-dark), var(--green-primary), var(--green-dark), transparent);
  margin-bottom: 48px;
  animation: fadeUp 0.9s 0.5s ease both;
}

/* ── Notify form ────────────────────────────── */
.notify {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  animation: fadeUp 0.9s 0.55s ease both;
  flex-wrap: wrap;
  justify-content: center;
}

.notify__input {
  flex: 1;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 20px;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--text-bright);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.notify__input::placeholder { color: var(--text-dim); }

.notify__input:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(26,122,26,0.2);
}

.notify__btn {
  background: var(--green-primary);
  border: none;
  border-radius: 6px;
  padding: 14px 28px;
  font-family: var(--ff-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
}

.notify__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.notify__btn:hover {
  background: #1f9a1f;
  box-shadow: 0 0 28px rgba(26,122,26,0.55);
  transform: translateY(-1px);
}

.notify__btn:active { transform: translateY(0); }

.notify__confirm {
  display: none;
  color: var(--green-bright);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-top: 8px;
  text-align: center;
  width: 100%;
}

/* ── Footer tag ─────────────────────────────── */
.footer {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--ff-display);
  white-space: nowrap;
  z-index: 10;
}

/* ── Scan line animation ─────────────────────── */
.scan {
  position: fixed;
  top: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green-glow), transparent);
  opacity: 0.5;
  animation: scan 4s linear infinite;
  z-index: 5;
  pointer-events: none;
}

/* ── Keyframes ──────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes scan {
  0%   { top: -2px; }
  100% { top: 100%; }
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 480px) {
  .countdown__box { width: 70px; height: 70px; font-size: 1.7rem; }
  .corner { width: 32px; height: 32px; }
  .logo-wrap img { width: 170px; }
}
