/* ==========================================================================
   1. GLOBAL STYLES & RESET
   ========================================================================== */

body { 
  margin: 0; 
  font-family: 'Inter', -apple-system, system-ui, sans-serif; 
  color: #565656; 
  line-height: 1.5; 
  background-color: #f8fafc; 
  -webkit-font-smoothing: antialiased;
}

section { 
  padding: 80px 20px; 
}

.container { 
  max-width: 940px; 
  margin: 0 auto; 
}

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */
h1 { 
  font-size: 32px; 
  font-weight: 600; 
  color: #131313; 
  margin: 0 0 20px; 
  line-height: 1.2; 
}

h2 { 
  font-size: 28px; 
  font-weight: 600; 
  color: #131313; 
  margin-bottom: 30px; 
  text-align: center; 
}

a{
  color: #da1a5b;
  text-decoration: none;
}

/* ==========================================================================
   3. REUSABLE COMPONENTS (Buttons, Logos, etc.)
   ========================================================================== */

/* Buttons */
.btn-container { 
  display: flex; 
  justify-content: center; 
  gap: 15px; 
  margin-bottom: 25px; 
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  /* Use standard fonts without forcing "smoothing" modes */
  font-family: sans-serif;
  font-weight: bold;
  color: #1a1a1a;
  /* Remove the antialiasing lines that caused the jagged look */
}

.brand-square {
  width: 20px;
  height: 20px;
  background-color: #E61E6E;
  border-radius: 4px;
  margin-right: 10px;
  flex-shrink: 0;
}

.brand-text {
  font-size: 18px;
  /* Using relative positioning to nudge the text down 2px */
  /* This is often more stable than 'transform' for text rendering */
  position: relative;
  top: 2px;
}

/* ==========================================================================
   4. NAVIGATION
   ========================================================================== */
.top-nav {
  background-color: #ffffff;
  padding: 15px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 940px;
  width: 100%;
  display: flex;
  align-items: center;
}

/* ==========================================================================
   5. PAGE SECTIONS (Hero, FAQ, etc.)
   ========================================================================== */

