/* ============================================
   Plinqx Website - Main Stylesheet
   Desktop-first design with mobile optimization
   ============================================ */

/* ===== Font Face Declarations ===== */
@font-face {
  font-family: 'Aileron';
  src: url('../assets/fonts/Aileron-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Aileron';
  src: url('../assets/fonts/Aileron-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Aileron';
  src: url('../assets/fonts/Aileron-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Aileron';
  src: url('../assets/fonts/Aileron-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Aileron';
  src: url('../assets/fonts/Aileron-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

/* ===== CSS Variables ===== */
:root {
  --color-bg: #000000;
  --color-text: #FFFFFF;
  --color-accent: #96D200;
  --color-accent-alt: #96D200;
  --header-height: 60px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --transition: all 0.3s ease;
  --bg-overlay-opacity: 0.2; /* starts light, increases to 0.6 on scroll */
  /* Background reveal timings */
  --bg-reveal-duration: 1200ms;
  --bg-reveal-ease: cubic-bezier(.22,.9,.31,1);
  --page-bg: #000000; /* fallback for reveal overlay to reduce screen flickers */
}

/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Aileron', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  /* Keep solid color on body; move the image to a ::before layer so we can mask it reliably */
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  /* Reserve space for the fixed header so content (hero) sits below it */
  padding-top: var(--header-height);
  position: relative; /* establish stacking context for pseudo-element */
}

.body.home-page {
  padding-top: 0 !important;
}

/* Background pseudo-element holds the image + overlay so mask/animation can target it
   We use position:fixed so it behaves like background-attachment:fixed while remaining maskable. */
html::before,
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1; /* keep the background underneath all page content */
  pointer-events: none;
  /* Dark overlay layered before the image; opacity controlled by --bg-overlay-opacity */
  background-image: linear-gradient(rgba(0,0,0,var(--bg-overlay-opacity)), rgba(0,0,0,var(--bg-overlay-opacity))), url('../assets/images/bg.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  will-change: transform, mask-position;
}

/* ===== Page Load Background Reveal ===== */
/* Trigger by adding `bg-reveal` on body. Uses mask animation; fallback provided. */
/* Animate the background pseudo-element's mask to reveal left->right */
/* Apply mask and animate it only when the reveal class is present (index page) */
body.bg-reveal::before,
html.bg-reveal::before {
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-size: 200% 100%;
  -webkit-mask-position: 100% 0;
  -webkit-mask-repeat: no-repeat;
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 50%, rgba(0,0,0,0) 100%);
  mask-size: 200% 100%;
  mask-position: 100% 0;
  mask-repeat: no-repeat;

  animation: bg-reveal var(--bg-reveal-duration) var(--bg-reveal-ease) forwards;
}

@keyframes bg-reveal {
  to {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}

/* Fallback for browsers that don't support CSS masks: slide the pseudo-element away */
body.bg-reveal-fallback::before,
html.bg-reveal-fallback::before {
  transform: translateX(0);
  transition: transform var(--bg-reveal-duration) var(--bg-reveal-ease);
}
body.bg-reveal-fallback.bg-revealed::before,
html.bg-reveal-fallback.bg-revealed::before {
  transform: translateX(100%);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2rem;
}

p {
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent);
}

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ===== Header / Navigation ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  --webkit-backdrop-filter: blur(20px);

  z-index: 1000;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

  max-width: 90%;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}


.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  flex: 1;
}

.logo-img {
  height: 32px;
  width: auto;
  margin-right: var(--spacing-xs);
  display: block;
}

.hero-logo {
  max-width: 500px;
  width: auto;
  height: auto;
  margin: 0 auto var(--spacing-md);
  display: block;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.8) translateY(-20px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}

.hero-logo.loaded {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  flex: 2;
}

.nav-links a {
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 4px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

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

/* News Link Styling - Make it Stand Out */
.nav-links .nav-news {
  background: linear-gradient(135deg, rgba(150, 210, 0, 0.2) 0%, rgba(150, 210, 0, 0.1) 100%);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(150, 210, 0, 0.4);
  color: var(--color-accent);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links .nav-news::after {
  display: none;
}

.nav-links .nav-news:hover {
  background: linear-gradient(135deg, rgba(150, 210, 0, 0.3) 0%, rgba(150, 210, 0, 0.2) 100%);
  border-color: var(--color-accent);
  box-shadow: 0 0 15px rgba(150, 210, 0, 0.3);
  transform: translateY(-2px);
}

/* Subtle pulse animation for News link */
@keyframes nav-news-pulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(150, 210, 0, 0.2), inset 0 0 10px rgba(150, 210, 0, 0.05);
  }
  50% {
    box-shadow: 0 0 20px rgba(150, 210, 0, 0.4), inset 0 0 10px rgba(150, 210, 0, 0.1);
  }
}

.nav-links .nav-news {
  animation: nav-news-pulse 3s ease-in-out infinite;
}

.nav-actions {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  justify-content: flex-end;
}

.nav-actions-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.nav-actions-link:hover {
  transform: scale(1.1);
}

.nav-actions-link img {
  height: 56px;
  width: auto;
  display: block;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  display: inline-block;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-bg);
  white-space: nowrap;
  display: inline-flex;
}

.btn-primary:hover {
  background-color: white;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text);
}

