:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-text-light: #666666;
  --color-primary: #000000;
  --color-white: #ffffff;
  --color-accent: #333333;
  --color-dark-bg: #05051e; /* Dark blue/black for contact form */

  --font-heading: "Kanit", sans-serif;
  --font-body: "Nunito", sans-serif;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  --container-width: 1200px;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Utilities */
.text-center {
  text-align: center;
}
.btn-primary {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px; /* Slightly squarer based on form image */
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  border: 1px solid var(--color-white); /* White border on dark bg */
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  filter: brightness(1.2);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 0.8rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  display: block;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #000;
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
  left: 0;
}

.highlight-link {
  position: relative;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links a.highlight-link::after {
  background: linear-gradient(90deg, #6366f1, #a855f7);
}

.highlight-link:hover {
  -webkit-text-fill-color: transparent;
}

.lang-selector {
  display: flex;
  gap: 0.5rem;
  border-left: 1px solid #eee;
  padding-left: 1rem;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text-light);
  padding: 0.2rem 0.4rem;
}

.lang-btn.active {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Stakeholders Section */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-primary);
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-primary {
  background-color: #000;
  color: #fff;
  border-radius: 50px; /* Rounded for Hero CTA usually */
}

/* Sections */
.section {
  padding: var(--spacing-xl) 0;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

/* Process Grid - REMOVED */

/* Products - New Colored Card Design */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card-new {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 2rem 2rem 2.5rem 2rem;
  cursor: pointer;
  height: 580px;
}

.product-card-link:hover .product-card-new {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  min-height: 280px;
  padding-top: 1.5rem; /* More space at top */
}

.product-image {
  max-width: 160px; /* Reduced from 180px */
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.product-info {
  text-align: left;
  color: #fff;
}

.product-info h3 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: #fff;
  font-weight: 600;
}

.product-info p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.product-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.product-link::after {
  content: "›";
  font-size: 1.5em;
  transition: transform 0.2s;
}

.product-link:hover::after {
  transform: translateX(3px);
}

/* Special Futbar Card - slightly larger image */
.product-card-futbar .product-image {
  max-width: 240px;
}

/* Pimes.ai Section - Modern Dark Theme */
.pimes-section {
  background-color: #05051e;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.pimes-bg-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
      circle at 50% 50%,
      rgba(99, 102, 241, 0.1),
      transparent 50%
    ),
    radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.1), transparent 40%);
  filter: blur(60px);
  animation: pimesAuroraMove 20s infinite alternate;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

@keyframes pimesAuroraMove {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(10deg) scale(1.1);
  }
}

.pimes-section .container {
  position: relative;
  z-index: 1;
}

.pimes-header {
  margin-bottom: 1.5rem;
}

/* Pimes Logo - Exact style from pimes.ai */
.pimes-logo {
  font-family: "Outfit", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  --glow-x: 50%;
  --glow-y: 50%;
  text-decoration: none;
}

.pimes-logo span {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 2;
}

.pimes-logo-image {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.8))
    drop-shadow(0 0 24px rgba(168, 85, 247, 0.6))
    drop-shadow(0 0 36px rgba(99, 102, 241, 0.4));
}

/* Cursor-following glow effect */
.pimes-logo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  min-width: 300px;
  min-height: 120px;
  border-radius: 50%;
  background: radial-gradient(
    circle 100px at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(99, 102, 241, 0.9) 0%,
    rgba(168, 85, 247, 0.7) 15%,
    rgba(236, 72, 153, 0.5) 30%,
    rgba(99, 102, 241, 0.3) 45%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 1;
  filter: blur(30px);
}

.pimes-logo:hover::before {
  opacity: 1;
}

.pimes-logo:hover .pimes-logo-image {
  transform: scale(1.05);
  filter: drop-shadow(0 0 16px rgba(99, 102, 241, 1))
    drop-shadow(0 0 32px rgba(168, 85, 247, 0.8))
    drop-shadow(0 0 48px rgba(236, 72, 153, 0.6))
    drop-shadow(0 0 64px rgba(99, 102, 241, 0.4));
}

.pimes-logo:hover span {
  text-shadow: 0 0 20px rgba(99, 102, 241, 0.6),
    0 0 40px rgba(168, 85, 247, 0.4);
}

