/**
 * shared-styles.css — Master stylesheet for navbar, footer, buttons
 * ------------------------------------------------------------------
 * Edit THIS FILE to update shared styles across ALL public pages.
 * Page-specific styles remain inline in each HTML file.
 */

/* ===== CSS VARIABLES ===== */
:root {
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-300: #a5b4fc;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-800: #3730a3;
  --indigo-900: #312e81;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #030712;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
}

/* ===== BASE RESET & TYPOGRAPHY ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a { color: var(--indigo-600); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 1rem 2rem;
}
.logo {
  font-size: 1.25rem; font-weight: 800; color: var(--gray-900);
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none; letter-spacing: -0.02em;
}
.logo:hover { text-decoration: none; }
.logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--indigo-600), var(--violet-600));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: 0 2px 8px rgba(79,70,229,0.3);
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--gray-600); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--gray-900); text-decoration: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.6rem; border-radius: 0.6rem;
  font-weight: 600; font-size: 0.9rem; font-family: inherit;
  transition: all 0.2s ease; cursor: pointer; border: none;
  text-decoration: none; gap: 0.5rem;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--indigo-600), var(--violet-600));
  color: var(--white);
  box-shadow: 0 2px 12px rgba(79,70,229,0.35);
}
.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(79,70,229,0.45);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1.5px solid var(--gray-300); color: var(--gray-700);
  background: var(--white);
}
.btn-outline:hover {
  border-color: var(--indigo-300); color: var(--indigo-600);
  background: var(--indigo-50);
}
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; border-radius: 0.7rem; }
.btn-white {
  background: var(--white); color: var(--indigo-600);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.btn-white:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.16);
  transform: translateY(-1px);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.5rem; color: var(--gray-700);
}
.mobile-menu-toggle svg { width: 24px; height: 24px; }

.mobile-nav {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999; background: var(--white);
  flex-direction: column; padding: 5rem 2rem 2rem;
  gap: 0.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block; padding: 0.9rem 1rem;
  font-size: 1.1rem; font-weight: 500; color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav a:hover { color: var(--indigo-600); text-decoration: none; }
.mobile-nav .mobile-nav-btns {
  display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem;
}
.mobile-nav .mobile-nav-btns .btn { width: 100%; }
.mobile-close {
  position: absolute; top: 1rem; right: 1.25rem;
  background: none; border: none; cursor: pointer;
  font-size: 1.75rem; color: var(--gray-500); line-height: 1;
}

/* ===== FOOTER ===== */
footer {
  background: var(--gray-950); color: var(--gray-400);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.9rem; line-height: 1.7; margin-top: 1rem;
  color: var(--gray-500); max-width: 280px;
}
.footer-col h4 {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gray-300); margin-bottom: 1.25rem;
}
.footer-col a {
  display: block; color: var(--gray-500); font-size: 0.9rem;
  margin-bottom: 0.75rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--gray-600); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: var(--gray-600); font-size: 0.8rem; }
.footer-bottom-links a:hover { color: var(--gray-400); text-decoration: none; }

/* ===== SHARED RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .mobile-menu-toggle { display: block; }
  .nav-links .nav-link-text { display: none; }
  .nav-links { gap: 0.75rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