.btn-secondary:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
}

.btn-primary-statement {
  background-color: var(--color-accent);
  color: var(--color-bg);

}

.btn-secondary-statement {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  background-color: rgba(0, 0, 0, 0.5);
}

/* ===== Mobile Menu ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--color-text);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(10px);
  padding: var(--spacing-md);
  z-index: 999;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu .nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.mobile-menu .nav-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: var(--spacing-md);
  gap: var(--spacing-sm);
}

.mobile-menu .btn {
  width: 100%;
}

/* ===== Hero Section ===== */
.hero {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: 0 var(--spacing-md) var(--spacing-md) !important;
  margin-top: 0;
  margin-bottom: 0;
}

.hero-content h1 {
  margin-top: 0;
}

.hero-full {
  min-height: 100vh;
  align-items: center;
  padding: var(--spacing-xl) var(--spacing-md);
}

.hero-content h1 {
  font-size: 5rem;
  margin-bottom: var(--spacing-sm);
  position: relative;
}

.hero-content h1 .accent {
  color: var(--color-accent);
}

.hero-content .tagline {
  font-size: 1.8rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: #000000 4px 4px 2px;
  margin-bottom: var(--spacing-lg);
}

.hero-content .btn {
  margin-top: var(--spacing-md);
}

.bold-statement {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  min-height: 100vh;
  padding: 0 2rem;

  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

/* hero glow animation */

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-accent) 0%, rgba(0,0,0,0) 70%);
  opacity: 0.15;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  animation: pulse-glow 6s infinite alternate;
}

@keyframes pulse-glow {
  0% { opacity: 0.1; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1.1); }
}

.bold-statement-content {
  position: relative;
  z-index: 2; /* Sits above the glow */
  margin-bottom: var(--spacing-lg);
  max-width: 900px;
}

.bold-statement-text {
  font-family: 'Aileron', sans-serif;
  font-size: 5rem; /* confident typography */
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: var(--spacing-md);
  letter-spacing: -2px;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;

  padding-bottom: 0.2em; /* fixing g */
  margin-bottom: -0.2em;
}

.text-gradient-below {
  background: linear-gradient(0deg, var(--color-accent) 0%, #ffffff 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* text effect */

.bold-statement-sub {
  font-size: 1.35rem;
  color: #ffffff;
  font-weight: 500; /* Slightly thicker font cuts through the background better */
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  
  /* Reset the "Button" styles */
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  
  /* The Fix: Strong shadow to lift text off the background */
  text-shadow: 
    0 2px 4px rgba(0,0,0,0.9),  /* Sharp shadow for definition */
    0 0 20px rgba(0,0,0,0.8);   /* Soft glow for contrast against white lines */
}

.bold-statement-actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 1rem;
}

.btn-primary-statement {
  background-color: var(--color-accent);
  color: #000; /* Black text on green is high contrast */
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 50px; /* Pill shape is very trendy (Zapier) */
  box-shadow: 0 0 20px rgba(150, 210, 0, 0.3); /* Green glow */
}

.btn-primary-statement:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(150, 210, 0, 0.5);
  background-color: #fff;
}

