/* =========================================
   FemiCore Review Website - Design System
   Mobile + Tablet + Desktop Responsive
   ========================================= */

:root {
  --primary-color: #4A90E2;
  --secondary-color: #E8F0FE;
  --accent-color: #D63384;
  --accent-hover: #B02A6A;
  --text-dark: #2C3E50;
  --text-light: #5A6C7D;
  --bg-color: #FAFAFA;
  --white: #FFFFFF;
  --success: #27AE60;
  --warning: #F39C12;
  --border: #E1E8ED;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: var(--font-sans); line-height: 1.6; color: var(--text-dark); background-color: var(--bg-color); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.2s ease-in-out; }
a:hover { text-decoration: underline; color: var(--accent-color); }

/* === TYPOGRAPHY (Mobile-First) === */
h1, h2, h3, h4 { font-weight: 700; margin-bottom: 0.75rem; line-height: 1.25; color: #1A252F; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; margin-top: 2rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--secondary-color); }
h3 { font-size: 1.25rem; margin-top: 1.5rem; }
p { margin-bottom: 1.25rem; font-size: 1rem; color: var(--text-dark); }
ul, ol { margin-bottom: 1.25rem; padding-left: 1.5rem; font-size: 1rem; }
li { margin-bottom: 0.4rem; }

/* === LAYOUT === */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.main-content { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0; flex: 1; }

/* === HEADER & NAVIGATION === */
header { background-color: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 100; }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; max-width: 1100px; margin: 0 auto; }
.logo { font-size: 1.35rem; font-weight: 800; color: var(--primary-color); letter-spacing: -0.5px; }
.logo span { color: var(--accent-color); }

/* Hamburger Button */
.menu-toggle { display: flex; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; z-index: 200; }
.menu-toggle span { display: block; width: 24px; height: 3px; background: var(--text-dark); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Nav (default: hidden) */
nav ul { list-style: none; display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); box-shadow: var(--shadow-md); margin: 0; padding: 0; }
nav ul.open { display: flex; }
nav li { border-bottom: 1px solid var(--border); }
nav a { display: block; padding: 1rem 1.5rem; font-weight: 600; color: var(--text-dark); font-size: 1rem; }
nav a:hover { color: var(--primary-color); text-decoration: none; background: var(--secondary-color); }

/* === HERO === */
.hero { background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%); padding: 2.5rem 1rem; text-align: center; border-bottom: 1px solid var(--border); }
.hero h1 { font-size: 1.75rem; max-width: 800px; margin: 0 auto 0.75rem; }
.hero p { font-size: 1.05rem; color: var(--text-light); max-width: 600px; margin: 0 auto 1.5rem; }

/* === BREADCRUMBS === */
.breadcrumbs { font-size: 0.8rem; margin-bottom: 1.25rem; color: var(--text-light); }
.breadcrumbs a { color: var(--text-light); }

/* === CTA BUTTON === */
.cta-btn { display: inline-block; background-color: var(--accent-color); color: var(--white); padding: 0.875rem 1.75rem; border-radius: 8px; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.2s ease; box-shadow: 0 4px 6px rgba(214, 51, 132, 0.2); text-align: center; border: none; cursor: pointer; text-decoration: none; max-width: 100%; }
.cta-btn:hover { background-color: var(--accent-hover); color: var(--white); text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(214, 51, 132, 0.3); }

/* === TABLES (scrollable on mobile) === */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5rem 0; }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); box-shadow: var(--shadow-sm); border-radius: var(--radius); overflow: hidden; min-width: 500px; }
.data-table th, .data-table td { padding: 0.75rem 0.875rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.data-table th { background-color: var(--secondary-color); font-weight: 700; color: var(--primary-color); white-space: nowrap; }

/* === ALERTS === */
.alert-box { padding: 1.25rem; border-radius: var(--radius); margin: 1.5rem 0; border-left: 5px solid; }
.alert-info { background-color: #EBF5FB; border-left-color: #2980B9; }
.alert-warning { background-color: #FEF9E7; border-left-color: #F1C40F; }
.alert-danger { background-color: #FDEDEC; border-left-color: #E74C3C; }
.alert-box h4 { margin-top: 0; margin-bottom: 0.5rem; }

/* === SIDEBAR === */
.sidebar { background-color: var(--white); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); height: fit-content; }
.sidebar h3 { margin-top: 0; font-size: 1.15rem; border-bottom: 2px solid var(--secondary-color); padding-bottom: 0.5rem; }
.sidebar ul { list-style: none; padding-left: 0; }
.sidebar li { margin-bottom: 0.75rem; border-bottom: 1px dashed var(--border); padding-bottom: 0.75rem; font-size: 0.95rem; }

/* === FOOTER === */
footer { background-color: #2C3E50; color: #ECF0F1; padding: 2.5rem 1rem; margin-top: auto; }
.footer-content { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-disclaimer p { font-size: 0.8rem; color: #BDC3C7; margin-bottom: 0.75rem; }
.footer-links h4 { color: #ECF0F1; margin-bottom: 0.5rem; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #ECF0F1; font-size: 0.875rem; }
.footer-links a:hover { color: var(--secondary-color); }

/* === MOBILE STICKY CTA BAR === */
.mobile-sticky-cta { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--white); padding: 0.75rem 1rem; box-shadow: 0 -3px 10px rgba(0,0,0,0.1); text-align: center; z-index: 999; display: block; }
.mobile-sticky-cta .cta-btn { width: 100%; padding: 0.75rem; font-size: 0.95rem; }

/* === UTILITIES === */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* =============================================
   TABLET BREAKPOINT (≥600px)
   ============================================= */
@media (min-width: 600px) {
  .container { padding: 0 1.5rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  p { font-size: 1.0625rem; }
  .hero { padding: 3rem 1.5rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero p { font-size: 1.15rem; }
  .data-table th, .data-table td { padding: 1rem; font-size: 1rem; }
}

/* =============================================
   DESKTOP BREAKPOINT (≥768px)
   ============================================= */
@media (min-width: 768px) {
  .main-content { grid-template-columns: 2fr 1fr; }
  .footer-content { grid-template-columns: 2fr 1fr; }

  /* Show desktop nav, hide hamburger */
  .menu-toggle { display: none; }
  nav ul {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    gap: 1.5rem;
  }
  nav li { border-bottom: none; }
  nav a { padding: 0; font-size: 0.95rem; }
  nav a:hover { background: none; }

  /* Hide mobile sticky CTA on desktop */
  .mobile-sticky-cta { display: none; }
}

/* =============================================
   LARGE DESKTOP (≥992px)
   ============================================= */
@media (min-width: 992px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  p { font-size: 1.125rem; }
  ul, ol { font-size: 1.125rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.25rem; }
  .hero { padding: 4rem 1.5rem; }
}
