/* 
  JNM Creators - Pro-Max Agency Makeover (V2 - 10 Sections High Conversion)
  Theme: Exaggerated Minimalism / Dark Elite
*/

:root {
  /* High Contrast Agency Colors */
  --jnm-ds-dark: #FAFAFA;   /* Deep charcoal black */
  --jnm-ds-cream: #0A0A0B; /* Unbleached premium white */
  --jnm-ds-gray: #6B6B70;  /* Muted text */
  --jnm-ds-red: #D32F2F;   /* Brutalist Red for Pain Points */

  /* Typography */
  --jnm-ds-font-serif: 'DM Serif Display', serif;
  --jnm-ds-font-sans: 'Jost', sans-serif;
  
  /* Layout */
  --jnm-ds-container-fluid: 94vw;
  --jnm-ds-section-padding: 12vw 0;
}

/* Base Reset */
.jnm-ds-body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: var(--jnm-ds-dark);
  color: var(--jnm-ds-cream);
  font-family: var(--jnm-ds-font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none; /* Hide default for custom cursor */
}

a, button { cursor: none; }
input, textarea { cursor: text; }

/* Custom Blend Mode Cursor */
.jnm-ds-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 20px; height: 20px;
  background-color: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), 
              height 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.jnm-ds-cursor.expanded {
  width: 80px; height: 80px;
}


/* Global Utilities */
.jnm-ds-container-fluid { width: var(--jnm-ds-container-fluid); margin: 0 auto; }
.jnm-ds-section { padding: var(--jnm-ds-section-padding); }
.jnm-ds-bg-dark { background-color: var(--jnm-ds-dark); color: var(--jnm-ds-cream); }
.jnm-ds-bg-cream { background-color: var(--jnm-ds-cream); color: var(--jnm-ds-dark); }
.jnm-ds-text-dark { color: var(--jnm-ds-dark); }
.jnm-ds-text-sans { font-family: var(--jnm-ds-font-sans); }
.jnm-ds-heading-serif { font-family: var(--jnm-ds-font-serif); font-weight: 500; letter-spacing: -0.02em; }
.jnm-ds-heading-sans { font-family: var(--jnm-ds-font-sans); font-weight: 500; }
.jnm-ds-hidden { display: none !important; }

/* Layout Grid */
.jnm-ds-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: start;
}

/* EXAGGERATED TYPOGRAPHY */
.jnm-ds-split-huge {
  font-size: clamp(3rem, 9vw, 12rem);
  line-height: 0.85;
  margin: 0 0 2rem 0;
  text-transform: uppercase;
}
.jnm-ds-split-large {
  font-size: clamp(2.5rem, 6vw, 7rem);
  line-height: 0.9;
  margin: 0 0 2rem 0;
  text-transform: uppercase;
}
.jnm-ds-large-p {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  margin-bottom: 2rem;
  line-height: 1.3;
}

/* Custom Nav */
.jnm-ds-nav {
  position: fixed; top: 0; left: 0;
  width: 100%; z-index: 1000;
  padding: 30px 0;
  mix-blend-mode: difference;
}
.jnm-ds-nav .jnm-ds-container-fluid {
  display: flex; justify-content: space-between; align-items: center;
}
.jnm-ds-logo {
  font-family: var(--jnm-ds-font-sans);
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.05em; color: #fff;
}
.jnm-ds-nav-links a {
  margin-left: 40px; font-size: 1rem; font-weight: 500;
  color: #fff; text-decoration: none; text-transform: uppercase;
}
.jnm-ds-btn-outline {
  border: 1px solid #fff; padding: 12px 24px; border-radius: 50px;
}

/* HERO (Restored to Dark Mode) */
.jnm-ds-hero {
  height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: flex-start;
  overflow: hidden; background-color: #0A0A0B;
  color: #F0EBE1;
}
.jnm-ds-hero-bg-wrapper {
  position: absolute; top: 0; left: 20%;
  width: 80%; height: 100%;
  pointer-events: none; z-index: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.jnm-ds-hero-bg {
  position: absolute; width: 100%; height: 130%; top: -15%;
  background-size: cover; background-position: center;
  will-change: transform; filter: grayscale(80%) contrast(1.2);
}
.jnm-ds-hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(10,10,11,1) 0%, rgba(10,10,11,0.4) 100%);
}
.jnm-ds-hero-content {
  position: relative; z-index: 2; padding-top: 10vh;
  width: var(--jnm-ds-container-fluid); margin: 0 auto;
}
.jnm-ds-reveal-subtext {
  font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 300;
  max-width: 700px; margin-top: 2rem; margin-bottom: 3rem;
  color: rgba(240, 235, 225, 0.8); line-height: 1.4;
}