.btn-secondary-statement {
  /* Change background to be slightly darker/more opaque immediately */
  background-color: rgba(0, 0, 0, 0.4); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3); /* Stronger border for visibility */
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  
  /* Fix for the animation glitch */
  will-change: transform, background-color; 
  backface-visibility: hidden;
}

.btn-secondary-statement:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-3px);
}

/* Mobile Responsiveness for the new Hero */
@media (max-width: 768px) {
  .bold-statement {
    padding: 8rem 1.5rem 6rem;
  }
  
  .hero-glow {
    width: 300px;
    height: 300px;
  }

  .bold-statement-text {
    font-size: 3rem; /* Smaller on mobile but still big */
  }
  
  .bold-statement-sub {
    font-size: 1.1rem;
  }
  
  .bold-statement-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary-statement, .btn-secondary-statement {
    width: 100%;
    justify-content: center;
  }
}


/* Feature icons */
.feature-icon {
  width: 88px; /* slightly larger container */
  height: 88px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent; /* ensure no bg */
  border: none; /* remove any border */
  box-shadow: none; /* remove any shadow that might look like a border */
  outline: none; /* remove focus outline */
}

.feature-icon-img {
  width: 80px; /* slightly larger icon */
  height: 80px;
  display: block;
  border: none; /* ensure images don't show borders */
  background-color: transparent;
  box-shadow: none;
}

/* ===== Section Styles ===== */
section {
  padding: var(--spacing-xl) 0;
}

/* Override section padding for hero sections */
section.hero {
  padding: 0 var(--spacing-md) var(--spacing-md) !important;
}

/* Remove top padding from section immediately after hero */
section.hero + section {
  padding-top: 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-header h2 {
  margin-bottom: var(--spacing-sm);
}

.section-header .subheading {
  font-size: 1.2rem;
  color: var(--color-accent-alt);
  margin-bottom: var(--spacing-md);
}

.section-description {
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: #000000 2px 2px 2px;
}

/* ===== Trusted By / Carousel ===== */
.trusted-by {
  text-align: center;
  padding: var(--spacing-lg) 0;
}

.trusted-by-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);

  -webkit-mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 50px, 
        black calc(100% - 50px), 
        transparent 100%
    );
    mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 50px, 
        black calc(100% - 50px), 
        transparent 100%
    );

    /* Ensure user can scroll/see the full fade on devices with scrollbars */
    overflow-x: auto; 
}
 /* hiding scrollbars */
.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.carousel-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-item {
  flex: 0 0 180px;
  width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm);
  margin-right: var(--spacing-lg);
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.carousel-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.7));
}

/* ===== Feature Cards ===== */

#features {
  position: relative;
  z-index: 1;

  background-image: url(../assets/images/backgroundvariation1.png);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-top: 3px solid rgba(255, 255, 255, 0.8);
  border-bottom: 3px solid rgba(255, 255, 255, 0.8);

  box-shadow: inset 0 0 60px rgba(0,0,0,0.6);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature-card {
  background-color: rgba(0, 0, 0, 0.7);
  padding: var(--spacing-md);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: none;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Testimonial Cards ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.testimonial-card {
  background-color: rgba(0, 0, 0, 0.5);
  padding: var(--spacing-md);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-bg);
  font-size: 1.2rem;
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 0;
}

.testimonial-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  line-height: 1.6;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--color-accent);
  margin-right: var(--spacing-sm);
  vertical-align: top;
}

/* ===== Stop Coding / Saleline Section ===== */

.saleline-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.saleline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Split 50% / 50% */
  gap: 4rem; /* Space between text and card */
  align-items: center;
}

/* --- Left Side Typography --- */
.saleline-left {
  text-align: left;
}

.headline-stop {
  font-size: 4rem; /* Massive text */
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0;
  line-height: 1;
  opacity: 0.9;
}

