/* ==========================================================================
   MULTI-COLOR VIBRANT KETO DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color Palette */
  --c-dark: #0B251D;
  --c-emerald: #145A3E;
  --c-lime: #42B883;
  --c-gold: #E5A93C;
  --c-peach: #E76F51;
  --c-teal: #2A9D8F;
  --c-light: #F8FAF8;

  /* Text & Surfaces */
  --t-main: #1C2D27;
  --t-muted: #52665E;
  --b-soft: rgba(11, 37, 29, 0.08);

  /* Gradients */
  --grad-main: linear-gradient(135deg, #0B251D 0%, #145A3E 50%, #2A9D8F 100%);
  --grad-text: linear-gradient(135deg, #0B251D 0%, #145A3E 45%, #E5A93C 100%);
  --grad-accent: linear-gradient(135deg, #42B883 0%, #E5A93C 100%);
  --grad-mesh: linear-gradient(130deg, #FBFDFB 0%, #F1F7F3 30%, #FDF8F0 65%, #EFFAF7 100%);
  
  --grad-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(245, 250, 246, 0.8));

  /* Shadows */
  --sh-sm: 0 4px 14px rgba(11, 37, 29, 0.05);
  --sh-md: 0 10px 30px rgba(11, 37, 29, 0.08);
  --sh-lg: 0 20px 45px rgba(20, 90, 62, 0.12);

  /* Radius & Fonts */
  --rad-lg: 24px;
  --rad-md: 16px;
  --rad-full: 9999px;

  --f-sans: 'Plus Jakarta Sans', sans-serif;
  --f-head: 'Space Grotesk', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-sans);
  color: var(--t-main);
  background: var(--grad-mesh);
  background-size: 300% 300%;
  animation: meshMove 22s ease infinite;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@keyframes meshMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

h1, h2, h3, h4 { font-family: var(--f-head); color: var(--c-dark); margin: 0 0 0.5em; line-height: 1.15; }
p { margin: 0 0 1em; color: var(--t-muted); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; }
.section-padding { padding: 96px 0; }
.section-alt { background: rgba(238, 247, 241, 0.45); border-y: 1px solid var(--b-soft); }
.section-header { margin-bottom: 54px; }
.section-header.center { text-align: center; }

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   AMBIENT BACKGROUND BLOBS
   ========================================================================== */

.ambient-canvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.3; animation: floatOrb 18s ease-in-out infinite; }
.orb-lime { width: 450px; height: 450px; background: var(--c-lime); top: -100px; right: -50px; }
.orb-gold { width: 400px; height: 400px; background: var(--c-gold); top: 35%; left: -100px; animation-delay: -6s; }
.orb-peach { width: 380px; height: 380px; background: var(--c-peach); top: 65%; right: -80px; animation-delay: -11s; }
.orb-teal { width: 420px; height: 420px; background: var(--c-teal); top: 85%; left: 10%; animation-delay: -4s; }

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
}

/* ==========================================================================
   FLOATING FROSTED NAVBAR
   ========================================================================== */

.navbar-wrapper { position: sticky; top: 16px; z-index: 1000; padding: 0 24px; }
.navbar {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; border-radius: var(--rad-full);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--sh-sm); transition: all 0.3s ease;
}

.nav-brand { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; }
.brand-sub { color: var(--c-lime); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-item { font-size: 0.92rem; font-weight: 600; color: var(--t-main); transition: color 0.2s; }
.nav-item:hover { color: var(--c-lime); }

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

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--c-dark); border-radius: 2px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; border-radius: var(--rad-full); transition: all 0.25s ease; }
.btn-primary { background: var(--grad-main); color: #fff; box-shadow: 0 6px 20px rgba(20, 90, 62, 0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(20, 90, 62, 0.35); }
.btn-outline { background: #fff; color: var(--c-dark); border: 1.5px solid var(--b-soft); box-shadow: var(--sh-sm); }
.btn-outline:hover { transform: translateY(-2px); border-color: var(--c-lime); color: var(--c-emerald); }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section { padding: 60px 0 80px; position: relative; }
.hero-layout { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }

.pill-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(66, 184, 131, 0.12); color: var(--c-emerald);
  padding: 6px 16px; border-radius: var(--rad-full); font-size: 0.82rem; font-weight: 700; margin-bottom: 20px;
}
.pill-dot { width: 8px; height: 8px; background: var(--c-lime); border-radius: 50%; box-shadow: 0 0 8px var(--c-lime); }

.hero-content h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; }
.hero-description { font-size: 1.05rem; max-width: 540px; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 40px; }

