/* CSS Styling for Ismaila Model Village - Under Development Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #059669;
  --primary-light: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.35);
  --amber: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.35);
  --bg-dark: #070a12;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-color: rgba(255, 255, 255, 0.12);
  --border-amber: rgba(245, 158, 11, 0.4);
  --border-emerald: rgba(16, 185, 129, 0.4);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  min-height: 100vh;
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 40px 20px;
  background: 
    radial-gradient(circle at 10% 10%, rgba(245, 158, 11, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(5, 150, 105, 0.08) 0%, transparent 60%),
    var(--bg-dark);
}

/* Background Grid & Glowing Orbs */
.bg-grid {
  position: fixed;
  inset: 0;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  top: -100px;
  left: -100px;
  background: rgba(245, 158, 11, 0.15);
}

.orb-2 {
  bottom: -100px;
  right: -100px;
  background: rgba(16, 185, 129, 0.18);
}

/* Main Container Wrapper */
.under-dev-wrapper {
  position: relative;
  z-index: 10;
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Status Ribbon */
.status-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--border-amber);
  color: var(--amber);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 28px;
  box-shadow: 0 0 20px var(--amber-glow);
  text-transform: uppercase;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--amber);
  animation: pulse-glow 1.5s infinite alternate;
}

@keyframes pulse-glow {
  from { transform: scale(0.9); opacity: 0.7; }
  to { transform: scale(1.3); opacity: 1; }
}

/* Brand Header */
.brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.logo-box {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 0 25px var(--primary-glow);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--primary-light);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Main Card */
.main-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  backdrop-filter: blur(16px);
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), var(--primary-light), var(--amber));
}

.dev-icon-wrapper {
  width: 72px;
  height: 72px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-amber);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.2rem;
  box-shadow: 0 0 30px var(--amber-glow);
  animation: bounce-slow 3s infinite ease-in-out;
}

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

.main-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #d1d5db 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.main-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Progress Bar */
.progress-container {
  max-width: 580px;
  margin: 0 auto 36px;
  background: rgba(10, 15, 26, 0.8);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: var(--radius-md);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.progress-title {
  color: var(--text-muted);
  font-weight: 600;
}

.progress-percent {
  color: var(--amber);
  font-weight: 800;
}

.progress-bar-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber) 0%, var(--primary-light) 100%);
  border-radius: 10px;
  box-shadow: 0 0 15px var(--primary-glow);
  transition: width 1s ease-in-out;
}

/* Countdown Grid */
.countdown-section {
  margin-bottom: 40px;
}

.countdown-title {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.countdown-box {
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-sm);
  min-width: 90px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.count-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
}

.count-unit {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 6px;
  letter-spacing: 1px;
}

/* Concept Image Preview Card */
.preview-card {
  max-width: 680px;
  margin: 0 auto 10px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-emerald);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

.preview-img-container {
  position: relative;
  height: 380px;
}

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

.preview-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Subscribe Section */
.subscribe-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(245, 158, 11, 0.05));
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  margin-bottom: 36px;
}

.subscribe-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: white;
}

.subscribe-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.subscribe-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.sub-input {
  flex: 1;
  background: rgba(7, 10, 18, 0.9);
  border: 1px solid var(--border-color);
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  color: white;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.sub-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 15px var(--primary-glow);
}

.btn-notify {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border: none;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-notify:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: left;
  border-top: 1px solid var(--border-color);
  padding-top: 28px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.info-item strong {
  display: block;
  font-size: 0.85rem;
  color: white;
}

.info-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Footer */
footer {
  margin-top: 24px;
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
}

.toast {
  background: var(--bg-card);
  border-left: 4px solid var(--primary-light);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
  .main-card {
    padding: 32px 20px;
  }

  .main-title {
    font-size: 2.1rem;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .countdown-box {
    min-width: 70px;
    padding: 12px;
  }

  .count-num {
    font-size: 1.7rem;
  }
}