.headline-start {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 0;
  
  /* The "Green Gradient" Effect for the positive action */
  background: linear-gradient(90deg, var(--color-accent) 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

      /* --- Right Side Glass Card --- */
.saleline-right {
  display: flex;
  justify-content: flex-end; /* Pushes card slightly right */
}

.info-card {
  background: rgba(255, 255, 255, 0.05); /* Very subtle white tint */
  backdrop-filter: blur(16px); /* Strong blur */
  -webkit-backdrop-filter: blur(16px);
  
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 16px;
  max-width: 500px;
  
  /* Shadow to lift it off the background */
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.info-card p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 300;
}

.info-card .highlight-white {
  color: #ffffff;
  font-weight: 600;
}

    /* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
  .saleline-grid {
    grid-template-columns: 1fr; /* Stack vertically on tablet/mobile */
    gap: 2rem;
    text-align: center;
  }
  
  .saleline-left {
    text-align: center;
  }
  
  .headline-stop, .headline-start {
    font-size: 3rem;
  }
  
  .saleline-right {
    justify-content: center;
  }
  
  .info-card {
    width: 100%;
    padding: 2rem;
  }
}

/* ===== Team Cards ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.team-card {
  /* GLASS EFFECT */
  background: rgba(255, 255, 255, 0.05); /* Slightly stronger tint */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  
  /* FIX: Stronger Border (30% opacity instead of 10%) */
  border: 1px solid rgba(255, 255, 255, 0.3); 
  
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  
  /* Ensure border isn't hidden by box-sizing issues */
  box-sizing: border-box; 
}

/* Optional Shine Effect */
.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(85deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: 0s;
  pointer-events: none;
}

/* Hover State */
.team-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  
  border-color: var(--color-accent) !important; 
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.team-card:hover::before {
  left: 100%;
  transition: 0.5s;
}
.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-bg);
  font-size: 2.5rem;
  margin: 0 auto var(--spacing-sm);
}

.team-avatar-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.team-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-xs);
}

.team-role {
  color: var(--color-accent);
  font-size: 0.95rem;
  margin-bottom: var(--spacing-sm);
}

