/*──────────────────────────────────────────────────────────────────────────────
  Reset & Variables
──────────────────────────────────────────────────────────────────────────────*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette */
  --bg-color:        #f5f5f0;
  --text-color:      #333;
  --hero-bg:         #249EDC;
  --btn-bg:          #124F6E;
  --btn-text:        #fff;
  --header-border:   #e5e5e0;
  --card-border:     #e0e0db;
  --link-color:      #124F6E;
  --footer-text:     #666;

  /* Spacing */
  --grid-gap:        2rem;
  --section-padding: 4rem;
}

/*──────────────────────────────────────────────────────────────────────────────
  Base Styles & Typography
──────────────────────────────────────────────────────────────────────────────*/
html {
  scroll-padding-top: 140px;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
  scroll-margin-top: 140px;
}

section:not(.hero) h2::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 3rem;
  height: 4px;
  background: var(--btn-bg);
}

/*──────────────────────────────────────────────────────────────────────────────
  Header & Navigation
──────────────────────────────────────────────────────────────────────────────*/
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  margin: 0;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--header-border);
  background: #ffffff;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.site-header-wrapper {
  max-width: 800px;
  width: 100%;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-controls {
  display: flex;
  justify-content: flex-end;
}

.logo-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-vertical h1 {
  font-size: 1.5rem;
  margin-top: -5px;
}

.logo-vertical .tagline {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.25rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--link-color);
}

/*──────────────────────────────────────────────────────────────────────────────
  Hamburger (Mobile) Navigation
──────────────────────────────────────────────────────────────────────────────*/
.hamburger-menu {
  display: none;
  width: 30px;
  height: 21px;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100vh;
  background-color: var(--bg-color);
  padding: 80px 20px 20px;
  box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  transition: right 0.3s ease-in-out;
  z-index: 9;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  display: block;
  padding: 15px 0;
  color: var(--text-color);
  text-decoration: none;
  border-bottom: 1px solid var(--header-border);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/*──────────────────────────────────────────────────────────────────────────────
  Buttons
──────────────────────────────────────────────────────────────────────────────*/
.btn-primary {
  display: inline-block;
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.1);
}

.btn-primary:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

