


/* ==========================================================================
   TRIMX - ADVANCED CONVERSION STYLESHEET
   Developed for Maximum Fat Loss Niche Conversions, Fast Loading, and SEO
   ========================================================================== */

/* ===== GLOBAL RESETS & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* === BRAND COLORS (Change these based on TrimX Exact Product Label) === */
  --brand-primary:   #0D9488; /* Modern Teal/Green - Symbolizes health & weight loss */
  --brand-secondary: #0F766E; /* Darker Teal for hovers */
  --brand-accent:    #F97316; /* Energetic Orange for High-Converting CTA Buttons */
  --brand-accent-hover:#EA580C; /* Darker Orange for CTA Hover */
  --bg-light:        #F0FDF4; /* Very soft mint/green background for contrast */
  --bg-dark:         #111827; /* Dark slate for footer */
  --text-main:       #1F2937; /* Strong Dark Grey for readability */
  --text-muted:      #4B5563; /* Softer text for paragraphs */
  --border-color:    #D1FAE5; /* Soft green border */
  --white:           #ffffff;
  
  /* Drop Shadows for Depth */
  --shadow-sm:       0 2px 8px rgba(13, 148, 136, 0.08);
  --shadow-md:       0 4px 20px rgba(13, 148, 136, 0.15);
  --shadow-lg:       0 12px 35px rgba(13, 148, 136, 0.22);

  /* === MODERN TYPOGRAPHY SCALES === */
  --f-xs:    0.95rem;
  --f-sm:    1.10rem;
  --f-body:  1.20rem; /* Large enough for easy reading on mobile */
  --f-md:    1.35rem;
  --f-lg:    1.60rem;
  --f-xl:    2.0rem;
  --f-2xl:   2.5rem;
  --f-3xl:   3.2rem;
  --f-price: 3.5rem;
  --lh-body: 1.8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--f-body);
  line-height: var(--lh-body);
  color: var(--text-main);
  background: var(--white);
  overflow-x: hidden;
  padding-bottom: 90px; /* Space for Bottom CTA */
}

/* Typography Basics */
h1, h2, h3, h4 { color: var(--text-main); line-height: 1.25; }
h1 { font-size: var(--f-3xl); font-weight: 800; }
h2 { font-size: var(--f-2xl); font-weight: 800; }
h3 { font-size: var(--f-xl);  font-weight: 700; }
h4 { font-size: var(--f-lg);  font-weight: 700; }
p, li { font-size: var(--f-body); margin-bottom: 20px; text-align: justify; text-align-last: left; }
a { text-decoration: none; color: var(--brand-primary); }

/* ===== REUSABLE UTILITIES ===== */
.section { padding: 90px 24px; }
.bg-light { background: var(--bg-light); }
.brand-title { color: var(--brand-primary); }
.sec-title { text-align: center; margin-bottom: 15px; }
.sec-sub { text-align: center; color: var(--text-muted); max-width: 900px; margin: 0 auto 50px; font-size: var(--f-md); }
.text-content p { color: var(--text-muted); }

/* ===== HIGH-CONVERTING BUTTONS ===== */
.btn-cta {
  display: inline-block; 
  background: var(--brand-accent); 
  color: var(--white) !important;
  padding: 18px 45px; 
  border-radius: 8px;
  font-weight: 800; 
  font-size: var(--f-lg);
  margin-top: 20px;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
  transition: all 0.3s ease;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-cta:hover { 
  background: var(--brand-accent-hover); 
  transform: translateY(-3px); 
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.5); 
}
.btn-cta-xl { font-size: 1.25rem; padding: 20px 45px; width: 100%; max-width: 500px;}
.pulse-btn { animation: softPulse 2s infinite; }
@keyframes softPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  height: 75px; padding: 0 24px;
}
.nav-logo img { height: 45px; object-fit: contain; }
.nav-links { display: flex; gap: 35px; list-style: none; margin-top: 15px; }
.nav-links a { color: var(--text-main); font-weight: 600; font-size: var(--f-sm); transition: color .2s; }
.nav-links a:hover { color: var(--brand-primary); }
.btn-nav {
  background: var(--brand-primary); color: var(--white) !important;
  padding: 12px 25px; border-radius: 6px; font-weight: 700; font-size: var(--f-sm); transition: all .2s;
}
.btn-nav:hover { background: var(--brand-secondary); }
.nav-spacer { height: 75px; } /* Prevents content from hiding behind fixed nav */

