/*
 * style.css
 * Contains styles from original global.css and index.html's <style id="sections-styles">.
 */

/* ===============================
   GLOBAL CSS (From global.css)
   =============================== */
:root {
    --color-background: #040514;
    --color-background-secondary: #0e0f1f;
    --color-text-primary: #ffffff;
    --color-text-secondary: #9597ad;
    --color-border: #1e1e30;
    --color-accent-blue: #118ec7;
    --color-accent-orange: #e67203;
    --color-accent-green: #19d27e;
    --font-primary: 'Manrope', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
  }

  body {
    background-color: var(--color-background);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  * {
    box-sizing: border-box;
  }

  .page-container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    overflow: hidden;
  }

  section {
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  h1, h2, h3, h4, h5, h6, p {
    margin: 0;
  }

  .background-blur {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    opacity: 0.7;
  }

  .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-gradient {
    background: linear-gradient(134deg, #307cff 0%, #ff6c23 143%);
    color: var(--color-text-primary);
  }

  .btn-white {
    background-color: var(--color-text-primary);
    color: var(--color-background);
    font-size: 14px;
    font-weight: 600;
    border-radius: 84px;
    padding: 10px;
  }



/* ===============================
   SECTION-SPECIFIC CSS (From index.html <style>)
   =============================== */

/* ADDED GLOBAL FIX: Prevent horizontal scrolling due to wide elements */
body, html {
    overflow-x: hidden;
    width: 100%; /* Ensure body doesn't stretch beyond viewport */
}

/* ADDED: Smooth scrolling effect for the entire page */
html {
    scroll-behavior: smooth;
}

/* CSS for section section:Header */
.site-header-wrapper {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  /* FIX 2.1: Removed padding here, let .site-header handle centering */
  padding: 0; 
  transition: transform 0.35s ease;
}

/* ✅ Shared Gradient */
.btn-gradient,
.hero-content .btn,
.how-it-works-section .btn,
.calendar-widget button,
.cta-section .btn,
.site-footer .btn {
  background: linear-gradient(
    92.1deg,
    #307CFF 0%,
    #E16E43 87.25%,
    #FF6C23 102.14%
  ) !important;
  border: none !important;
  color: #fff !important;
}

.site-header-wrapper.hide {
  transform: translateY(-120%);
}
  .site-header {
    max-width: 1218px;
    margin: 0 auto;
    background-color: rgba(6, 6, 23, 0.82);
    backdrop-filter: blur(10px);
    border-radius: 70px;
    padding: 21px 24px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
    box-sizing: border-box;
  }
  .site-header {
    max-width: 1218px;
    margin: 0 auto;
    background-color: rgba(6, 6, 23, 0.82);
    backdrop-filter: blur(10px);
    border-radius: 70px;
    padding: 21px 24px; 
    height: 68px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .site-header-wrapper {
    position: fixed; /* Changed back to fixed for proper sticking */
    top: 16px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 20px; /* Keep outer padding for fixed element on desktop */
    margin-bottom: 0; /* No negative margin needed with fixed positioning */
  }
/* FIX: Header needs to center with padding inside the wrapper */
.site-header {
    max-width: 1300px; /* Use full container width */
    margin: 0 auto;
    background-color: rgba(6, 6, 23, 0.82);
    backdrop-filter: blur(10px);
    border-radius: 70px;
    padding: 15px 24px;
    height: 68px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


  .header-actions {
      display: flex;
      align-items: center;
      gap: 24px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .logo-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
  }
    .logo-imgs {
    width: 38px;
    height: 38px;

  }
  .logo-text {
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.32px;
    line-height: 24px;
  }
  .main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .main-nav a {
    color: #9597ad;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    transition: color 0.3s ease;
    line-height: 16px;
    letter-spacing: 0.14px;
  }
  .main-nav a:hover {
    color: #ffffff;
  }
  .header-cta {
    padding: 10px 10px;
    width: 120px;
    text-align: center;
    height: 36px;
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
  }

  /* FIX: Hide mobile menu icon by default (Desktop view) */
  .mobile-menu-icon {
    display: none;
  }

/* CSS for section section:Hero */
.hero-section {
    padding-top: 200px;
    padding-bottom: 60px;
    text-align: center;
    overflow: visible;
    position: relative;
  }
  .hero-content {
    max-width: 836px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 68px;
    letter-spacing: -0.56px;
  }
  .hero-content p {
    max-width: 580px;
    font-size: 16px;
    line-height: 26px;
    color: var(--color-text-secondary);
  }
  .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
  }
  /* NEW CSS for star background image */
  .star-twinkle-background { display: none; }

  .hero-tech-card {
      width: 270px;
      height: 314px;
      flex-shrink: 0;
      border-radius: 16px;
      background: rgba(9, 11, 32, 0.55); 
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      margin-top: 32px;
      padding: 24px; 
      display: flex;
      flex-direction: column;
      gap: 20px;
  }
  .hero-tech-card h4 {
      font-size: 18px;
      font-weight: 700;
      text-align: center;
      margin: 0;
      padding-bottom: 16px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .hero-tech-icons {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 16px;
  }
  .hero-tech-icon-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 65px;
      text-align: center;
  }
  .hero-tech-icon-item img {
      width: 40px;
      height: 40px;
      margin-bottom: 4px;
  }
  .hero-tech-icon-item span {
      font-size: 12px;
  }
  .hero-tech-sub-card {
      background: #17193B; 
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
  }
  .hero-tech-sub-card h5 {
      font-size: 16px;
      font-weight: 700;
      text-align: center;
      margin-bottom: 8px;
  }


/* CSS for section section:TechPillars */
.tech-pillars-section {
    padding-top: 40px;
    padding-bottom: 80px;
  
  }
  /* ===============================
   ✅ BENEFITS BAR (merged + updated)
   =============================== */

.benefits-bar-wrapper {
  max-width: 1440px;         /* from Vector size */
  margin: 0 auto;
  padding: 0;
  margin-top: 100px;

}

/* Horizontal line TOP (Vector 14) */
.benefits-divider-top {
  width: 100%;
  height: 1px;
  background: #171725;       /* matches divider color */
  margin-bottom: 24px;       /* from figma gap */
}

/* Benefits container */
.benefits-bar {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 72px;
  flex-wrap: nowrap;
  max-width: 1105px;
  margin: 0 auto;
  padding: 0;
}

/* Single benefit group */
.benefit-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  max-width: 304px;
  position: relative;
}

/* Vertical separator */
.benefit-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -36px;
  top: 2px;
  width: 1px;
  height: 40px;
  background: #171725;
  opacity: 1;
}

/* ICON */
.benefit-item img,
.benefit-item svg {
  width: 24px;
  height: 24px;
  stroke: #E67203;     
}

/* TEXT */
.benefit-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #FFFFFF;
  line-height: 16px;
}