.marketplace-cta {
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.marketplace-cta-block {
  background: linear-gradient(135deg, #eaf6ff 0%, #f7fbff 100%);
  border: 1px solid rgba(36, 158, 220, 0.2);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.btn-marketplace {
  background: #29b5e8;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1rem 2.4rem;
  font-size: 1.05rem;
  line-height: 1.25;
  text-align: center;
}

.btn-marketplace:hover {
  background: #29b5e8;
}

.marketplace-cta-logo {
  height: 22px;
  width: auto;
  display: inline-block;
}

.floating-cta .marketplace-cta-logo {
  height: 18px;
}

.cta-line-two {
  display: block;
  width: 100%;
  font-size: 0.98rem;
}

.floating-cta .cta-line-two {
  font-size: 0.85rem;
}

.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border-radius: 999px;
  padding: 0.4rem 0.5rem;
  max-width: 240px;
  width: fit-content;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-cta .btn-marketplace {
  box-shadow: none;
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 999px;
  gap: 0.4rem;
}

.floating-cta.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
}

@media (max-width: 640px) {
  .floating-cta {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    border-radius: 12px;
    padding: 0.5rem;
    max-width: none;
    width: auto;
  }
  
  .floating-cta .btn-marketplace {
    width: 100%;
    justify-content: center;
  }
}

.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--bg-color);
  color: var(--btn-bg);
  border: 2px solid var(--btn-bg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/*──────────────────────────────────────────────────────────────────────────────
  Hero Section
──────────────────────────────────────────────────────────────────────────────*/
.hero {
  background: var(--hero-bg);
  color: var(--btn-text);
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/*──────────────────────────────────────────────────────────────────────────────
  Hero Intro/Outro Size Tweak
──────────────────────────────────────────────────────────────────────────────*/
.hero-intro {
  font-size: 4.5rem;    /* increased from 3.5rem to make it larger */
  font-weight: 600;      /* a bit bolder */
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem; /* increased from 0.75rem to add more space below */
}

.hero-outro {
  margin: 1rem 0 2rem;   /* separate a bit more from the paragraphs */
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.hero-paragraph {
  max-width: 700px;
  margin: 0.5em 0;
  font-family: Texta, sans-serif;
  font-size: 1.25rem;
  line-height: 1.9;                   /* more breathing room */
  font-weight: 600;                   /* extra light */
  color: rgba(255, 255, 255, 0.9);    /* slightly translucent white */
  letter-spacing: 0.02em;             /* gentle tracking */
  text-shadow: 0 1px 2px rgba(0,0,0,0.2); /* subtle depth for legibility */
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}
.hero-paragraph.first  { animation-delay: 1.3s; } /* Match gear rise timing (1300ms) */
.hero-paragraph.second { animation-delay: 1.3s; } /* Same as first paragraph */

.hero-cta {
  margin-top: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 1.3s; /* Match paragraph timing exactly */
}

/*──────────────────────────────────────────────────────────────────────────────
  "Unify" Pair & Animations
──────────────────────────────────────────────────────────────────────────────*/
.unify-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  gap: 1rem;
  max-width: 600px;
  width: 100%;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  position: relative;
}

.unify-pair::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

.unify-pair .and-symbol {
  font-size: 2rem;
  color: #000;
  flex: 0 0 auto;
  display: inline-block;
  margin: 0 1rem;
  opacity: 1 !important;
}

.unify-pair span {
  flex: 1;
  white-space: nowrap;
  opacity: 0;
  color: #000;
  display: flex;
}

@media (max-width: 480px) {
  .unify-pair span {
    white-space: normal;
  }
}

.unify-pair .slide-in-left {
  justify-content: flex-end;
  animation: slideInFromLeft 1s ease-out forwards;
  animation-delay: 0.2s;
}

.unify-pair .slide-in-right {
  justify-content: flex-start;
  animation: slideInFromRight 1s ease-out forwards;
  animation-delay: 0.2s;
  padding-left: 0;
}

@keyframes slideInFromLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

@keyframes slideInFromRight {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

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

@keyframes fadeInUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/*──────────────────────────────────────────────────────────────────────────────
  Sections (Products, Services, About, Video)
──────────────────────────────────────────────────────────────────────────────*/
section {
  padding: var(--section-padding) 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.products .product-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: var(--grid-gap);
  margin-top: 2rem;
}

/* Product logo and title styling */
.product-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.product-tile .product-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 0;
  margin-right: 1rem;
}

.product-tile h3 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: #000;
  letter-spacing: -0.01em;
}

/* Product tile styling */
.product-tile {
  background: var(--bg-color);
  border: 2px solid var(--card-border);
  padding: 2.5rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.product-tile p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: #444;
}

/* Product tagline styling */
.product-tile p em {
  display: block;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  color: var(--btn-bg);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-left: 3px solid var(--btn-bg);
  padding-left: 0.8rem;
  font-style: normal;
  line-height: 1.4;
}

.product-tile .btn-secondary {
  margin-top: auto;
  align-self: flex-start;
}

.product-tile::before {
  content: "";
  position: absolute;
  inset: 0.5rem;
  background: var(--btn-bg);
  opacity: 0.05;
  z-index: -1;
  border-radius: 2px;
}

.product-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Product page styles */
.product-hero {
  text-align: center;
  padding: 4rem 1rem;
  background: var(--bg-color);
  max-width: 900px;
  margin: 0 auto;
}

.hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.hero-message {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-color);
  font-weight: 600;
  line-height: 1.3;
}

.product-hero .product-logo {
  margin-bottom: 1.5rem;
}

.powered-by-banner {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.powered-by-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.product-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

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

.product-subtagline {
  font-size: 1.2rem;
  color: var(--btn-bg);
  font-style: italic;
  margin-bottom: 2rem;
}

.product-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.5rem 1rem 3rem;
}

.content-section {
  margin-bottom: 4rem;
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-weight: 600;
}

.content-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
  color: var(--text-color);
  font-weight: 600;
}