/* Hamburger Menu (Mobile) */
.hamburger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 30px; height: 3px; background: var(--text-main); border-radius: 2px; }
.mob-menu { display: none; flex-direction: column; gap: 20px; padding: 25px 24px; background: var(--white); border-top: 1px solid var(--border-color); }
.mob-menu.open { display: flex; }
.mob-menu a { color: var(--text-main); font-weight: 700; font-size: var(--f-md); }

/* ===== MODERN HERO SECTION ===== */
.hero { padding: 60px 24px 90px; background: linear-gradient(145deg, #ffffff 30%, var(--bg-light) 100%); }
.hero-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
.launch-badge { display: inline-block; background: #FEF3C7; color: #B45309; padding: 8px 20px; font-size: var(--f-sm); font-weight: 700; border-radius: 30px; margin-bottom: 20px; }
.hero-content h1 span { color: var(--brand-primary); }
.hero-bullets { list-style: none; margin: 25px 0; }
.hero-bullets li { font-weight: 600; font-size: var(--f-md); margin-bottom: 10px; color: var(--text-main); }
.trust-stars { font-size: 1.4rem; font-weight: 700; color: #F59E0B; }
.trust-stars span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.hero-divider { border: none; border-top: 2px dashed #CBD5E1; margin: 25px 0; }
.price-box { margin-bottom: 20px; }
.reg-price { font-size: var(--f-md); color: var(--text-muted); }
.sale-price { font-size: var(--f-xl); font-weight: 800; color: var(--brand-primary); }
.secure-checkout { font-size: 0.9rem; color: var(--text-muted); margin-top: 15px; font-weight: 600; text-align: center; max-width: 500px;}
.hero-img img { width: 100%; border-radius: 20px; filter: drop-shadow(0 20px 30px rgba(13, 148, 136, 0.15)); }

/* ===== BADGES / BENEFITS GRID ===== */
.badges-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.badge-card { text-align: center; padding: 40px 25px; border: 1px solid var(--border-color); border-radius: 16px; background: var(--white); transition: all .3s ease; }
.badge-card:hover { border-color: var(--brand-primary); box-shadow: var(--shadow-md); transform: translateY(-5px); }
.badge-card img { width: 80px; height: 80px; margin: 0 auto 20px; display: block; object-fit: contain; }
.badge-card h4 { color: var(--brand-primary); margin-bottom: 15px; }

/* ===== TWO COLUMN LAYOUT (ABOUT/SCIENCE) ===== */
.two-col { max-width: 1150px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.two-col img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-md); }
.two-col h2 { color: var(--brand-primary); margin-bottom: 25px; }

/* ===== INGREDIENTS LIST ===== */
.ing-list { max-width: 950px; margin: 0 auto; list-style: none; }
.ing-item { padding: 40px; margin-bottom: 30px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; transition: all 0.3s ease; }
.ing-item:hover { box-shadow: var(--shadow-md); border-color: var(--brand-primary); }
.ing-num { width: 50px; height: 50px; background: var(--brand-accent); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: var(--f-lg); font-weight: 800; position: absolute; left: -20px; top: -20px; box-shadow: var(--shadow-sm); }
.ing-img { width: 200px; height: 200px; object-fit: cover; border-radius: 12px; }
.ing-content h4 { color: var(--brand-primary); margin-bottom: 15px; font-size: var(--f-xl); }

/* ===== TRUST BANNER ===== */
.trust-banner-wrap { text-align: center; padding: 40px 20px; background: var(--white); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.trust-banner-wrap img { max-width: 100%; height: auto; border-radius: 8px; }

/* ===== PRICING TABLES ===== */
.pricing-grid { max-width: 1150px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: end; }
.p-card { background: var(--white); border-radius: 20px; padding: 45px 30px; text-align: center; border: 2px solid var(--border-color); position: relative; transition: all .3s; }
.p-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.p-card.pop { border-color: var(--brand-primary); border-width: 3px; box-shadow: var(--shadow-md); padding-top: 60px; background: #F8FAFC; }
.pop-badge { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); background: var(--brand-primary); color: var(--white); font-weight: 800; font-size: 1rem; padding: 10px 30px; border-radius: 30px; white-space: nowrap; box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4); }
.p-card img { width: 100%; max-width: 250px; margin: 0 auto 25px; display: block; transition: transform .3s; }
.p-card img:hover { transform: scale(1.05); }
.supply { font-size: var(--f-lg); font-weight: 800; margin-bottom: 15px; color: var(--text-main); line-height: 1.3; }
.supply span { font-size: 1.1rem; font-weight: 500; color: var(--text-muted); }
.price-big { font-size: var(--f-price); font-weight: 800; color: var(--brand-primary); line-height: 1; }
.per-btl { color: var(--text-muted); margin-bottom: 15px; font-weight: 600; }
.savings { font-size: var(--f-sm); font-weight: 700; color: #16A34A; margin-bottom: 15px; }
.bonus-alert { font-size: 0.9rem; font-weight: 800; color: var(--brand-accent); margin-bottom: 15px; }

/* ===== GUARANTEE SECTION ===== */
.mb-inner { max-width: 1050px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 60px; align-items: center; }
.mb-inner img { width: 100%; max-width: 280px; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); }
.mb-inner h3 { color: var(--brand-primary); margin-bottom: 25px; font-size: var(--f-xl);}

/* ===== SMART FAQ ACCORDION ===== */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: 12px; margin-bottom: 15px; border: 1px solid var(--border-color); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; background: none; border: none; padding: 25px 30px; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: var(--f-lg); font-weight: 700; color: var(--text-main); font-family: inherit; }
.faq-arrow { color: var(--brand-primary); transition: transform .3s; font-size: 1.2rem; }
.faq-item.open .faq-q { color: var(--brand-primary); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-ans { max-height: 0; overflow: hidden; transition: all .4s ease; padding: 0 30px; }
.faq-item.open .faq-ans { max-height: 600px; padding: 0 30px 25px; }

/* ===== STICKY BOTTOM CTA BAR (Always New Generator) ===== */
.bottom-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(17, 24, 39, 0.98); /* Very dark sleek bg */
  backdrop-filter: blur(10px);
  border-top: 4px solid var(--brand-accent);
  padding: 15px 40px 15px 20px; 
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 -5px 25px rgba(0,0,0,0.4);
}
.bottom-cta-bar.visible { transform: translateY(0); }

.close-cta {
  position: absolute; top: -15px; right: 15px;
  background: var(--text-muted); color: var(--white);
  border: none; border-radius: 50%; width: 30px; height: 30px;
  font-size: 18px; line-height: 24px; cursor: pointer;
  z-index: 10000; box-shadow: var(--shadow-sm);
}
.close-cta:hover { background: #000; }

.cta-bar-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cta-text { color: var(--white); font-size: var(--f-md); }
.cta-pulse { animation: pulse 1.5s infinite; display: inline-block; font-size: 1.2rem; }
.btn-cta-bar {
  background: var(--brand-accent); color: var(--white) !important;
  padding: 15px 40px; border-radius: 6px; font-weight: 800;
  font-size: var(--f-sm); white-space: nowrap; transition: background 0.3s;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}
.btn-cta-bar:hover { background: var(--brand-accent-hover); }

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

/* ===== FOOTER ===== */
footer { background: var(--bg-dark); color: #9CA3AF; padding: 70px 24px 40px; text-align: center; }
.foot-disc { max-width: 1100px; margin: 0 auto; font-size: 0.95rem; line-height: 1.8; text-align: justify; text-align-last: center; }
.foot-links { display: flex; justify-content: center; gap: 30px; margin: 40px 0 25px; flex-wrap: wrap; }
.foot-links a { color: var(--brand-primary); font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; }
.foot-links a:hover { color: var(--white); }
.foot-copy { font-size: 0.9rem; margin-top: 15px;}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed; bottom: 95px; left: 20px; right: 20px;
  background: var(--text-main); color: var(--white);
  padding: 20px 25px; border-radius: 12px; z-index: 9998;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  box-shadow: var(--shadow-lg); border-left: 5px solid var(--brand-primary);
}
.cookie-banner p { margin: 0; font-size: 1rem; text-align: left; }
.cookie-banner a { color: var(--brand-primary); text-decoration: underline; }
.cookie-banner button {
  background: var(--brand-primary); color: var(--white); border: none;
  padding: 12px 25px; border-radius: 6px; cursor: pointer; font-weight: 700;
}

/* ===== RESPONSIVE DESIGN (MOBILE FIRST OPTIMIZATIONS) ===== */
@media (max-width: 1024px) {
  :root {
    --f-body: 1.15rem; --f-md: 1.25rem; --f-lg: 1.4rem;
    --f-xl: 1.7rem; --f-2xl: 2.1rem; --f-3xl: 2.6rem; --f-price: 3rem;
  }
  .hero-grid { grid-template-columns: 1fr; text-align: center; flex-direction: column-reverse; display: flex; }
  .hero-content { order: 2; } .hero-img { order: 1; margin-bottom: 20px; }
  .hero-bullets li { text-align: center; }
  .secure-checkout { margin: 15px auto 0; }
  .two-col, .mb-inner { grid-template-columns: 1fr; text-align: center; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; }
  .badges-grid { grid-template-columns: repeat(2, 1fr); max-width: 600px; }
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .p-card.pop { padding-top: 45px; }
  .ing-item { grid-template-columns: 1fr; text-align: center; padding: 50px 25px 30px; }
  .ing-num { left: 50%; transform: translateX(-50%); top: -25px; }
  .ing-img { margin: 0 auto; }
  .cta-bar-content { flex-direction: column; text-align: center; gap: 15px; }
  .btn-cta-bar { width: 100%; text-align: center; }
  p, li { text-align: left; }
}

@media (max-width: 600px) {
  :root {
    --f-body: 1.05rem; --f-md: 1.15rem; --f-lg: 1.25rem;
    --f-xl: 1.5rem; --f-2xl: 1.8rem; --f-3xl: 2.2rem;
  }
  .badges-grid { grid-template-columns: 1fr; }
  .btn-cta, .btn-cta-xl { padding: 18px 20px; font-size: var(--f-md); width: 100%; }
  .section { padding: 60px 20px; }
  .foot-disc { text-align: left; text-align-last: left; }
  .cookie-banner { flex-direction: column; text-align: center; bottom: 100px; }
  .cookie-banner p { text-align: center; }
}

/* ==========================================================================
   E-E-A-T AUTHOR / EXPERT PROFILE PAGE STYLES
   ========================================================================== */
.author-page-main {
  background: var(--bg-light);
  padding: 120px 24px 80px; 
  min-height: 80vh;
}

.author-wrap {
  max-width: 850px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.author-header {
  /* Soft gradient background behind the profile picture */
  background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%);
  padding: 50px 30px 30px;
  text-align: center;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.author-img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
  margin: 0 auto 20px;
  display: block;
  transition: transform 0.3s ease;
}

.author-img:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.author-header h1 {
  color: var(--text-main);
  font-size: var(--f-2xl);
  margin-bottom: 5px;
}

.author-title {
  color: var(--brand-primary);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.author-body {
  padding: 40px 50px;
}

.author-body h2 {
  color: var(--brand-primary);
  font-size: var(--f-xl);
  margin: 35px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px dashed var(--border-color);
}

.author-body h2:first-child {
  margin-top: 0;
}

.author-body p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.credentials-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.credentials-list li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 15px;
  font-size: 1.15rem;
  color: var(--text-main);
  font-weight: 600;
}

.credentials-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.3rem;
}

.author-footer {
  background: #F8FAFC;
  padding: 25px 50px;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

/* Mobile Responsiveness for Author Page */
@media (max-width: 600px) {
  .author-body { padding: 30px 20px; }
  .author-header { padding: 40px 20px 20px; }
  .author-footer { padding: 25px 20px; }
  .author-img { width: 140px; height: 140px; }
}