/* ==========================================================================
   Apotec Pharmacy - Coming Soon & Minimal Notice Landing Page
   Theme: Crisp, Light, Luxury Healthcare Aesthetic (Minimalist)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Brand Palette (Light Theme) */
  --teal-primary: #00A99D;
  --teal-hover: #008F85;
  --teal-dark: #0A6961;
  --teal-tint: #F0FDFA;
  --teal-light: #E6F7F5;
  --teal-border: #99F6E4;

  --navy-text: #0F2F43;
  --navy-muted: #1E3A5F;
  --text-muted: #64748B;
  --text-subtle: #94A3B8;

  --bg-page: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;

  --border-light: #E2E8F0;
  --border-subtle: #EDF2F7;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(15, 47, 67, 0.04);
  --shadow-md: 0 4px 16px -2px rgba(15, 47, 67, 0.06);
  --shadow-lg: 0 12px 30px -4px rgba(15, 47, 67, 0.08);
  --shadow-card: 0 4px 20px -2px rgba(15, 47, 67, 0.05);

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-pill: 9999px;

  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--navy-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: var(--bg-page);
  color: var(--navy-text);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
}

/* Subtle background accent sheens & Video Container */
.video-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.video-bg-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.15) brightness(1.02);
}

.video-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(240, 253, 250, 0.80) 40%,
    rgba(255, 255, 255, 0.93) 100%
  );
  backdrop-filter: blur(1.5px);
}

.bg-ambient-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 15% 10%, rgba(0, 169, 157, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(0, 169, 157, 0.04) 0%, transparent 45%);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 1.1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--teal-primary);
}

.header-action-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Minimalist Clean Buttons */
.btn-clean {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-clean-outline {
  background: #FFFFFF;
  border-color: var(--border-light);
  color: var(--navy-text);
}

.btn-clean-outline:hover {
  border-color: var(--teal-primary);
  color: var(--teal-primary);
  background: var(--teal-tint);
}

.btn-clean-teal {
  background: var(--teal-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 169, 157, 0.25);
}

.btn-clean-teal:hover {
  background: var(--teal-hover);
  box-shadow: 0 6px 16px rgba(0, 169, 157, 0.35);
  transform: translateY(-1px);
}

.btn-clean-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-clean-whatsapp:hover {
  background: #20BA5A;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Announcement Section
   ========================================================================== */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-minimal {
  padding: 4.5rem 0 3rem;
  text-align: center;
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: rgba(230, 247, 245, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.beacon-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--teal-primary);
  box-shadow: 0 0 0 0 rgba(0, 169, 157, 0.6);
  animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 169, 157, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(0, 169, 157, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 169, 157, 0); }
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  color: var(--navy-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin: 0 auto 1.25rem;
}

.hero-heading .text-teal {
  color: var(--teal-primary);
}

.hero-subtext {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ==========================================================================
   Prescription Upload Notice Card (Prominent Callout)
   ========================================================================== */
.rx-notice-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 253, 250, 0.92) 100%);
  backdrop-filter: blur(14px);
  border: 1.5px solid var(--teal-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-lg), 0 10px 30px -10px rgba(0, 169, 157, 0.2);
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  text-align: left;
  animation: heroFadeIn 0.9s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.rx-notice-content {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  border: 1px solid var(--teal-border);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--teal-primary);
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rx-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-text);
}

.rx-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.6;
}

.rx-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Section: About Us (Clean Minimalist Grid)
   ========================================================================== */
.section-block {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-light);
}

.section-label {
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.section-header-row {
  margin-bottom: 2.5rem;
}

.section-h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy-text);
  letter-spacing: -0.015em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.about-copy strong {
  color: var(--navy-text);
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pillar-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pillar-icon {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.pillar-title {
  font-size: 0.925rem;
  font-weight: 800;
  color: var(--navy-text);
}

.pillar-sub {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section: Contact Us
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.contact-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--teal-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--teal-light);
  color: var(--teal-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-text);
}

.contact-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-card a.contact-value {
  text-decoration: none;
  color: var(--teal-primary);
  transition: var(--transition);
}

.contact-card a.contact-value:hover {
  color: var(--teal-hover);
  text-decoration: underline;
}

/* ==========================================================================
   Footer & Legal Links
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  padding: 2.75rem 0 2rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-legal-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.footer-legal-nav button,
.footer-legal-nav a {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal-nav button:hover,
.footer-legal-nav a:hover {
  color: var(--teal-primary);
  text-decoration: underline;
}

.footer-bottom-row {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}


/* ==========================================================================
   Clean Legal Modals (Privacy Policy & Terms)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 47, 67, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-overlay.open .modal-window {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-text);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--navy-text);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.modal-body h4 {
  color: var(--navy-text);
  font-size: 1rem;
  margin: 1.25rem 0 0.4rem;
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 0.85rem;
}

/* Phone label toggles */
.phone-lbl-full {
  display: inline;
}

.phone-lbl-short {
  display: none;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 900px) {
  .rx-notice-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.85rem 1.5rem;
  }

  .rx-actions {
    width: 100%;
  }

  .rx-actions .btn-clean {
    width: 100%;
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.85rem 0;
  }

  .brand-logo-img {
    height: 34px;
  }

  .nav-menu {
    display: none;
  }

  .hero-minimal {
    padding: 2.75rem 0 1.75rem;
  }

  .hero-notice-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
    margin-bottom: 1.15rem;
  }

  .hero-heading {
    font-size: 1.85rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .hero-subtext {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .rx-notice-card {
    padding: 1.5rem 1.2rem;
    gap: 1.25rem;
    margin-bottom: 2.75rem;
    border-radius: var(--radius-lg);
  }

  .rx-title {
    font-size: 1.25rem;
  }

  .rx-desc {
    font-size: 0.875rem;
    line-height: 1.55;
  }

  .section-block {
    padding: 2.5rem 0;
  }

  .section-h2 {
    font-size: 1.45rem;
  }

  .about-copy {
    font-size: 0.925rem;
    line-height: 1.65;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .pillar-card {
    padding: 1rem 1.15rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-card {
    padding: 1.25rem 1rem;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .footer-legal-nav {
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
  }

  .site-footer {
    padding: 2.5rem 0 2rem;
  }
}

@media (max-width: 480px) {
  .phone-lbl-full {
    display: none;
  }

  .phone-lbl-short {
    display: inline;
  }

  .header-call-btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }

  .hero-heading {
    font-size: 1.65rem;
  }

  .hero-subtext {
    font-size: 0.9rem;
  }

  .modal-overlay {
    padding: 1rem;
  }

  .modal-window {
    border-radius: var(--radius-lg);
    max-height: 85vh;
  }

  .modal-header {
    padding: 1rem 1.25rem;
  }

  .modal-body {
    padding: 1.25rem;
    font-size: 0.875rem;
  }
}
