/* ==========================================================================
   COMING SOON — M.T. PHAD & SONS DESIGN SYSTEM (LIGHT THEME EXCLUSIVE)
   ========================================================================== */

/* -------- CSS VARIABLES (Light Theme Config) -------- */
:root {
  /* Brand Palettes */
  --brand-primary:      #0056b3;
  --brand-dark:         #004494;
  --brand-light:        #1a6fd4;
  --brand-sky:          #00a8e8;
  --brand-orange:       #ff6b00;
  --brand-orange-light: #ff8c3a;
  --brand-orange-dark:  #e55a00;

  /* Theme Specifics */
  --bg:                 #eef4fb;
  --bg-alt:             #e0eaf6;
  --text:               #0a1a3a;
  --text-soft:          #2e5a8e;
  --text-dim:           #7a9bbf;
  
  --card-bg:            rgba(255, 255, 255, 0.85);
  --card-hover:         rgba(255, 255, 255, 0.95);
  --border:             rgba(0, 86, 179, 0.12);
  --border-hover:       rgba(0, 86, 179, 0.35);
  
  --grid-color:         rgba(0, 86, 179, 0.045);
  
  --shadow-card:        0 24px 64px rgba(0, 86, 179, 0.08);
  --shadow-hover:       0 32px 80px rgba(0, 86, 179, 0.14);
  
  --glow-blue:          rgba(0, 86, 179, 0.05);
  --glow-orange:        rgba(255, 107, 0, 0.04);
}

/* -------- RESET & BASE STYLES -------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--brand-orange), var(--brand-primary));
  border-radius: 3px;
}

/* -------- BACKGROUND & EFFECTS -------- */
.blueprint-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
  pointer-events: none;
  animation: blueprint-drift 30s linear infinite;
}

.light-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 2;
  pointer-events: none;
  opacity: 0.6;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--glow-blue);
  top: -100px;
  right: -100px;
  animation: orb-bounce 25s ease-in-out infinite alternate;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--glow-orange);
  bottom: -50px;
  left: -50px;
  animation: orb-bounce 20s ease-in-out infinite alternate-reverse;
}

/* -------- PAGE WRAPPER -------- */
.page-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 140px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: space-between;
  gap: 60px;
}

/* -------- HEADER -------- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.logo-container:hover .brand-logo {
  transform: rotate(360deg) scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--brand-orange);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 9px;
  color: var(--brand-primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.8;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 86, 179, 0.08);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-primary);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--brand-orange);
  border-radius: 50%;
  animation: pulse-dot 1.8s infinite;
}

/* -------- MAIN CONTENT (GLASS CARD) -------- */
.main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px;
  width: 100%;
  max-width: 860px;
  box-shadow: var(--shadow-card);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.pulse-ring {
  width: 8px;
  height: 8px;
  background-color: var(--brand-orange);
  border-radius: 50%;
  position: relative;
}
.pulse-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid var(--brand-orange);
  border-radius: 50%;
  animation: ring-ripple 1.5s infinite;
}

.status-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-orange-dark);
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--brand-primary);
  background: linear-gradient(120deg, var(--brand-primary), var(--brand-sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 40px;
  max-width: 680px;
}

/* -------- STATS GRID -------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: rgba(0, 86, 179, 0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}
.stat-card:hover {
  background: rgba(0, 86, 179, 0.07);
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--brand-primary);
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-soft);
  margin-top: 4px;
}

/* -------- PROGRESS BAR -------- */
.progress-container {
  margin-bottom: 48px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.progress-percentage {
  color: var(--brand-orange-dark);
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(0, 86, 179, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  width: 75%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-sky));
  border-radius: 4px;
  animation: progress-slide 2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  transform-origin: left;
}

/* -------- EMAIL SUBSCRIPTION -------- */
.notification-form-wrapper {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.notification-form-wrapper h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.form-sub {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.subscribe-form .input-group {
  display: flex;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.02);
}

.subscribe-form .input-group:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 4px 16px rgba(0, 86, 179, 0.1);
}

.subscribe-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
}

.subscribe-form input::placeholder {
  color: var(--text-dim);
}

.btn-submit {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  color: white;
  border: none;
  padding: 0 24px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.form-message {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  display: none;
}

.form-message.success {
  color: #10B981;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-message.error {
  color: #EF4444;
  display: block;
}

/* -------- QUICK CONTACT -------- */
.quick-contact {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.quick-contact h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  text-align: left;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  background: var(--card-hover);
  box-shadow: var(--shadow-card);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 86, 179, 0.06);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.contact-item:hover .contact-icon {
  background: var(--brand-primary);
  color: #ffffff;
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  word-break: break-all;
}

/* -------- FOOTER -------- */
.footer {
  text-align: center;
  width: 100%;
}

.footer-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.footer-meta .separator {
  opacity: 0.5;
}

.copyright {
  font-size: 11px;
  color: var(--text-dim);
}

/* -------- FLOATING WATER DROPLETS -------- */
.droplets-container {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.droplet {
  position: absolute;
  background: linear-gradient(135deg, rgba(0, 168, 232, 0.2), rgba(0, 86, 179, 0.08));
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: float-up 12s linear infinite;
  bottom: -40px;
}

/* -------- WAVES DECORATIVE AT BOTTOM -------- */
.wave-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  pointer-events: none;
  line-height: 0;
}

.waves {
  position: relative;
  width: 100%;
  height: 12vh;
  min-height: 80px;
  max-height: 150px;
}

/* Parallax Wave Animation */
.parallax > use {
  animation: wave-flow 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes blueprint-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 100px 100px; }
}

@keyframes orb-bounce {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, -60px) scale(1.1);
  }
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

@keyframes ring-ripple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes progress-slide {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes wave-flow {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}

@keyframes float-up {
  0% {
    transform: translateY(0) rotate(0deg) scale(0.6);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-105vh) rotate(360deg) scale(1.1);
    opacity: 0;
  }
}

/* ==========================================================================
   RESPONSIVE LAYOUTS
   ========================================================================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .page-wrapper {
    padding-bottom: 120px;
    gap: 40px;
  }
  
  .glass-card {
    padding: 36px 24px;
  }
  
  .hero-title {
    font-size: 30px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .subscribe-form .input-group {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 12px;
  }
  
  .subscribe-form input {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    width: 100%;
  }
  
  .btn-submit {
    width: 100%;
    padding: 14px 24px;
    border-radius: 12px;
    justify-content: center;
  }
  
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .footer-meta {
    flex-direction: column;
    gap: 8px;
  }
  
  .footer-meta .separator {
    display: none;
  }
}