.team-bio {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* ===== Product Cards ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.product-card {
  background-color: rgba(0, 0, 0, 0.788);
  padding: var(--spacing-md);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

/* Featured product: span full width of the products grid */
.product-card.featured {
  grid-column: 1 / -1;
  /* make it visually prominent */
  padding: calc(var(--spacing-md) * 1.25);
}

/* Featured product title styling */
.product-card.featured h3 {
  font-size: 2.25rem;
  color: var(--color-accent);
  font-weight: 800;
  margin-bottom: var(--spacing-xs);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
}

.product-image {
  width: 100%;
  height: 200px;

  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
  font-size: 3rem;
}

/* Ensure product images fit their container and don't overflow */
.product-image-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.product-features {
  list-style: none;
  margin: var(--spacing-sm) 0;
}

.product-features li {
  padding: var(--spacing-xs) 0;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  padding-left: var(--spacing-md);
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ===== Pricing Cards ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.pricing-card {
  background-color: rgba(0, 0, 0, 0.64);
  padding: var(--spacing-md);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
}

.pricing-card.featured {
  border-color: var(--color-accent);
  background-color: rgba(3, 18, 0, 0.551);
}

.pricing-card.featured:hover {
  border-color: white;
  background-color: rgba(3, 18, 0, 0.551);
}

.pricing-card.featured::before {
  content: 'Recommended';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent);
  color: var(--color-bg);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-name {
  font-size: 1.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: var(--spacing-xs);
  line-height: 1.15;
}

.pricing-price {
  font-size: 2.45rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.pricing-period {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-md);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: var(--spacing-md);
}

.pricing-features li {
  padding: 0.45rem 0;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

.pricing-features li::before {
  content: '✓';
  flex: 0 0 1rem;
  display: inline-block;
  line-height: 1.35;
  margin-top: 1px;
  color: var(--color-accent);
  font-weight: 700;
}

.pricing-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* --- The Add-on List Style --- */
.featured-addon {
    border-color: var(--color-accent);
    background: rgba(0, 0, 0, 0.7);
    position: relative;
}

.badge-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-accent);
    color: #000;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.addon-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.addon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    font-size: 0.95rem;
}

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

.addon-name {
    color: rgba(255, 255, 255, 0.9);
}

.addon-price {
    color: var(--color-accent);
    font-weight: 600;
    font-family: monospace; /* Makes numbers align nicely */
    font-size: 1rem;
}

/* --- Catalogue Link --- */
.catalogue-action {
    text-align: center;
    margin-top: 1rem;
}

.link-catalogue {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.link-catalogue span {
    display: inline-block;
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.link-catalogue:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.link-catalogue:hover span {
    transform: translateY(3px);
}

/* ===== Form Styles ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* ===== Footer ===== */
footer {
  background-color: rgba(0, 0, 0, 0.5);
  padding: var(--spacing-lg) 0 var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-accent);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-column ul li a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.social-icons {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icons a:hover {
transform: scale(1.15);
}

.social-icon-img {
  width: 30px;
  height: 30px;
  display: block;
}

.footer-badge {
  text-align: center;
  margin-top: var(--spacing-md);
}

.footer-badge-img {
  max-width: 150px;
  height: auto;
  /*display to avoid touching social icons*/
  display: inline-block;
  padding-top: 25px;
}

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Override fade-in transform for hero sections to prevent gap */
section.hero.fade-in {
  transform: translateY(0);
  opacity: 1;
  padding: 0 var(--spacing-md) var(--spacing-md) !important;
}

/* ===== Page Load Animation ===== */
.hero-content {
  opacity: 0;
}

.hero-content.loaded {
  opacity: 1;
}

.hero-content .tagline {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
}

.hero-content.loaded .tagline {
  opacity: 1;
  transform: translateY(0);
}

.hero-content .btn {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.9s, transform 0.6s ease 0.9s;
}

.hero-content.loaded .btn {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .hero-content .tagline {
    font-size: 1.4rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .team-grid,
  .products-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .carousel-item {
    flex: 0 0 140px;
    width: 140px;
    height: 60px;
    font-size: 1rem;
    margin-right: var(--spacing-md);
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

  .hero {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  section {
    padding: var(--spacing-lg) 0;
  }
}

/* --- Team Card Updates --- */
.team-intro {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    /* Limit to 3 lines just in case */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-read-more {
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background: var(--color-accent);
    color: #000;
    box-shadow: 0 0 15px rgba(150, 210, 0, 0.4);
}

/* --- Team Modal (Popup) Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Dark backdrop */
    backdrop-filter: blur(8px);       /* Blur the background site */
    z-index: 2000;                    /* On top of everything */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 600px;
    max-height: 85vh; /* Don't be taller than screen */
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

/* Modal Header */
.modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.modal-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.modal-title-group h3 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    color: #fff;
}

.modal-title-group p {
    color: var(--color-accent);
    margin: 0;
    font-size: 1rem;
}

/* Modal Body (Scrollable) */
.modal-body {
    overflow-y: auto; /* Allow scrolling if text is long */
    padding-right: 0.5rem; /* Space for scrollbar */
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.modal-body p {
    margin-bottom: 1rem;
}

/* Custom Scrollbar for Modal */
.modal-body::-webkit-scrollbar {
    width: 6px;
}
.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--color-accent);
}





/* ===== About Story Section ===== */
.about-story {
    padding: 8rem 0 4rem; /* Top padding to account for fixed header */
}

.story-header {
    margin-bottom: 4rem;
    max-width: 900px;
}

.story-header h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
}

/* The Grid Layout */
.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Narrative takes slightly more space */
    gap: 4rem;
    align-items: start;
}

/* Narrative Text Styling */
.story-narrative p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* The "Lead" paragraph - bigger and brighter */
.story-narrative .story-lead {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 300;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--color-accent);
    padding-left: 1.5rem;
}

/* The Right Side Glass Box */
.story-tech-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.story-tech-card h3 {
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

/* Tech List Styling */
.tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-list li {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.tech-list li strong {
    color: #ffffff;
    display: block; /* Makes the title sit on its own line */
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 2rem;
    }
    
    .story-header h1 {
        font-size: 2.5rem;
    }
    
    .story-narrative .story-lead {
        font-size: 1.25rem;
    }
}

.video-showcase {
  padding: 6rem 0 8rem;
  text-align: center;
  position: relative;
}

.video-frame-glass {
    max-width: 900px; /* Limits width on big screens */
    margin: 0 auto;
    padding: 1rem; /* This creates the glass "border" thickness */
    
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative; /* Context for the glow */
}

.video-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: var(--color-accent);
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.video-responsive-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio (9 / 16 = 0.5625) */
    height: 0;
    overflow: hidden;
    border-radius: 12px; /* Inner radius matches outer glass */
    background: #000; /* Loading placeholder color */
}

.video-responsive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.modal-avatar {
    /* Ensure the container clips the image to a circle */
    overflow: hidden; 
    background-color: transparent; /* Remove accent color behind image */
    padding: 0; /* Remove padding so image fills the circle */
}

.modal-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the circle without stretching */
    display: block;
}

/* ============================================
   Partner Ecosystem / Logo Grid Styles
   ============================================ */


.partner-ecosystem {
    position: relative;
    padding-top: 0; 
}

.logo-grid {
    display: flex;            
    justify-content: center;  
    flex-wrap: wrap;          
    gap: 1.5rem;
    margin-top: 2rem;
}

.logo-card {
    display: block;
    text-decoration: none;
    height: 120px;
    
    width: 240px;             
    max-width: 100%;
    
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.logo-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s ease;
}

/* Hover Effects */
.logo-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.logo-card:hover .partner-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Mobile Adjustment */
@media (max-width: 600px) {
    .logo-grid {
        gap: 1rem;
    }
    
    .logo-card {
        height: 100px;
        /* Forces 2 columns on mobile (50% width minus half the gap space) */
        width: calc(50% - 0.5rem); 
    }
}

/* --- Featured Review Section Styles --- */
        .review-section {
            padding: 4rem 0;
            position: relative;
        }

        .review-card-featured {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 16px;
            padding: 3rem;
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            box-shadow: 0 20px 50px rgba(0,0,0,0.3);
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        /* Decorative Quote Icon */
        .review-card-featured::before {
            content: '“';
            position: absolute;
            top: -20px;
            left: 40px;
            font-size: 8rem;
            line-height: 1;
            color: var(--color-accent);
            opacity: 0.2;
            font-family: serif;
            pointer-events: none;
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-wrap: wrap;
            gap: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 1.5rem;
        }

        .reviewer-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .reviewer-avatar {
            width: 60px;
            height: 60px;
            background-color: #333;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            font-weight: 700;
            color: #fff;
            border: 2px solid var(--color-accent);
            flex-shrink: 0;
        }

        .reviewer-details h3 {
            font-size: 1.25rem;
            margin: 0 0 0.25rem 0;
            color: #fff;
        }

        /* Ranger Badge Styling */
        .ranger-badge {
            display: inline-block;
            background-color: rgba(1, 118, 211, 0.2); /* Salesforce Blue tint */
            color: #4fc3f7; /* Light Blue text */
            border: 1px solid rgba(1, 118, 211, 0.5);
            padding: 4px 12px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .review-meta {
            text-align: right;
        }

        .stars {
            color: #FFD700; /* Gold for stars */
            font-size: 3rem;
            letter-spacing: 2px;
            margin-bottom: 0.25rem;
        }

        .review-date {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.5);
            display: block;
        }

        .review-body h4 {
            color: var(--color-accent);
            font-size: 1.4rem;
            margin-bottom: 1rem;
            margin-top: 0;
        }

        .review-text {
            font-size: 1.05rem;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.9);
            font-style: italic;
        }

        @media (max-width: 600px) {
            .review-header {
                flex-direction: column;
                align-items: flex-start;
            }
            .review-meta {
                text-align: left;
            }
            .review-card-featured {
                padding: 2rem;
            }
        }

/* ============================================
   Case Studies & Blog Cards
   ============================================ */

/* Case Studies Grid */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.case-study-card-link {
  text-decoration: none;
  color: inherit;
}

.case-study-card {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

.case-study-card-link:hover .case-study-card {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.case-study-featured-image {
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 150, 200, 0.1), rgba(150, 210, 0, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
}

.case-study-card-link:hover .case-study-featured-img {
  transform: scale(1.05);
}

.case-study-card-content {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-study-card h3 {
  font-size: 1.3rem;
  margin: 0 0 var(--spacing-xs) 0;
  color: #ffffff;
  line-height: 1.3;
}

.case-study-client {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 var(--spacing-sm) 0;
}

.case-study-excerpt {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
  line-height: 1.5;
}

.case-study-card-metrics {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  align-items: center;
}

.metric-badge {
  background: rgba(150, 210, 0, 0.15);
  border: 1px solid rgba(150, 210, 0, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.metric-badge .metric-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.metric-badge .metric-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.case-study-cta {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.case-study-card-link:hover .case-study-cta {
  transform: translateX(5px);
}

.case-study-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm);
  background: rgba(150, 210, 0, 0.1);
  border-radius: 4px;
  border-left: 3px solid var(--color-accent);
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.metric-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

.case-study-card .btn {
  margin-top: auto;
}

.case-study-highlights {
  background: rgba(150, 210, 0, 0.05);
  border-left: 3px solid var(--color-accent);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 4px;
  margin: var(--spacing-md) 0;
}

.case-study-highlights p {
  margin: 0 0 var(--spacing-sm) 0;
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
}

.case-study-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-study-highlights li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.case-study-highlights li:last-child {
  margin-bottom: 0;
}

.case-study-quote {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  margin: var(--spacing-md) 0 var(--spacing-sm) 0;
  padding-left: var(--spacing-md);
  border-left: 3px solid rgba(150, 210, 0, 0.3);
  font-size: 0.95rem;
  line-height: 1.6;
}

.case-study-attribution {
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 var(--spacing-md) 0;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.blog-card {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.blog-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(150, 210, 0, 0.1), rgba(150, 210, 0, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.blog-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
}

.blog-card:hover .blog-image-img {
  transform: scale(1.05);
}

.blog-image-placeholder {
  font-size: 3rem;
  opacity: 0.4;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image-placeholder {
  transform: scale(1.1);
}

.blog-content {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-sm);
  font-size: 0.85rem;
  align-items: center;
}

.blog-date {
  color: rgba(255, 255, 255, 0.6);
}

.blog-read-time {
  color: rgba(255, 255, 255, 0.5);
}

.blog-category {
  background: rgba(150, 210, 0, 0.2);
  color: var(--color-accent);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.75rem;
}

.blog-card h3 {
  font-size: 1.4rem;
  margin: 0 0 var(--spacing-sm) 0;
  color: #ffffff;
  line-height: 1.3;
}

.blog-excerpt {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
  line-height: 1.6;
}

.blog-link {
  color: var(--color-accent);
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.blog-link:hover {
  transform: translateX(5px);
  color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .case-study-metrics {
    grid-template-columns: 1fr;
  }

  .blog-card h3 {
    font-size: 1.2rem;
  }

  .blog-image {
    height: 150px;
  }

  .nav-links .nav-news {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* ============================================
   Full Case Study Page Styles
   ============================================ */

.case-study-full {
  padding: 4rem 0;
  position: relative;
}

.case-study-back-link {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.case-study-back-link:hover {
  transform: translateX(-5px);
  color: white;
}

.case-study-full-hero {
  width: 100%;
  margin-bottom: 3rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.case-study-full-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.case-study-full-content {
  max-width: 900px;
  margin: 0 auto;
}

.case-study-full-header {
  margin-bottom: 3rem;
}

.case-study-full-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.case-study-full-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.case-study-full-company {
  font-weight: 600;
  color: var(--color-accent);
}

.case-study-full-industry {
  background: rgba(150, 210, 0, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(150, 210, 0, 0.3);
  font-size: 0.85rem;
}

.case-study-full-body {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-size: 1.05rem;
}

.case-study-full-body h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem 0;
  color: #ffffff;
  font-weight: 700;
}

.case-study-full-body h2:first-child {
  margin-top: 0;
}

.case-study-full-body p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.case-study-full-highlights {
  background: rgba(150, 210, 0, 0.08);
  border-left: 4px solid var(--color-accent);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.case-study-full-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-study-full-highlights li {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

.case-study-full-highlights li:last-child {
  margin-bottom: 0;
}

.case-study-full-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(150, 210, 0, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(150, 210, 0, 0.2);
}

.metric-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.metric-large-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.metric-large-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.case-study-full-testimonial {
  background: rgba(255, 255, 255, 0.02);
  border-top: 2px solid rgba(150, 210, 0, 0.3);
  border-bottom: 2px solid rgba(150, 210, 0, 0.3);
  padding: 2.5rem 2rem;
  margin: 3rem 0;
  position: relative;
}

.testimonial-quote {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #ffffff;
  font-style: italic;
  margin: 0 0 1.5rem 0;
  font-weight: 300;
}

.testimonial-attribution {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.5rem;
  margin-top: 1.5rem;
}

.testimonial-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 0.25rem 0;
  font-style: normal;
}

.testimonial-title {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0.25rem 0;
  font-style: normal;
}

.testimonial-company {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-style: normal;
}

.case-study-full-cta {
  display: flex;
  gap: 1rem;
  margin: 3rem 0 0 0;
  flex-wrap: wrap;
}

.case-study-full-cta .btn {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

@media (max-width: 768px) {
  .case-study-full-header h1 {
    font-size: 1.8rem;
  }

  .case-study-full-body {
    font-size: 1rem;
  }

  .case-study-full-body h2 {
    font-size: 1.4rem;
    margin: 1.5rem 0 0.75rem 0;
  }

  .case-study-full-metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }

  .metric-large-value {
    font-size: 2rem;
  }

  .case-study-full-testimonial {
    padding: 1.5rem;
  }

  .case-study-full-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .case-study-full-cta .btn {
    width: 100%;
  }
}

/* ============================================
   Full Blog Post Page Styles
   ============================================ */

.blog-content {
  padding: 4rem 0;
  position: relative;
}

.blog-content .container {
  max-width: 1200px;
}

.blog-article {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto;
}

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #ffffff;
}

.blog-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1rem;
}

.blog-meta .blog-category,
.blog-meta .blog-date,
.blog-meta .blog-read-time {
  background: rgba(150, 210, 0, 0.1);
  color: var(--color-accent);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(150, 210, 0, 0.3);
}

.blog-meta .blog-author {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-style: italic;
}

.blog-key-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-key-metrics h2 {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-size: 1.8rem;
}

.blog-article h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem 0;
  color: #ffffff;
  font-weight: 700;
}

.blog-article p {
  text-align: justify;
  margin-bottom: 1.5rem;
}

.blog-article h3 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem 0;
  color: #ffffff;
  font-weight: 600;
}

.blog-article p {
  margin-bottom: 1.5rem;
}

.blog-article ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.blog-article li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.blog-highlight {
  background: rgba(150, 210, 0, 0.05);
  border-left: 4px solid var(--color-accent);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.blog-highlight h3 {
  color: var(--color-accent);
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.blog-highlight p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.blog-cta {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  margin: 3rem 0;
}

.blog-cta p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #ffffff;
}

.blog-cta .btn {
  margin: 0 0.5rem 0.5rem 0;
}

.blog-sidebar {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.sidebar-widget {
  margin-bottom: 2rem;
}

.sidebar-widget:last-child {
  margin-bottom: 0;
}

.sidebar-widget h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-widget li {
  margin-bottom: 0.75rem;
}

.sidebar-widget a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
  line-height: 1.4;
}

.sidebar-widget a:hover {
  color: var(--color-accent);
}

.metric-highlight {
  background: rgba(150, 210, 0, 0.1);
  border: 1px solid rgba(150, 210, 0, 0.3);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 1rem;
}

.metric-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.metric-unit {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

.social-share {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.social-link:hover {
  background: var(--color-accent);
  color: #000000;
}

@media (max-width: 1024px) {
  .blog-content {
    padding: 4rem 0;
  }

  .blog-sidebar {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .blog-header h1 {
    font-size: 2rem;
  }

  .blog-meta {
    gap: 1rem;
  }

  .blog-meta .blog-category,
  .blog-meta .blog-date,
  .blog-meta .blog-read-time {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .blog-meta .blog-author {
    font-size: 0.85rem;
  }

  .blog-article {
    font-size: 1rem;
  }

  .blog-article h2 {
    font-size: 1.4rem;
    margin: 2rem 0 0.75rem 0;
  }

  .blog-article h3 {
    font-size: 1.2rem;
  }

  .blog-highlight {
    padding: 1rem 1.5rem;
  }

  .blog-cta {
    padding: 1.5rem;
  }

  .blog-key-metrics {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .blog-sidebar {
    padding: 1.5rem;
  }

  .metric-number {
    font-size: 1.5rem;
  }
}