.benefit-item p {
  font-size: 14px;
  font-weight: 400;
  color: #9598AE;
  line-height: 20px;
  letter-spacing: 0.14px;
  margin: 0;
}

/* Horizontal line BOTTOM (Vector 15) */
.benefits-divider-bottom {
  width: 100%;
  height: 1px;
  background: #171725;
  margin-top: 24px;
}


  .tech-grid-container { display: none; }
  .diagram-container {
      position: relative;
      width: 1280px;
      height: 353px;
      margin: 0 auto;
      margin-top: 32px;
      max-width: 100%;
  }

  .tech-card {
      position: absolute;
      width: 270px;
      height: 160px;
      background: rgba(9, 11, 32, 0.55); 
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 16px;
  }

  .card-title {
      position: absolute;
      height: 24px;
      top: 24px;
      font-family: var(--font-primary);
      font-weight: 700;
      font-size: 18px;
      line-height: 24px;
      text-align: center;
      color: var(--color-text-primary);
      left: 0;
      right: 0;
      margin-left: auto;
      margin-right: auto;
  }

  .icon-box {
      box-sizing: border-box;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 8px 10px;
      width: 40px;
      height: 40px;
      background: #17193B;
      border: 1px solid #282B4D;
      border-radius: 8px;
  }

  .icon-img {
      width: 24px;
      height: 24px;
      object-fit: contain;
  }

  .tech-icon-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      text-align: center;
  }

  .tech-icon-item span {
      font-family: var(--font-primary);
      font-weight: 500;
      font-size: 12px;
      line-height: 16px;
      letter-spacing: 0.14px;
      color: var(--color-text-primary);
  }

  .tech-sub-card {
     padding: 20px 16px;
      position: absolute;
      background: #17193B; 
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
  }

  .tech-tags {
      position: absolute;
      box-sizing: border-box;
      display: flex;
      justify-content: center;
      align-items: center;
      background: #17193B;
      backdrop-filter: blur(5px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 7px;
      font-family: var(--font-primary);
      font-weight: 500;
      font-size: 14px;
      line-height: 16px;
      letter-spacing: 0.14px;
      color: var(--color-text-primary);
      text-align: center;
      padding: 0 8px;
  }

.arrow-line {
    position: absolute;
    height: 0px; /* Keep height 0 if you want border only */
    width: 100px; /* Example width */
    border-top: 2px solid transparent; /* Transparent border to hold the image */
    border-image: linear-gradient(to right, #000000, var(--color-accent-blue)) 1; /* Apply gradient to border-image */
}

.arrow-line.vertical {
    width: 0px; /* Keep width 0 for vertical border only */
    height: 100px; /* Example height */
    border-top: none; /* Remove top border */
    border-left: 2px solid transparent; /* Transparent left border */
    border-image: linear-gradient(to bottom, #000000, var(--color-accent-blue)) 1; /* Apply gradient to border-image */
}
  /* MOBILE ARROW CONNECTOR - Hidden by default for desktop */
  .mobile-arrow-connector {
    display: none; 
  }
  
/* Ray Animation Styles from Infrafox/summa2.html */
.rays-container {
    position: absolute; 
    width: 273.17px;
    height: 268.07px;
    top: 81%; 
    left: 36%;
    transform: translate(-50%, -50%);
    z-index: -1;
}
/* Ray 1 */
.ray1 {
    position: absolute;
    width: 270.17px;
    height: 265.07px;
     left: calc(50% - 192.9px/2 - 96.55px);
    margin-left: 19px;
    margin-top: 40px;
    bottom: 7476.7px;
    filter: blur(20px);
    /* Repositioned to center over the first (CI/CD Pipelines) tech card */
    transform: rotate(33.95deg) translate(-505px, -20px);
    background: radial-gradient(141.42% 141.42% at 0% 100%, #FDC6B0 10%, #16BFFC 20%, lch(49.99% 101.47 309.49 / 0) 60%);
    border-radius: 21px;
}

/* Ray 2 */
.ray2 {
    position: absolute;
    width: 192.9px;
    height: 189.3px;
    /* Original positioning kept, centered on diagram container */
    left: calc(50% - 192.9px/2 - 96.55px);
    margin-left: -40px;
    margin-top: -200px;
    bottom: 7476.7px;
    background: radial-gradient(141.42% 141.42% at 0% 100%, #FDC6B0 10%, #16BFFC 20%, rgba(145, 76, 255, 0) 60%);
    filter: blur(45px);
    border-radius: 16px;
    transform: rotate(45deg);
}

/* Ray 3 */
.ray3 {
    position: absolute;
    width: 140.17px;
    height: 140.07px;
    /* Original positioning kept, centered on diagram container */
    margin-left: 285px;
     margin-top: -305px;
    left: calc(50% - 273.17px/2 - 497.41px);
    bottom: 7467.93px;
    background: radial-gradient(141.42% 141.42% at 0% 100%, #FDC6B0 10%, #16BFFC 20%, rgba(145, 76, 255, 0) 60%);
    border-radius: 21px;
    filter: blur(15px);
    transform: rotate(-45deg);
}

/* Ray 4 */
.ray4 {
    position: absolute;
    width: 188.99px;
    /* Original positioning kept, centered on diagram container */
    margin-left: 565px;
    margin-top: -175px;
    height: 185.46px;
    left: calc(50% - 188.99px/2 + 491.49px);
    bottom: 7550.54px;
    background: radial-gradient(141.42% 141.42% at 0% 100%, #FDC6B0 10%, #16BFFC 20%, rgba(145, 76, 255, 0) 60%);
    border-radius: 21px;
    filter: blur(20px);
    transform: rotate(-45deg);
}

/* To make rays rotate around the actual center */
.rays-container > div[class^="ray"] {
    transform-origin: center;
    top: 50%;
    left: 50%;
}

/* CSS for section section:PainPoints */
.pain-points-section { 
    text-align: center;
    position: relative; /* ADDED: To contain the absolute positioned ray */
}

/* ADDED RAY 5 STYLE, based on scaling up ray3 style for PainPoints section background */
.ray5 {
    position: absolute;
    width: 450.49px; 
    height: 450.23px;
    top: 54%; 
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg); 
    background: radial-gradient(
      141.42% 141.42% at 0% 100%,
      #B0F9FD 12.5%,
      #31A0F6 20%,
      rgba(76, 94, 255, 0.226) 62.5%
    );
    border-radius: 0px; 
    filter: blur(50px);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}


.section-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 48px;
    margin-bottom: 56px;
  }
  .pain-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .pain-point-card {
    border: 1px solid #36374a;
    background-color: rgba(6, 8, 30, 0.55);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
  

  }
  .problem-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .problem-card img {
    width: 32px;
    height: 32px;
  }
  .problem-card h3 {
    font-size: 18px;
    font-weight: 700;
  }
  .problem-card p {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text-secondary);
  }
  .solution-card {
    background-color: #141520;
    border-radius: 12px;
    padding: 16px;
  }
  .solution-card h4 {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #26b0ef;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .solution-card h4 img {
    width: 16px;
    height: 16px;
  }
  .solution-card p {
    font-size: 16px;
    line-height: 20px;
  }
 

/* CSS for section section:Foundations */

 

  .foundations-header {
    text-align: center;
    max-width: 540px;
    margin: 0 auto 56px;
  }
  .foundations-header h2 {
    font-size: 40px;
    line-height: 48px;
    font-weight: 800;
    margin-bottom: 16px;
  }
  .foundations-header p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-secondary);
  }
  .foundations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 100px;
  }
  .foundations-grid {
  position: relative; /* needed for absolute child positioning */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 100px; /* already in your code — keep this */
}

/* vertical center divider */
.foundation-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-color: #171725;
  transform: translateX(-50%);
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
}



  .foundation-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .foundation-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .foundation-text > p {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
  }
  .foundation-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .foundation-text li {
    font-size: 16px;
    line-height: 20px;
  }
  .foundation-visual {
    background-color: #141520;
    border: 1px solid #27293c;
    border-radius: 8px;
    padding: 24px;
  }

  .foundation-visual.visual-services,
  .foundation-visual.visual-chart,
  .foundation-visual.visual-aiops, 
  .foundation-visual.visual-networking { 
      height: 310px; 
      display: flex;
      flex-direction: column;
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
  }
  
    .foundation-visual.visual-github,
  .foundation-visual.visual-terraform { 
      height: 250px; 
      display: flex;
      flex-direction: column;
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
  }
  
  
  
  
  
  
  
  
  /* FIX: Prevent overflow for GitHub visual on mobile */
  .foundation-visual.visual-github { overflow: hidden; }
