:root {
  /* Main colors */
  --primary-color: #38bfa1;
  --primary-accent-color: #22d3ee;
  --primary-accent-color-rgb: 34, 211, 238;
  --primary-accent-hover-color: #42e0f0;

  /* Text colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-light-gray: #e0e0e0; /* For slightly brighter text like H2s */
  --text-medium-gray: #cccccc; /* For readable paragraph text */
  --text-dark-gray: #b0b0b0; /* For less prominent paragraph text */
  --text-color-dark: #051122;

  /* Background colors */
  --chat-bg-color: rgba(255, 255, 255, 0.95);
  --subtle-bg-light: rgba(255, 255, 255, 0.03);
  --subtle-border-light: rgba(255, 255, 255, 0.08);
  --subtle-separator-light: rgba(255, 255, 255, 0.1);
  
  /* SEO variables */
  --footer-text: #acacac;
  --footer-heading: #ffffff;
  --footer-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Matter', 'IBM Plex Sans', sans-serif;
  color: var(--text-primary); /* Changed to use variable */
  font-weight: 300;
  overflow-x: hidden;
  position: relative;
  background: #051122;
  background:
    radial-gradient(ellipse at top right, rgba(var(--primary-accent-color-rgb), 0.15) 0%, rgba(5, 17, 34, 0) 60%),
    radial-gradient(ellipse at bottom left, rgba(var(--primary-accent-color-rgb), 0.1) 5%, rgba(5, 17, 34, 0) 60%),
    #051122;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0D1323; /* Could be a variable if used elsewhere */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary-accent-color), var(--primary-color));
  box-shadow: 0 0 10px rgba(var(--primary-accent-color-rgb), 0.53), 0 0 20px rgba(56, 191, 161, 0.53); /* Adjusted alpha based on original */
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  text-decoration: none;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(var(--primary-accent-color-rgb), 0.53));
}

.logo-text {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 30px;
}

nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary-color);
}

main {
  padding-top: 120px;
  min-height: 100vh;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 0 0 8px rgba(var(--primary-accent-color-rgb), 0.3);
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 30px;
}

.hero-content {
  flex: 1;
}

.hero-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  background: var(--text-primary); /* Using white for hero title, as per original */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: var(--text-secondary); /* Adding for consistency */
}

.animation-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: rgba(13, 19, 35, 0.4);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(13, 19, 35, 0.2);
  backdrop-filter: blur(8px);
  padding: 20px;
  border: 1px solid rgba(56, 191, 161, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.animation-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(56, 191, 161, 0.15);
}

.network-animation {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn.primary {
  background: linear-gradient(90deg, var(--primary-color), #7064f5);
  color: var(--text-primary);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn.primary:hover {
  box-shadow: 0 5px 15px rgba(56, 191, 161, 0.3);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.blur-background-card {
  background: rgba(5, 17, 34, 0.7);
  border-radius: 16px;
  border: 1px solid rgba(var(--primary-accent-color-rgb), 0.1);
  padding: 40px;
  margin: 20px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 2px rgba(var(--primary-accent-color-rgb), 0.2);
  position: relative;
  overflow: hidden;
}

.blur-background-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, rgba(var(--primary-accent-color-rgb), 0.2), rgba(5, 17, 34, 0), rgba(var(--primary-accent-color-rgb), 0.2));
  border-radius: 16px;
  z-index: -1;
  box-shadow: 0 0 20px rgba(var(--primary-accent-color-rgb), 0.15);
}

/* ============== GENERAL PAGE CONTENT STYLES (e.g., for About Page) ============== */
.page-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--subtle-separator-light);
}
.page-section:last-child {
  border-bottom: none;
}
.page-section h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--text-light-gray);
  text-align: center;
  text-shadow: 0 0 6px rgba(var(--primary-accent-color-rgb), 0.2); /* Added subtle shadow */
}
.page-section h3 {
  font-size: 1.5rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--text-secondary);
}
 .page-section h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--primary-color); /* Using variable */
}
.page-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-medium-gray);
}
.lead-text {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 25px;
  text-align: center;
  color: var(--text-light-gray);
}

