/* ========================================
   MemoPezil - Mobirise-Inspired Theme CSS
   Theme: Light | Bottle: White & #914ec2 | Button: Yellow | Strip: #914ec2
   ======================================== */

:root {
  --primary: #914ec2;
  --primary-dark: #6d3a96;
  --primary-light: #b47fe0;
  --yellow: #f5c518;
  --yellow-hover: #e0b000;
  --white: #ffffff;
  --light-bg: #f8f5fd;
  --text-dark: #1a1a2e;
  --text-muted: #5a5a7a;
  --border: #e0d0f5;
  --shadow: 0 4px 24px rgba(145,78,194,0.13);
  --shadow-hover: 0 8px 36px rgba(145,78,194,0.22);
  --font-heading: 'Jost', 'Segoe UI', sans-serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }
a { text-decoration: none; color: var(--primary); transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { padding-left: 1.5rem; }
li { margin-bottom: 0.5rem; }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.col-half { flex: 1 1 45%; min-width: 280px; }
.col-third { flex: 1 1 30%; min-width: 250px; }
.col-quarter { flex: 1 1 22%; min-width: 200px; }
.col-full { flex: 1 1 100%; }
.align-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: 12px; }

/* ---- Navbar ---- */
.navbar {
  background: var(--primary);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(145,78,194,0.25);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.navbar-brand {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
}
.navbar-brand:hover { color: var(--yellow); }
.navbar-nav { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.navbar-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.navbar-nav a:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.navbar-cta {
  background: var(--yellow);
  color: var(--text-dark) !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
}
.navbar-cta:hover { background: var(--yellow-hover) !important; color: var(--text-dark) !important; }
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger-btn span {
  display: block; width: 26px; height: 2px;
  background: white; border-radius: 2px;
  transition: var(--transition);
}
@media (max-width: 900px) {
  .hamburger-btn { display: flex; }
  .navbar-nav {
    display: none; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--primary-dark);
    padding: 16px 20px;
    gap: 4px;
  }
  .navbar-nav.open { display: flex; }
  .navbar-cta-wrap { display: none; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: 0.3px;
}
.btn-yellow {
  background: var(--yellow);
  color: var(--text-dark);
  box-shadow: 0 4px 16px rgba(245,197,24,0.35);
}
.btn-yellow:hover {
  background: var(--yellow-hover);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,197,24,0.45);
}
.btn-purple {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-purple:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-lg { padding: 18px 42px; font-size: 1.1rem; border-radius: 14px; }
.btn-pulse {
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 4px 16px rgba(245,197,24,0.35); }
  50% { box-shadow: 0 4px 28px rgba(245,197,24,0.7), 0 0 0 8px rgba(245,197,24,0.08); }
}

/* ---- Sections ---- */
section { padding: 72px 0; }
.section-title { text-align: center; margin-bottom: 12px; color: var(--text-dark); }
.section-subtitle { text-align: center; font-size: 1.1rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 48px; }
.strip { background: var(--primary); color: var(--white); }
.strip h2, .strip h3, .strip p, .strip li { color: var(--white) !important; }
.light-bg { background: var(--light-bg); }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, #f8f5fd 0%, #ede0fa 50%, #f8f5fd 100%);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(145,78,194,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-title { color: var(--text-dark); margin-bottom: 16px; }
.hero-title span { color: var(--primary); }
.hero-subtitle { font-size: 1.15rem; margin-bottom: 28px; max-width: 520px; }
.hero-image img {
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 12px 36px rgba(145,78,194,0.25));
  animation: float 4s ease-in-out infinite;
  border-radius: var(--radius-lg);
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.badge {
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 20px;
  display: flex; align-items: center; gap: 6px;
}
.badge::before { content: '✓'; color: var(--primary); }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}
.card h4 { color: var(--text-dark); margin-bottom: 10px; }