/* Terraform Statistics Layout - Grid Alignment */
.visual-terraform .stat-item ul {
    display: grid;
    grid-template-columns: 1fr auto; 
    row-gap: 12px; 
}


.visual-terraform .stat-item ul li:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}


.visual-terraform .stat-item ul li:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}



.visual-terraform .stat-item ul li:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
    

    margin-top: -65px;  
}
  .visual-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap; /* FIX: allow wrapping on small screens */
  }
  .visual-header img {
    width: 32px;
    height: 32px;
  }
  .visual-header h4 {
    font-size: 16px;
    font-weight: 700;
  }
  .visual-header p {
    font-size: 14px;
    color: var(--color-text-secondary);
  }
  .visual-header button {
    margin-left: auto;
    background-color: #109057;
    border: 1px solid #40c68a;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
  }
  .visual-header .details-link {
    margin-left: auto;
    color: #26b0ef;
    font-size: 14px;
    white-space: nowrap;
  }
  
  .visual-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 15px;
    width: 100%; /* FIX: ensure body fits container */
    box-sizing: border-box;
  }
  .check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* FIX: prevent horizontal overflow */
  }
  .check-item img {
    width: 32px;
    height: 32px;
  }
  .check-item h5 {
    font-size: 14px;
    font-weight: 600;
  }
  .check-item p {
    font-size: 13px;
    color: var(--color-text-secondary);
  }
  .check-item a {
    margin-left: auto;
    color: #26b0ef;
    font-size: 13px;
  }
  .visual-terraform .stat-item h5 {
    color: var(--color-text-secondary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
  }
  .visual-terraform .stat-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .visual-terraform .stat-item ul li {
    font-size: 14px;
  }
  .visual-services h4, .visual-chart h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
  }

  .visual-chart .chart-container {
  display: flex;
  justify-content: center;
  align-items: flex-end; /* push image towards bottom */
  height: 100%;
  padding-top: 20px;    /* add top gap */
  padding-bottom: -10px; /* optional for balance */
  box-sizing: border-box;
}

.visual-chart .chart-container img {
  max-width: 100%;
  height: auto;
}
  .visual-services .filters {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap; /* FIX: wrap filters */
  }
  .visual-services .filters input, .visual-services .filters select {
    background-color: #1f2130;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    color: #838498;
    font-family: var(--font-primary);
  }
  .visual-services input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    position: relative;
    outline: none;
    transition: all 0.2s ease;
    vertical-align: middle;
}

/* When checkbox is checked */
.visual-services input[type="checkbox"]:checked {
    background: transparent;
    border-color: #26b0ef; /* light blue accent */
}