.content-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1.2rem;
}

.product-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 600;
}

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

.hero-tagline-small {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 600;
  font-style: italic;
}

.hero-description {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--text-color);
  max-width: 800px;
  margin: 0 auto 1rem;
}

/* Transformation Animation */
.transformation-animation {
  margin: 3rem auto;
  max-width: 800px;
  height: 350px;
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.refresh-animation {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #666;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.refresh-animation:hover {
  color: var(--btn-bg);
  transform: rotate(180deg);
}

.refresh-animation:active {
  transform: rotate(360deg);
}

.animation-container {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.animation-subtitle {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  color: #666;
  font-weight: 500;
  margin: 0;
  padding: 0rem 1.5rem;
  z-index: 5;
  text-align: center;
  line-height: 1;
}

.animation-just {
  font-size: 1.6rem;
  font-weight: 600;
  font-style: italic;
  opacity: 0;
  animation: fadeInJust 0.3s ease-in forwards;
  animation-delay: 4s;
  display: block;
  text-align: center;
  margin-bottom: 0;
  line-height: 1;
}

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

.anim-icon {
  object-fit: contain;
  position: absolute;
}

.anim-spreadsheet {
  width: 120px;
  height: 120px;
  left: 50%;
  transform: translateX(calc(-50% - 200px));
  opacity: 1;
  will-change: transform;
  animation: moveLeftLoop 8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 2s;
}

.anim-legacy {
  width: 300px;
  height: 300px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
  will-change: opacity, transform;
  animation: fadeOutLoop 8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 2s;
}

.anim-snowflake {
  width: 120px;
  height: 120px;
  left: 50%;
  transform: translateX(calc(-50% + 200px));
  opacity: 1;
  will-change: transform;
  animation: moveRightLoop 8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 2s;
}

@keyframes moveLeftLoop {
  0% {
    transform: translateX(calc(-50% - 200px));
  }
  10% {
    transform: translateX(calc(-50% - 200px));
  }
  25% {
    transform: translateX(calc(-50% - 80px));
  }
  100% {
    transform: translateX(calc(-50% - 80px));
  }
}

@keyframes moveRightLoop {
  0% {
    transform: translateX(calc(-50% + 200px));
  }
  10% {
    transform: translateX(calc(-50% + 200px));
  }
  25% {
    transform: translateX(calc(-50% + 80px));
  }
  100% {
    transform: translateX(calc(-50% + 80px));
  }
}

@keyframes fadeOutLoop {
  0% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  10% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  15% {
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
  }
}

/* Responsive adjustments for thin screens */
@media (max-width: 600px) {
  .anim-spreadsheet {
    animation: moveLeftLoopMobile 8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 2s;
  }
  
  .anim-snowflake {
    animation: moveRightLoopMobile 8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 2s;
  }
  
  @keyframes moveLeftLoopMobile {
    0% {
      transform: translateX(calc(-50% - 140px));
    }
    10% {
      transform: translateX(calc(-50% - 140px));
    }
    25% {
      transform: translateX(calc(-50% - 90px));
    }
    100% {
      transform: translateX(calc(-50% - 90px));
    }
  }
  
  @keyframes moveRightLoopMobile {
    0% {
      transform: translateX(calc(-50% + 140px));
    }
    10% {
      transform: translateX(calc(-50% + 140px));
    }
    25% {
      transform: translateX(calc(-50% + 90px));
    }
    100% {
      transform: translateX(calc(-50% + 90px));
    }
  }
}

.feature-list,
.cost-list,
.advantage-list,
.yes-qa-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list li,
.cost-list li,
.advantage-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
}

.yes-qa-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  padding-left: 0;
  position: relative;
  padding-left: 2.5rem;
}

