/* MorphixIQ Next-Gen Coming Soon Design System */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #070a12;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-glass: rgba(15, 23, 42, 0.85);
  --border-cyan: rgba(0, 168, 255, 0.25);
  --border-purple: rgba(108, 92, 231, 0.25);
  --cyan-accent: #00a8ff;
  --purple-accent: #6c5ce7;
  --pink-accent: #e84393;
  --text-white: #ffffff;
  --text-slate: #cbd5e1;
  --text-muted: #64748b;

  --font-heading: 'Montserrat', sans-serif;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --gradient-brand: linear-gradient(135deg, #00a8ff 0%, #6c5ce7 50%, #e84393 100%);
  --gradient-card: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.85));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-slate);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Background Particle Canvas */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: auto;
}

/* Background Glowing Orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.4;
  animation: floatOrb 12s infinite alternate ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #00a8ff 0%, rgba(0,0,0,0) 70%);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #6c5ce7 0%, rgba(0,0,0,0) 70%);
  bottom: -150px;
  right: -100px;
  animation-delay: -6s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #e84393 0%, rgba(0,0,0,0) 70%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -3s;
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(40px) scale(1.15); }
}

/* Main Container Layout */
.app-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navbar Header */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 3.5rem;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-logo-container {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.brand-logo-img {
  height: 88px;
  min-width: 290px;
  max-width: 440px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(0, 168, 255, 0.5)) drop-shadow(0 0 36px rgba(108, 92, 231, 0.35));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.brand-logo-container:hover .brand-logo-img {
  transform: scale(1.06) translateY(-2px);
  filter: drop-shadow(0 0 28px rgba(0, 168, 255, 0.8)) drop-shadow(0 0 45px rgba(108, 92, 231, 0.6));
}

.header-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 168, 255, 0.1);
  border: 1px solid rgba(0, 168, 255, 0.3);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cyan-accent);
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--cyan-accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan-accent);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 168, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 168, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 168, 255, 0); }
}

.btn-header-video {
  background: var(--gradient-brand);
  border: none;
  color: white;
  padding: 0.65rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 20px rgba(0, 168, 255, 0.35);
  transition: all 0.3s ease;
}

.btn-header-video:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(108, 92, 231, 0.6);
}

/* Hero Section */
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 2rem 3rem 2rem;
  text-align: center;
  flex: 1;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-slate);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-tag span {
  color: var(--cyan-accent);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtext {
  font-size: 1.25rem;
  color: var(--text-slate);
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
  line-height: 1.7;
}

/* Intro Video Player Container */
.video-showcase-wrapper {
  max-width: 900px;
  margin: 0 auto 4rem auto;
  position: relative;
  border-radius: 20px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(0, 168, 255, 0.4), rgba(108, 92, 231, 0.4));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 168, 255, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-showcase-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 45px rgba(108, 92, 231, 0.4);
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video Canvas Simulated Intro fallback */
.video-canvas-intro {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #050811;
  z-index: 5;
}

.video-overlay-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.video-controls-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-play-pause, .btn-sound-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-play-pause:hover, .btn-sound-toggle:hover {
  background: var(--cyan-accent);
  border-color: var(--cyan-accent);
  box-shadow: 0 0 15px var(--cyan-accent);
}

.video-title-tag {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
}

.video-scrub-bar {
  flex: 1;
  margin: 0 1.5rem;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.video-progress-fill {
  height: 100%;
  width: 35%;
  background: var(--gradient-brand);
  border-radius: 10px;
  transition: width 0.1s linear;
}

/* Countdown Timer Section */
.countdown-section {
  margin-bottom: 4rem;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.countdown-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-cyan);
  padding: 1.75rem;
  min-width: 140px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.countdown-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-brand);
}

.countdown-card:hover {
  transform: translateY(-5px);
}

.countdown-value {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(0, 168, 255, 0.5);
}

.countdown-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 700;
}

/* Email Signup Section */
.signup-box {
  max-width: 600px;
  margin: 0 auto 5rem auto;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.signup-box h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: white;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.signup-box p {
  color: var(--text-slate);
  margin-bottom: 1.75rem;
  font-size: 0.98rem;
}

.signup-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.signup-input {
  flex: 1;
  min-width: 260px;
  background: rgba(7, 10, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  color: white;
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.signup-input:focus {
  border-color: var(--cyan-accent);
  box-shadow: 0 0 20px rgba(0, 168, 255, 0.3);
}

.btn-submit {
  background: var(--gradient-brand);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 25px rgba(0, 168, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(108, 92, 231, 0.6);
}

.toast-message {
  display: none;
  margin-top: 1.25rem;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  background: rgba(0, 184, 148, 0.15);
  border: 1px solid #00b894;
  color: #55efc4;
  font-weight: 600;
  font-size: 0.92rem;
  animation: fadeIn 0.4s ease;
}

/* Feature Teaser Cards */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto 4rem auto;
}

.teaser-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
  border-radius: 20px;
  text-align: left;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.teaser-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan-accent);
  box-shadow: 0 15px 35px rgba(0, 168, 255, 0.2);
}

.teaser-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(0, 168, 255, 0.3);
}

.teaser-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.teaser-card p {
  color: var(--text-slate);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: 2.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 18, 0.9);
  backdrop-filter: blur(10px);
}

.footer-logo-img {
  height: 72px;
  min-width: 250px;
  max-width: 380px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 16px rgba(0, 168, 255, 0.4));
}

.footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Media Queries */
@media (max-width: 868px) {
  .hero-title { font-size: 2.6rem; }
  .brand-logo-img { height: 70px; min-width: 230px; }
  .navbar { padding: 1rem 1.5rem; }
  .signup-box { padding: 1.75rem; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 2rem; }
  .hero-subtext { font-size: 1rem; }
  .brand-logo-img { height: 58px; min-width: 190px; }
  .countdown-card { min-width: 100px; padding: 1.25rem 1rem; }
  .countdown-value { font-size: 2.2rem; }
  .signup-form { flex-direction: column; }
}