/* Hero */
.hero-content { text-align: center; margin-bottom: 0px; }
.hero-sub-index { font-size: 18px; color: #565656; margin-bottom: 40px; }
.hero-sub-founder-2 { font-size: 18px; color: #565656; margin-bottom: 40px; }
/* Custom Hero styling for the index page */

.hero-white {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0; /* Consistent with other sections */
}

.hero-sub-founder {
  max-width: 600px; /* Limits the width to force the wrap */
  margin: 0 auto 30px auto; /* Centers the block and adds bottom spacing */
  line-height: 1.5; /* Improves readability on multiple lines */
  font-size: 18px; 
  color: #565656; 
  margin-bottom: 32px;
}

.attribution { font-size: 12px; color: #94a3b8; }

/* Why Exists / Quotes */
.why-exists-white { 
  background-color: #ffffff; 
  border-top: 1px solid #e2e8f0; 
  border-bottom: 1px solid #e2e8f0; 
}

.why-exists-grey { 
  background-color: #f8fafc; 
}


/* Why Exists / Quotes */
.how-it-works { 
  background-color: #ffffff; 
  border-top: 1px solid #e2e8f0; 
  border-bottom: 1px solid #e2e8f0; 
  text-align: center; margin-bottom: 0px;
  margin-bottom: 0;
}


.expert-section { 
  background-color: #f8fafc; 
}


.quote-box { border-left: 1px solid #e2e8f0; padding-left: 30px; margin: 0 auto; max-width: 600px; }
.quote-text { font-style: italic; font-size: 16px; color: #565656; margin-bottom: 20px; line-height: 1.6; }
.author { font-size: 13px; color: #64748b; }
.author span { color: #da1a5b; font-weight: 600; }

/* FAQ */
.faq-white { 
  background-color: #ffffff; 
  border-top: 1px solid #e2e8f0; 
  border-bottom: 1px solid #e2e8f0; 
}

.faq-grey { 
  background-color: #f8fafc; 
  border-top: 0px solid #e2e8f0; 
  border-bottom: 1px solid #e2e8f0; 
}

.faq-grid { max-width: 600px; margin: 0 auto; }
.faq-item { margin-bottom: 40px; }
.faq-q { font-weight: 600; color: #131313; font-size: 14px; margin-bottom: 4px; }
.faq-a { font-size: 14px; color: #565656; }

/* Footer */
.footer-wrapper {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  grid-column-gap: 40px;
  grid-row-gap: 40px;
}

.footer-container {
  display: flex;
  flex-direction: column; /* 👈 This forces the items to stack vertically */
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 20px; /* shorthand for top, bottom, left, right */
  background-color: white;
}

.footer-copyright {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  font-size: 12px;
  display: block;
}

.footer-address{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  font-size: 12px;
  display: block;
  margin-top:3px;

}

.footer-links{
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  margin-left: 16px;
  position: static;
}

.footer-links a{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  font-size: 12px;
  line-height: 24px;
  color: #da1a5b;
  text-decoration: none;
}

.step-grid { 
  display: flex; 
  justify-content: space-between; 
  gap: 32px; 
  margin: 40px auto; 
  text-align: left;
}

.step-item { flex: 1; }
.step-num { color: #da1a5b; font-weight: 700; margin-right: 4px; }
.step-title { color: #131313; font-weight: 600; font-size: 16px; }
.step-text { font-size: 14px; margin-top: 8px; line-height: 1.6; }


/* ==========================================================================
   6. EXPERT BLOCK
   ========================================================================== */


/* Update the card to have more spacious, asymmetrical padding */
/* Update this block in Section 6 of style.css */
.expert-card {
  max-width: 520px;
  margin: 0 auto 24px; /* Added 24px bottom margin for spacing */
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 32px 32px 48px 32px; 
  text-align: left;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* If the card has the 'no-button' class, hide any LinkedIn CTA inside it */
.expert-card.no-button .linkedin-cta {
  display: none;
}

.expert-card.no-button {
  padding-bottom: 18px; /* Reduces the extra bottom space since there is no button */

}


  .expert-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
  }

  .expert-img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 0px solid #da1a5b; /* Brand color accent[cite: 2] */
  }

  .expert-name {
    font-size: 18px;
    font-weight: 700;
    color: #131313;
    margin: 0;
  }

  .expert-title {
    font-size: 12px;
    color: #000000E6;
    margin: 0px 0 0 0;
  }

  .expert-location {
    font-size: 12px;
    color: #64748b;
    margin: 0px 0 0 0;
  }

.example-disclaimer {
  font-size: 12px; /* Slightly smaller for a subtle look */
  color: #64748b;
  max-width: 520px; /* Matches the card width in style.css */
  margin: 40px auto 60px; /* Top margin for air, bottom for footer gap */
  line-height: 1.6;
  text-align: center;
}


 /* Neutralize the margin on the text so it doesn't "leak" */
/* Replace the existing .expert-statement block in style.css */
/* Updated .expert-statement in Section 6 */
.expert-statement {
  font-size: 15px;
  font-weight: 400; /* Normal weight instead of italics */
  color: #374151;
  line-height: 1.6;
  border-left: 3px solid #da1a5b; /* Brand color accent[cite: 2] */
  padding-left: 16px; 
  margin: 24px 0 32px 0; 
}
/* Ensure the button behaves as a block to respect the layout */
.linkedin-cta {
  background-color: #0a66c2;
  color: #ffffff !important;
  display: flex; /* Changed from inline-flex to flex */
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px; /* Slightly taller for a more premium feel */
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  box-sizing: border-box;
}

/* ==========================================================================
   7. MEDIA QUERIES
   ========================================================================== */


@media screen and (max-width: 479px) {
  .footer-container {
    /* Changed from wrap-reverse to column so it stays in HTML order */
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    gap: 6px; /* Gives a neat, tiny spacing between the lines on mobile */
    max-width: 100%;
    display: flex;
  }
}

/* ==========================================================================
   8. VIDEO & TABBED INTERFACE (Shortlist Specific)
   ========================================================================== */

/* Header Box & Salary */
.header-box { margin-bottom: 40px; text-align: left; }
.salary { font-size: 20px; color: #da1a5b; font-weight: 600; margin-bottom: 20px; }

/* Company Info Block */
.company-info { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  margin-top: 20px; 
  padding-top: 20px; 
  border-top: 1px solid #e2e8f0; 
}

/* Buttons */
.btn-container { 
  display: flex; 
  justify-content: center; 
  gap: 15px; 
  margin-bottom: 25px; 
}

.btn { 
  background-color: #da1a5b; 
  color: white; 
  padding: 14px 28px; 
  border-radius: 4px; 
  text-decoration: none; 
  font-weight: 600; 
  font-size: 16px; 
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  /* Use the Inter font you already have loaded */
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #1a1a1a;
  /* Remove any font-smoothing lines if you still have them */
}

.brand-square {
  width: 20px;
  height: 20px;
  background-color: #E61E6E;
  border-radius: 3px;
  margin-right: 10px;
  flex-shrink: 0;
}

.brand-text {
  font-size: 18px;
  line-height: 1;
  /* Using relative positioning is 'safer' for text than transforms */
  /* It keeps the letters sharp while moving them down */
  position: relative;
  top: 0.5px; 
  /* This slight tightening makes Inter look like a custom logo */
  letter-spacing: -0.02em; 
}
/* The Solid Intersection */
.venn-intersection {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 20px;
  background-color: #E61E6E;
  
  /* This is the magic part: It only shows the background where circles overlap */
  -webkit-mask-image: 
    radial-gradient(circle at 10px 10px, black 10px, transparent 10px), 
    radial-gradient(circle at 20px 10px, black 10px, transparent 10px);
  mask-image: 
    radial-gradient(circle at 10px 10px, black 10px, transparent 10px), 
    radial-gradient(circle at 20px 10px, black 10px, transparent 10px);

  /* This tells the browser to 'intersect' the two gradients above */
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.company-name { font-weight: 700; color: #131313; font-size: 16px; }
.company-links { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  font-size: 12px; 
  color: #64748b; 
}
.company-links a { color: #da1a5b; text-decoration: none; display: flex; align-items: center; gap: 4px; }
.li-icon-small { width: 14px; height: 14px; fill: #da1a5b; }

/* Video Player */
.video-container { 
  position: relative; 
  padding-bottom: 56.25%; 
  height: 0; 
  overflow: hidden; 
  border-radius: 12px; 
  background: #000;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.video-container iframe { 
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; 
}

/* Tabs System */
.tabs { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
.tab-menu { display: flex; border-bottom: 1px solid #e2e8f0; background: #fff; }

.tab-link { 
  flex: 1;
  padding: 16px 20px; 
  text-decoration: none; 
  color: #64748b; 
  font-size: 14px; 
  font-weight: 600; 
  cursor: pointer;
  text-align: center;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.tab-link.active { 
  color: #131313 !important; 
  border-bottom: 2px solid #da1a5b !important; 
}

.tab-content { padding: 32px; text-align: left; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Content Blocks within Tabs */
.content-block { margin-bottom: 24px; }
.label-bold { font-weight: 700; color: #131313; display: block; margin-bottom: 4px; }

/* ==========================================================================
   9. MOBILE RESPONSIVENESS (Standardized Gaps & Subhead Fix)
   ========================================================================== */

@media screen and (max-width: 479px) {
  /* 1. Global Section Spacing - standardizes breathing room */
  section { 
    padding: 40px 20px; 
  }

  /* 2. Typography - H1 for Page Title, H2 for all Sections[cite: 12] */
  h1 {
    font-size: 24px; 
    line-height: 1.3;
    margin-bottom: 16px;
    text-align: center;
  }

  h2, .section-title {
    font-size: 20px; 
    margin-top: 0;
    margin-bottom: 24px;
    text-align: center;
  }

  .hero-sub-founder {
    font-size: 15px; /* Reduced from 18px to prevent orphans[cite: 12] */
    line-height: 1.5;
    margin-bottom: 24px;
    text-align: center;
  }

  /* 3. Opportunity Header - Centered & Spaced[cite: 14] */
  .header-box { 
    text-align: center; 
    margin-bottom: 32px; 
  }
  
  .salary { 
    text-align: center; 
    margin-bottom: 16px; 
    font-size: 18px; 
  }

  .company-info {
    flex-direction: column;
    align-items: center;
    gap: 12px; 
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
  }

  .logo-circle { 
    display: none; 
  }

  .company-name {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px; 
  }

  .company-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px; 
    width: 100%;
  }

  .company-links span { 
    display: none; 
  }

  /* 4. CTA Buttons - stacked for better hit area[cite: 12] */
  .btn-container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-container .btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  /* 5. How It Works - vertical stack[cite: 12] */
  .step-grid {
    flex-direction: column;
    gap: 24px;         
    margin-top: 24px;  
    margin-bottom: 0; 
  }

  /* 6. Tabs System - mobile vertical menu[cite: 12] */
  .tab-menu { 
    flex-direction: column; 
  }
  
  .tab-link { 
    width: 100%; 
    box-sizing: border-box; 
    border-bottom: 1px solid #e2e8f0; 
    border-left: 3px solid transparent;
    text-align: left;
    padding: 14px 20px;
  }
  
  .tab-link.active {
    border-bottom: 1px solid #e2e8f0 !important;
    border-left: 3px solid #da1a5b !important;
  }

  
}