.checkmark {
  position: absolute;
  left: 0;
  top: 0.2em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  background-color: #99c23b;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1;
  flex-shrink: 0;
}

.yes-inline {
  display: inline;
  height: 1.8em;
  width: auto;
  vertical-align: middle;
  margin-left: 0.3em;
}

.yes-rotate-left {
  transform: rotate(-3deg);
}

.yes-rotate-right {
  transform: rotate(3deg);
}

.yes-inline-heading {
  display: inline-block;
  height: 2em;
  width: auto;
  vertical-align: middle;
  margin: 0 0.2em;
}

.yes-inline-text {
  display: inline-block;
  height: 1.5em;
  width: auto;
  vertical-align: middle;
  margin: 0 0.2em;
}

.yes-graphic-container {
  text-align: center;
  margin: 3rem 0 2rem;
  perspective: 1000px;
}

.yes-graphic {
  display: inline-block;
  max-width: 300px;
  height: auto;
}

.feature-list li::before,
.cost-list li::before,
.advantage-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--btn-bg);
  font-size: 1.5rem;
  font-weight: bold;
}

.use-case {
  margin-bottom: 2.5rem;
  padding: 1.5rem 1.5rem 2.4rem;
  background: rgba(153, 194, 59, 0.05);
  border-left: 4px solid #99c23b;
  border-radius: 4px;
  scroll-margin-top: 140px;
  position: relative;
}

.use-case-back {
  position: absolute;
  right: 1rem;
  bottom: 0.8rem;
  margin-top: 0;
  font-size: 0.95rem;
  color: var(--btn-bg);
  text-decoration: none;
  font-weight: 700;
}

.use-case-back:hover {
  text-decoration: underline;
}

/* Ensure anchored content sections (like Excel-to-Snowflake options) scroll with header offset */
.content-section[id] {
  scroll-margin-top: 140px;
}

.use-case h3 {
  margin-top: 0;
}

.use-case-subtitle {
  margin-bottom: 1rem;
  margin-top: 0.5rem;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-color);
  font-style: italic;
}

.use-case-nav {
  margin: 2rem 0 3rem 0;
  padding: 0;
  scroll-margin-top: 160px;
}

.use-case-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.use-case-nav li {
  margin: 0;
}

.use-case-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.75rem;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 8px;
  background: rgba(36, 158, 220, 0.05);
  border: 1px solid rgba(36, 158, 220, 0.2);
  transition: all 0.2s ease;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  min-height: 80px;
}

.use-case-nav a:hover {
  background-color: rgba(36, 158, 220, 0.15);
  border-color: var(--btn-bg);
  color: var(--btn-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.use-case-nav a:focus {
  outline: 2px solid var(--btn-bg);
  outline-offset: 2px;
}

.section-highlight {
  background: rgba(153, 194, 59, 0.1);
  padding: 1.5rem;
  border-left: 4px solid #99c23b;
  border-radius: 4px;
  font-weight: 500;
  margin: 1.5rem 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.nist-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1rem;
}

.nist-table thead {
  background: var(--btn-bg);
  color: white;
}

.nist-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.nist-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--card-border);
}

.nist-table tbody tr:hover {
  background: rgba(153, 194, 59, 0.05);
}

.nist-table tbody tr:last-child td {
  border-bottom: none;
}

.use-cases {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.use-cases li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
}

.use-cases li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--btn-bg);
  font-size: 1.5rem;
}

/* Reseed Intro */
.reseed-intro {
  padding: 4rem 2rem;
  background: var(--bg-color);
  max-width: 800px;
  margin: 0 auto;
}

.reseed-intro-header {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  font-weight: 600;
  text-align: left;
}