/* Buttons Global & Hero Overrides */
.jnm-ds-btn-primary {
  display: inline-flex; border: 1px solid var(--jnm-ds-cream);
  background: transparent; color: var(--jnm-ds-cream);
  padding: 24px 48px; text-transform: uppercase;
  font-size: 1rem; border-radius: 100px;
  transition: 0.4s; text-decoration: none;
}
.jnm-ds-btn-primary:hover {
  background: var(--jnm-ds-cream); color: var(--jnm-ds-dark); border-color: transparent;
}
.jnm-ds-btn-text {
  display: inline-flex; color: var(--jnm-ds-cream);
  padding: 24px 48px; font-size: 1.2rem; text-decoration: none; font-family: var(--jnm-ds-font-sans);
}

/* Specifically invert hero buttons back to light text */
.jnm-ds-hero .jnm-ds-btn-primary {
  border-color: #F0EBE1; color: #F0EBE1;
}
.jnm-ds-hero .jnm-ds-btn-primary:hover {
  background: #F0EBE1; color: #0A0A0B;
}
.jnm-ds-hero .jnm-ds-btn-text {
  color: #F0EBE1;
}

/* TRUST SECTION */
.jnm-ds-section-desc {
  font-size: clamp(1.5rem, 3vw, 2.5rem); max-width: 900px;
  margin-bottom: 6vw; color: var(--jnm-ds-gray);
}
.jnm-ds-section-subtext {
  font-size: clamp(1.2rem, 2vw, 1.8rem); max-width: 900px;
  color: var(--jnm-ds-gray); line-height: 1.4;
}
.jnm-ds-trust-list { border-top: 1px solid rgba(10, 10, 11, 0.1); }
.jnm-ds-trust-row {
  display: grid; grid-template-columns: 100px 1fr;
  padding: 3vw 0; border-bottom: 1px solid rgba(10, 10, 11, 0.1);
  align-items: center; transition: 0.4s;
}
.jnm-ds-trust-row:hover { background-color: rgba(10, 10, 11, 0.02); padding-left: 2vw; }
.jnm-ds-trust-num { font-family: var(--jnm-ds-font-sans); color: var(--jnm-ds-gray); font-size: 1.2rem; }
.jnm-ds-trust-row h3 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }

/* THE NRI PROBLEM */
.jnm-ds-problem-list {
  display: flex; flex-direction: column; gap: 2vw; padding-top: 1vw;
}
.jnm-ds-problem-item {
  display: flex; align-items: center; gap: 2vw;
  border-bottom: 1px solid rgba(10, 10, 11, 0.1); padding-bottom: 2vw;
}
.jnm-ds-cross {
  color: var(--jnm-ds-red); font-size: 2.5rem; font-weight: 700;
}
.jnm-ds-problem-item h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem); margin: 0; font-weight: 400; text-transform: uppercase;
}

.jnm-ds-process-hscroll { position: relative; overflow: hidden; height: 100vh; /* Controlled by JS via pin */ }
.jnm-ds-hscroll-sticky { position: absolute; top:0; left:0; width: 100%; height: 100vh; display: flex; align-items: center; overflow: hidden; box-sizing: border-box; }
.jnm-ds-hscroll-wrapper { display: flex; padding-left: 10vw; gap: 10vw; height: auto; }
.jnm-ds-mobile-timeline { display: none; } /* Hidden on desktop */
.jnm-ds-hscroll-slide { width: 50vw; flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; }
.jnm-ds-slide-intro h2 { font-size: clamp(4rem, 8vw, 10rem); margin: 0 0 1rem 0; line-height: 0.9;}
.jnm-ds-slide-intro p { font-size: 2rem; color: var(--jnm-ds-gray); }

.jnm-ds-step-card {
  border: 1px solid var(--jnm-ds-cream); padding: 4vw; height: 60vh;
  display: flex; flex-direction: column; border-radius: 10px;
}
.jnm-ds-step-num { font-size: 5rem; line-height: 1; opacity: 0.3; margin-bottom: 2rem;}
.jnm-ds-step-card h3 { font-size: clamp(2rem, 3.5vw, 4rem); margin: 0 0 2rem 0; line-height: 1;}
.jnm-ds-step-card ul { 
  list-style: none; padding: 0; margin: 0; font-size: 1.2rem; color: var(--jnm-ds-cream); opacity: 0.8;
}
.jnm-ds-step-card ul li { margin-bottom: 12px; padding-left: 1.5rem; position: relative; }
.jnm-ds-step-card ul li::before {
  content: '•'; position: absolute; left: 0; color: var(--jnm-ds-cream); opacity: 0.5;
}

