:root {
  --bg1: #0f2027;
  --bg2: #203a43;
  --bg3: #2c5364;
  --accent: #00d4ff;
  --accent-2: #7cff6b;
  --text: #e8f1f2;
  --muted: #b7c4c7;
  --card: rgba(255, 255, 255, 0.06);
  --glass: rgba(255, 255, 255, 0.18);
  --shadow: 0 10px 30px rgba(0,0,0,0.25);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #0b1418;
  overflow-x: hidden;
}

.gradient-bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(-45deg, var(--bg1), var(--bg2), var(--bg3), #0b2a2f);
  background-size: 400% 400%;
  animation: gradientShift 18s ease infinite;
  z-index: -2;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.container {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 32px 20px;
  max-width: 980px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #07242b;
  text-shadow: 0 1px 0 rgba(255,255,255,0.2);
  box-shadow: var(--shadow);
}

.brand-name {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}

.hero {
  margin-top: 40px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 28px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}

.typing {
  margin: 0 0 10px 0;
  font-size: clamp(1.5rem, 2.2vw + 1rem, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.typing .cursor {
  display: inline-block;
  width: 12px;
  height: 1.1em;
  vertical-align: bottom;
  margin-left: 4px;
  background: linear-gradient(180deg, #fff, #d7f5ff);
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.subtitle {
  margin: 8px 0 22px 0;
  color: var(--muted);
  font-size: 1rem;
}

.construction-illustration {
  position: relative;
  height: 140px;
  margin: 8px 0 22px;
  display: grid;
  place-items: center;
}

.gear {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 8px solid rgba(255,255,255,0.7);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,0.2);
}

.gear-1 {
  left: calc(50% - 80px);
  animation: spin 8s linear infinite, floatY 4s ease-in-out infinite;
}

.gear-2 {
  left: calc(50% + 20px);
  width: 48px;
  height: 48px;
  border-width: 6px;
  animation: spinReverse 6s linear infinite, floatY 3.6s ease-in-out infinite;
  animation-delay: 0.2s;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cone {
  position: absolute;
  bottom: 4px;
  width: 0;
  height: 0;
  border-left: 26px solid transparent;
  border-right: 26px solid transparent;
  border-top: 46px solid rgba(255, 175, 0, 0.9);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.25));
  animation: bob 3.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(70px, 1fr));
  gap: 12px;
  margin: 10px 0 18px;
}

.time-box {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--shadow);
}

.time-box .num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.time-box .label {
  font-size: 0.8rem;
  color: var(--muted);
}

.notify-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.notify-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.notify-form input:focus {
  border-color: var(--accent);
  background: rgba(0,0,0,0.35);
}

.btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  color: #07242b;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 8px 18px rgba(0, 212, 255, 0.25);
}

.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }

.form-msg {
  grid-column: 1 / -1;
  margin: 6px 4px 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer {
  text-align: center;
  margin-top: 28px;
  color: var(--muted);
}

.footer .small {
  font-size: 0.9rem;
  margin-top: 6px;
}

/* Typing effect */
.typing-text::after { content: attr(data-text); }
.typing-text {
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  animation: type 4s steps(30, end) 0.4s forwards, pause 2s 4.4s forwards, erase 2.8s steps(30, end) 6.4s infinite;
  width: 0ch;
}

@keyframes type { from { width: 0ch; } to { width: 30ch; } }
@keyframes pause { from { width: 30ch; } to { width: 30ch; } }
@keyframes erase { from { width: 30ch; } to { width: 0ch; } }

/* Responsive */
@media (max-width: 600px) {
  .hero { padding: 22px; }
  .countdown { grid-template-columns: repeat(2, 1fr); }
}