/* webstack-shared.css — Webstack Design System */

:root {
  /* Core palette - Nail Salon */
  --cream:          #FFFDF9;
  --cream-alt:      #FDF2F8; /* Light pinkish cream */
  --cream-border:   rgba(199, 94, 142, 0.15); /* #C75E8E with opacity */
  --sunset-orange:  #C75E8E; /* Was orange, now Rose Pink */
  --sunset-orange-dk:#9E3A6E; /* Was dark orange, now Deep Magenta */
  --sunset-pink:    #E8A0C0; 
  --sunset-glow:    #F4C2D8; /* Soft pink glow */
  --teal:           #1F2937; /* Very dark grayish blue for high contrast text/buttons */
  --teal-dark:      #111827; 
  --teal-light:     #4B5563; 
  --teal-pale:      #F3F4F6;
  --teal-pale-dk:   #E5E7EB;
  --text:           #111827;
  --text-soft:      #4B5563;
  --white:          #FFFFFF;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(158, 58, 110, 0.04);
  --shadow-md:  0 8px 28px rgba(158, 58, 110, 0.08);
  --shadow-lg:  0 18px 52px rgba(158, 58, 110, 0.12);
  --shadow-warm:0 8px 28px rgba(199, 94, 142, 0.18);

  /* Layout */
  --max: 1200px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
}

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── Container ─── */
.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ─── Section Header ─── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--cream-border);
  color: var(--sunset-orange-dk);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.section-title {
  margin-top: 16px;
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--teal-dark);
}

.section-subtitle {
  margin-top: 14px;
  font-size: 1.08rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(26, 122, 138, 0.28);
  transition: background 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(26, 122, 138, 0.36);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--teal-pale);
  transform: translateY(-2px);
}

.btn-warm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--sunset-orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-warm);
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-warm:hover {
  background: var(--sunset-orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(244, 132, 95, 0.35);
}

/* ─── Floating Navbar ─── */
.navbar-wrap {
  position: sticky;
  top: 14px;
  z-index: 200;
  padding: 14px 0 0;
}

.navbar {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(13, 59, 69, 0.85); /* teal dark with opacity */
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-placeholder-icon {
  color: white;
  font-weight: 900;
  font-size: 1rem;
  font-family: 'Sora', sans-serif;
  letter-spacing: -0.05em;
}

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

.logo-text strong {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--teal-dark);
  letter-spacing: -0.02em;
}

.logo-text span {
  font-size: 0.72rem;
  color: var(--text-soft);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-link {
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: all 0.18s ease;
  text-decoration: none;
}
.mini-link:hover {
  color: var(--teal);
  background: var(--teal-pale);
}

.nav-cta {
  margin-left: 6px;
  padding: 10px 20px;
  background: var(--teal);
  color: white;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  box-shadow: 0 4px 14px rgba(26, 122, 138, 0.26);
  transition: all 0.2s ease;
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

/* ─── Mobile nav ─── */
.mobile-call-btn { display: none; }
.menu-toggle { display: none; }

.menu-toggle {
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--cream-border);
  background: var(--cream);
  cursor: pointer;
  transition: 0.18s ease;
}
.menu-toggle:hover {
  background: var(--teal-pale);
  border-color: var(--teal-pale-dk);
}

.menu-toggle-box { display: grid; gap: 5px; }
.menu-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle.is-open .menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(8, 17, 31, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  padding: 84px 12px 18px;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open { overflow: hidden; }

.mobile-menu-panel {
  width: min(100%, 460px);
  margin-left: auto;
  border-radius: 26px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(10, 22, 34, 0.98), rgba(14, 32, 46, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  max-height: calc(100vh - 106px);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.mobile-menu-title {
  font-family: 'Sora', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: white;
}

.mobile-menu-close {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.80);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.18s ease;
}
.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.mobile-menu-links,
.mobile-menu-actions {
  display: grid;
  gap: 10px;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  font-size: 1rem;
  transition: 0.2s ease;
  text-decoration: none;
}
.mobile-menu-link::after {
  content: "›";
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
}
.mobile-menu-link:hover {
  border-color: rgba(26, 122, 138, 0.4);
  background: rgba(26, 122, 138, 0.15);
  color: white;
}

.mobile-menu-actions {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-actions .btn-primary,
.mobile-menu-actions .btn-outline {
  width: 100%;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 16px;
  font-size: 1rem;
}

.mobile-menu-actions .btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.18);
}
.mobile-menu-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

/* ─── Toast ─── */
.toast-bubble {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  max-width: 680px;
  width: calc(100% - 32px);
  padding: 1rem 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  font-size: 0.98rem;
  line-height: 1.5;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--cream-border);
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
}
.toast-bubble.warn { background: #fff7ed; border-color: #fdba74; color: #9a3412; }
.toast-bubble.error { background: #fef2f2; color: #b91c1c; border-color: #fca5a5; }
.toast-bubble.info { background: var(--teal-pale); color: var(--teal-dark); border-color: var(--teal-pale-dk); }
.toast-bubble.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-close { margin-left: auto; cursor: pointer; font-weight: 700; color: var(--text-soft); font-size: 1.2rem; flex-shrink: 0; }

/* ─── Cards ─── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(244, 132, 95, 0.1);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ─── Footer ─── */
.site-footer {
  background: var(--cream);
  color: var(--teal-dark);
  padding: 56px 0 36px;
  border-top: 1px solid var(--cream-border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo-text strong,
.footer-brand .logo-text span {
  color: var(--teal-dark);
}
.footer-brand .logo-img-wrap {
  background: transparent;
}
.footer-brand .logo-placeholder-icon { color: var(--teal); }

.footer-tagline {
  margin-top: 14px;
  font-size: 0.92rem;
  color: rgba(13, 90, 104, 0.65);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--teal);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}
.footer-links a {
  color: rgba(13, 90, 104, 0.75);
  font-size: 0.92rem;
  transition: color 0.18s;
}
.footer-links a:hover { color: var(--teal); }

.footer-divider {
  border: none;
  border-top: 1px solid var(--cream-border);
  margin: 40px 0 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(13, 90, 104, 0.55);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .section { padding: 68px 0; }

  .nav-actions, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .logo-text span { display: none; }
  .mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    background: linear-gradient(135deg, var(--sunset-orange), var(--sunset-orange-dk));
    color: white;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: var(--shadow-warm);
  }

  /* Ensure panels don't overflow or look off-center */
  .panel { margin: 0 auto; }
  .pricing-panel { width: 100%; max-width: 100%; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
