/* 
   COLORFUL THEME CSS
   Preset B Layout
*/

:root {
  /* Thematic Variables - Colorful Theme */
  --ocular-vivid-1: #FF3366; /* Bold Pink-Red */
  --ocular-vivid-2: #20E3B2; /* vibrant Teal */
  --ocular-vivid-3: #FFD166; /* Bright Yellow */
  --ocular-dark-core: #0B132B; /* Very Dark Blue */
  --ocular-surface-light: #F8F9FA; 
  --ocular-surface-alt: #EAF4F4;
  --ocular-text-main: #1C2541;
  --ocular-text-light: #FFFFFF;
  
  --ocular-gradient-main: linear-gradient(135deg, var(--ocular-vivid-1) 0%, #FF9933 100%);
  --ocular-gradient-cool: linear-gradient(135deg, var(--ocular-dark-core) 0%, #1C2541 100%);

  /* Typography */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* UI Properties */
  --lens-roundness: 16px; /* Soft radius */
  --depth-raised: 0 10px 25px rgba(11, 19, 43, 0.1); /* Raised shadow */
  --depth-hover: 0 15px 35px rgba(11, 19, 43, 0.18);
  
  /* Baseline structure */
  --spacing-section: 10dvh;
  --max-content-width: 1200px;
}

/* RESETS & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.vision-canvas {
  font-family: var(--font-body);
  color: var(--ocular-text-main);
  background-color: var(--ocular-surface-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Subtle SVG Pattern Background */
body.vision-canvas::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231c2541' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
  pointer-events: none;
}

main, header, footer {
  position: relative;
  z-index: 10;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--ocular-dark-core);
  text-transform: none; /* normal case as requested */
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* TYPOGRAPHY UTILS */
.zone-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.zone-heading h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}
.zone-heading h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 25%;
  width: 50%;
  height: 4px;
  background: var(--ocular-gradient-main);
  border-radius: var(--lens-roundness);
}

/* =========================================
   HEADER (Variant 2: Nav Left, Logo Right)
   ========================================= */
.ocular-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: var(--ocular-gradient-cool);
  color: var(--ocular-text-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--depth-raised);
}

.brand-mark {
  order: 2; /* Logo right */
}

.brand-mark img {
  height: 40px;
  width: auto;
}

.ocular-nav {
  order: 1; /* Nav left */
}

.ocular-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.ocular-nav a {
  color: var(--ocular-text-light);
  font-weight: 600;
  font-family: var(--font-display);
}

.ocular-nav a:hover {
  color: var(--ocular-vivid-2);
}

/* Hamburger CSS Only */
.nav-trigger-checkbox {
  display: none;
}
.nav-hamburger {
  display: none;
  cursor: pointer;
  order: 1; /* Keep it left on mobile */
}
.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--ocular-text-light);
  margin: 5px 0;
  transition: 0.3s;
}

/* =========================================
   PRESET B: SPLIT HERO
   ========================================= */
.split-intro-stage {
  display: flex;
  height: 75vh; /* as requested */
  width: 100%;
}

.intro-color-pane {
  width: 55%;
  background: var(--ocular-gradient-main);
  padding: 5% 5% 5% 10%;
  display: flex;
  align-items: center;
  color: var(--ocular-text-light);
}

.intro-text-wrap {
  max-width: 600px;
}

.intro-text-wrap h1 {
  color: var(--ocular-text-light);
  font-size: 3.5rem;
  font-weight: 800;
}

.intro-text-wrap p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.action-trigger-link {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--ocular-dark-core);
  color: var(--ocular-text-light);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--lens-roundness);
  box-shadow: var(--depth-raised);
}

.action-trigger-link:hover {
  background-color: var(--ocular-text-main);
  transform: translateY(-2px);
  box-shadow: var(--depth-hover);
}

.intro-image-pane {
  width: 45%;
  background-image: url('img/bg.webp');
  background-size: cover;
  background-position: center;
  /* No overlay as per Preset B */
}


/* =========================================
   PRESET B: FEATURES (Vertical Timeline)
   ========================================= */
.habit-timeline-zone {
  padding: var(--spacing-section) 5%;
}