.visual-services input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid #26b0ef;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Align “Service name” text with “UserAPI” below */
.visual-services .table-header span:first-child,
.visual-services .table-row span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;            /* space between checkbox and text */
    padding-left: 4px;   /* adjust if slightly misaligned */
}

/* Align entire row content vertically */
.visual-services .table-header span,
.visual-services .table-row span,
.visual-services .table-row .progress-bar {
    display: flex;
    align-items: center;
}

/* Fix width alignment for columns */
.visual-services .table-header,
.visual-services .table-row {
    display: grid;
    grid-template-columns: 2.2fr 0.8fr 2fr; /* same as existing */
    align-items: center;
}
  .service-table {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .table-header, .table-row {
    display: grid;
    grid-template-columns: 2.2fr 0.8fr 2fr;
    align-items: center;
    font-size: 13px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(106, 109, 133, 0.1);
  }
  .table-header {
    color: #6a6d85;
    font-weight: 400;
    padding-top: 0;
  }
  .table-row span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .status-active { color: #19d27e; }
  .status-error { color: #f3393d; }
  .progress-bar {
    background-color: #3b3c51;
    border-radius: 2px;
    height: 8px;
    width: 100%;
  }
  .progress-bar div {
    background-color: #118ec7;
    height: 100%;
    border-radius: 2px;
  }
  .progress-bar.progress-error div {
    background-color: #19d27e;
  }

/* New CSS for AIOps visual */
.visual-aiops {
    height: 301px; 
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 32px; 
}
.visual-aiops .visual-header { margin-bottom: 0; }
.aiops-chart-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    position: relative;
    padding: 0 40px; 
}
.aiops-chart-container::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 64px;
    border-left: 1.5px solid #3B3C51;
    opacity: 0.5;
}
.aiops-chart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px; 
    width: 140px;
    text-align: center;
}
.aiops-chart-item p {
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.14px;
    color: var(--color-text-primary);
    margin: 0;
}
.aiops-chart-item .data-plot {
    position: relative;
    width: 139px;
    height: 139px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.aiops-chart-item .data-plot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.aiops-chart-item .chart-text {
    position: relative;
    z-index: 2;
    font-family: 'Manrope';
    font-weight: 800;
    font-size: 24px;
    line-height: 32px;
    color: #FFFFFF;
}

/* New CSS for Advanced Networking visual */
.visual-networking {
    height: 301px;
    display: flex;
    flex-direction: column;
    padding: 24px;
}
.visual-networking .networking-header {
    margin-bottom: 24px;
}
.visual-networking .networking-header h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    margin-bottom: 4px;
}
.visual-networking .networking-header p {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text-secondary);
}
.visual-networking .networking-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap; /* FIX: allow wrapping */
}
.visual-networking .stat-item-networking {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 120px;
  }
.visual-networking .stat-item-networking .stat-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
    color: var(--color-text-secondary);
}
.visual-networking .stat-item-networking .blue-dot::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 2px;
    margin-right: 8px;
}
.visual-networking .stat-item-networking.allowed .blue-dot::before {
    background: #26B0EF;
}
.visual-networking .stat-item-networking.blocked .blue-dot::before {
    background: #FF6C23;
}
.visual-networking .stat-item-networking .stat-value {
    font-size: 18px;
    font-weight: 700;
    line-height: 23px;
    color: #FFFFFF;
    gap: 30px;
    padding-inline: 15px;
}
.visual-networking .networking-chart {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.visual-networking .chart-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.visual-networking .chart-row .date {
    font-size: 13px;
    line-height: 16px;
    color: var(--color-text-secondary);
    opacity: 0.6;
    flex-shrink: 0;
    width: 40px;
    text-align: right;
}
.visual-networking .chart-row .bar-container {
    display: flex;
    height: 12px;
    width: 100%;
    background: #3B3C51;
    border-radius: 2px;
    overflow: hidden;
}
.visual-networking .chart-row .bar {
    height: 100%;
    flex-shrink: 0;
}
.visual-networking .chart-row .blue-bar {
    background: #26B0EF;
}
.visual-networking .chart-row .green-bar {
    background: #19D27E;
}
.visual-networking .chart-row .blocked-bar {
    background: #FF6C23;
}
/* alert_fatigue.png */
.problem-card img[src*="alert_fatigue"] {
 width: 40px;
height: 40px;
aspect-ratio: 1/1;
}

/* brittle_networking.png */
.problem-card img[src*="brittle_networking"] {
  width: 61.916px;
height: 55.036px;
}

/* error.png */
.problem-card img[src*="error"] {
  width: 58.335px;
height: 48px;
}

/* loglate_security.png */
.problem-card img[src*="loglate_security"] {
 width: 48.734px;
height: 52px;
flex-shrink: 0;
}

/* ML_models_fail.png */
.problem-card img[src*="ML_models_fail"] {
  width: 55.426px;
height: 48px;
}

/* surging_cloud.png */
.problem-card img[src*="surging_cloud"] {
width: 72.224px;
height: 35.018px;
}



/* CSS for section section:HowItWorks */
.how-it-works-section {
    background-color: var(--color-background-secondary);
  }
  .how-it-works-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 56px;
    margin-top: 80px;
  }
  .how-it-works-header h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 48px;
    flex: 1;
    margin-top: -70px;
  }
  .how-it-works-header p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-secondary);
    flex: 1;
    max-width: 499px;
  }
  .how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 56px;
  }
  .step-card {
    border: 1px solid #36374a;
    border-radius: 16px;
    padding: 56px 24px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .step-number {
    position: absolute;
    top: 13px;
    left: 24px;
    width: 32px;
    height: 32px;
    background-image: url('images/292_706.svg');
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-background);
    font-size: 20px;
    font-weight: 700;
  }
  .step-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: -8px;
  }
  .step-card > p {
    font-size: 14px;
    line-height: 22px;
    color: var(--color-text-secondary);
  }
  .step-features {
    margin-top: 16px;
  }
  .step-features h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
  }
  .step-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .step-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
  }
  .step-features li img {
    width: 16px;
    height: 16px;
  }
  .how-it-works-cta {
    text-align: center;
  }
  