/* PORTFOLIO GRID */
.jnm-ds-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4vw;
}

.jnm-ds-project-card {
  border: 1px solid rgba(10,10,11,0.1);
  background-color: var(--jnm-ds-cream);
  overflow: hidden;
  border-radius: 8px;
}
.jnm-ds-project-img-wrapper {
  overflow: hidden;
  height: 350px;
}
.jnm-ds-project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.jnm-ds-project-card:hover .jnm-ds-project-img {
  transform: scale(1.05);
}
.jnm-ds-project-info {
  padding: 2vw;
  background: var(--jnm-ds-cream);
}
.jnm-ds-project-info h3 { margin: 0 0 10px 0; font-size: 2rem; color: var(--jnm-ds-dark);}
.jnm-ds-project-info p { margin: 0; color: var(--jnm-ds-gray); font-size: 1.1rem; }

/* DIFFERENTIATORS */
.jnm-ds-diff-item {
  border: 1px solid rgba(10, 10, 11,0.2);
  padding: 3vw;
  border-radius: 8px;
}
.jnm-ds-diff-icon {
  font-size: 2rem;
  color: var(--jnm-ds-cream);
  display: block;
  margin-bottom: 20px;
}
.jnm-ds-diff-item h3 { font-size: 1.8rem; margin: 0 0 1rem 0; }
.jnm-ds-diff-item p { margin: 0; color: rgba(10, 10, 11,0.7); font-size: 1.1rem;}

.jnm-ds-filter-box {
  border: 1px solid rgba(10,10,11,0.2);
  padding: 8vw;
  border-radius: 20px;
}

/* SOCIAL PROOF TESTIMONIALS */
.jnm-ds-testimonial {
  padding: 4vw 0;
  border-top: 2px solid rgba(10, 10, 11, 0.2);
}
.jnm-ds-testimonial p {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 3rem;
}
.jnm-ds-testimonial h4 {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--jnm-ds-gray);
  margin: 0;
}

/* FAQ ACCORDION */
.jnm-ds-faq-list {
  border-top: 1px solid rgba(10, 10, 11, 0.2);
}

.jnm-ds-faq-item {
  border-bottom: 1px solid rgba(10, 10, 11, 0.2);
}

.jnm-ds-faq-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3vw 0;
  background: none;
  border: none;
  color: var(--jnm-ds-cream);
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  text-align: left;
}

.jnm-ds-faq-icon {
  font-size: 3rem;
  font-weight: 300;
  transition: transform 0.4s ease;
}

.jnm-ds-faq-item.active .jnm-ds-faq-icon {
  transform: rotate(45deg);
}

.jnm-ds-faq-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.jnm-ds-faq-item.active .jnm-ds-faq-content {
  max-height: 500px;
}

.jnm-ds-faq-content p {
  padding-bottom: 3vw;
  font-size: 1.5rem;
  color: var(--jnm-ds-gray);
  margin: 0;
}

/* MINIMAL FORM */
.jnm-ds-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; align-items: center; }
.jnm-ds-input-row { margin-bottom: 3rem; }
.jnm-ds-input {
  width: 100%; border: none; background: transparent;
  border-bottom: 1px solid rgba(10, 10, 11, 0.2);
  padding: 1rem 0; font-size: 1.5rem; font-family: var(--jnm-ds-font-sans); color: var(--jnm-ds-dark);
}
.jnm-ds-input:focus { outline: none; border-bottom-color: var(--jnm-ds-dark); }
.jnm-ds-btn-primary.jnm-ds-full-width {
  width: 100%; border-color: var(--jnm-ds-dark); color: var(--jnm-ds-dark);
  font-size: 1.2rem; padding: 30px; justify-content: center; margin-top: 2vw;
}
.jnm-ds-btn-primary.jnm-ds-full-width:hover { background: var(--jnm-ds-dark); color: var(--jnm-ds-cream); }

/* FOOTER */
.jnm-ds-footer { padding: 10vw 0 5vw; }
.jnm-ds-footer h3 { text-align: center; }
.jnm-ds-footer-links { display: flex; justify-content: center; gap: 40px; margin-top: 3vw; font-size: 1.2rem; }
.jnm-ds-footer-links a { color: var(--jnm-ds-cream); text-decoration: none;}
.jnm-ds-copyright { text-align: center; color: var(--jnm-ds-gray); }

/* SplitType Base */
.word { overflow: hidden; padding-bottom: 0.1em; }