.reseed-card {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  background: #ffffff;
  border: 2px solid var(--card-border);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.reseed-card-logo {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.reseed-logo {
  width: 180px;
  height: 180px;
  max-width: 100%;
  height: auto;
}

.reseed-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
}

.product-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.reseed-card-title {
  font-size: 2rem;
  color: var(--btn-bg);
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.powered-by-snowflake-logo {
  width: 150px;
  height: auto;
  margin: 0.1rem 0;
  display: block;
}

.development-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #f0f0f0;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reseed-intro-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-color);
  margin: 0;
}

.reseed-tagline {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin: 0.25rem 0 0 0;
  font-weight: 400;
}

.reseed-card-button {
  align-self: flex-end;
  margin-top: auto;
  pointer-events: none;
  background: transparent;
  color: var(--btn-bg);
  border: 1px solid var(--btn-bg);
  box-shadow: none;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

.reseed-card-button:hover {
  transform: none;
  box-shadow: none;
  background: var(--btn-bg);
  color: var(--btn-text);
}

@media (max-width: 768px) {
  .reseed-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .reseed-card-logo {
    align-self: center;
  }
  
  .reseed-card-content {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  
  .reseed-card-title {
    text-align: center;
    width: 100%;
  }
  
  .powered-by-snowflake-logo {
    margin-left: auto;
    margin-right: auto;
  }
  
  .reseed-intro-text {
    text-align: center;
    width: 100%;
  }
  
  .reseed-tagline {
    text-align: center;
    width: 100%;
  }
  
  .reseed-card-button {
    align-self: center;
  }
}

.services {
  background: var(--bg-color);
  color: var(--text-color);
}
.services h2 {
  color: var(--text-color);
}
.services .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: var(--grid-gap);
  margin-top: 2rem;
}
.service-card {
  background: var(--bg-color);
  border: 2px solid var(--card-border);
  padding: 2rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.service-card h3 {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--text-color);
}
.service-card h3::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2.5rem;
  height: 3px;
  background: var(--btn-bg);
}
.service-card ul {
  list-style: none;
  padding: 0;
}
.service-card li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  color: var(--text-color);
}
.service-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--btn-bg);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0.5rem;
  background: var(--btn-bg);
  opacity: 0.05;
  z-index: -1;
  border-radius: 2px;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.about {
  position: relative;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 48%, var(--card-border) 49%, var(--card-border) 51%, transparent 52%);
  background-size: 30px 30px;
  opacity: 0.1;
  pointer-events: none;
}

/* About section content layout */
.about-content {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 1.5rem;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-text .callout-quote {
  font-style: italic;
  font-weight: 600;
}

.signature {
  margin-top: 2.5rem;
  padding-top: 2rem;
}

.signature p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.signature-name {
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 0.75rem !important;
}

.signature-title {
  color: var(--text-color);
  font-size: 0.95rem;
  margin-bottom: 0.25rem !important;
}

.signature-company {
  color: var(--btn-bg);
  font-weight: 600;
  font-size: 1rem;
}

.reseed-cta-small {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #ffffff;
  color: var(--text-color);
  border: 2px solid var(--card-border);
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.reseed-cta-small:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  border-color: var(--btn-bg);
}

.reseed-cta-logo-small {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-right: 0.1rem;
  vertical-align: baseline;
  position: relative;
  top: -1px;
}

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

.about-image {
  flex: 0 0 270px;
  position: relative;
  align-self: flex-start;
  margin-top: 0;
}

/* Photo stack styling */
.photo-stack {
  position: relative;
  width: 95%;
  height: 400px;
  perspective: 1000px;
  margin-top: 0;
}

.family-image {
  position: absolute;
  width: 85%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 4px solid white;
  transform: rotate(8deg) translateX(30px) translateY(180px);
  z-index: 1;
}

.profile-image {
  position: relative;
  width: 85%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 4px solid white;
  transform: rotate(-3deg) translateX(0) translateY(0);
  z-index: 2;
}

/* Responsive adjustments for the about section */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column-reverse;
    gap: 1rem;
  }
  
  .about-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 1rem;
  }
  
  .photo-stack {
    margin-bottom: 0;
    height: 200px;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
  }
  
  .family-image {
    position: absolute;
    transform: rotate(8deg);
    width: 45%;
    right: -2%;
    top: 10px;
  }
  
  .profile-image {
    position: absolute;
    transform: rotate(-3deg);
    width: 45%;
    left: 20%;
    top: 10px;
  }
}