/* ---- Trust Badges ---- */
.trust-bar {
  background: var(--primary);
  padding: 14px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-item {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.trust-item span { font-size: 1.1rem; }

/* ---- Ingredients Table ---- */
.ing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ing-table th {
  background: var(--primary);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-size: 0.95rem;
}
.ing-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.ing-table tr:nth-child(even) td { background: var(--light-bg); }
.ing-table tr:last-child td { border-bottom: none; }
.ing-table td:first-child { font-weight: 700; color: var(--primary); }

/* ---- Pricing Table ---- */
.pricing-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.pricing-table th {
  background: var(--primary);
  color: var(--white);
  padding: 16px 20px;
  text-align: center;
}
.pricing-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
}
.pricing-table tr:nth-child(even) td { background: var(--light-bg); }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table .highlight-row td {
  background: #f3e8ff;
  font-weight: 700;
  color: var(--primary-dark);
}
.pricing-table .best-value {
  background: var(--yellow);
  color: var(--text-dark);
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-block;
}

/* ---- Pros & Cons ---- */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-box, .cons-box {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 2px solid;
}
.pros-box { background: #f0faf0; border-color: #4caf50; }
.pros-box h3 { color: #2e7d32; }
.cons-box { background: #fff5f5; border-color: #f44336; }
.cons-box h3 { color: #c62828; }
.pros-box li, .cons-box li { color: var(--text-muted); font-size: 0.97rem; }
.pros-box li::marker { color: #4caf50; content: "✓ "; }
.cons-box li::marker { color: #f44336; content: "✗ "; }

/* ---- Reviews ---- */
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: transform var(--transition);
  position: relative;
}
.review-card:hover { transform: translateY(-4px); }
.review-card::before {
  content: '"';
  position: absolute;
  top: 12px; left: 20px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.12;
  font-family: Georgia, serif;
  line-height: 1;
}
.stars { color: #f5c518; font-size: 1.1rem; margin-bottom: 10px; }
.reviewer-name { font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.reviewer-location { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.review-text { color: var(--text-muted); font-size: 0.97rem; font-style: italic; }
.verified { font-size: 0.78rem; color: #4caf50; font-weight: 600; margin-top: 12px; }

/* ---- FAQ ---- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question {
  width: 100%;
  text-align: left;
  background: var(--white);
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-dark);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--light-bg); }
.faq-question.active { background: var(--primary); color: var(--white); }
.faq-question .faq-icon { font-size: 1.3rem; transition: transform 0.3s; }
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  background: var(--light-bg);
}
.faq-answer.open { max-height: 400px; padding: 20px 24px; }
.faq-answer p { margin: 0; color: var(--text-muted); }

/* ---- Guarantee ---- */
.guarantee-box {
  background: linear-gradient(135deg, #f8f5fd, #ede0fa);
  border: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.guarantee-badge {
  width: 120px; height: 120px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.5rem;
  box-shadow: 0 8px 32px rgba(145,78,194,0.35);
}

/* ---- Today Pricing Box ---- */
.today-price-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.today-price-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}
.price-regular { font-size: 1.2rem; text-decoration: line-through; opacity: 0.7; }
.price-today { font-size: 3.5rem; font-weight: 900; color: var(--yellow); line-height: 1; }
.price-unit { font-size: 1rem; opacity: 0.85; }

/* ---- Footer ---- */
footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.8);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-desc { font-size: 0.9rem; line-height: 1.8; }
.footer-links h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--yellow); }
.footer-fda {
  background: rgba(255,255,255,0.05);
  padding: 24px;
  border-radius: var(--radius);
  margin: 32px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}
.footer-fda p { color: rgba(255,255,255,0.6); font-size: 0.82rem; margin-bottom: 10px; }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-bottom a { color: rgba(255,255,255,0.6); margin: 0 12px; }
.footer-bottom a:hover { color: var(--yellow); }

/* ---- Scroll to top ---- */
#scrollTop {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  z-index: 999;
  transition: background var(--transition);
}
#scrollTop:hover { background: var(--primary-dark); }
#scrollTop.visible { display: flex; }

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ---- How it works steps ---- */
.steps-grid { display: flex; flex-wrap: wrap; gap: 24px; position: relative; }
.step-card {
  flex: 1 1 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  transition: transform var(--transition);
}
.step-card:hover { transform: translateY(-5px); }
.step-number {
  width: 56px; height: 56px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}

/* ---- Quick overview table ---- */
.overview-table { width: 100%; border-collapse: collapse; }
.overview-table tr { border-bottom: 1px solid var(--border); }
.overview-table tr:last-child { border-bottom: none; }
.overview-table td { padding: 14px 18px; font-size: 0.97rem; vertical-align: top; }
.overview-table td:first-child { font-weight: 700; color: var(--primary); width: 42%; }
.overview-table tr:nth-child(even) { background: var(--light-bg); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  section { padding: 52px 0; }
  .hero { padding: 56px 0; }
  .hero-image { order: -1; text-align: center; }
  .hero-image img { max-width: 320px; }
  .row { gap: 16px; }
  .col-half, .col-third, .col-quarter { flex: 1 1 100%; }
  .guarantee-box { padding: 32px 20px; }
  .today-price-box { padding: 32px 20px; }
}

/* ---- Inner pages ---- */
.inner-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 60px 0;
  text-align: center;
  color: white;
}
.inner-hero h1 { color: white; }
.inner-hero p { color: rgba(255,255,255,0.85); max-width: 700px; margin: 12px auto 0; }
.content-section { padding: 60px 0; }
.content-section h2 { color: var(--primary); margin: 36px 0 14px; font-size: 1.5rem; }
.content-section h3 { color: var(--text-dark); margin: 28px 0 10px; font-size: 1.2rem; }
.content-section p { color: var(--text-muted); margin-bottom: 18px; }
.content-section ul { margin-bottom: 18px; }
.content-section li { color: var(--text-muted); margin-bottom: 8px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.88rem; margin-bottom: 32px; flex-wrap: wrap; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--text-muted); }
.highlight-box {
  background: var(--light-bg);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.highlight-box p { margin: 0; color: var(--text-dark); }