/* Grid layout for features/values/benefits on content pages */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px; /* Increased top margin slightly */
}
.highlight-item {
  background-color: var(--subtle-bg-light);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--subtle-border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Softer initial shadow */
}
.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15), 0 0 10px rgba(var(--primary-color), 0.1); /* Added subtle color glow */
}
.highlight-item h3, .highlight-item h4 {
  margin-top: 0;
  /* Colors inherited from .page-section h3/h4 or can be specified here */
}
.highlight-item p {
    font-size: 1rem;
    color: var(--text-dark-gray);
    line-height: 1.6; /* Added for consistency */
}
.highlight-item strong { /* For benefit list items within highlight items */
    color: var(--primary-color);
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

@media screen and (max-width: 768px) {
  /* General responsive adjustments */
  nav ul {
    gap: 15px;
  }

  nav li {
    margin-left: 15px;
  }

  .logo img {
    height: 32px;
  }

  .logo-text {
    font-size: 20px;
  }

  .hero-section {
    flex-direction: column;
  }

  .hero-content {
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  /* Responsive adjustments for .page-section and .highlight-grid */
  .highlight-grid {
    grid-template-columns: 1fr; /* Stack items on smaller screens */
  }
  .page-section h2 {
    font-size: 1.8rem;
  }
   .page-section h3 {
    font-size: 1.3rem;
  }
}
/* ============== END GENERAL PAGE CONTENT STYLES ============== */


/* Product Section Styles */
.product-section {
  padding: 20px 0;
}

.product-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--text-primary), var(--primary-accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.product-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  width: 100%;
  color: var(--text-secondary); /* Added for consistency */
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.feature-item {
  background: rgba(13, 19, 35, 0.5);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(var(--primary-accent-color-rgb), 0.1);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(var(--primary-accent-color-rgb), 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 5px rgba(var(--primary-accent-color-rgb), 0.5));
}

.feature-item h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
}

@media screen and (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards Row Styling */
.cards-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin: 40px 0;
}

.info-card {
  flex: 1;
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(62, 152, 199, 0.5); /* Note: color not in variables, consider adding if used often */
}

.info-card::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(62, 152, 199, 0.2), rgba(5, 17, 34, 0), rgba(62, 152, 199, 0.2));
  z-index: -1;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(62, 152, 199, 0.8);
  box-shadow: 0 0 25px rgba(62, 152, 199, 0.3);
}

.info-card:hover::before {
  opacity: 0.9;
}

.info-card h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(62, 152, 199, 0.4);
}

.info-card p {
  text-align: left;
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.card-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-logo {
  height: 70px;
  margin-right: 15px;
}

.card-logo:last-child {
  margin-right: 0;
}

.card-logo {
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(62, 152, 199, 0.4));
  transition: all 0.4s ease;
}

.info-card:hover .card-logo {
  filter: drop-shadow(0 0 12px rgba(62, 152, 199, 0.6));
  transform: scale(1.05);
}

.feature-list {
  list-style: none;
  margin: 20px 0;
  text-align: left;
  padding-left: 10px;
}

.feature-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 25px;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.card-cta {
  min-width: 140px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-top: 15px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.card-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  justify-content: center;
}

@media screen and (max-width: 1100px) {
  .card-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

@media screen and (max-width: 768px) {
  /* This is ALREADY in the main 768px query. Keeping it here for now if it's specific to card-buttons context */
  /* If it was meant to be general, it could be removed from here. */
  .card-buttons {
    flex-direction: row; /* Overrides the 1100px rule */
  }
}

@media screen and (max-width: 480px) {
  .card-buttons {
    flex-direction: column;
    width: 100%;
  }
  .card-cta {
    width: 100%;
  }
}


.user-flow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
  width: 100%;
}