.video-demo {
  background: var(--hero-bg);
  color: var(--btn-text);
}
.video-placeholder {
  position: relative;
  padding-top: 56.25%;
  margin-top: 2rem;
  border: 2px solid var(--card-border);
  background: var(--bg-color);
}
.video-placeholder img {
  position: absolute;
  inset: 0;
  object-fit: cover;
}

/*──────────────────────────────────────────────────────────────────────────────
  Video Container (Responsive YouTube Embed)
──────────────────────────────────────────────────────────────────────────────*/
.video-section {
  text-align: center;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid var(--card-border);
  border-radius: 8px;
  background: var(--bg-color);
}

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

/*──────────────────────────────────────────────────────────────────────────────
  Contact CTA
──────────────────────────────────────────────────────────────────────────────*/
.contact-cta {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--bg-color);
}

/*──────────────────────────────────────────────────────────────────────────────
  Contact Section
──────────────────────────────────────────────────────────────────────────────*/
.contact-section {
  padding: 4rem 2rem;
  background: var(--bg-color);
  max-width: 800px;
  margin: 0 auto;
}

.contact-content {
  max-width: 600px;
  margin: 0;
}

.contact-content h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-color);
  scroll-margin-top: 140px;
  text-align: left;
}

.contact-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.contact-content a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
}

.contact-content a:hover {
  text-decoration: underline;
}