/* Intl Tel Input Styling Override */
.iti { width: 100%; display: block; margin-bottom: 3rem; }
.iti__flag-container { padding: 10px; }
.iti__selected-flag { background: transparent !important; padding: 0 10px 0 0 !important; }
.iti__country-list { background-color: var(--jnm-ds-dark); color: var(--jnm-ds-cream); border: 1px solid rgba(10, 10, 11,0.2); }
.iti__country.iti__highlight { background-color: rgba(10, 10, 11,0.1); }
.iti__country-name { color: var(--jnm-ds-cream); }
.iti__dial-code { color: var(--jnm-ds-gray); }

/* FLOATING ENQUIRE BTN */
.jnm-ds-floating-btn {
  position: fixed;
  bottom: 2vw;
  right: 2vw;
  background-color: var(--jnm-ds-cream);
  color: var(--jnm-ds-dark);
  padding: 16px 36px;
  border-radius: 100px;
  font-family: var(--jnm-ds-font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  /* Initial state for GSAP Reveal */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  /* Hover effects handled by GSAP or pure CSS transition */
  transition: background-color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.jnm-ds-floating-btn:hover {
  background-color: #fff;
  transform: translateY(-5px) !important; /* Forces hover over gsap Y set */
}

@media (max-width: 1024px) {
  .jnm-ds-grid-2 { grid-template-columns: 1fr; gap: 8vw; }
  .jnm-ds-form-grid { grid-template-columns: 1fr; gap: 4vw; }
  .jnm-ds-hscroll-wrapper { padding-left: 5vw; gap: 10vw;}
  .jnm-ds-hscroll-slide { width: 85vw; }
}

@media (max-width: 768px) {
  .jnm-ds-nav-links { display: none; }
  .jnm-ds-cursor { display: none; }
  .jnm-ds-body { cursor: auto; }
  
  /* Collapse Grids */
  .jnm-ds-grid-3 { grid-template-columns: 1fr; gap: 8vw; }
  
  /* Timeline Implementation */
  .jnm-ds-mobile-timeline {
    display: block;
    position: absolute;
    left: 8vw; 
    top: 50vw; /* Start below the intro text */
    bottom: 0; /* Stretch to bottom */
    width: 2px;
    background-color: rgba(10,10,11,0.1); /* Faded track */
    z-index: 0;
  }
  .jnm-ds-mobile-timeline-fill {
    width: 100%;
    height: 0%; /* JS controlled */
    background-color: var(--jnm-ds-cream); /* Accent color */
  }

  /* Undo Horizontal Scroll for Mobile UX - Vertical Timeline Mode */
  .jnm-ds-process-hscroll { height: auto !important; overflow: visible; }
  .jnm-ds-hscroll-sticky { position: relative; height: auto !important; display: block; overflow: visible; }
  .jnm-ds-hscroll-wrapper { flex-direction: column; position: relative; padding: 10vw 5vw 10vw 18vw; gap: 10vw; height: auto !important; overflow: visible; }
  
  .jnm-ds-slide-intro { position: relative; padding-bottom: 5vw; margin-bottom: 5vw; left: -10vw; width: 85vw; }
  
  .jnm-ds-hscroll-slide:not(.jnm-ds-slide-intro) { 
      width: 100%; 
      display: block; 
      position: relative; /* Standard flow */
      margin-bottom: 0; 
  }
  
  /* Typography Scale Down */
  .jnm-ds-split-huge { font-size: clamp(2.5rem, 10vw, 4rem); }
  .jnm-ds-split-large { font-size: clamp(2rem, 8vw, 3.5rem); }
  
  .jnm-ds-step-card { 
      height: auto; 
      padding: 6vw; 
      background-color: transparent; 
      border: 1px solid rgba(10, 10, 11, 0.15); 
      border-radius: 12px;
      position: relative;
      background: #FAFAFA;
      box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  }
  
  /* Animated Pulse Dot on the Timeline */
  .jnm-ds-step-num { 
      font-size: 1rem; 
      position: absolute;
      left: -13.5vw; 
      top: 40px;
      width: 30px; height: 30px;
      background-color: var(--jnm-ds-dark);
      border: 2px solid var(--jnm-ds-cream);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin: 0; padding: 0; opacity: 1; font-family: var(--jnm-ds-font-sans); color: var(--jnm-ds-cream); font-weight: 700;
  }
  .jnm-ds-step-card h3 { font-size: 1.8rem; margin-top: 5px; }
  
  .jnm-ds-btn-primary, .jnm-ds-btn-text {
    width: 100%; text-align: center; justify-content: center; padding: 20px; box-sizing: border-box; display: flex;
  }
  .jnm-ds-hero-btns { display: flex; flex-direction: column; gap: 15px; }
  
  .jnm-ds-trust-row { grid-template-columns: 60px 1fr; padding: 6vw 0; }
  .jnm-ds-trust-row h3 { font-size: clamp(1.5rem, 6vw, 2.5rem); }
}