/* CSS for section section:Tools */
.tools-section { 
    text-align: center; 
    position: relative; /* ADDED: To contain absolute background elements */
}

/* ADDED BACKGROUND ELEMENTS FOR TOOLS SECTION */
.tools-star-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/ef98270c3b87046335966a6f54d439820a7e28f7.png');
    background-size: cover;
    mix-blend-mode: color-dodge; 
    opacity: 0.15; 
    z-index: -2; 
    pointer-events: none;
}

.ray6 {
    position: absolute;
    width: 620.49px;  
    height: 564.23px;
    top: 55%; 
    left: 83%;
    transform: translate(-50%, -50%) rotate(180deg); 
    background: radial-gradient(
      141.42% 141.42% at 0% 100%,
      #B0F9FD 12.5%,
      #31A0F6 20%,
      rgba(76, 94, 255, 0.226) 62.5%
    );
    border-radius: 21px; 
    filter: blur(50px);
    opacity: 1;
    z-index: -1;
    pointer-events: none;
}

.tools-header {
    max-width: 550px;
    margin: 0 auto 56px;
  }
  .tools-header h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 48px;
    margin-bottom: 16px;
  }
  .tools-header p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-secondary);
  }
  .tools-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
  .tool-category-card {
    border: 1px solid #36374a;
    background-color: rgba(7, 9, 33, 0.55);
    border-radius: 16px;
    padding: 24px;
    flex-basis: calc(50% - 12px);
    max-width: 1300px;
  }
  .tool-category-card:nth-child(3),
  .tool-category-card:nth-child(4),
  .tool-category-card:nth-child(5) {
    flex-basis: calc(33.333% - 16px);
  }
  .tool-category-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
  }
  .tool-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .tool-tags span {
    background-color: #1f2130;
    border: 1px solid #2b2e40;
    border-radius: 7px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
  }
  .tool-tags img {
    width: 20px;
    height: 20px;
  }


  /* ✅ Make only top section text left aligned */
.pricing-card .pricing-header h3,
.pricing-card .price,
.pricing-card .pricing-header p {
  text-align: left !important;
}


/* CSS for section section:Pricing */
.pricing-section { text-align: center; }
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }
.pricing-card {
  position: relative;
  width: 470px;
  height: 440px;
  background: rgba(20, 21, 32, 0.2);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 1px solid #f5f5f573;;
 
  border-radius: 22px;
  padding: 32px;
  backdrop-filter: blur(10px);
}
  .pricing-header { margin-bottom: 24px; }
  .pricing-header h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
  }
.pricing-card.enterprise .pricing-header h3 {
    font-feature-settings: 'liga' off;
    font-family: Manrope;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 133.333% */
    letter-spacing: 0.14px;

    background: linear-gradient(83deg, #FFB4A7 7.52%, #9891F4 17.72%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
  .price {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
  }
  .pricing-header p {
    font-size: 14px;
    line-height: 22px;
    color: var(--color-text-secondary);
  }
  .divider {
    text-align: center;
    color: var(--color-text-secondary);
    opacity: 0.8;
    margin: 24px 0;
    position: relative;
    font-size: 18px;
  }
  .divider::before, .divider::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 1px;
    width: calc(50% - 30px);
    background: var(--color-text-secondary); 
    opacity: 0.4;
    transform: translateY(-50%);
  }
  .divider::before { left: 0; }
  .divider::after { right: 0; }
  .pricing-features h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
  }
  .pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .pricing-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
  }
  .pricing-features li img {
    width: 16px;
    height: 16px;
  }


/* CSS for section section:FAQ */
.faq-section {
    padding-bottom: 120px;
  }
  .faq-header {
    text-align: center;
    max-width: 550px;
    margin: 0 auto 56px;
  }
  .faq-header h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 48px;
    margin-bottom: 16px;
  }
  .faq-header p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-secondary);
  }
  .faq-list {
    max-width: 970px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .faq-item {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px 24px;
    height: 56px;
    transition: height 0.3s ease;
  }
  .faq-item[open] {
      height: 86px; 
      padding-bottom: 20px;
  }
  .faq-list .faq-item:first-child[open] .faq-answer {
      margin-top: 11.51px;
      line-height: 22px;
      font-size: 14px;
  }

  .faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px; 
    height: 16px;
  }
  .faq-item summary::-webkit-details-marker {
    display: none;
  }
  .toggle-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    background-color: var(--color-accent-blue);
    border-radius: 50%; 
    position: relative; 
    display: inline-block; 
    opacity: 1; 
  }
  .toggle-icon::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 8px;
      height: 8px;
      border: solid white;
      border-width: 0 1.5px 1.5px 0;
      transform: translate(-50%, -75%) rotate(-135deg); 
      transition: transform 0.3s ease;
      opacity: 1; 
  }

  .faq-item[open] > summary .toggle-icon {
    transform: rotate(180deg);
  }

  .faq-answer {
    margin-top: 16px;
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 22px;
  }

/* CSS for section section:Testimonial */
.testimonial-section { padding-top: 0; }
.testimonial-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 970px;
    margin: 0 auto;
  }
  /* ✅ Force left alignment */
.testimonial-text {
  text-align: left !important;
  padding-left: 0;
  padding-right: 0;
}

.testimonial-text blockquote {
  margin-left: 0;
  padding-left: 0;
  text-align: left;
  font-size: 24px;
   font-weight: 600;   /* ✅ Make bold */
  
  
}

.author-info {
  display: flex;
  flex-direction: row;       /* ✅ make side-by-side */
  align-items: center;       /* ✅ vertical alignment */
  gap: 12px;                 /* spacing between image & text */
}


/* ✅ Title color */
.testimonial-tag {
  color: #e67203 !important;
}


  .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
  }
  .author-name {
    font-size: 14px;
    font-weight: 500;
  }
  .author-title {
    font-size: 13px;
    color: var(--color-text-secondary);
  }
  .testimonial-image {
    width: 394px;
    height: 288px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #26aef1 0%, #117ceb 142.65%);
    padding: 12px;
    flex-shrink: 0;
  }
  .testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }


