.product-page {
  font-family: "Manrope", sans-serif;
}

.product-page h1,
.product-page h2,
.product-page h3 {
  font-family: "Sora", sans-serif;
}

.product-page .container {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}

.product-hero {
  padding: 40px 0 0;
}

.product-hero .reveal {
  width: 100%;
}

.product-hero-banner {
  position: relative;
  min-height: 500px;
  width: 100%;
  border-radius: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.product-hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(270deg, #5bc0eb 0%, rgba(91, 192, 235, 0) 100%),
    url("../assets/product-hero.png") center/cover no-repeat;
  transform: rotate(-180deg);
  z-index: 1;
}

.product-hero-copy {
  position: relative;
  max-width: 800px;
  padding: 0 80px;
  z-index: 2;
}

@media (max-width: 768px) {
  .product-hero-banner {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 60px;
  }

  .product-hero-copy {
    padding: 0 20px;
    text-align: center;
  }
}

@media (max-width: 1440px) {
  .product-hero-copy {
    padding: 0 50px;
  }
}

.product-hero-copy h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.1;
  font-weight: 400;
  color: #1a1a1a;
}

.product-hero-copy .lead {
  margin-top: 30px;
  max-width: 800px;
  color: #626262;
  font-family: 'Manrope';
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

.product-segments {
  padding: 80px 0;
}

.segment-accordion {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.segment {
  border-bottom: 1px solid #E5E5E5;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.segment.expanded {
  border: 2px solid #1D4ED8;
  border-radius: 30px;
  padding: 50px;
  background: #FFFFFF;
}

/* Header (Collapsed View) */
.segment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  cursor: pointer;
}

.segment.expanded .segment-header {
  padding: 0 0 30px 0;
  cursor: default;
}

.segment-title {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #0B0B0B;
}

.segment.expanded .segment-title {
  display: none;
  /* Hide top title in expanded view per Figma snippet */
}

/* Toggle Button */
.segment-toggle-btn {
  width: 54px;
  height: 54px;
  border-radius: 50px;
  border: none;
  background: #F6F6F6;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Plus Icon (Vertical & Horizontal lines) */
.segment-toggle-btn::before,
.segment-toggle-btn::after {
  content: "";
  position: absolute;
  background: #1A1A1A;
  transition: all 0.3s ease;
}

/* Horizontal line */
.segment-toggle-btn::before {
  width: 20px;
  height: 2px;
}

/* Vertical line */
.segment-toggle-btn::after {
  width: 2px;
  height: 20px;
}

.segment.expanded .segment-toggle-btn {
  background: linear-gradient(109.96deg, #D9E5FD 4.03%, #D5F6FF 98.83%);
}

.segment.expanded .segment-toggle-btn::before {
  background: #1D4ED8;
}

.segment.expanded .segment-toggle-btn::after {
  transform: rotate(90deg);
  opacity: 0;
}

/* Expanded Grid Layout */
.segment-grid {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.segment-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.segment.expanded .segment-body {
  grid-template-rows: 1fr;
}

@media (max-width: 1200px) {
  .segment-grid {
    flex-direction: column;
    gap: 40px;
  }

  .segment.expanded {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .segment-header {
    padding: 32px 0;
  }

  .segment.expanded {
    padding: 32px 20px;
    border-radius: 24px;
    border: 2px solid #1D4ED8;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(29, 78, 216, 0.1);
  }

  .expanded-title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .segment.expanded {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .segment-header {
    padding: 24px 0;
  }
}

@media (max-width: 768px) {
  .product-page .container {
    width: min(1280px, calc(100% - 24px));
  }

  .product-hero-banner {
    min-height: 320px;
    border-radius: 24px;
  }

  .product-hero-copy,
  .segment-col-info,
  .segment-col-features {
    text-align: center;
  }

  .segment-title {
    font-size: 22px;
    line-height: 1.25;
    min-width: 0;
  }

  .segment-toggle-btn {
    flex-shrink: 0;
  }

  .feature-list li {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .product-page .container {
    width: min(1280px, calc(100% - 16px));
  }

  .product-hero-banner {
    min-height: 280px;
    border-radius: 20px;
  }

  .segment-title {
    font-size: 18px;
  }

  .segment-description,
  .feature-list li {
    font-size: 14px;
    line-height: 1.5;
  }

  .segment-col-image {
    min-height: 220px;
  }

  .segment-col-image img {
    height: 220px;
    border-radius: 18px;
  }
}

@media (max-width: 820px) {

  .product-page .container,
  .segment-grid,
  .segment-col-info,
  .segment-col-image,
  .segment-col-features {
    min-width: 0;
  }
}

.segment-col-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
}

.expanded-title {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #0B0B0B;
}

.segment-description {
  margin: 16px 0 24px;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: #626262;
  text-align: left;
}

.segment-col-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.segment-col-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  margin-bottom: 0;
}

.segment-col-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: #1a1a1a;
  position: relative;
  padding-left: 24px;
  margin-bottom: 4px;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #000;
}