.pimes-tagline {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #a855f7;
  margin-bottom: 1rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: rgba(168, 85, 247, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  display: inline-block;
}

.pimes-description {
  font-size: 1.15rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Solutions Grid */
.pimes-solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto 3rem auto;
}

.pimes-solution-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
}

.pimes-solution-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
}

.pimes-solution-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.pimes-solution-card h4 {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

/* CTA Button */
.pimes-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: white;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
}

.pimes-cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.pimes-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.pimes-cta-btn:hover::before {
  left: 100%;
}

/* About / Values */
.section-intro {
  text-align: center;
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  font-weight: 300;
}

/* About Story Section */
.about-story {
  max-width: 900px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.about-lead {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.about-text {
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-text:last-child {
  margin-bottom: 0;
}

/* About Highlights */
.about-highlights {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin: 3rem 0 4rem 0;
  flex-wrap: wrap;
}

.highlight-item {
  text-align: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.highlight-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.highlight-label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-item {
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
}

.value-item h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.value-item p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Responsive About Section */
@media (max-width: 768px) {
  .about-lead {
    font-size: 1.25rem;
  }

  .about-text {
    font-size: 1rem;
  }

  .about-highlights {
    gap: 1.5rem;
  }

  .highlight-item {
    padding: 1.25rem 1.5rem;
    flex: 1 1 calc(50% - 1rem);
    min-width: 140px;
  }

  .highlight-number {
    font-size: 2rem;
  }
}

/* Contact Form - Light Theme */
.contact-light {
  background-color: #fff;
  color: var(--color-text);
}

.contact-light h2,
.contact-light p {
  color: var(--color-text);
}

.contact-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  opacity: 0.8;
}

.contact-form {
  max-width: 900px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 1rem;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #000;
}

/* Select styling fix for drop arrow */
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.8rem;
}

.full-width {
  width: 100%;
}

.form-footer-light {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 3rem;
  align-items: flex-start;
}

.form-left {
  flex: 1;
}

.privacy-notice {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.email-link-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
}

.email-link-light svg {
  flex-shrink: 0;
}

.form-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.privacy-check-light {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.privacy-check-light input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-primary);
}

.privacy-check-light label {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Clients Grid - Dark Theme with Black Stripe */
.clients-dark {
  background-color: #fff;
  color: var(--color-text);
  padding-top: 4rem;
  padding-bottom: 0;
}

.clients-dark h2 {
  color: var(--color-text);
  margin-bottom: 3rem;
}

.clients-stripe {
  background-color: #000;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 4rem 0;
}

.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.clients-dark .clients-grid a {
  display: inline-block;
  line-height: 0;
}

.clients-dark .clients-grid img {
  height: 60px;
  object-fit: contain;
  /* filter: brightness(0) invert(1); */
  opacity: 1;
  transition: transform 0.3s, opacity 0.3s;
}

.clients-dark .clients-grid a:hover img {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Footer */
.footer {
  background: #000;
  color: #fff;
  padding: 3rem 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #aaa;
}

.footer-links a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: flex;
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background: #fff;
    flex-direction: column;
    padding: 2rem;
    border-left: 1px solid #eee;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  /* Backdrop overlay with blur */
  body.menu-open::before {
    content: "";
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  body.menu-open {
    overflow: hidden;
  }

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

  .hero h1 {
    font-size: 2.5rem;
  }

  .form-row {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .form-footer {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .privacy-check {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ===== PRODUCT PAGES STYLES ===== */

/* Product Hero - New Design (Light Theme) */
.product-hero {
  background-color: #fff;
  color: var(--color-text);
  padding: calc(var(--header-height) + 4rem) 0 5rem 0;
}

.product-hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.product-hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-weight: 700;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.product-header-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-header-logo:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.product-tagline {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  font-weight: 600;
}

.product-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.service-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-text);
  background-color: rgba(0, 0, 0, 0.03);
}

.product-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.stat-card .stat-source {
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.stat-card .stat-detail {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* Section Subtitle */
.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 900px;
  margin: 0 auto 3rem auto;
}

.stats-section .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
  display: block;
  font-weight: 600;
}

/* Service Badges - OLD (keeping for compatibility) */
.service-badge {
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text);
  background-color: rgba(0, 0, 0, 0.03);
}

/* Tri-column (Challenge/Solution/Result) */
.tri-column-section {
  background: #f8f9fa;
  padding: 6rem 0;
}

.tri-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tri-column-item {
  background: #fff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tri-column-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.tri-column-item .icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: #000;
  color: #fff;
}

.tri-column-item h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #000;
}

.tri-column-item p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-light);
}

/* Content Sections - Alternating Layout */
.content-section {
  padding: 5rem 0;
}

.content-section:nth-child(even) {
  background-color: #f5f5f5;
}

.content-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.content-section:nth-child(odd) .content-section-inner {
  direction: rtl;
}

.content-section:nth-child(odd) .content-text {
  direction: ltr;
}

.content-text h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.content-text .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 0.75rem;
  display: block;
  font-weight: 600;
}