/* CSS for section section:CTA */
.cta-section {
    background-color: #141520;
    border-radius: 16px;
    margin: 80px auto;     /* center align */
    max-width: 1300px;
  }
  .cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1170px;
    margin: 0 auto;
  }
  .cta-text { max-width: 599px; }
  .cta-text h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 44px;
    margin-bottom: 16px;
  }
  .cta-text p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-secondary);
  }
  .cta-calendar-wrapper { position: relative; }
  .calendar-widget {
    background-color: #1f2130;
    border: 1.2px solid #2b2e40;
    border-radius: 10px;
    padding: 29px;
    width: 371px;
  }
  .calendar-header {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 26px;
  }
  .calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14.5px;
    color: var(--color-text-secondary);
    text-align: center;
  }
  .calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
  }
  .date {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
  }
  .date.active {
    background-color: var(--color-accent-blue);
    border-radius: 50%;
  }
  .calendar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(20, 21, 32, 0) 0%, rgba(20, 21, 32, 0.4) 18.64%, rgba(20, 21, 32, 0.8) 39.97%, #141520 69.44%);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  

/* CSS for section section:Footer */
.site-footer {
    background-color: var(--color-background);
    padding: 80px 0;
    position: relative;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    max-width: 1170px;
    margin: 0 auto;
  }
  .footer-col h4 {
    color: #556386;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .footer-col ul a, .footer-col ul li {
    color: #edf4fe;
    font-size: 14px;
    line-height: 36px;
  }
  .footer-brand .logo { margin-bottom: 16px; }
  .footer-brand p {
    font-size: 16px;
    line-height: 35px;
    color: #f1f9fe;
    max-width: 363px;
  }
  .footer-cta {
    margin-top: 24px;
    width: 145px;
  }


  .logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-subtext {
  font-size: 11px;
  font-weight: 400;
  color: #9597ad;
  letter-spacing: 0.2px;
  margin-top: 2px;
  font-style: italic;   /* ✅ Added */
}

  
/* ADDED: To ensure all content is centered with a consistent max-width and margin on desktop */
.page-container {
  max-width: 1300px; 
  margin: 0 auto;       /* Center horizontally */
  padding: 0 20px;   
}

.site-header {
  max-width: 1300px; 
  margin: 0 auto;       /* Center header */
}

.hero-content {
  max-width: 836px;
  margin: 0 auto;       /* Center hero content */
}

.footer-grid {
  max-width: 1300px; 
  margin: 0 auto;       /* Center footer */
}
.tech-pillars-section{
    max-width: 1300px; 
  margin: 0 auto;    
}


.hero-stars-image { /* New class for direct image element */
  position: absolute;
  width: 1800px; /* Increased size for coverage */
  height: 560.49px; /* Increased size for coverage */
  top: -200px; /* Adjusted position higher up for header coverage */
  left: 50%;
  right: auto; /* Allow right/bottom access */
  bottom: auto;
  transform: translateX(-50%); /* Center horizontally */
  object-fit: cover; /* Use cover to ensure space is filled */
  opacity: 1; /* Retained high opacity for visibility */
  z-index: -2;
  pointer-events: none;
}

.tools-stars-image {
  position: absolute;
  width: 1800px;       /* Increased size for coverage */
  height: 762.49px; 
  top: 40px;         /* Move up to cover top area */
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translateX(-50%);
  object-fit: cover;
  opacity: 1;
  z-index: -2;         /* Behind cards */
  pointer-events: none;
}
.calendly-container {
  width: 100%;
  text-align: center;   /* ✅ center the button */
}

.calendly-container iframe {
  width: 100%;
  height: 450px;  
  border: none;
  border-radius: 10px;
}

.calendly-btn-bottom {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  background: linear-gradient(
    92.1deg,
    #307CFF 0%,
    #E16E43 87.25%,
    #FF6C23 102.14%
  );
  color: #fff;
  transition: 0.25s ease;
}

.calendly-btn-bottom:hover {
  transform: scale(1.02);
  opacity: 0.95;
}

.site-footer {
  position: relative;
  z-index: 1;
}

.footer-stars-image {
  position: absolute;
  width: 500px;
  height: 300px;
  object-fit: cover;
  opacity: 1;
  z-index: -1;
  pointer-events: none;

  top: 50px;
  bottom: 50px;
  left: 50px;
  right: 50px;
  transform: none;
}

/* LEFT IMAGE override */
.footer-left {
  left: 0px !important;
  right: auto !important;
  top: auto !important;
  bottom: 0px !important;
}

/* RIGHT IMAGE override */
.footer-right {
  right: 0px !important;
  left: auto !important;
  top: auto !important;
  bottom: 0px !important;
}

/* ===============================
   MOBILE STYLES - max-width: 768px
   =============================== */