.hero-metrics { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.metric-value { display: block; font-family: var(--f-head); font-size: 1.6rem; font-weight: 700; color: var(--c-dark); }
.metric-label { font-size: 0.8rem; color: var(--t-muted); font-weight: 600; }
.metric-divider { width: 1px; height: 32px; background: var(--b-soft); }

.image-bento-card {
  position: relative; border-radius: var(--rad-lg); overflow: hidden;
  box-shadow: var(--sh-lg); border: 4px solid #fff; aspect-ratio: 4/5;
}
.image-bento-card img { width: 100%; height: 100%; object-fit: cover; }

.float-tag {
  position: absolute; padding: 10px 18px; border-radius: var(--rad-full);
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px);
  font-weight: 700; font-size: 0.85rem; color: var(--c-dark); box-shadow: var(--sh-md);
}
.tag-top { top: 20px; left: -10px; border-left: 4px solid var(--c-lime); }
.tag-bottom { bottom: 25px; right: -10px; border-left: 4px solid var(--c-gold); }

@media (min-width: 900px) {
  .hero-layout { grid-template-columns: 1.1fr 0.9fr; }
  .hero-content h1 { font-size: 3.2rem; }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.grid-about { 
  display: grid; 
  gap: 48px; 
  align-items: center; 
}

.framed-photo { 
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: var(--sh-md);
}

.framed-photo img { 
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.highlight-boxes { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 16px; 
  margin-top: 28px; 
}

.mini-h-box {
  background: var(--grad-card); 
  border: 1px solid var(--b-soft);
  padding: 18px; 
  border-radius: var(--rad-md); 
  box-shadow: var(--sh-sm);
}

.mini-h-box strong { 
  display: block; 
  color: var(--c-dark); 
  font-size: 0.95rem; 
  margin-bottom: 4px; 
}

.mini-h-box span { 
  font-size: 0.82rem; 
  color: var(--t-muted); 
}

@media (min-width: 900px) {
  .grid-about { 
    grid-template-columns: 0.9fr 1.1fr; 
  }
}

/* ==========================================================================
   BENTO GRID (SERVICES)
   ========================================================================== */

.bento-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.bento-card {
  background: var(--grad-card); border: 1px solid var(--b-soft);
  border-radius: var(--rad-lg); padding: 32px 24px; box-shadow: var(--sh-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.card-icon { font-size: 2.2rem; margin-bottom: 16px; }

.bento-lime { border-top: 4px solid var(--c-lime); }
.bento-gold { border-top: 4px solid var(--c-gold); }
.bento-teal { border-top: 4px solid var(--c-teal); }
.bento-peach { border-top: 4px solid var(--c-peach); }

/* ==========================================================================
   KETO EXPLAINER & MACRO BARS
   ========================================================================== */

.grid-two-col { display: grid; gap: 48px; align-items: center; }
.dos-donts-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 28px; }
.split-list { background: rgba(255, 255, 255, 0.7); padding: 20px; border-radius: var(--rad-md); border: 1px solid var(--b-soft); }
.split-list h4 { font-size: 0.95rem; margin-bottom: 12px; }
.split-list ul { padding: 0; margin: 0; list-style: none; font-size: 0.88rem; }
.split-list li { padding: 6px 0; border-bottom: 1px dashed var(--b-soft); color: var(--t-muted); }

.macro-dashboard-card {
  background: #fff; border-radius: var(--rad-lg); padding: 24px;
  box-shadow: var(--sh-lg); border: 1px solid var(--b-soft);
}
.dash-title { font-weight: 700; font-size: 0.92rem; color: var(--c-dark); display: block; margin-bottom: 16px; text-align: center; }
.dish-image { border-radius: var(--rad-md); overflow: hidden; aspect-ratio: 16/9; margin-bottom: 20px; }
.dish-image img { width: 100%; height: 100%; object-fit: cover; }

.macro-bars-wrapper { display: flex; flex-direction: column; gap: 14px; }
.macro-meta { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; }
.bar-track { height: 10px; background: rgba(11, 37, 29, 0.06); border-radius: var(--rad-full); overflow: hidden; }
.bar-fill { height: 100%; border-radius: var(--rad-full); }

.fill-lime { background: var(--c-lime); }
.fill-teal { background: var(--c-teal); }
.fill-gold { background: var(--c-gold); }

.val-lime { color: var(--c-lime); }
.val-teal { color: var(--c-teal); }
.val-gold { color: var(--c-gold); }

@media (min-width: 900px) {
  .grid-two-col { grid-template-columns: 1.1fr 0.9fr; }
}

/* ==========================================================================
   FEATURES / ADVANTAGES
   ========================================================================== */

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.feature-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--b-soft); padding: 18px 20px;
  border-radius: var(--rad-md); font-weight: 700; color: var(--c-dark); box-shadow: var(--sh-sm);
}
.feat-icon {
  width: 32px; height: 32px; border-radius: 50%; background: var(--grad-accent);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0;
}

/* ==========================================================================
   BANER QUOTE & ROADMAP
   ========================================================================== */

.banner-quote { background: var(--grad-main); padding: 72px 24px; text-align: center; color: #fff; }
.quote-body { font-family: var(--f-head); font-size: 1.6rem; font-weight: 700; max-width: 800px; margin: 0 auto; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.roadmap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 40px; }
.roadmap-step { background: var(--grad-card); padding: 28px 20px; border-radius: var(--rad-lg); border: 1px solid var(--b-soft); text-align: center; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-main); color: #fff; font-family: var(--f-head); font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }

/* ==========================================================================
   FAQ (NATIVE ACCORDION)
   ========================================================================== */

.faq-accordion { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--b-soft); border-radius: var(--rad-md); overflow: hidden; box-shadow: var(--sh-sm); }
.faq-question { padding: 20px; font-weight: 700; font-family: var(--f-head); color: var(--c-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-question::-webkit-details-marker { display: none; }
.faq-arrow { color: var(--c-lime); font-size: 1.2rem; font-weight: 800; }
.faq-answer { padding: 0 20px 20px; color: var(--t-muted); font-size: 0.95rem; }

/* ==========================================================================
   CTA BANNER & FOOTER
   ========================================================================== */

.cta-banner-section { position: relative; padding: 100px 24px; text-align: center; background: var(--c-dark); color: #fff; overflow: hidden; }
.cta-backdrop { position: absolute; inset: 0; background: var(--grad-main); opacity: 0.9; }
.cta-content { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.cta-content h2 { color: #fff; font-size: 2.2rem; }
.cta-content p { color: rgba(255, 255, 255, 0.9); margin-bottom: 32px; }

.cta-flex { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta-socials { display: flex; gap: 12px; }
.social-circle { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); color: #fff; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.social-circle:hover { background: #fff; color: var(--c-dark); }

.footer-section { background: #fff; padding: 40px 0 20px; border-top: 1px solid var(--b-soft); }
.footer-layout { display: flex; flex-direction: column; gap: 24px; align-items: center; justify-content: space-between; text-align: center; }
.footer-nav { display: flex; gap: 20px; font-weight: 600; font-size: 0.9rem; }
.footer-bottom { text-align: center; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--b-soft); font-size: 0.8rem; color: var(--t-muted); }

@media (min-width: 768px) {
  .footer-layout { flex-direction: row; text-align: left; }
}

/* Ensure all icon fonts behave perfectly without line-height issues */
i[class^="ph-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Center icons perfectly inside their circle/square containers */
.brand-badge,
.card-icon,
.feat-icon,
.social-circle,
.back-top {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Vertically align icons that sit exactly next to text */
.float-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Space between icon and text */
}

.split-list h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Space between icon and text */
}

/* Optional: If the checkmarks in the "Standard Pracy" grid look misaligned with the text */
.feature-card {
  display: flex;
  align-items: flex-start; /* Aligns the icon with the first line of text */
  gap: 0.75rem;
}

/* Optional: Make sure the footer left section aligns the brand badge and text */
.footer-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.back-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-main); color: #fff; font-weight: 800; box-shadow: var(--sh-md); display: flex; align-items: center; justify-content: center; cursor: pointer; }