.content-text .description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

.content-image {
  width: 100%;
  max-width: 320px; /* Limit image size even more */
  margin: 0 auto; /* Center image */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Stats Grid */
.stats-section {
  background-color: #000;
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.stats-section h2 {
  color: #fff;
  margin-bottom: 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* Product CTA Section (Light Theme) */
.product-cta-section {
  background: #f8f9fa;
  color: var(--color-text);
  padding: 5rem 0;
  text-align: center;
}

.product-cta-section h2 {
  color: var(--color-text);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.product-cta-section .btn-primary {
  background-color: #000;
  color: #fff;
  border: 2px solid #000;
  font-size: 1.1rem;
  padding: 1.2rem 3rem;
}

.product-cta-section .btn-primary:hover {
  background-color: transparent;
  color: #000;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--color-text-light);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.back-link:hover {
  color: var(--color-text);
}

/* Product Link Button */
.product-external-link {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  margin-top: 1.5rem;
  transition: all 0.3s;
}

.product-external-link:hover {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

/* Responsive - Product Pages */
@media (max-width: 768px) {
  .product-hero {
    padding: calc(var(--header-height) + 2rem) 0 3rem 0;
  }

  .product-hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .product-hero-text h1 {
    font-size: 2.5rem;
  }

  .product-tagline {
    font-size: 1.2rem;
  }

  .product-description {
    font-size: 1rem;
  }

  .product-hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .stat-card .stat-number {
    font-size: 2rem;
  }

  .stat-card .stat-source {
    font-size: 0.85rem;
  }

  .stat-card .stat-detail {
    font-size: 0.75rem;
  }

  .product-hero-content h1 {
    font-size: 2.5rem;
  }

  .product-hero-content .subtitle {
    font-size: 1.1rem;
  }

  .service-badges {
    gap: 0.5rem;
  }

  .service-badge,
  .badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .content-section-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-section:nth-child(odd) .content-section-inner {
    direction: ltr;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .tri-column-item {
    padding: 2rem;
  }

  .tri-column-item .icon-wrapper {
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
  }
}

/* Screenshots Grid */
.screenshots-section {
  padding: 5rem 0;
  background-color: #fff;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.screenshot-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.screenshot-item img:hover {
  transform: translateY(-5px);
}

/* Download Section */
.download-section {
  padding: 5rem 0;
  background-color: #fff;
  text-align: center;
}

.download-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--color-text);
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.download-buttons a {
  display: inline-block;
  background-color: #000;
  /* padding: 0.75rem 1.5rem; */
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.download-buttons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.store-badge {
  height: 44px;
  display: block;
}

.website-link-container {
  margin-top: 2rem;
}

.website-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--color-text);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.website-link:hover {
  background-color: var(--color-text);
  color: #fff;
}

/* Stakeholders Section */
.stakeholders-section {
  padding: 4rem 0;
  background-color: #111; /* Dark background for logos */
  color: #fff;
  text-align: center;
}

.stakeholders-title {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  opacity: 0.8;
}

.stakeholders-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stakeholder-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  /* opacity: 0.9; */
  transition: opacity 0.3s;
  filter: brightness(0) invert(1); /* Ensure logos are white if they aren't already */
}

.stakeholder-logo:hover {
  opacity: 1;
}

/* Adjust sizes for specific logos if needed */
.stakeholder-logo[src*="dinder"] {
  height: 50px;
}
