/* 
   Modern Glassmorphic Under Construction Theme
   Design System & Custom Utilities
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(18, 24, 38, 0.65);
  --bg-card-hover: rgba(28, 36, 56, 0.85);
  --border-light: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(99, 102, 241, 0.35);
  
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.4);
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --accent-purple: #8b5cf6;
  --accent-gold: #f59e0b;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;

  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
}

/* Canvas Background */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Ambient Background Lights */
.bg-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: pulseOrb 12s infinite alternate ease-in-out;
}

.bg-glow-1 {
  top: -10%;
  left: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary) 0%, rgba(0,0,0,0) 70%);
}

.bg-glow-2 {
  bottom: -10%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, rgba(0,0,0,0) 70%);
  animation-delay: -6s;
}

.bg-glow-3 {
  top: 40%;
  left: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-purple) 0%, rgba(0,0,0,0) 70%);
  animation-delay: -3s;
}

@keyframes pulseOrb {
  0% { transform: scale(1) translate(0, 0); opacity: 0.35; }
  50% { transform: scale(1.15) translate(30px, -20px); opacity: 0.55; }
  100% { transform: scale(0.9) translate(-20px, 30px); opacity: 0.35; }
}

/* Layout Wrapper */
.content-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header & Navbar */
.navbar-brand-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: blinkDot 1.8s infinite ease-in-out;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.75); }
}

/* Hero Section */
.hero-section {
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 40%, var(--primary) 70%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Glassmorphic Card */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Countdown Timer */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.timer-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  min-width: 100px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.timer-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
}

.timer-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}

.timer-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  font-weight: 600;
}

/* Subscription Form */
.subscribe-box {
  max-width: 540px;
  margin: 0 auto;
  padding: 0.5rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-light);
  border-radius: 60px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
}

.subscribe-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 25px var(--primary-glow);
}

.subscribe-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  flex: 1;
  width: 100%;
}

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

.subscribe-btn {
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

/* Team Showcase Section */
.team-section {
  padding: 5rem 0;
  position: relative;
}

.section-tag {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 3rem;
}

.team-card {
  height: 100%;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.team-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-img {
  transform: scale(1.06);
}

.team-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(7, 9, 14, 0.85) 100%);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.team-card:hover .team-img-overlay {
  opacity: 0.6;
}

.team-role-badge {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}

.team-role-badge.founder {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
  color: #67e8f9;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.team-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.team-socials {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--primary-glow);
}

/* Progress Section */
.progress-section {
  padding: 3rem 0;
}

.progress-bar-outer {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  height: 20px;
  padding: 3px;
  position: relative;
  overflow: hidden;
}

.progress-bar-inner {
  height: 100%;
  width: 85%;
  border-radius: 30px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-cyan) 50%, var(--accent-pink) 100%);
  box-shadow: 0 0 15px var(--primary-glow);
  position: relative;
  animation: progressShimmer 2.5s infinite linear;
  transition: width 1.5s ease-out;
}

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.milestone-card {
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.milestone-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.milestone-icon.complete {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.milestone-icon.active {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
  animation: pulseActive 2s infinite;
}

@keyframes pulseActive {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
}

.milestone-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.milestone-status {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Feature Teaser Cards */
.features-section {
  padding: 4rem 0;
}

.feature-box {
  padding: 2rem;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  transition: all var(--transition-smooth);
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a5b4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Toast & Modals Styling */
.custom-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: #0f172a;
  border: 1px solid var(--primary);
  border-radius: 14px;
  padding: 1rem 1.5rem;
  color: var(--text-main);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.modal-content.custom-modal {
  background: #0f172a;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  color: var(--text-main);
  backdrop-filter: blur(20px);
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-close-white {
  filter: invert(1);
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* Animations */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .hero-section {
    padding: 2.5rem 0 2rem;
  }
  .countdown-container {
    gap: 0.5rem;
  }
  .timer-box {
    padding: 0.8rem 1rem;
    min-width: 75px;
  }
  .subscribe-box {
    flex-direction: column;
    border-radius: 20px;
    padding: 0.8rem;
  }
  .subscribe-btn {
    width: 100%;
    justify-content: center;
  }
}