.user-flow-image {
  width: 100%;
  background: rgba(13, 19, 35, 0.4);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(var(--primary-accent-color-rgb), 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-flow-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(var(--primary-accent-color-rgb), 0.2);
}

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

.why-section {
  padding: 20px 0;
}

.why-content h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  background: linear-gradient(90deg, var(--text-primary), var(--primary-accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.benefit-card {
  background: rgba(13, 19, 35, 0.5);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(var(--primary-accent-color-rgb), 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(var(--primary-accent-color-rgb), 0.15);
  border-color: rgba(var(--primary-accent-color-rgb), 0.3);
}

.benefit-icon {
  min-height: 150px;
  max-height: 150px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(var(--primary-accent-color-rgb), 0.5));
  display: block;
  width: auto;
  height: 100%;
  object-fit: contain;
}
.benefit-card .benefit-icon img {
   display: block;
   width: auto;
   max-height: 150px;
   object-fit: contain;
}


.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.benefit-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

@media screen and (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 576px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .why-content h2 {
    font-size: 1.8rem;
  }
}

/* For T-Smart Page & General Product Page Styles (if any) */
.product-detail-section .card-logo {
  max-width: 200px;
  margin-bottom: 20px;
}
.product-detail-section h1 { margin-bottom: 15px; }
.product-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}
.trust-certifications {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9em;
  color: var(--text-secondary);
}
.trust-certifications p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.card-divider {
  border: 0;
  border-top: 1px solid rgba(62, 152, 199, 0.2); /* Note: color not in variables */
  margin: 20px 0;
}

.measurable-impact-section { margin-top: 40px; text-align: center; }
.measurable-impact-section > h3 { margin-bottom: 20px; font-size: 1.8em; color: var(--text-primary);}
.measurable-impact-section .impact-cards .info-card h3 { font-size: 1.5em; margin-bottom: 10px; }
.measurable-impact-section .impact-cards .info-card p { font-size: 0.95em; }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.industries-grid .feature-item .feature-icon img { max-height: 60px; margin-bottom: 10px; }

.final-cta-section { text-align: center; padding: 30px 20px; }
.final-cta-section > p { max-width: 700px; margin: 20px auto; color: var(--text-secondary); }
.integration-highlight-box {
  max-width: 800px;
  box-sizing: border-box;
  margin: 40px auto;
  padding: 25px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  text-align: left;
}
.integration-highlight-box h3 { margin-bottom: 15px; color: var(--text-primary); }
.integration-highlight-box > p { margin-bottom: 25px; color: var(--text-secondary); }
.integration-steps {
  display: flex; justify-content: space-around; text-align: left;
  flex-wrap: wrap; gap: 20px; margin-top: 20px;
}
.integration-steps .step {
  flex-basis: calc(33.333% - 14px);
  min-width: 220px; padding: 10px;
  color: var(--text-secondary);
}
.integration-steps .step strong { display: block; margin-bottom: 8px; font-size: 1.05em; color: var(--text-primary); }
.final-cta-buttons { justify-content: center; margin-top: 40px; display: flex; gap: 20px; }
.roi-guarantee-text {
  margin-top: 40px;
  font-size: 0.95em;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: var(--text-secondary);
}
.roi-guarantee-text strong {
  font-weight: 600;
  color: var(--primary-color);
}


/* ============== MEGA MENU STYLES ============== */
nav ul li.nav-item-solutions {
  position: relative;
}

nav ul li.nav-item-solutions > a {
  display: flex;
  align-items: center;
}

.arrow-down {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--text-primary);
  transition: transform 0.3s ease;
}

li.has-megamenu:hover .arrow-down {
  transform: rotate(180deg);
}

.mega-menu-container {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(calc(-50% - 35px));
  width: 570px;
  max-width: 95vw;
  padding-top: 15px;
  z-index: 1001;
  box-sizing: border-box;
}

.mega-menu-container.compact-menu {
  width: 180px;
  transform: translateX(-70%);
}

li.has-megamenu:hover .mega-menu-container,
li.has-megamenu .mega-menu-container.mega-menu-visible {
  display: block;
  animation: fadeInDown 0.3s ease-out forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px) translateX(calc(-50% - 35px));
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(calc(-50% - 35px));
  }
}

