/* General Product Page Styles */
.section-padding {
    padding: 80px 0;
}

/* --- Product Hero: LeadFlow (Figma Aligned) --- */
.product-hero-leadflow {
    background-color: #FFFFFF;
    padding: 60px 0; /* Use padding for vertical alignment */
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.product-hero-leadflow .container {
    position: relative;
    z-index: 2;
    margin-left: 0; /* Align container to the left */
    padding-left: 100px; /* Align with logo */
}

.product-hero-leadflow .hero-text-content {
    max-width: 580px;
}

.product-hero-leadflow .hero-text-content h1 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 52px;
    line-height: 1.25;
    color: #0d1b3f;
    margin-bottom: 20px;
}

.product-hero-leadflow .hero-title-highlight {
    color: #1583D0;
    font-weight: 700;
}

.product-hero-leadflow .hero-text-content p {
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: #575757;
    margin-bottom: 30px;
    max-width: 500px;
}

.product-hero-leadflow .hero-buttons {
    display: flex;
    gap: 16px;
}

.product-hero-leadflow .hero-image-main {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    z-index: 0;
}

.product-hero-leadflow .hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-hero-leadflow .hero-gradient-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #FFFFFF 40%, rgba(255, 255, 255, 0) 75%);
    z-index: 1;
}

/* --- Product Overview: LeadFlow --- */
.product-overview-leadflow {
    text-align: center;
    background: #FFFFFF;
    color: #0d1b3f; /* Set default text color for the section */
}

.product-overview-leadflow h2 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 42px;
    line-height: 1.2;
    color: inherit; /* Inherit color from the parent section */
    margin-bottom: 20px;
}

.product-overview-leadflow .overview-highlight {
    color: #1583D0; /* Highlight color for the span */
}

.product-overview-leadflow .container {
    max-width: 920px;
    margin: 0 auto;
}

.product-overview-leadflow p {
    font-family: 'Geist', sans-serif;
    font-size: 18px;
    font-size: 20px;
    line-height: 1.6;
    color: #3E3E3E;
}

/* --- Key Features: LeadFlow --- */
.key-features-leadflow {
    background: #f9fafb;
}

.key-features-leadflow h2 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 42px;
    line-height: 1.2;
    color: #0d1b3f;
    margin-bottom: 60px;
    text-align: center;
}

.key-features-leadflow .features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.key-features-leadflow .feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-basis: calc(25% - 22.5px);
}

.key-features-leadflow .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.07);
}

.key-features-leadflow .feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
}

.key-features-leadflow .feature-icon img {
    width: 100%;
    height: auto;
}

.key-features-leadflow .feature-item h4 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: #0d1b3f;
    margin: 0;
}

.key-features-leadflow .feature-item p {
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: #0d1b3f !important;
    margin: 0;
}

@media (max-width: 1199px) {
    .key-features-leadflow .feature-item {
        flex-basis: calc(33.333% - 20px);
    }
}

@media (max-width: 991px) {
    .key-features-leadflow .feature-item {
        flex-basis: calc(50% - 15px);
    }
}

@media (max-width: 575px) {
    .key-features-leadflow .feature-item {
        flex-basis: 100%;
    }
}

/* --- Benefits Section: LeadFlow --- */
.product-benefits-leadflow {
    padding: 80px 0;
}

.product-benefits-leadflow .benefits-container {
    display: flex;
    align-items: center;
    background-color: #1583D0;
    padding: 30px 80px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.product-benefits-leadflow .benefits-container::before {
    content: '';
    position: absolute;
    right: -220px;
    top: 50%;
    transform: translateY(-50%);
    width: 520px;
    height: 520px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.product-benefits-leadflow .benefits-content {
    max-width: 55%;
    position: relative;
    z-index: 2;
}

.product-benefits-leadflow .benefits-image {
    position: absolute;
    right: 0px;
    top: 60%;
    transform: translateY(-50%);
    width: 30%;
    z-index: 2;
}

.product-benefits-leadflow .benefits-content h3 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.3;
    color: #FFFFFF;
    margin: 0 0 35px 0;
}

.product-benefits-leadflow .benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-benefits-leadflow .benefits-list li {
    font-family: 'Geist', sans-serif;
    font-weight: 100;
    font-size: 18px;
    line-height: 1.6;
    color: #FFFFFF;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.product-benefits-leadflow .benefits-list li::before {
    content: '✓';
    font-weight: 600;
    font-size: 20px;
    line-height: 1.5;
    flex-shrink: 0;
}

.product-benefits-leadflow .benefits-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* --- Use Cases & Integrations: LeadFlow --- */
.product-use-cases-leadflow {
    background-color: #1181D0; /* Darker blue background */
}

.product-use-cases-leadflow .section-title {
    text-align: center;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 42px;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 60px;
}

.product-use-cases-leadflow .use-cases-integrations-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.product-use-cases-leadflow .card {
    background: #EBF1FD;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-use-cases-leadflow .card-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
}

.product-use-cases-leadflow .card h3 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.125;
    color: #141414;
    margin: 0;
}