.zone-wrap {
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.timeline-track {
  position: relative;
  padding-left: 2rem;
}

/* Connecting line */
.timeline-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2rem;
  width: 4px;
  background: var(--ocular-surface-alt);
  border-radius: 2px;
}

.timeline-node {
  position: relative;
  padding-left: 4rem;
  margin-bottom: 3rem;
  min-height: 50px;
}

.timeline-node:last-child {
  margin-bottom: 0;
}

.node-marker {
  position: absolute;
  left: -1.25rem; /* Center over line based on container padding */
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--ocular-vivid-2);
  color: var(--ocular-dark-core);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: var(--depth-raised);
  z-index: 2;
  border: 4px solid var(--ocular-surface-light);
}

.node-details h3 {
  color: var(--ocular-vivid-1);
  margin-bottom: 0.5rem;
}

.node-details p {
  color: var(--ocular-text-main);
}


/* =========================================
   PRESET B: CONTENT SECTIONS
   ========================================= */
.nutri-vision-block {
  padding: var(--spacing-section) 5%;
}

.nutri-vision-block.alt-bg {
  background-color: var(--ocular-surface-alt);
}

.block-wrap {
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
  /* Both sections img right (60%), text left (40%) as per preset */
}

.nutri-info-side {
  width: 40%;
}

.nutri-visual-side {
  width: 60%;
}

.nutri-visual-side img {
  width: 100%;
  border-radius: var(--lens-roundness);
  box-shadow: var(--depth-raised);
  object-fit: cover;
  height: 500px;
}

.insight-list {
  list-style: none;
  margin-top: 1.5rem;
}

.bullet-insight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.bullet-insight svg {
  width: 24px;
  height: 24px;
  fill: var(--ocular-vivid-1);
  flex-shrink: 0;
}

/* =========================================
   PRESET B: CTA STRIP
   ========================================= */
.action-nudge-band {
  padding: 4rem 5%;
  background-color: var(--ocular-surface-light);
}

.nudge-wrap {
  max-width: var(--max-content-width);
  margin: 0 auto;
  border-left: 6px solid var(--ocular-vivid-3);
  padding-left: 2rem;
  background: var(--ocular-surface-alt);
  padding: 3rem;
  border-radius: 0 var(--lens-roundness) var(--lens-roundness) 0;
  box-shadow: var(--depth-raised);
}

.nudge-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.nudge-title {
  font-size: 2.2rem;
  margin: 0;
  max-width: 800px;
}

.nudge-trigger {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ocular-vivid-1);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.nudge-trigger:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}


/* =========================================
   PRESET B: DIVIDER
   ========================================= */
.separator-ribbon {
  padding: 3rem 5%;
  text-align: center;
  background-color: var(--ocular-dark-core);
  color: var(--ocular-surface-alt);
}

.ribbon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0;
}

.ribbon-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ocular-vivid-2);
}

.ribbon-icon {
  width: 30px;
  height: 30px;
  fill: var(--ocular-vivid-3);
}


/* =========================================
   PRESET B: TESTIMONIALS
   ========================================= */
.visual-praise-area {
  padding: var(--spacing-section) 5%;
  background-color: var(--ocular-surface-light);
}

.praise-wrap {
  max-width: 800px; /* Centered column layout for wide blockquotes */
  margin: 0 auto;
}

.praise-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.praise-quote-box {
  position: relative;
  padding: 2rem 2rem 2rem 4rem;
  background: #fff;
  border-left: 5px solid var(--ocular-vivid-1);
  box-shadow: var(--depth-raised);
  border-radius: 0 var(--lens-roundness) var(--lens-roundness) 0;
}

.praise-quote-box::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 6rem;
  font-family: serif;
  color: var(--ocular-surface-alt);
  line-height: 1;
}

.quote-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.praise-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.star-rating {
  color: var(--ocular-vivid-3);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.praise-author {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ocular-dark-core);
}


/* =========================================
   PRESET B: FAQ
   ========================================= */
.curiosity-accordion {
  padding: var(--spacing-section) 5%;
  background-color: var(--ocular-surface-alt);
  counter-reset: faq-counter;
}