@keyframes fadeInDownCompact {
  from {
    opacity: 0;
    transform: translateY(-10px) translateX(-70%);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(-70%);
  }
}

li.has-megamenu:hover .mega-menu-container.compact-menu {
  animation: fadeInDownCompact 0.3s ease-out forwards;
}

.company-links.vertical {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  width: 100%;
}

.company-links.vertical .company-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 12px 15px;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
  text-align: center;
}

.company-links.vertical .company-link:hover {
  background: rgba(var(--primary-accent-color-rgb), 0.1);
  color: var(--primary-accent-color);
  width: 100%;
}


.mega-menu-content {
  background-color: #0D1323; /* Could be variable */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(var(--primary-accent-color-rgb), 0.1);
  padding: 30px 30px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  border: 1px solid rgba(var(--primary-accent-color-rgb), 0.25);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.menu-card-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  width: 100%;
}

.mega-menu-content.company-menu {
  padding: 0;
  overflow: hidden;
  width: 100%;
  gap: 0;
}

.mega-menu-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary-accent-color), #7064f5);
  opacity: 0.8;
}

.mega-menu-card {
  flex-grow: 0;
  flex-shrink: 0;
  width: 250px;
  min-width: 250px;
  max-width: 250px;
  border-radius: 12px;
  padding: 18px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  margin: 0;
}

.mega-menu-card:hover {
  transform: translateY(-5px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mega-menu-card:hover .card-promo-icon {
  transform: scale(1.08);
  filter: drop-shadow(0 0 15px rgba(var(--primary-accent-color-rgb), 0.5));
  transition: all 0.4s ease-out;
}

.mega-menu-card .card-promo-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 0 10px rgba(var(--primary-accent-color-rgb), 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.tsmart-card {
  background: linear-gradient(145deg, #1A2B4D, #121E36);
  border: 1px solid var(--primary-accent-color);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1), 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tsmart-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(var(--primary-accent-color-rgb), 0.15), transparent 70%);
  opacity: 0.5;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.tsmart-card:hover {
  border-color: var(--primary-accent-hover-color);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.15), 0 8px 25px rgba(var(--primary-accent-color-rgb), 0.4);
}

.tsmart-card:hover::before {
  opacity: 1;
}

.vspeak-card {
  background: linear-gradient(145deg, #2A1A4D, #1E1236);
  border: 1px solid #7064f5;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1), 0 5px 15px rgba(0, 0, 0, 0.2);
}

.vspeak-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(112, 100, 245, 0.15), transparent 70%);
  opacity: 0.5;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.vspeak-card:hover {
  border-color: #8c82f7;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.15), 0 8px 25px rgba(112, 100, 245, 0.4);
}

.vspeak-card:hover::before {
  opacity: 1;
}


.mega-menu-card .card-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  min-height: 62px;
}

.mega-menu-card .card-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 25%;
  width: 50%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: width 0.3s ease, left 0.3s ease;
}

.mega-menu-card:hover .card-header::after {
  width: 70%;
  left: 15%;
}

.mega-menu-card .card-title-section {
  flex-grow: 1;
  text-align: left;
}

