/* ========================================
   Nitro Technologies — Coming Soon Page
   style.css
   ======================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary:       #820574;
  --primary-light: #a4198e;
  --primary-dark:  #5e0354;
  --white:         #ffffff;
  --off-white:     #f5f0f5;
  --text-muted:    #c8b8c6;
  --overlay:       rgba(30, 0, 30, 0.55);
  --font:          'Inter', sans-serif;
  --radius:        8px;
  --transition:    0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--white);
  background-color: #0d0012;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- Global animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.6; }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---------- Layout: Split Screen ---------- */
.page-wrapper {
  display: flex;
  min-height: 100vh;
}

/* --- Left panel (content) --- */
.left-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  background: linear-gradient(160deg, #12001a 0%, #1a0028 50%, #0d0012 100%);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Decorative gradient blobs */
.left-panel::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(130, 5, 116, 0.2) 0%, transparent 70%);
  top: -80px;
  left: -120px;
  border-radius: 50%;
  pointer-events: none;
}

.left-panel::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(130, 5, 116, 0.12) 0%, transparent 70%);
  bottom: -60px;
  right: -60px;
  border-radius: 50%;
  pointer-events: none;
}

/* --- Right panel (image) --- */
.right-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.right-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark overlay on image */
.right-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay);
  pointer-events: none;
}

/* ---------- Logo / Brand ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease both;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
}

/* ---------- Headings ---------- */
.headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.headline .accent {
  background: linear-gradient(90deg, var(--primary-light), #d946ef);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 12px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.tagline {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.4s both;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.countdown-item {
  text-align: center;
  background: rgba(130, 5, 116, 0.12);
  border: 1px solid rgba(130, 5, 116, 0.3);
  border-radius: var(--radius);
  padding: 14px 18px;
  min-width: 72px;
  transition: transform var(--transition), border-color var(--transition);
}

.countdown-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary-light);
}

.countdown-number {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
  background: linear-gradient(180deg, var(--white), var(--text-muted));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.countdown-label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

/* ---------- Email form ---------- */
.email-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin-bottom: 14px;
  animation: fadeInUp 0.8s ease 0.6s both;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(130, 5, 116, 0.35);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.email-form:focus-within {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(130, 5, 116, 0.18);
}

.email-input {
  flex: 1;
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: none;
  outline: none;
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.email-btn {
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.email-btn:hover {
  background: linear-gradient(135deg, var(--primary-light), #c026d3);
  transform: scale(1.03);
}

.email-btn:active {
  transform: scale(0.98);
}

/* Confirmation & error messages */
.form-message {
  font-size: 0.85rem;
  min-height: 22px;
  margin-bottom: 32px;
  animation: fadeIn 0.4s ease;
}

.form-message.success {
  color: #34d399;
}

.form-message.error {
  color: #f87171;
}

/* ---------- Social links ---------- */
.social-links {
  display: flex;
  gap: 14px;
  animation: fadeInUp 0.8s ease 0.7s both;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(130, 5, 116, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---------- Loader animation (top bar) ---------- */
.loader-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-light),
    var(--primary),
    var(--primary-light),
    transparent
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s linear infinite;
  z-index: 100;
}

/* ==========================================
   Responsive — Tablet & Mobile
   ========================================== */

@media (max-width: 1024px) {
  .left-panel {
    padding: 48px 36px;
  }

  .countdown-item {
    min-width: 60px;
    padding: 10px 12px;
  }

  .countdown-number {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .page-wrapper {
    flex-direction: column;
  }

  .right-panel {
    height: 35vh;
    order: -1; /* Image on top on mobile */
  }

  .left-panel {
    padding: 36px 24px 48px;
  }

  .brand {
    margin-bottom: 28px;
  }

  .countdown {
    gap: 10px;
  }

  .countdown-item {
    min-width: 56px;
    padding: 10px 10px;
  }

  .countdown-number {
    font-size: 1.25rem;
  }

  .email-form {
    flex-direction: column;
    border-radius: 0;
    border: none;
    gap: 10px;
    overflow: visible;
  }

  .email-input {
    border: 1px solid rgba(130, 5, 116, 0.35);
    border-radius: var(--radius);
  }

  .email-btn {
    border-radius: var(--radius);
    text-align: center;
  }
}

@media (max-width: 420px) {
  .headline {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .countdown {
    flex-wrap: wrap;
    justify-content: center;
  }
}