.curiosity-wrap {
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.query-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.query-item {
  position: relative;
  padding: 2rem;
  background: #fff;
  border-radius: var(--lens-roundness);
  box-shadow: var(--depth-raised);
  overflow: hidden;
  counter-increment: faq-counter;
}

.query-item::before {
  content: counter(faq-counter, decimal-leading-zero);
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 8rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ocular-dark-core);
  opacity: 0.05;
  line-height: 1;
  pointer-events: none;
}

.query-head {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--ocular-vivid-1);
}

.query-response {
  font-size: 1rem;
  color: var(--ocular-text-main);
  position: relative;
  z-index: 2;
}


/* =========================================
   PRESET B: FORM (2 Cols)
   ========================================= */
.inquiry-nexus {
  padding: var(--spacing-section) 5%;
  background-color: var(--ocular-surface-light);
}

.nexus-wrap {
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: #fff;
  border-radius: var(--lens-roundness);
  box-shadow: var(--depth-raised);
  overflow: hidden;
}

.nexus-trust-wing {
  padding: 4rem;
  background: var(--ocular-gradient-cool);
  color: var(--ocular-text-light);
}

.nexus-trust-wing h2 {
  color: var(--ocular-vivid-3);
}

.trust-points {
  list-style: none;
  margin: 2rem 0;
}

.trust-points li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.trust-points svg {
  width: 24px;
  height: 24px;
  fill: var(--ocular-vivid-2);
}

.contact-details {
  font-style: normal;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.8;
}

.nexus-form-wing {
  padding: 4rem 4rem 4rem 0;
}

.field-row {
  margin-bottom: 1.5rem;
}

.field-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.data-field {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--ocular-surface-alt);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
  background: var(--ocular-surface-light);
}

.data-field:focus {
  outline: none;
  border-color: var(--ocular-vivid-2);
}

.submit-action {
  width: 100%;
  padding: 1.2rem;
  background: var(--ocular-gradient-main);
  color: #fff;
  border: none;
  border-radius: var(--lens-roundness);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--depth-raised);
  transition: all 0.3s;
}

.submit-action:hover {
  transform: translateY(-3px);
  box-shadow: var(--depth-hover);
}


/* =========================================
   FOOTER
   ========================================= */
.ocular-footer {
  background-color: var(--ocular-dark-core);
  padding: 3rem 5%;
  color: var(--ocular-text-light);
}

.footer-wrap {
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.footer-nav a {
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--ocular-vivid-3);
}


/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
  /* Hero Split */
  .split-intro-stage {
    flex-direction: column;
    height: auto;
  }
  .intro-color-pane, .intro-image-pane {
    width: 100%;
  }
  .intro-color-pane {
    padding: 15% 5%;
  }
  .intro-image-pane {
    height: 40vh;
  }

  /* Content Blocks */
  .block-wrap {
    flex-direction: column;
  }
  .nutri-info-side, .nutri-visual-side {
    width: 100%;
  }
  .nutri-info-side {
    order: 2;
  }
  .nutri-visual-side {
    order: 1;
  }

  /* Form */
  .nexus-wrap {
    grid-template-columns: 1fr;
  }
  .nexus-form-wing {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  /* Header Mobile */
  .nav-hamburger {
    display: block;
  }
  .ocular-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--ocular-dark-core);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  .ocular-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .ocular-nav li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .ocular-nav a {
    display: block;
    padding: 1.5rem 5%;
  }
  
  .nav-trigger-checkbox:checked ~ .ocular-nav {
    max-height: 400px;
  }
  .nav-trigger-checkbox:checked ~ .nav-hamburger .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .nav-trigger-checkbox:checked ~ .nav-hamburger .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .nav-trigger-checkbox:checked ~ .nav-hamburger .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  /* Typography scale */
  .intro-text-wrap h1 {
    font-size: 2.5rem;
  }
  .zone-heading h2 {
    font-size: 2rem;
  }
  .nudge-title {
    font-size: 1.8rem;
  }

  /* Footer Mobile */
  .footer-wrap {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .footer-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  /* Timeline refinement for very small screen */
  .timeline-track {
    padding-left: 1rem;
  }
  .timeline-track::before {
    left: 1rem;
  }
  .node-marker {
    left: -1.75rem;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .timeline-node {
    padding-left: 2.5rem;
  }
  
  .praise-quote-box {
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  }
  .praise-quote-box::before {
    font-size: 4rem;
    top: 0;
    left: 5px;
  }
}