.mega-menu-card .card-title-section .card-subtitle {
  font-size: 0.75em;
  color: var(--text-secondary);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.mega-menu-card .card-title-section h3 {
  font-size: 1.25em;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.mega-menu-card .card-body {
  padding-top: 12px;
  flex-grow: 1;
  text-align: left;
  padding-left: 2px;
  padding-right: 2px;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: hidden;
}
.mega-menu-card .card-body ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
  width: 100%;
}

.mega-menu-card .card-body li {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  padding: 3px 0;
  border-radius: 3px;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

.tsmart-card .card-body li:hover {
  box-shadow: 0 0 10px rgba(var(--primary-accent-color-rgb), 0.1);
}

.vspeak-card .card-body li:hover {
  box-shadow: 0 0 10px rgba(112, 100, 245, 0.1);
}

.feature-bullet {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 8px;
  background-color: var(--primary-color);
  box-shadow: 0 0 6px rgba(56, 191, 161, 0.6);
  margin-top: 0.4em;
  flex-shrink: 0;
  position: relative;
}

.feature-bullet::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: rgba(56, 191, 161, 0.3);
  z-index: -1;
  animation: pulse 2s infinite;
}

.vspeak-card .feature-bullet {
  background-color: #8c82f7;
  box-shadow: 0 0 8px rgba(112, 100, 245, 0.6);
}

.vspeak-card .feature-bullet::after {
  background: rgba(112, 100, 245, 0.3);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.mega-menu-card .card-cta {
  min-width: 140px;
  padding: 12px 20px;
  margin-top: 16px;
  background: linear-gradient(90deg, #0ea7ff, var(--primary-color) 80%);
  color: var(--text-primary) !important;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(var(--primary-accent-color-rgb), 0.10);
  display: inline-block;
  text-align: center;
}
.mega-menu-card .card-cta:hover,
.mega-menu-card .card-cta:focus {
  background: linear-gradient(90deg, #095c93, var(--primary-accent-color) 80%);
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(14, 167, 255, 0.20), 0 1px 3px rgba(56,191,161,0.125); /* Adjusted alpha of second shadow */
  outline: none;
  transform: translateY(-2px) scale(1.03);
}
.tsmart-card .card-cta {
  background: linear-gradient(90deg, var(--primary-accent-color) 30%, var(--primary-color) 100%);
}
.tsmart-card .card-cta:hover {
  background: linear-gradient(90deg, var(--primary-accent-hover-color), var(--primary-accent-color) 90%);
}
.vspeak-card .card-cta {
  background: linear-gradient(90deg, #8c82f7, #6c64f5 90%);
}
.vspeak-card .card-cta:hover {
  background: linear-gradient(90deg, #7064f5 10%, var(--primary-accent-hover-color) 80%);
}

.card-use-case {
  font-size: 0.97em;
  color: rgba(var(--primary-accent-color-rgb), 0.9);
  margin: 10px 0 0;
  padding-left: 4px;
}
.vspeak-card .card-use-case {
  color: #9b90f7;
}

.mega-menu-trust {
  text-align: center;
  margin-top: 18px;
  color: #c4f8ff;
  font-size: 0.98em;
  background: rgba(var(--primary-accent-color-rgb), 0.03);
  padding: 10px 5px 0 5px;
  border-radius: 0 0 12px 12px;
  letter-spacing: 0.04em;
}

/* Responsive adjustments for Mega Menu */
@media screen and (max-width: 768px) {
  /* This is the original 768px media query block specific to mega-menu */
  /* It seems some rules from the general 768px query might have been duplicated or intended to be separate. */
  /* I'm keeping the mega-menu specific fadeInDown keyframes here as it was in the original. */
  @keyframes fadeInDown { /* This was duplicated; one version is fine. The mega-menu specific one might be intended. */
    from {
      opacity: 0;
      transform: translateY(-10px); /* Simpler transform for mobile */
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mega-menu-container {
    left: 0;
    right: 0;
    transform: translateX(0); /* Override for mobile */
    min-width: 0;
    width: 100vw;
    max-width: 100vw;
    padding-top: 10px;
  }

  .mega-menu-content {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    border-radius: 0 0 12px 12px; /* Specific to mobile mega menu */
  }

  .mega-menu-card {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

/* Additional responsive tweaks for very small screens */
@media screen and (max-width: 400px) {
  .mega-menu-content {
    padding: 15px;
  }

  .mega-menu-card {
    padding: 15px;
  }

  .mega-menu-card .card-header {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .mega-menu-card .card-body li {
    font-size: 0.8em;
  }
}
/* ============== END MEGA MENU STYLES ============== */

/* ============== RESEARCH PAGE STYLES ============== */
/* Research page */
.feature-list li {
  margin-bottom: 20px;
}

/* Research Areas Horizontal Layout */
.research-areas-wrapper {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.research-area {
  flex: 1;
  background: rgba(var(--primary-accent-color-rgb), 0.03);
  border-radius: 12px;
  padding: 25px;
  border: 1px solid rgba(var(--primary-accent-color-rgb), 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-area:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(var(--primary-accent-color-rgb), 0.15);
}

.research-area-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.research-icon {
  width: 48px;
  height: 48px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-accent-color-rgb), 0.1);
  border-radius: 12px;
  padding: 10px;
}

.research-icon img {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 5px rgba(var(--primary-accent-color-rgb), 0.5));
}

.research-area h3 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--primary-accent-color);
}

.research-highlights {
  margin: 20px 0;
  padding: 15px;
  background: rgba(var(--primary-accent-color-rgb), 0.05);
  border-radius: 8px;
}

.research-highlights h4 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--text-primary);
}

@media screen and (max-width: 992px) {
  .research-areas-wrapper {
    flex-direction: column;
  }
}

/* Publication styling */
.publications li {
  margin-bottom: 30px;
  border-left: 3px solid var(--primary-accent-color);
  padding-left: 15px;
  position: relative;
}

.publication-date {
  display: inline-block;
  color: var(--primary-accent-color);
  font-weight: 500;
  margin-bottom: 5px;
}

.paper-link {
  color: var(--primary-accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.paper-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Technical specs styling */
.technical-specs {
  padding: 20px 0;
}

.specs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.specs-column {
  flex: 1;
  min-width: 300px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid rgba(var(--primary-accent-color-rgb), 0.2);
}

.specs-table td {
  padding: 12px 5px;
}

.specs-table td:first-child {
  font-weight: 500;
  width: 40%;
}

/* Technical details list */
.technical-details {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.technical-details li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.technical-details li:before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-accent-color);
  position: absolute;
  left: 8px;
  top: 8px;
}

/* Research lab styling */
.research-lab {
  padding: 20px 0;
}

.lab-images {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.lab-image {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.lab-image p {
  padding: 10px 15px;
  margin: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-weight: 500;
}

/* Collaborations styling */
.collaborations {
  padding: 20px 0;
}

.collaborations-grid {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.collaboration-item {
  flex: 1;
  min-width: 300px;
}

.collaboration-list {
  list-style: none;
  padding-left: 0;
}

.collaboration-list li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(var(--primary-accent-color-rgb), 0.1);
}

.collaboration-list strong {
  color: var(--primary-accent-color);
}

/* Case studies styling */
.case-studies {
  padding: 20px 0;
}

.case-studies-grid {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.case-study {
  flex: 1;
  min-width: 300px;
  padding: 25px;
  background: rgba(var(--primary-accent-color-rgb), 0.05);
  border-radius: 12px;
  border: 1px solid rgba(var(--primary-accent-color-rgb), 0.1);
}

.case-study-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.case-icon {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-accent-color-rgb), 0.1);
  border-radius: 50%;
}

.case-icon img {
  width: 30px;
  height: 30px;
}

.case-stats {
  margin-top: 20px;
  padding: 10px 15px;
  background: rgba(var(--primary-accent-color-rgb), 0.1);
  border-radius: 8px;
  font-weight: 500;
  color: var(--primary-accent-color);
  font-size: 0.9em;
}

/* Future research styling */
.research-future {
  padding: 20px 0;
}

.future-research-grid {
  display: flex;
  gap: 25px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.future-item {
  flex: 1;
  min-width: 300px;
}

.future-list {
  list-style: none;
  padding-left: 0;
}

.future-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
}

.future-list li:before {
  content: '\2192';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-accent-color);
  font-weight: bold;
}

.release-timeline {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 15px;
  background: rgba(var(--primary-accent-color-rgb), 0.1);
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9em;
}

/* Responsive styles for research page */
@media screen and (max-width: 768px) {
  .specs-grid,
  .collaborations-grid,
  .case-studies-grid,
  .future-research-grid {
    flex-direction: column;
  }
  
  .specs-column,
  .collaboration-item,
  .case-study,
  .future-item {
    min-width: 100%;
  }
  
  .blur-background-card {
    padding: 20px;
  }
}
/* ============== END RESEARCH PAGE STYLES ============== */