/*──────────────────────────────────────────────────────────────────────────────
  Footer
──────────────────────────────────────────────────────────────────────────────*/
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  color: var(--footer-text);
  border-top: 1px solid var(--header-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.site-footer .copyright {
  margin-top: 0.5rem;
}

/*──────────────────────────────────────────────────────────────────────────────
  Responsive
──────────────────────────────────────────────────────────────────────────────*/
@media (max-width: 1024px) {
  .use-case-nav ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links          { display: none; }
  .hamburger-menu     { display: flex; }
  .mobile-menu        { display: block; }
  .hero               { padding: 3rem 1rem; }
  .hero-intro         { font-size: 3.5rem; } /* Added specific mobile size for hero-intro */
  .unify-pair         { 
    font-size: clamp(1.2rem, 4.5vw, 2rem);
    gap: clamp(0.3rem, 1.2vw, 1rem);
    flex-wrap: wrap;
    max-width: 100%;
    padding: 0 0.5rem;
    line-height: 1.4;
    align-items: center;
  }
  .unify-pair .and-symbol {
    font-size: clamp(1.1rem, 4vw, 2rem);
    margin: 0 clamp(0.2rem, 0.8vw, 1rem);
    line-height: inherit;
    flex: 0 0 auto;
  }
  .unify-pair .slide-in-left {
    flex: 0 1 auto;
    min-width: 0;
    line-height: inherit;
    margin-right: 0;
    align-self: flex-start;
  }
  .unify-pair .slide-in-right {
    flex: 0 1 auto;
    min-width: 0;
    line-height: inherit;
    margin-left: 0;
    align-self: flex-start;
  }
  /* When text wraps to multiple lines, increase vertical spacing */
  .unify-pair span {
    margin: 0;
  }
  /* Increase gap when wrapping occurs to prevent overlap */
  .unify-pair {
    row-gap: clamp(0.4rem, 2vw, 0.8rem);
    align-items: flex-start;
  }
  h1                  { font-size: 2rem; }
  h2                  { font-size: 1.75rem; }
  .product-tiles      { grid-template-columns: 1fr; }
  .services-grid      { grid-template-columns: 1fr; gap: 2rem; }
  .yes-qa-list        { column-count: 1 !important; column-width: auto !important; }
  .yes-qa-list li     { break-inside: avoid; }
  .use-case-nav ul    { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .use-case-nav a     { font-size: 0.85rem; padding: 0.75rem 0.5rem; min-height: 70px; }
}

@media (max-width: 310px) {
  .unify-pair .slide-in-right {
    margin-top: 1.5rem; /* Add margin when Outcomes wraps to new line */
  }
}

/* Infrastructure animation styling */
.infrastructure-animation {
  position: absolute;
  top: -40px; /* Position above the text */
  left: 0;
  width: 100%;
  height: 35px; /* Match the clip height */
  pointer-events: none; /* Don't interfere with text selection */
  text-align: center; /* Help with centering */
}

/* Outcomes animation styling */
.outcomes-animation {
  position: absolute;
  top: -40px; /* Position above the text */
  left: 0;
  width: 100%;
  height: 40px;
  pointer-events: none; /* Don't interfere with text selection */
  text-align: center; /* Help with centering */
}

/* Outcomes graph styling */
.outcomes-graph {
  position: absolute;
  top: -40px; /* Position above the text */
  left: 0;
  width: 100%;
  height: 40px;
  pointer-events: none; /* Don't interfere with text selection */
  text-align: center; /* Help with centering */
}

.slide-in-left {
  position: relative;
}

.slide-in-right {
  position: relative;
}

.about-text h3 {
  margin: 1.5rem 0 1rem;
  color: var(--btn-bg);
  font-size: 1.4rem;
}

.about-text p:last-of-type {
  line-height: 1.8;
}

.about-text p:last-of-type br {
  margin-bottom: 0.2rem;
  display: block;
  content: "";
}

/*──────────────────────────────────────────────────────────────
  Mobile tweaks for transformation animation
  - Make thin screens behave like desktop (but scaled down)
  - Keep Snowflake comfortably separated, no overlap
──────────────────────────────────────────────────────────────*/
@media (max-width: 600px) {
  .transformation-animation {
    max-width: 100%;
    height: 280px;
    padding: 1.25rem 1rem;
    overflow: visible;  /* Allow scaled content to be visible */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .animation-container {
    margin-bottom: 0.5rem;
    padding: 0;
    position: relative;
    width: 100%;
  }

  /* Set icon sizes as percentage of viewport width for better scaling */
  .anim-spreadsheet,
  .anim-snowflake {
    /* Desktop: 120px, mobile: ~15% of viewport width */
    width: min(120px, 15vw);
    height: min(120px, 15vw);
  }

  .anim-legacy {
    /* Desktop: 300px, mobile: ~40% of viewport width */
    width: min(300px, 40vw);
    height: min(300px, 40vw);
  }

  /* Scale offsets proportionally based on viewport */
  /* Desktop offsets: ±200px start, ±80px end */
  /* Scale factor: use viewport width / 800 (desktop base) */
  /* For 375px viewport: scale = 375/800 = 0.47 */
  /* Scaled offsets: start ±94px, end ±38px */
  
  .anim-spreadsheet {
    transform: translateX(calc(-50% - min(200px, 25vw)));
    animation-name: moveLeftLoopMobile;
  }

  .anim-snowflake {
    transform: translateX(calc(-50% + min(200px, 25vw)));
    animation-name: moveRightLoopMobile;
  }

  /* Mobile keyframes with viewport-scaled offsets */
  @keyframes moveLeftLoopMobile {
    0%, 10% {
      transform: translateX(calc(-50% - min(200px, 25vw)));
    }
    25%, 100% {
      transform: translateX(calc(-50% - min(80px, 10vw)));
    }
  }

  @keyframes moveRightLoopMobile {
    0%, 10% {
      transform: translateX(calc(-50% + min(200px, 25vw)));
    }
    25%, 100% {
      transform: translateX(calc(-50% + min(80px, 10vw)));
    }
  }

  /* Subtitle below the graphics (no overlap) */
  .animation-subtitle {
    position: static;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 0.5rem;
    padding: 0 0.75rem;
    font-size: 1rem;
    line-height: 1.3;
  }
}