@media (max-width: 768px) {

    /* --- Global Resets --- */
    .page-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .section-title {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 40px;
        text-align: center;
    }

    /* --- Header --- */
    .site-header-wrapper {
        top: 10px;
        padding: 0 16px;
        /* ✅ FIX: Ensure header never hides on mobile view */
        transform: none !important; 
    }
    .site-header-wrapper.hide {
        /* OVERRIDE FOR MOBILE */
        transform: none !important;
    }
    .site-header {
        height: 60px;
        padding: 10px 16px;
        /* === START: Mobile Header Background Removal Fix === */
        background-color: transparent; /* Remove background color */
        backdrop-filter: none;         /* Remove blur effect */
        border: none;                  /* Remove border */
        border-radius: 0;              /* Remove rounded corners */
        /* === END: Mobile Header Background Removal Fix === */
    }
    .logo-text-group {
        display: none; /* Hide subtext for mobile */
    }
    .main-nav {
        display: none; /* Hide main navigation */
    }
    .header-actions {
        gap: 16px;
    }
    .header-cta {
        width: 100px;
        font-size: 13px;
        padding: 8px 10px;
        height: 32px;
    }

    /* --- Hero Section --- */
    .hero-section {
        padding-top: 120px;
        padding-bottom: 40px;
    }
    .hero-content h1 {
        font-size: 36px;
        line-height: 44px;
        letter-spacing: -0.36px;
    }
    .hero-content p {
        font-size: 15px;
        line-height: 24px;
        padding: 0 20px;
        max-width: 100%;
    }
    .hero-content a.btn-gradient {
        width: 100%;
        max-width: 320px;
        padding: 14px 16px;
    }

    /* --- Tech Pillars & Benefits --- */
    .tech-pillars-section {
        padding-top: 40px;
    }
    /* Hide the complex absolute diagram for mobile */
    .diagram-container {
        display: none; 
    }
    .benefits-bar-wrapper {
        margin-top: 40px;
    }
    .benefits-bar {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
        padding: 0 20px;
    }
    .benefit-item {
        max-width: 100%;
    }
    /* Remove vertical separator on mobile */
    .benefit-item:not(:last-child)::after {
        content: none;
    }
    .benefits-divider-top, .benefits-divider-bottom {
        display: none; /* Hide dividers for cleaner look if stacking */
    }


    /* --- Pain Points --- */
    .pain-points-grid {
        grid-template-columns: 1fr; /* Stack cards vertically */
        gap: 20px;
    }
    .pain-point-card {
        padding: 20px;
    }


    /* --- Foundations --- */
    .foundations-header {
        max-width: 100%;
        padding: 0 20px;
    }
    .foundations-grid {
        grid-template-columns: 1fr; /* Stack items vertically */
        gap: 40px;
        padding: 0 20px;
    }
    .foundation-item {
        gap: 16px;
    }
    .foundation-text h3 {
        font-size: 20px;
        text-align: left;
    }
    .foundation-visual {
        padding: 16px;
        min-height: 280px; /* Give visuals a minimum size */
        height: auto;
    }
    
    /* AIOps Visual specific adjustments */
    .aiops-chart-container {
        flex-direction: column;
        gap: 40px;
        padding: 0;
    }
    .aiops-chart-container::after {
        content: none; /* Remove vertical divider */
    }
    .aiops-chart-item {
        width: 100%;
    }
    .aiops-chart-item .data-plot {
        width: 120px;
        height: 120px;
    }
    
    /* Networking Visual adjustments */
    .visual-networking .networking-stats {
        flex-direction: column;
        gap: 12px;
    }
    .visual-networking .stat-item-networking {
        min-width: 100%;
    }
    .visual-networking .chart-row .date {
        width: 60px;
        text-align: left;
    }
    .visual-header button {
        margin-left: 0; /* Align button below content if wrapping */
        width: 100%;
        max-width: 200px;
        margin-top: 8px;
    }
    .visual-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .visual-header h4, .visual-header p, .visual-header .details-link {
        margin-left: 0 !important; /* Override potential desktop auto-margins */
        width: 100%;
        text-align: left;
    }


    /* --- How We Work --- */
    .how-it-works-header {
        flex-direction: column; /* Stack header content */
        margin-bottom: 40px;
        align-items: flex-start;
    }
    .how-it-works-header h2 {
        font-size: 32px;
        line-height: 40px;
        width: 100%;
        flex: auto;
    }
    .how-it-works-header p {
        flex: auto;
        max-width: 100%;
        font-size: 15px;
    }
    .how-it-works-grid {
        grid-template-columns: 1fr; /* Stack cards vertically */
        gap: 20px;
        margin-bottom: 40px;
    }
    .step-card {
        padding: 40px 20px 20px;
        min-height: auto;
    }
    .step-card h4 {
        font-size: 18px;
    }
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 16px;
        top: 16px;
        left: 20px;
    }


    /* --- Tools --- */
    .tools-header {
        margin-bottom: 40px;
    }
    .tools-header h2 {
        font-size: 32px;
        line-height: 40px;
    }
    .tools-grid {
        flex-direction: column; /* Stack tool categories */
        gap: 16px;
    }
    .tool-category-card {
        flex-basis: 100%;
        max-width: 100%;
        width: 100%;
        padding: 20px;
    }
    .tool-category-card:nth-child(3),
    .tool-category-card:nth-child(4),
    .tool-category-card:nth-child(5) {
        flex-basis: 100%;
    }
    .tool-category-card h4 {
        margin-bottom: 16px;
    }
    .tool-tags {
        justify-content: flex-start;
    }
    .tool-tags span {
        font-size: 14px;
        padding: 6px 8px;
    }

    /* --- Pricing --- */
    .pricing-grid {
        flex-direction: column; /* Stack pricing cards */
        gap: 20px;
    }
    .pricing-card {
        width: 100%;
        height: auto;
        padding: 24px;
        margin: 0 auto;
    }

    /* --- FAQ --- */
    .faq-header {
        margin-bottom: 40px;
    }
    .faq-list {
        padding: 0 20px;
    }
    .faq-item {
        height: auto; /* Allow auto height based on content */
        max-height: 60px;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .faq-item[open] {
        max-height: 300px; /* Use a generous max-height for open state */
    }
    .faq-item summary {
        line-height: 24px;
        font-size: 15px;
        height: auto;
    }
    .faq-list .faq-item:first-child[open] .faq-answer {
        margin-top: 16px;
    }
    .faq-answer {
        margin-top: 12px;
    }


    /* --- Testimonial --- */
    .testimonial-section {
        padding-top: 40px;
    }
    .testimonial-content {
        flex-direction: column-reverse; /* Put text above image */
        gap: 30px;
        max-width: 100%;
        padding: 0 20px;
    }
    .testimonial-text {
        width: 100%;
    }
    .testimonial-text blockquote {
        font-size: 20px;
        line-height: 32px;
        text-align: center !important;
    }
    .author-info {
        justify-content: center;
        width: 100%;
        margin-top: 24px;
    }
    .testimonial-image {
        width: 100%;
        height: 200px;
    }

    /* --- CTA --- */
    .cta-section {
        margin: 40px 20px;
        padding: 40px 20px;
    }
    .cta-container {
        flex-direction: column; /* Stack text and calendar */
        gap: 32px;
        text-align: center;
    }
    .cta-text {
        max-width: 100%;
    }
    .cta-text h2 {
        font-size: 28px;
        line-height: 36px;
    }
    .cta-calendar-wrapper {
        width: 100%;
    }
    .calendly-container iframe {
        height: 400px;
    }


    /* --- Footer --- */
    .site-footer {
        padding: 40px 0;
    }
    .footer-grid {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 40px;
        padding: 0 20px;
    }
    .footer-col {
        text-align: left;
    }
    .footer-brand p {
        line-height: 24px;
        max-width: 100%;
    }
    .footer-cta {
        margin-top: 16px;
    }
}


