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

:root {
  --primary-color: #0f172a;
  --accent-color: #0ea5e9;
  --accent-teal: #14b8a6;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.1);
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

body.under-construction-body {
  font-family: 'Inter', sans-serif;
  background-color: #030712;
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-x: hidden;
  position: relative;
}

/* Ambient gradients matching final site style */
.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
              radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.02) 0%, transparent 40%),
              #030712;
  z-index: 1;
}

.construction-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  text-align: center;
}

/* Center glassmorphic card */
.glass-card {
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-lg);
}

/* Logo styling */
.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 2rem;
}

.logo .dot {
  color: var(--accent-color);
}

.logo-img {
  max-height: 180px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 2.5rem auto;
  display: block;
}

/* Badge */
.badge-opening {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-opening svg {
  color: #ffffff;
}

/* Typography */
h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

h1 span {
  color: #ffffff;
}

.intro-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.flags-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.flag-icon {
  width: 24px;
  height: 16px;
  display: inline-block;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(15, 23, 42, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.flag-icon:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


/* Subscription Form */
.notify-form {
  margin-bottom: 3rem;
}

.input-group {
  display: flex;
  gap: 0.75rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2), inset 0 2px 4px rgba(0,0,0,0.2);
}

.input-group input {
  flex-grow: 1;
  background: none;
  border: none;
  outline: none;
  color: #ffffff;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
}

.input-group input::placeholder {
  color: #64748b;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color), #0284c7);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.4);
}

/* Form feedback alerts */
.form-feedback {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  padding-left: 1rem;
  display: none;
}

.form-feedback.success {
  color: #2dd4bf;
  display: block;
}

.form-feedback.error {
  color: #f87171;
  display: block;
}

/* Contact Details Info Row */
.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.contact-item svg {
  color: #ffffff;
}

.contact-item a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent-teal);
}

.contact-item span {
  color: var(--text-light);
  text-align: center;
}

/* Social Row */
.social-row {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

/* Individual Platform Hover Colors */
.social-icon[aria-label*="LinkedIn"]:hover {
  background-color: #0077b5;
  border-color: #0077b5;
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(0, 119, 181, 0.3);
  transform: translateY(-3px);
}

.social-icon[aria-label*="Instagram"]:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(220, 39, 67, 0.3);
  transform: translateY(-3px);
}

.social-icon[aria-label*="WhatsApp"]:hover {
  background-color: #25d366;
  border-color: #25d366;
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
  transform: translateY(-3px);
}

.social-icon[aria-label*="Doctoralia"]:hover {
  background-color: #00a085;
  border-color: #00a085;
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(0, 160, 133, 0.3);
  transform: translateY(-3px);
}

/* Simple animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: revealIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive queries */
@media (max-width: 640px) {
  body.under-construction-body {
    padding: 1.5rem 1rem;
  }

  .glass-card {
    padding: 2.25rem 1.25rem;
  }
  
  .logo-img {
    max-height: 100px;
    margin-bottom: 1.75rem;
  }
  
  h1 {
    font-size: 1.8rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .intro-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .flags-row {
    margin-bottom: 1.75rem;
  }
  
  .contact-details {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .contact-item {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    width: fit-content;
    margin: 0 auto;
    gap: 0.75rem;
    text-align: left;
    font-size: 0.85rem;
  }

  .contact-item svg {
    margin-top: 2px;
    flex-shrink: 0;
  }

  .social-row {
    gap: 0.75rem;
  }

  .social-icon {
    width: 36px;
    height: 36px;
  }
}