.product-use-cases-leadflow .card ul {
    list-style-type: '• ';
    padding-left: 20px;
    margin: 0;
    color: #3E3E3E;
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* --- Why Choose LeadFlow --- */
.product-why-choose-leadflow {
    text-align: center;
    background: #FFFFFF;
}

.product-why-choose-leadflow .container {
    max-width: 800px;
    margin: 0 auto;
}

.product-why-choose-leadflow h2 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 1.2;
    color: #0d1b3f;
    margin-bottom: 20px;
}

.product-why-choose-leadflow .overview-highlight {
    color: #1583D0;
}

.product-why-choose-leadflow p {
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: #3E3E3E;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Customer Success Stories: LeadFlow --- */
/* Use Cases Section */
.use-cases {
    padding: 80px 100px;
    width: 100%;
    background-color: #FFFFFF;
  }
  
  .use-cases-container {
    max-width: 1240px;
    margin: 0 auto;
  }
  
  .use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
  }
  
  .use-case-card {
    background: #FFFFFF;
    border: 1px solid #EFEFEF;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .use-case-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .use-case-image {
    height: 220px;
    overflow: hidden;
  }
  
  .use-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .use-case-card:hover .use-case-image img {
    transform: scale(1.05);
  }
  
  .use-case-content {
    padding: 25px;
  }
  
  .use-case-content h3 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    color: #252525;
    margin-bottom: 10px;
  }
  
  .use-case-content p {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #575757;
    margin-bottom: 20px;
  }
  
  .case-link {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #1181D0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .case-link i {
    transition: transform 0.3s ease;
  }
  
  .case-link:hover i {
    transform: translateX(5px);
  }
/* --- FAQ Section: LeadFlow (Figma Aligned) --- */
.product-faq-leadflow {
    background-color: #FFFFFF;
    padding: 60px clamp(20px, 7vw, 100px); /* Responsive padding L/R */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content on page */
    gap: 40px; /* Gap between title and accordion */
}

/* Container for FAQ title and accordion, to control max-width */
.product-faq-leadflow .container {
    max-width: 1235px; /* Figma's overall content width */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-faq-leadflow .section-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 1.27; /* 61px/48px */
    color: #252525;
    text-align: center;
    margin-bottom: 20px; /* Part of overall section gap */
}

.faq-accordion {
    max-width: 1030px; /* Figma's width for the accordion items */
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0; /* Individual items will have bottom border */
}

.faq-item {
    border: none;
    border-bottom: 1px dashed #8E8E8E;
    border-radius: 0;
    overflow: visible; /* Ensure no clipping */
    width: 100%;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0; /* Vertical padding, horizontal handled by parent */
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 34px;
    color: #252525;
}

.faq-toggle-icon {
    width: 43px;
    height: 43px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* For pseudo-elements */
    transition: background-color 0.3s ease, border-color 0.3s ease;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0; /* Light border for visibility on white */
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    background-color: #2C2A2A; /* Plus icon parts color */
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.faq-toggle-icon::before { /* Vertical bar of plus */
    width: 2.8px;
    height: 16px;
}

.faq-toggle-icon::after { /* Horizontal bar of plus */
    width: 16px;
    height: 2.8px;
}

/* Active state for icon (minus) */
.faq-item.active .faq-toggle-icon {
    background-color: #61B5F1;
    border-color: #61B5F1;
}

.faq-item.active .faq-toggle-icon::before { /* Becomes the minus bar */
    width: 16px;
    height: 2.8px;
    background-color: #FFFFFF; /* Minus line color */
    transform: rotate(0deg); /* Ensure it's horizontal */
}

.faq-item.active .faq-toggle-icon::after { /* Hide this bar for minus */
    transform: scaleX(0);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding-top 0.4s ease-out, padding-bottom 0.4s ease-out;
    background-color: #ffffff;
    font-family: 'Geist', sans-serif;
    font-weight: 100;
    font-size: 11px; /* Reduced from 16px */
    line-height: 1.4; /* Adjusted for 14px font */
    color: #797979;
    padding-left: 0; /* Align with question text */
    padding-right: 0; /* Align with question text */
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* Increased to prevent cutting off content */
    padding-top: 2px; /* Reduced gap between question and answer */
    padding-bottom: 24px; /* Match question's top padding for symmetry */
}

.faq-answer p {
    padding: 0;
    margin: 0;
}

/* Hide old icon if styles somehow persist or are global */
.faq-arrow, .faq-icon {
    display: none !important;
}