@media (max-width: 768px) {

  /* Hide CTA in mobile */
  .header-cta {
    display: none !important;
  }

  /* ✅ Mobile Menu Icon Styles */
  .mobile-menu-icon {
    display: block !important;
    width: 35px;
    height: 35px;
    position: static; /* Fixed: use static inside flex container to respect flex rules */
    opacity: 1;
    transform: rotate(0deg);
  }

  /* Mobile header background remove */
  .site-header {
    background-color: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
  }
}

@media (min-width:769px) {
  @media (max-width:768px){
  .mobile-menu-icon {
    display: flex !important;
    width: 32px;
    height: 32px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    cursor: pointer;
  }
}

  .header-cta {
    display: inline-flex !important;
  }
}


@media (max-width: 768px) {
    /* [1] Adjust inner content alignment/spacing */
    .site-header {
        /* Set new vertical padding to achieve content top: 27px (10px wrapper top + 17px padding top) */
        padding: 17px 16px; 
        /* The overall height is now 32px content + 34px vertical padding = 66px */
        height: 66px; 
        
        /* The requested 'justify-content: space-between' is already applied globally: */
        /* display: flex; justify-content: space-between; align-items: center; */ 
    }

    /* [2] Adjust logo size to match requested height */
    .logo-img {
        width: 40px; 
        height: 40px;
        /* New: Add transition for smooth hiding/showing */
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    /* [3] Adjust mobile menu icon size and remove conflicting absolute positioning */
    .mobile-menu-icon {
        width: 40px;
        height: 40px;
        /* OVERRIDE: Remove absolute positioning to keep the icon in the flow */
        position: static; 
        left: auto;
    }
    
    /* NEW: Hide logo image on scroll down (mobile) */
    .site-header-wrapper.mobile-hide-logo-active .logo-img {
        opacity: 0;
        transform: scale(0); /* Hide completely with scale for a nice effect */
    }
}

/* ✅ Responsive hero layout */
@media (max-width: 768px) {

  .hero-section {
    padding-top: 110px !important;   /* Visual match */
  }

  .hero-content {
    max-width: 343px;                /* matches Figma */
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;             /* center content */
    gap: 20px;
    text-align: center;
  }

  /* ✅ HERO WRAPPER */
  .hero-content {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  /* ✅ TITLE */
  .hero-content h1 {
    font-family: "Manrope", sans-serif !important;
    font-size: 24px !important;
    line-height: 32px !important;
    font-weight: 800 !important;   /* ExtraBold = 800 */
    max-width: 330px;
    margin: 0 auto;
    letter-spacing: 0;
    text-align: center;
  }

  /* ✅ PARAGRAPH  — BEST READABILITY */
  .hero-content p {
    font-family: "Manrope", sans-serif !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    line-height: 22px !important;
    letter-spacing: 0;
    text-align: center !important;
    color: #9597ad !important;

    max-width: 360px;             /* ✅ Better wrapping than 380px */
    margin: 0 auto;
    padding: 0 8px;               /* ✅ Small breathing space on sides */
  }

  /* ✅ BUTTON (Responsive + Centered) */
  .hero-content .btn-gradient {
    min-width: 230px !important;
    max-width: 260px !important;
    height: 42px !important;

    padding: 14px 18px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin: 4px auto 0;           /* ✅ Spacing before benefits */
  }

  /* ✅ BENEFITS SECTION */
  .benefits-bar {
    width: 100%;
    max-width: 360px;
    margin: 28px auto 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .benefit-item h3 {
    font-size: 14px;
    font-weight: 600;
    text-align: left;
  }

  .benefit-item p {
    font-size: 12px;
    line-height: 18px;
    color: #9597ad;
    text-align: left;
  }
}

/* ✅ MOBILE MENU CONTAINER */
@media (max-width:768px) {

  .mobile-menu {
    position: fixed;
    top: 70px;
    right: 16px;
    width: 230px;
    background: #040514;
    border-radius: 16px;
    padding: 20px 16px;
    display: none;
    flex-direction: column;
    gap: 18px;
    z-index: 9999;
    border: 1px solid rgba(255,255,255,0.1);
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    font-family: "Manrope", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.4px;
    color: #FFFFFF;
  }
}

/* ✅ MOBILE BENEFITS BLOCK FIX */
@media (max-width: 768px) {

  .benefits-bar {
    width: 304px;         /* Figma width */
    margin: 0 auto;       /* Center align */
    margin-top: 32px;     /* Gap under button */
    display: flex;
    flex-direction: column;
    gap: 32px;            /* Figma gap */
  }

  .benefit-item {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }

  .benefit-item h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
  }

  .benefit-item p {
    font-size: 12px;
    line-height: 18px;
    color: #9597AD;
  }
}
.arrow-line {
    /* Change 2px to something larger like 4px */
    border-top: 4px solid transparent; 
}

.arrow-line.vertical {
    /* Change 2px to 4px here as well */
    border-left: 4px solid transparent; 
}
/* Terraform Section Separator Style */
.terraform-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a5c6e; 
    font-size: 16px; 
    margin: 12px 0; 
}

.terraform-separator::before,
.terraform-separator::after {
    content: "";
    flex-grow: 1;      
    height: 1px;        
    background-color: rgba(255, 255, 255, 0.1); 
    margin: 0 12px;    
}
.step-card .step-number {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  
  background: #ffffff;       
  color: #000;               
  
  border-radius: 50%;         
  font-size: 16px;
  font-weight: 700;
  
  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 3;
}

