/* GT Connect — i18n, layout fixes, Scaleon-faithful interactions */

html[lang="ar"] {
  direction: rtl;
}

html[lang="ar"] .nav-left,
html[lang="ar"] .nav-link-wrap,
html[lang="ar"] .hero-list-item,
html[lang="ar"] .service-item-list-item-wrap,
html[lang="ar"] .footer-link-wrap {
  direction: rtl;
}

html[lang="ar"] .sub-title-wrap {
  flex-direction: row-reverse;
}

html[lang="ar"] .hero-list-check {
  margin-left: 12px;
  margin-right: 0;
}

html[lang="ar"] body,
html[lang="ar"] .heading-01,
html[lang="ar"] .heading-02,
html[lang="ar"] .heading-04,
html[lang="ar"] .service-item-title {
  font-family: "Be Vietnam Pro", "Segoe UI", Tahoma, sans-serif;
}

html[lang="ar"] .italic-text {
  font-style: normal;
  font-weight: 600;
}

/* Logo */
.brand-logo-link img {
  /* height: 44px; */
  width: auto;
}

@media screen and (max-width: 767px) {
  .brand-logo-link img {
    height: 36px;
  }
}

.footer-brand-logo {
  height: 40px;
  margin-bottom: 16px;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 16px;
}

html[lang="ar"] .lang-switcher {
  margin-right: 0;
  margin-left: 16px;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--_typography---font-family--body-font);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--_colors---colors--neutral--neutral-2);
  border-color: var(--_colors---colors--neutral--neutral-2);
  color: var(--_colors---primary-colors--text-color);
}

.header-section.is-scrolled .lang-btn {
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--_colors---colors--neutral--neutral-3);
}

.header-section.is-scrolled .lang-btn.active {
  background: var(--_colors---primary-colors--primary);
  border-color: var(--_colors---primary-colors--primary);
  color: #fff;
}

/* Header scroll — Scaleon green pill on scroll */
.header-section.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.header-section.is-scrolled .nav-link {
  color: var(--_colors---colors--neutral--neutral-1);
}

.header-section.is-scrolled .nav-link.w--current {
  color: var(--_colors---primary-colors--white);
}

.header-section.is-scrolled .hamburger-line-top,
.header-section.is-scrolled .hamburger-line-middle,
.header-section.is-scrolled .hamburger-line-bottom {
  background-color: var(--_colors---primary-colors--text-color);
}

/* Hamburger always visible on mobile (Scaleon data-collapse="medium") */
@media screen and (max-width: 991px) {
  .navbar.w-nav[data-collapse="medium"] .menu-button.w-nav-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    float: none;
    padding: 0;
  }

  .nav-button-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .nav-menu[data-nav-menu-open] {
    position: fixed;
    top: 84px;
    left: 16px;
    right: 16px;
    width: auto;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    background-color: var(--_colors---colors--neutral--neutral-9);
    backdrop-filter: blur(20px);
    border-radius: 8px;
    padding: 20px;
    z-index: 9999;
  }

  .nav-menu[data-nav-menu-open] .nav-link {
    color: #fff;
    padding: 12px 0;
  }

  .nav-mobile-cta {
    display: flex;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-button-wrap.desktop-only {
    display: none;
  }
}

@media screen and (min-width: 992px) {
  .nav-mobile-cta {
    display: none;
  }
}

/* CTA button slide animation (Scaleon original) */
.primary-button-text,
.primary-button-text-02 {
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.primary-button-text-02 {
  transform: translateY(10%) scale(1.05);
}

.primary-button:hover .primary-button-text {
  transform: translateY(-110%);
}

.primary-button:hover .primary-button-text-02 {
  transform: translateY(-100%) scale(1);
}

/* Scroll reveal (enhanced by GSAP in animations.js) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Our Divisions: CTAs in flow, compact images, above sticky services */
.step-section {
  position: relative;
  z-index: 3;
  background-color: var(--_colors---primary-colors--white, #fff);
  padding-bottom: 4rem;
}

.step-section .step-widget {
  height: 100%;
}

.step-section .step-widget-image-wrap {
  max-height: 14rem;
}

.step-section .step-widget-image {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  display: block;
}

.step-section .step-widget-button-wrap {
  position: static;
  inset: auto;
  margin-top: auto;
  z-index: 2;
}

.step-section .step-widget-button-wrap .primary-button {
  background-color: var(--_colors---colors--neutral--neutral-2, #d1ff68);
  color: var(--_colors---primary-colors--text-color, #141414);
}

.step-section .step-widget-button-wrap .primary-button-text {
  color: var(--_colors---primary-colors--text-color, #141414);
}

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

/* FAQ accordion */
.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 480px;
  padding-top: 12px;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

html[lang="ar"] .faq-trigger {
  text-align: right;
}

.faq-trigger svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-trigger svg {
  transform: rotate(180deg);
}

/* Custom sections layout */
.process-section {
  padding: var(--_spacing---section-padding--padding-large) 0;
  background: #fff;
}

.process-widget-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.process-widget {
  background: var(--_colors---colors--neutral--neutral-4, #f5f5f5);
  border-radius: 8px;
  padding: 32px 24px;
}

.process-widget .process-number {
  font-weight: 600;
  font-size: 18px;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.case-study-section .case-study-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  color: var(--_colors---primary-colors--text-color);
}

.case-study-section .section-title-block .text-dark,
.case-study-section .section-title-block .heading-02 {
  color: #fff;
}

.case-study-section .sub-title-wrap .text-small {
  color: rgba(255, 255, 255, 0.8);
}

.why-section {
  padding: var(--_spacing---section-padding--padding-large) 0;
  background: #fff;
}

.faq-section .section-title-block .text-dark,
.faq-section .section-title-block .heading-02 {
  color: #fff;
}

.faq-section .sub-title-wrap .text-small {
  color: rgba(255, 255, 255, 0.8);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.faq-column {
  color: #fff;
}

.faq-column p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.6;
}

.faq-column .faq-trigger {
  color: #fff;
}

.cta-section {
  padding: var(--_spacing---section-padding--padding-large) 0;
  background: var(--_colors---colors--neutral--neutral-4, #f5f5f5);
}

.cta-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.contact-form-block {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.contact-form {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
}

.footer-section {
  background: var(--_colors---colors--neutral--neutral-5);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-link-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--_colors---colors--neutral--neutral-2);
}

.footer-contact a {
  color: var(--_colors---colors--neutral--neutral-2);
  text-decoration: none;
  display: block;
  margin: 8px 0;
}

@media screen and (max-width: 991px) {
  .process-widget-block,
  .case-study-grid,
  .faq-grid,
  .branch-grid,
  .product-grid,
  .services-mini-grid,
  .two-col,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Inner page hero */
.inner-hero {
  padding-top: 180px;
  padding-bottom: 80px;
  background-color: var(--_colors---primary-colors--primary);
}

.inner-hero--short {
  padding-bottom: 60px;
}

/* Branch cards */
.branch-section {
  padding: var(--_spacing---section-padding--padding-large) 0;
  background: #fff;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.branch-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--_colors---colors--neutral--neutral-4, #f5f5f5);
  border-radius: 12px;
  padding: 40px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 42, 40, 0.12);
  border-color: var(--_colors---colors--neutral--neutral-1);
}

.branch-card--accent {
  background: var(--_colors---primary-colors--primary);
  color: #fff;
}

.branch-card--accent .branch-card-tag {
  color: var(--_colors---colors--neutral--neutral-2);
}

.branch-card--accent p {
  color: rgba(255, 255, 255, 0.85);
}

.branch-card-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--_colors---colors--neutral--neutral-3);
  margin-bottom: 12px;
}

.branch-card h3 {
  margin-bottom: 12px;
}

.branch-card p {
  margin-bottom: 24px;
  line-height: 1.6;
}

.branch-card-link {
  display: inline-block;
  pointer-events: none;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card h3,
.product-card p {
  padding: 0 24px;
}

.product-card h3 {
  margin-top: 20px;
}

.product-card p {
  padding-bottom: 24px;
  color: var(--_colors---colors--neutral--neutral-3);
}

/* Client badges */
.client-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.client-badge {
  background: var(--_colors---primary-colors--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

/* Mini services */
.services-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mini-service-card {
  background: var(--_colors---colors--neutral--neutral-4, #f5f5f5);
  border-radius: 8px;
  padding: 28px 24px;
}

.mini-service-card p {
  color: var(--_colors---colors--neutral--neutral-3);
  margin-top: 8px;
}

/* Why list */
.why-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.why-list li {
  padding: 20px 24px;
  background: var(--_colors---colors--neutral--neutral-4, #f5f5f5);
  border-radius: 8px;
  position: relative;
  padding-left: 48px;
}

html[lang="ar"] .why-list li {
  padding-left: 24px;
  padding-right: 48px;
}

.why-list li::before {
  content: "✓";
  position: absolute;
  left: 20px;
  color: var(--_colors---primary-colors--primary);
  font-weight: 700;
}

html[lang="ar"] .why-list li::before {
  left: auto;
  right: 20px;
}

/* Two col layout */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.about-intro {
  max-width: 720px;
  margin-bottom: 48px;
}

.about-intro p + p {
  margin-top: 12px;
}

/* Case study light variant */
.case-study-section--light {
  background: #fff;
}

.case-study-section--light .section-title-block .heading-02,
.case-study-section--light .section-title-block .text-dark {
  color: var(--_colors---primary-colors--text-color);
}

.case-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--_colors---primary-colors--primary);
  background: rgba(0, 42, 40, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-form-block--wide {
  max-width: none;
  text-align: left;
}

.contact-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  text-align: left;
}

.contact-details {
  margin: 24px 0;
}

.contact-details a {
  color: var(--_colors---primary-colors--primary);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.branch-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}

.footer-col-title {
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-tagline {
  opacity: 0.75;
  margin-bottom: 16px;
  max-width: 280px;
}

.footer-top {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

/* Nav underline hover (from dev site) */
.navbar {
  position: relative;
}

.navbar-bg {
  position: absolute;
  inset: 0;
  background-color: var(--_colors---primary-colors--primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: inherit;
}

.header-section.is-scrolled .navbar-bg {
  opacity: 1;
}

.navlink {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}

.navlink .underline-hover {
  display: block;
  width: 0;
  height: 2px;
  background: var(--_colors---colors--neutral--neutral-2);
  transition: width 0.3s ease;
  margin-top: 4px;
}

.navlink:hover .underline-hover,
.navlink.w--current .underline-hover {
  width: 100%;
}

.header-section.is-scrolled .navlink .underline-hover {
  background: var(--_colors---primary-colors--primary);
}

/* Software page — dev site content sections */
.sw-hero {
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
}

.sw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.sw-video-wrap {
  max-width: 1200px;
  margin: -40px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.sw-video-wrap video {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 520px;
}

.sw-intro-section {
  padding: 80px 0;
  background: #fff;
}

.sw-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  align-items: start;
}

.sw-intro-aside {
  grid-column: 2;
  max-width: 420px;
  margin-left: auto;
}

.secondtitle {
  display: block;
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--_colors---primary-colors--primary) 50%, #ccc 0);
  background-size: 200% 100%;
  background-position-x: 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.tr__line__wrapper {
  overflow: hidden;
}

.tr__line {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--_colors---primary-colors--text-color);
}

.sw-services-section {
  background: var(--_colors---colors--neutral--neutral-4, #f5f5f5);
}

.sw-services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.sw-services-header .service_title {
  background: linear-gradient(90deg, var(--_colors---primary-colors--primary) 50%, #bbb 0);
  background-size: 200% 100%;
  background-position-x: 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.sw-services-header .text_section {
  max-width: 280px;
  text-align: right;
  color: var(--_colors---colors--neutral--neutral-3);
}

.sw-service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.sw-service-row--reverse .service-left {
  order: 2;
}

.sw-service-row--reverse .service-right {
  order: 1;
}

.sw-service-img {
  border-radius: 12px;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.image-column {
  overflow: hidden;
}

.sw-philosophy-section {
  padding: 80px 0;
  background: var(--_colors---primary-colors--primary);
  color: #fff;
}

.sw-philosophy-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}

.figures-box .relative {
  position: relative;
  width: 200px;
  height: 200px;
}

.circle {
  width: 120px;
  height: 120px;
  border: 2px solid var(--_colors---colors--neutral--neutral-2);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.triangle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sw-philosophy-text .mini-text {
  margin-top: 16px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.sw-numbers-section {
  padding: 80px 0;
  background: #fff;
}

.sw-numbers-top {
  margin-bottom: 48px;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.number-item {
  padding: 24px;
  background: var(--_colors---colors--neutral--neutral-4);
  border-radius: 8px;
}

.counter {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 12px;
  overflow: hidden;
  /* height: 64px; */
}

.digits {
  display: flex;
  gap: 4px;
}

.counter-numbers {
  display: flex;
  flex-direction: column;
}

.tb-digit {
  height: 64px;
  line-height: 64px;
  font-size: 48px;
  font-weight: 700;
  color: var(--_colors---primary-colors--primary);
}

.sign-small {
  font-size: 32px;
  font-weight: 700;
  color: var(--_colors---primary-colors--primary);
  line-height: 1;
  padding-bottom: 8px;
}

.sw-mission-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.sw-mission-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 400px;
}

.sw-pricing-section {
  padding: 80px 0;
  background: var(--_colors---primary-colors--primary);
  color: #fff;
}

.sw-pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.sw-pricing-header .heading-02,
.sw-pricing-header .mini-text {
  color: #fff;
}

.pricing-accordion-wrapper {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.accordion-item-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 16px;
  flex: 1;
  align-items: center;
}

.pricing-title {
  font-weight: 600;
}

.pricing-arrow {
  font-size: 24px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.pricing-accordion-wrapper.open .pricing-arrow {
  transform: rotate(90deg);
}

.accordion-item-content {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
  color: rgba(255, 255, 255, 0.85);
  padding-right: 40px;
}

.sw-faq-section {
  padding: 80px 0;
}

.sw-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.faq-image img {
  width: 100%;
  border-radius: 12px;
}

.sw-marquee-section {
  overflow: hidden;
  padding: 40px 0;
  background: var(--_colors---colors--neutral--neutral-4);
  position: relative;
  white-space: nowrap;
}

.big-words-1,
.big-words-2 {
  position: relative;
}

.text-big-2 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--_colors---primary-colors--primary);
  opacity: 0.15;
}

@media screen and (max-width: 991px) {
  .sw-intro-grid,
  .sw-service-row,
  .sw-philosophy-grid,
  .sw-mission-row,
  .sw-faq-grid,
  .numbers,
  .pricing-row {
    grid-template-columns: 1fr;
  }

  .sw-intro-aside {
    grid-column: 1;
    margin-left: 0;
  }

  .sw-services-header .text_section {
    text-align: left;
    max-width: none;
  }

  .sw-service-row--reverse .service-left,
  .sw-service-row--reverse .service-right {
    order: unset;
  }
}

/* Tighter page flow — less separation between sections */
.page-flow-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.page-flow-section--tight {
  padding-top: 48px;
  padding-bottom: 48px;
}

.page-flow-section--flush {
  padding-top: 0;
  padding-bottom: 0;
}

.about-section.page-flow-section,
.branch-section.page-flow-section,
.process-section.page-flow-section,
.case-study-section.page-flow-section,
.faq-section.page-flow-section,
.cta-section.page-flow-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.service-section.is-main.page-flow-section--flush {
  padding-top: 48px;
  padding-bottom: 0;
}

.service-item.is-main {
  position: relative;
  top: auto;
}

.service-widget.is-main {
  flex-flow: row;
  align-items: center;
  min-height: auto;
  padding: 48px 0;
  gap: 40px;
}

.service-item.is-main .service-left,
.service-item.is-main .service-right {
  max-width: none;
  flex: 1;
}

.service-right-image.is-main {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  padding: 24px;
  border-radius: 12px;
}

.numbers--home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.numbers--home .number-item.bg-primary {
  background: var(--_colors---primary-colors--primary);
  color: #fff;
}

.branch-grid--visual {
  gap: 16px;
}

.branch-card--visual {
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 0;
}

.branch-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 42, 40, 0.55) 0%, rgba(0, 42, 40, 0.92) 100%);
}

.branch-card--visual.branch-card--accent .branch-card-overlay {
  background: linear-gradient(180deg, rgba(0, 42, 40, 0.7) 0%, rgba(0, 42, 40, 0.95) 100%);
}

.branch-card-body {
  position: relative;
  z-index: 1;
  padding: 32px;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.branch-card--visual p {
  color: rgba(255, 255, 255, 0.85);
}

.branch-card--visual .branch-card-tag {
  color: var(--_colors---colors--neutral--neutral-2);
}

.case-study-grid--visual {
  gap: 16px;
}

.case-study-card--visual {
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.case-study-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.case-study-card--visual > div {
  position: relative;
  z-index: 1;
}

.case-study-card--visual p {
  color: rgba(255, 255, 255, 0.8);
}

.service-samples-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.service-samples-row img {
  max-height: 120px;
  width: auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px;
}

.inner-hero--samples {
  padding-bottom: 64px;
}

.svc-pillar {
  padding: 32px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.svc-pillar:last-of-type {
  border-bottom: none;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.svc-tags span {
  background: var(--_colors---primary-colors--primary);
  color: #fff;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
}

.mkt-feature-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
  max-height: 280px;
  object-fit: cover;
}

.mkt-feature--wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 32px;
}

@media screen and (max-width: 991px) {
  .numbers--home,
  .mkt-feature--wide {
    grid-template-columns: 1fr;
  }

  .page-flow-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* Home — Scaleon sections */
.hero-video .hero-image,
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-section .service-overlay {
  opacity: 0;
}

.testimonial-section {
  height: auto !important;
  padding-bottom: var(--_spacing---section-padding--padding-large);
}

.case-study-content-block {
  position: relative;
}

.case-study-slides {
  position: relative;
  width: 100%;
}

.case-study-slider-nav {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  gap: 12px;
  z-index: 2;
}

.case-study-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  border: 1px solid var(--_colors---colors--neutral--neutral-6);
  background: #fff;
  color: var(--_colors---primary-colors--text-color);
  cursor: pointer;
  font-size: 1.25rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.case-study-nav-btn:hover {
  background: var(--_colors---primary-colors--cta);
  color: var(--_colors---primary-colors--primary);
  border-color: transparent;
}

.faq-section .faq-dropdown-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media screen and (min-width: 992px) {
  .faq-section .faq-dropdown .faq-dropdown-details {
    height: auto !important;
    overflow: visible !important;
  }

  .faq-section .faq-dropdown-title {
    cursor: default;
    pointer-events: none;
  }
}

@media screen and (max-width: 991px) {
  .faq-dropdown.is-open .faq-dropdown-details {
    height: auto;
    overflow: visible;
  }

  .faq-dropdown:not(.is-open) .faq-dropdown-details {
    height: 0;
    overflow: hidden;
  }
}

.faq-dropdown.is-open .faq-dropdown-icon.plus {
  opacity: 0;
}

.faq-dropdown.is-open .faq-dropdown-icon.minus {
  opacity: 1;
}

.faq-dropdown:not(.is-open) .faq-dropdown-icon.minus {
  opacity: 0;
}

.faq-section .faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-section .faq-trigger {
  color: rgba(255, 255, 255, 0.85);
}

.faq-section .faq-answer p {
  color: rgba(255, 255, 255, 0.65);
}

.testimonial-quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-quote {
  margin: 0;
  padding: 32px;
  background: var(--_colors---colors--neutral--neutral-4);
  border-radius: 8px;
}

.testimonial-quote p {
  font-size: var(--_typography---font-size--paragraphs--text-large);
  line-height: 1.5;
  margin: 0 0 16px;
}

.testimonial-quote footer {
  color: var(--_colors---colors--neutral--neutral--neutral-3, #666);
  font-size: var(--_typography---font-size--paragraphs--text-small);
}

.home-prefooter {
  padding-top: var(--_spacing---section-padding--padding-large);
  padding-bottom: 0;
}

.home-prefooter + #site-footer .footer-section {
  padding-top: 48px;
}

@media (max-width: 991px) {
  .faq-section .faq-dropdown-wrap,
  .testimonial-quotes {
    grid-template-columns: 1fr;
  }

  .hero-section .container.is-hero {
    pointer-events: auto;
  }

  .hero-section .hero-right {
    width: 100%;
    min-height: 320px;
  }

  .hero-section .hero-text-block {
    max-width: none;
    width: 100%;
  }

  .service-widget {
    flex-direction: column;
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .service-right {
    max-width: none;
  }

  .reason-card-block {
    flex-direction: column;
  }

  .reason-left-card,
  .reason-card {
    max-width: none;
  }

  .case-study-slider-nav {
    position: static;
    margin-top: 24px;
  }
}

/* Contact — Scaleon map pins */
.contact-map-block {
  min-height: 360px;
  background-color: var(--_colors---colors--neutral--neutral-4);
  margin-top: 48px;
}

.gtc-location-card {
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  max-width: 280px;
}

.gtc-location-card .location-info-block {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.location-deopdown-wrap._01 {
  left: 58%;
  top: 30%;
}

.location-deopdown-wrap._02 {
  left: 22%;
  top: 52%;
}

.about-video-section .about-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Jisr solutions page */
.jisr-hero-shot,
.jisr-ai-panel {
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.jisr-shot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top left;
  border-radius: 8px;
  min-height: 280px;
}

.service-overview-right .jisr-shot {
  min-height: 360px;
  object-fit: contain;
  background: #f4f6f8;
}

.deliverable-card .jisr-deliverable-shot {
  width: min(48%, 420px);
  max-height: 52vh;
  object-fit: contain;
  object-position: top center;
  border-radius: 8px;
  align-self: center;
  background: rgba(255, 255, 255, 0.06);
}

.jisr-process-row {
  flex-wrap: wrap;
  gap: 20px;
}

.jisr-process-row .service-process-card {
  flex: 1 1 200px;
  max-width: none;
}

/* Jisr — Problems section (Scaleon solution layout) */
.solution-section .solution-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top left;
  display: block;
}

.solution-section .solution-small-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top left;
}

.solution-section .section-title-block.is-solution {
  margin-bottom: 2.5rem;
}

@media screen and (max-width: 991px) {
  .deliverable-card {
    flex-direction: column;
    min-height: auto;
  }

  .deliverable-card .jisr-deliverable-shot {
    width: 100%;
    max-height: 280px;
  }
}


/* Solutions hub */
.sol-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sol-hub-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0, 42, 40, 0.12);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #fff;
}
.sol-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 42, 40, 0.1);
}
.sol-hub-card-media {
  aspect-ratio: 16 / 10;
  background: #0b1220;
  overflow: hidden;
}
.sol-hub-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.sol-hub-card-media--dark {
  background: linear-gradient(145deg, #0a0a0a, #1a1a1a 60%, #002a28);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sol-hub-card-media--logistics {
  background: linear-gradient(145deg, #002a28, #0a3d3a 50%, #1a4a2e);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sol-hub-ai-mark {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: #d1ff68;
  letter-spacing: 0.04em;
}
.sol-hub-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.sol-hub-card-body .text-small {
  opacity: 0.65;
}
.sol-hub-link {
  margin-top: auto;
  padding-top: 0.75rem;
  color: #002a28;
  font-weight: 600;
  font-size: 0.9rem;
}
@media screen and (max-width: 991px) {
  .sol-hub-grid { grid-template-columns: 1fr; }
}

/* Nav Solutions dropdown */
.header-section,
.header-section .container,
.navbar,
.nav-content-block,
.nav-left,
.nav-menu,
.nav-link-wrap {
  overflow: visible !important;
}
.nav-dropdown-2 {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 10050;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 0;
}
.nav-dropdown-toggle .dropdown-icon {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.nav-dropdown-toggle.w--open .dropdown-icon,
.nav-dropdown-2.is-open .dropdown-icon {
  transform: rotate(180deg);
}
.nav-dropdown-list,
.nav-dropdown-list.w-dropdown-list {
  display: none !important;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 42, 40, 0.18);
  z-index: 10060;
  flex-direction: column;
  gap: 4px;
}
.nav-dropdown-list.w--open,
.nav-dropdown-2.is-open > .nav-dropdown-list {
  display: flex !important;
}
/* Desktop hover only — never on touch */
@media (hover: hover) and (min-width: 992px) {
  .nav-dropdown-2:hover > .nav-dropdown-list {
    display: flex !important;
  }
}
.nav-dropdown-link {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: #002a28 !important;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.nav-dropdown-link:hover,
.nav-dropdown-link.w--current {
  background: rgba(209, 255, 104, 0.35);
}
@media screen and (max-width: 991px) {
  .nav-dropdown-2 {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    z-index: auto;
  }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 0;
  }
  .nav-dropdown-list,
  .nav-dropdown-list.w-dropdown-list {
    position: static !important;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 8px 8px 16px;
    min-width: 0;
    border-radius: 8px;
    margin: 0 0 8px;
    width: 100%;
  }
  .nav-menu[data-nav-menu-open] .nav-dropdown-link {
    color: #fff !important;
    padding: 12px 10px;
    white-space: normal;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-menu[data-nav-menu-open] .nav-dropdown-link:last-child {
    border-bottom: 0;
  }
}

/* Strand-inspired AI page */
.strand-page .nav-link,
.strand-page .nav-dropdown-toggle {
  color: rgba(255, 255, 255, 0.85);
}
.strand-page .nav-dropdown-list {
  background: #111;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
.strand-page .nav-dropdown-link {
  color: #f4f4f4;
}
.strand-page .nav-dropdown-link:hover,
.strand-page .nav-dropdown-link.w--current {
  background: rgba(209, 255, 104, 0.2);
  color: #d1ff68;
}
.strand-page .lang-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.strand-page .header-section.is-scrolled .navbar-bg,
.strand-page .header-section .navbar-bg {
  background: rgba(5, 5, 5, 0.92);
}
.strand-page .footer-section {
  background: #050505;
  color: #a3a3a3;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}


.strand-page {
  --strand-bg: #110f0d;
  --strand-text: #f5f5f4;
  --strand-muted: rgba(245,245,244,0.5);
  background: var(--strand-bg) !important;
  color: var(--strand-text);
  font-family: Geist, "Be Vietnam Pro", system-ui, sans-serif;
}
.strand-page .header-section,
.strand-page .header-section.is-scrolled .navbar-bg,
.strand-page .header-section .navbar-bg {
  background: rgba(17, 15, 13, 0.82) !important;
  backdrop-filter: blur(16px);
}
.strand-page .nav-link,
.strand-page .nav-dropdown-toggle {
  color: rgba(245,245,244,0.72) !important;
}
.strand-page .nav-link.w--current {
  color: #fff !important;
}
.strand-page .primary-button {
  background: #fff !important;
  color: #110f0d !important;
  border-radius: 999px !important;
}
.strand-page .footer-section {
  background: #110f0d;
  color: rgba(245,245,244,0.45);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.strand-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.strand-hero {
  padding: 7.5rem 0 2.5rem;
  background: var(--strand-bg);
  overflow: hidden;
}
.strand-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0.5rem;
  align-items: center;
  min-height: min(72vh, 680px);
}
.strand-hero-copy { max-width: 520px; position: relative; z-index: 2; }
.strand-hero-visual {
  position: relative;
  height: min(72vh, 680px);
  min-height: 460px;
  margin-right: -24px;
  pointer-events: auto;
}
.strand-hero-visual canvas,
.strand-feature-media canvas,
.strand-ask-webgl canvas {
  width: 100% !important;
  height: 100% !important;
}
.strand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 0.82rem;
  color: rgba(245,245,244,0.72);
  text-decoration: none;
}
.strand-kicker-new {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
}
.strand-h1 {
  font-family: "Cabinet Grotesk", Geist, sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 1.2rem;
  color: #fff;
}
.strand-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--strand-muted);
  margin: 0 0 1.7rem;
  max-width: 460px;
}
.strand-cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.strand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.strand-btn:hover { transform: translateY(-1px); }
.strand-btn--primary { background: #fff; color: #110f0d; }
.strand-btn--ghost {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}
.strand-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.strand-step h3 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.strand-step-num { color: rgba(255,255,255,0.4); font-weight: 500; }
.strand-step p { margin: 0; color: var(--strand-muted); font-size: 0.92rem; line-height: 1.5; }
.strand-logos {
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,0.06);
  padding: 1.4rem 0 1.1rem;
}
.strand-logos-label {
  text-align: center;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: rgba(245,245,244,0.4);
}
.strand-logos-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: strand-marquee 32s linear infinite;
  opacity: 0.5;
  filter: invert(1) grayscale(1) brightness(1.5);
}
.strand-logos-img { height: 26px; width: auto; display: block; }
@keyframes strand-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.strand-band { padding: 5rem 0 4rem; position: relative; overflow: hidden; }
.strand-band-text {
  max-width: 820px;
  margin: 0 auto 2rem;
  text-align: center;
  font-family: "Cabinet Grotesk", Geist, sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
}
.strand-band-muted { color: rgba(245,245,244,0.34); }
.strand-ask-stage {
  position: relative;
  min-height: 517px;
  height: 517px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Example (framer-r0uhuf) recreation */
.ex-demo {
  position: relative;
  z-index: 3;
  width: min(460px, calc(100% - 32px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.ex-panel { display: none; width: 100%; flex-direction: column; align-items: center; gap: 8px; }
.ex-panel.is-active { display: flex; animation: ex-in .45s ease both; }
@keyframes ex-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.ex-chat {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 16px;
  padding: 0 8px 0 20px;
  min-height: 64px;
  background: linear-gradient(111deg, #44403c 0%, #292524 35%, #262626 73%, #44403c 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.ex-chat-row {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  padding: 20px 0;
}
.ex-q {
  color: #fafafa;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ex-caret {
  width: 2px; height: 1.05em; background: #fafafa; flex-shrink: 0;
  animation: strand-blink 1s steps(1) infinite;
}
.ex-status {
  display: inline-flex; align-items: center; gap: 6px;
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(245,245,244,0.55);
  font-size: 0.75rem;
  white-space: nowrap;
}
.ex-status i {
  width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.55);
  animation: ex-dot 1s ease-in-out infinite;
}
.ex-status i:nth-child(2) { animation-delay: .15s; }
.ex-status i:nth-child(3) { animation-delay: .3s; }
@keyframes ex-dot { 0%,100%{opacity:.25} 50%{opacity:1} }
.ex-actions {
  display: flex; flex-wrap: wrap; gap: 4px; justify-content: center;
  width: 100%; padding: 0 16px;
}
.ex-chip {
  appearance: none; cursor: default;
  padding: 0.4rem 0.75rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: rgba(245,245,244,0.7); font-size: 0.78rem;
}
.ex-card {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(20,18,16,0.92);
  backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.ex-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ex-card-q { color: #fafafa; font-size: 0.9rem; }
.ex-card-count { color: rgba(245,245,244,0.45); font-size: 0.8rem; white-space: nowrap; }
.ex-card-body { padding: 12px 14px 14px; }
.ex-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem; margin-bottom: 12px;
}
.ex-code .c-pink { color: #f472b6; }
.ex-code .c-cyan { color: #67e8f9; }
.ex-code .c-mute { color: rgba(245,245,244,0.45); }
.ex-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ex-rows li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  opacity: 0;
  transform: translateY(8px);
}
.ex-panel--results.is-active .ex-rows li {
  animation: ex-row .4s ease forwards;
}
.ex-panel--results.is-active .ex-rows li:nth-child(1) { animation-delay: .05s; }
.ex-panel--results.is-active .ex-rows li:nth-child(2) { animation-delay: .15s; }
.ex-panel--results.is-active .ex-rows li:nth-child(3) { animation-delay: .25s; }
@keyframes ex-row {
  to { opacity: 1; transform: translateY(0); }
}
.ex-ico {
  width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.55) 0 2px, transparent 3px),
    rgba(255,255,255,0.04);
}
.ex-row-main { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; }
.ex-row-main strong { color: #fff; font-size: 0.86rem; font-weight: 600; }
.ex-risk { font-size: 0.75rem; display: inline-flex; align-items: center; gap: 5px; }
.ex-risk::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ex-risk.is-high { color: #f87171; }
.ex-risk.is-med { color: #fbbf24; }
.ex-tag {
  font-size: 0.7rem; padding: 0.25rem 0.5rem; border-radius: 999px; white-space: nowrap;
}
.ex-tag.is-high { background: rgba(248,113,113,0.12); color: #fca5a5; }
.ex-tag.is-med { background: rgba(251,191,36,0.12); color: #fde68a; }
.ex-footer {
  display: flex; gap: 8px; justify-content: center; width: 100%; margin-top: 4px;
}
.ex-btn {
  appearance: none; cursor: default;
  padding: 0.55rem 0.9rem; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: rgba(245,245,244,0.7); font-size: 0.8rem;
}

.strand-ask-demo { position: relative; z-index: 2; width: min(620px, 100%); }
.strand-ask-input {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(22,20,18,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 1rem 1.05rem;
  backdrop-filter: blur(14px);
}
.strand-ask-plus, .strand-ask-send {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7); flex-shrink: 0; font-size: 0.85rem;
}
.strand-ask-send { background: #fff; color: #110f0d; border: 0; margin-left: auto; }
.strand-ask-typed { color: #fff; font-size: 0.98rem; white-space: nowrap; overflow: hidden; }
.strand-ask-caret {
  width: 2px; height: 1.1em; background: #fff;
  animation: strand-blink 1s steps(1) infinite; flex-shrink: 0;
}
@keyframes strand-blink { 50% { opacity: 0; } }
.strand-ask-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1rem;
}
.strand-ask-chips span {
  padding: 0.45rem 0.85rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7); font-size: 0.8rem;
  background: rgba(255,255,255,0.03);
}
.strand-features { padding: 0 0 1rem; }
.strand-features-outer {
  width: min(1400px, calc(100% - 48px));
}
.strand-features-box {
  border-left: 1px solid rgba(34, 34, 34, 1);
  border-right: 1px solid rgba(34, 34, 34, 1);
}
.strand-features-scroll {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  position: relative;
}

/* Left column — 3 rail blocks, each with sticky text cart (Strand) */
.strand-features-left {
  flex: 1 1 50%;
  min-width: 0;
  max-width: 50%;
}
.strand-rail-block {
  border-bottom: 1px solid rgba(38, 38, 38, 1);
}
.strand-rail-block:last-child {
  border-bottom: none;
}
.strand-copy-cart {
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  scroll-margin-top: 68px;
  background: var(--strand-bg, #0a0a0a);
}
.strand-rail-block:nth-child(1) .strand-copy-cart { z-index: 1; }
.strand-rail-block:nth-child(2) .strand-copy-cart { z-index: 2; }
.strand-rail-block:nth-child(3) .strand-copy-cart { z-index: 3; }
.strand-copy-cart h2,
.strand-feature-copy-panel h2 {
  font-family: "Cabinet Grotesk", Geist, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2rem);
  margin: 0 0 0.85rem;
  letter-spacing: -0.03em;
  color: #fafaf9;
  font-weight: 600;
}
.strand-copy-cart p,
.strand-feature-copy-panel p {
  color: #a6a09b;
  line-height: 1.55;
  margin: 0 0 1.5rem;
  font-size: 1rem;
}

/* Right Stack — ONE sticky viewport, layers swap inside (Strand) */
.strand-visual-stage-wrap {
  flex: 1 1 50%;
  min-width: 0;
  max-width: 50%;
  position: relative;
}
.strand-visual-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.strand-visual-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.strand-visual-layer .strand-feature-media {
  width: 100%;
  max-width: 100%;
  pointer-events: auto;
  will-change: transform, opacity, filter;
}
.strand-visual-layer.is-active { z-index: 3; pointer-events: auto; }
.strand-visual-layer.is-entering { z-index: 4; pointer-events: auto; }
.strand-visual-layer.is-leaving { z-index: 2; }
.strand-visual-layer.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

/* Scroll-linked Progress rail — sticky inside visual stage (Strand) */
.strand-progress {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 10;
}
.strand-progress__fade {
  height: min(72vh, 520px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}
.strand-progress__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}
.strand-progress__col {
  display: flex;
  flex-direction: column;
  transform: translateY(50%);
  will-change: transform;
}
.strand-progress__block {
  position: relative;
}
.strand-progress__num {
  display: block;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 31px;
  color: rgba(115, 115, 115, 1);
  margin: 0;
  transition: color 0.25s ease;
}
.strand-progress__num.is-active {
  color: rgba(250, 250, 250, 1);
}
.strand-progress__ticks {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 31px;
}
.strand-progress__ticks span {
  display: block;
  height: 1px;
  width: 40%;
  border-radius: 999px;
  background: rgba(115, 115, 115, 1);
  transition: width 0.2s ease, background-color 0.2s ease;
}
.strand-progress__ticks span.is-active {
  width: 62%;
  background: rgba(239, 239, 239, 1);
}
.strand-progress__ticks span.is-done {
  width: 40%;
  background: rgba(239, 239, 239, 1);
}
.strand-progress__cursor {
  width: 5px;
  height: 1px;
  border-radius: 999px 0 0 999px;
  background: rgb(250, 250, 250);
  position: absolute;
  right: 0;
  top: 0;
  transform: translateY(-50%);
  will-change: top;
}
.strand-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  min-height: 70vh;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.strand-feature--flip .strand-feature-copy { order: 2; }
.strand-feature--flip .strand-feature-media { order: 1; }
.strand-feature-copy h2 {
  font-family: "Cabinet Grotesk", Geist, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2rem);
  margin: 0 0 0.85rem;
  letter-spacing: -0.03em;
  color: #fafaf9;
  font-weight: 600;
}
.strand-chromatic {
  text-shadow:
    -2px 0 rgba(255,80,60,0.75),
    2px 0 rgba(60,220,255,0.75);
}
.strand-feature-copy p {
  color: #a6a09b;
  line-height: 1.55;
  margin: 0 0 1.5rem;
  font-size: 1rem;
  max-width: 34rem;
}
.strand-feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 1.6rem;
}
.strand-feat {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.strand-feat-ico {
  width: 22px;
  height: 22px;
  color: #fafaf9;
}
.strand-feat span {
  color: #a6a09b;
  font-size: 0.875rem;
  line-height: 1.35;
}
.strand-bullets { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.strand-bullets li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.55rem;
  color: rgba(245,245,244,0.78);
  font-size: 0.95rem;
}
.strand-bullets li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 5px; height: 5px; border-radius: 50%; background: #fff;
}
.strand-explore {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: #a6a09b; text-decoration: none; font-weight: 500; font-size: 0.875rem;
}
.strand-explore:hover { color: #fafaf9; }
.strand-explore span {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.95rem;
  color: #fafaf9;
}
.strand-feature-media {
  position: relative;
  height: min(62vh, 520px);
  min-height: 320px;
  transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

/* Cortex right visual — source cards + rail (Strand) */
.strand-cortex-visual {
  display: grid;
  place-items: center;
  overflow: visible;
}
.cortex-visual__particles {
  position: absolute;
  inset: -5% 0;
  opacity: 0.55;
  pointer-events: none;
}
.cortex-clover {
  opacity: 0.25;
  position: absolute;
  inset: 8% 12%;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255,255,255,0.14) 0 1px, transparent 2px),
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.12) 0 1px, transparent 2px),
    radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.12) 0 1px, transparent 2px),
    radial-gradient(ellipse at 50% 80%, rgba(255,255,255,0.12) 0 1px, transparent 2px);
  background-size: 10px 10px, 11px 11px, 9px 9px, 12px 12px;
  -webkit-mask-image:
    radial-gradient(ellipse 42% 32% at 50% 22%, #000 40%, transparent 70%),
    radial-gradient(ellipse 32% 42% at 22% 50%, #000 40%, transparent 70%),
    radial-gradient(ellipse 32% 42% at 78% 50%, #000 40%, transparent 70%),
    radial-gradient(ellipse 42% 32% at 50% 78%, #000 40%, transparent 70%);
  mask-image:
    radial-gradient(ellipse 42% 32% at 50% 22%, #000 40%, transparent 70%),
    radial-gradient(ellipse 32% 42% at 22% 50%, #000 40%, transparent 70%),
    radial-gradient(ellipse 32% 42% at 78% 50%, #000 40%, transparent 70%),
    radial-gradient(ellipse 42% 32% at 50% 78%, #000 40%, transparent 70%);
  -webkit-mask-composite: source-over;
  opacity: 0.55;
  animation: cortex-drift 12s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cortex-drift {
  0%,100% { transform: scale(1) rotate(0deg); opacity: 0.45; }
  50% { transform: scale(1.04) rotate(2deg); opacity: 0.65; }
}
.cortex-cards {
  position: relative;
  z-index: 2;
  width: min(100%, 360px);
  display: grid;
  gap: 10px;
}
.cortex-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.05rem;
  border-radius: 16px;
  background: rgba(18,18,18,0.92);
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateY(12px);
  animation: cortex-card-in 0.45s ease forwards;
}
.cortex-card:nth-child(1) { animation-delay: 0.05s; }
.cortex-card:nth-child(2) { animation-delay: 0.12s; }
.cortex-card:nth-child(3) { animation-delay: 0.19s; }
.cortex-card:nth-child(4) { animation-delay: 0.26s; }
@keyframes cortex-card-in {
  to { opacity: 1; transform: translateY(0); }
}
.cortex-card strong { display: block; color: #fff; font-size: 0.95rem; font-weight: 600; }
.cortex-card span { display: block; color: rgba(245,245,244,0.45); font-size: 0.78rem; margin-top: 0.2rem; }
.cortex-card em {
  font-style: normal;
  font-size: 0.8rem;
  color: #fafafa;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.cortex-card em i {
  width: 7px; height: 7px; border-radius: 50%; display: inline-block;
}
.cortex-card em.is-live i { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,0.6); }
.cortex-card em.is-sync i { background: #60a5fa; box-shadow: 0 0 8px rgba(96,165,250,0.55); }
.cortex-card em.is-pending i { background: #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,0.5); }
.cortex-rail {
  position: absolute;
  right: 0;
  top: 18%;
  bottom: 18%;
  width: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: rgba(245,245,244,0.55);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  z-index: 3;
}
.cortex-rail-track {
  flex: 1;
  width: 1px;
  margin: 0.55rem 0;
  background: rgba(255,255,255,0.12);
  position: relative;
}
.cortex-rail-track b {
  position: absolute;
  left: -1px;
  top: 0;
  width: 3px;
  height: 28%;
  background: #fff;
  border-radius: 2px;
  animation: cortex-rail 4s ease-in-out infinite;
}
@keyframes cortex-rail {
  0%,100% { top: 0; }
  50% { top: 55%; }
}
@media screen and (max-width: 991px) {
  .strand-feats { grid-template-columns: 1fr; }
  .strand-progress { display: none; }
  .strand-features-scroll {
    flex-direction: column;
    min-height: 0;
  }
  .strand-features-left,
  .strand-visual-stage-wrap {
    max-width: none;
    flex: none;
    width: 100%;
  }
  .strand-features-left,
  .strand-visual-stage-wrap {
    display: contents;
  }
  #features-cortex { order: 1; }
  [data-visual-layer="cortex"] { order: 2; }
  #features-ask { order: 3; }
  [data-visual-layer="ask"] { order: 4; }
  #features-pulse { order: 5; }
  [data-visual-layer="pulse"] { order: 6; }
  .strand-rail-block { border-bottom: none; }
  .strand-copy-cart {
    height: auto;
    position: relative;
    z-index: auto;
    padding: 1.5rem 1.25rem 0.25rem;
  }
  .strand-visual-stage {
    position: relative;
    height: auto;
    padding: 0 1.25rem 2rem;
  }
  .strand-visual-layer {
    position: relative;
    inset: auto;
  }
  .strand-visual-layer .strand-feature-media {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .strand-visual-layer.is-hidden { visibility: visible; }
}
.strand-feature-media--ask {
  display: grid;
  place-items: center;
}

/* Ask feature visual (Strand) */
.ask-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: visible;
  pointer-events: auto;
}
.ask-visual__particles {
  position: absolute;
  inset: -8% -5%;
  opacity: 0.72;
  pointer-events: none;
}
.ask-visual__ui {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ask-visual__input {
  width: 100%;
  min-height: 120px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(14,14,14,0.92);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
}
.ask-visual__plus,
.ask-visual__mic {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(245,245,244,0.65);
  font-size: 0.85rem;
}
.ask-visual__input {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
}
.ask-visual__ph {
  color: rgba(245,245,244,0.45);
  font-size: 0.95rem;
  padding-top: 4px;
}
.ask-visual__input > div:last-child,
.ask-visual__input::after { display: none; }
.ask-visual__input {
  position: relative;
}
.ask-visual__plus { position: absolute; left: 14px; bottom: 14px; }
.ask-visual__mic { position: absolute; right: 14px; bottom: 14px; }
.ask-visual__chips {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
}
.ask-visual__chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: rgba(245,245,244,0.72);
  font-size: 0.78rem;
}
.ask-visual__chips svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

/* Pulse feature visual (Strand) */
.pulse-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: visible;
}
.pulse-sphere {
  position: absolute;
  inset: 5% 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08) 0 1px, transparent 2px);
  background-size: 8px 8px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 55%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 55%, transparent 72%);
  opacity: 0.55;
}
.pulse-sphere::after {
  content: "";
  position: absolute;
  top: 8%; bottom: 8%; left: 50%;
  width: 1px;
  border-left: 1px dashed rgba(255,255,255,0.18);
  transform: translateX(-50%);
}
.pulse-alert {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(16,16,16,0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.pulse-alert-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.pulse-badge {
  font-size: 0.68rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(239,68,68,0.15);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,0.35);
}
.pulse-time { font-size: 0.72rem; color: rgba(245,245,244,0.45); }
.pulse-alert-title {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.pulse-alert-desc {
  margin: 0 0 12px;
  color: rgba(245,245,244,0.5);
  font-size: 0.78rem;
  line-height: 1.45;
}
.pulse-chart {
  height: 90px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.pulse-chart svg { width: 100%; height: 100%; display: block; }
.pulse-alert-foot {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 0.68rem;
  color: rgba(245,245,244,0.4);
}

.strand-ask-portrait {
  width: min(70%, 320px);
  border-radius: 8px;
  filter: contrast(1.05);
  mix-blend-mode: screen;
  opacity: 0.95;
  animation: strand-portrait 6s ease-in-out infinite;
}
@keyframes strand-portrait {
  0%, 100% { filter: contrast(1.05) hue-rotate(0deg); transform: translateY(0); }
  50% { filter: contrast(1.1) hue-rotate(8deg); transform: translateY(-6px); }
}
.strand-chat-card {
  position: absolute;
  right: 6%;
  bottom: 10%;
  width: min(100%, 300px);
  padding: 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(18,16,14,0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.strand-chat-q {
  padding: 0.8rem 0.9rem; border-radius: 10px;
  background: rgba(255,255,255,0.06); color: #fff; margin-bottom: 0.65rem;
}
.strand-chat-thinking {
  display: flex; align-items: center; gap: 0.35rem;
  color: rgba(255,255,255,0.45); font-size: 0.82rem; margin-bottom: 0.65rem;
}
.strand-chat-thinking i {
  width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.6);
  display: inline-block; animation: strand-bounce 1.1s ease-in-out infinite;
}
.strand-chat-thinking i:nth-child(2) { animation-delay: .15s; }
.strand-chat-thinking i:nth-child(3) { animation-delay: .3s; }
@keyframes strand-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40% { transform: translateY(-4px); opacity: 1; }
}
.strand-chat-a {
  padding: 0.75rem 0.9rem; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.16); color: #fff; font-size: 0.88rem; margin-bottom: 0.55rem;
}
.strand-chat-scan {
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em; text-transform: uppercase;
  animation: strand-scan 2.4s ease-in-out infinite;
}
@keyframes strand-scan { 0%,100%{opacity:.35} 50%{opacity:.95} }
.strand-stack { padding: 3rem 0 4rem; border-top: 1px solid rgba(255,255,255,0.06); }
.strand-stack-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: start;
}
.strand-stack h2 {
  font-family: "Cabinet Grotesk", Geist, sans-serif;
  font-size: 2.2rem; letter-spacing: -0.03em; margin: 0 0 0.75rem; color: #fff;
}
.strand-stack p { color: var(--strand-muted); margin: 0 0 1.4rem; line-height: 1.55; }
.strand-source-cards { display: grid; gap: 0.65rem; }
.strand-source-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.95rem 1.05rem; border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
}
.strand-source-card strong { display: block; color: #fff; font-size: 0.92rem; }
.strand-source-card span { display: block; color: rgba(255,255,255,0.45); font-size: 0.78rem; margin-top: 0.15rem; }
.strand-source-card em {
  font-style: normal; font-size: 0.72rem; padding: 0.25rem 0.55rem;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.12);
}
.strand-source-card em.is-live { color: #9dffb0; border-color: rgba(157,255,176,0.35); }
.strand-source-card em.is-sync { color: #ffe08a; border-color: rgba(255,224,138,0.35); }
.strand-source-card em.is-pending { color: rgba(245,245,244,0.55); }
.strand-quote {
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.strand-quote-inner {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  align-items: center;
}
.strand-quote-stat strong {
  display: block;
  font-family: "Cabinet Grotesk", Geist, sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.strand-quote-stat span {
  display: block;
  margin-top: 0.55rem;
  color: var(--strand-muted);
  max-width: 220px;
  line-height: 1.4;
}
.strand-quote blockquote { margin: 0; }
.strand-quote blockquote p {
  margin: 0 0 1.1rem;
  color: rgba(245,245,244,0.88);
  font-size: 1.15rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.strand-quote footer { display: flex; flex-direction: column; gap: 0.15rem; }
.strand-quote footer strong { color: #fff; font-size: 0.92rem; }
.strand-quote footer span { color: var(--strand-muted); font-size: 0.85rem; }
.strand-stats { padding: 3.5rem 0 4.5rem; }
.strand-stats-title {
  font-family: "Cabinet Grotesk", Geist, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  text-align: center; max-width: 640px; margin: 0 auto 2.5rem;
  letter-spacing: -0.03em; color: #fff;
}
.strand-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center;
}
.strand-stats-grid strong { display: block; font-size: 2.3rem; color: #fff; margin-bottom: 0.3rem; }
.strand-stats-grid span { font-size: 0.9rem; color: var(--strand-muted); }
.strand-faq { padding: 3rem 0 4rem; border-top: 1px solid rgba(255,255,255,0.06); }
.strand-faq h2 {
  font-family: "Cabinet Grotesk", Geist, sans-serif;
  font-size: 2rem; color: #fff; margin: 0 0 2rem; text-align: center; letter-spacing: -0.03em;
}
.strand-faq-wrap .faq-trigger,
.strand-faq-wrap .faq-answer p { color: rgba(245,245,244,0.88); }
.strand-faq-wrap .faq-item { border-color: rgba(255,255,255,0.1); }
.strand-final { padding: 5.5rem 0 6rem; text-align: center; }
.strand-final h2 {
  font-family: "Cabinet Grotesk", Geist, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff; margin: 0 0 1.5rem; letter-spacing: -0.03em;
}
@media screen and (max-width: 991px) {
  .strand-hero-grid,
  .strand-steps,
  .strand-feature,
  .strand-stack-grid,
  .strand-quote-inner,
  .strand-stats-grid { grid-template-columns: 1fr; }
  .strand-feature--flip .strand-feature-copy,
  .strand-feature--flip .strand-feature-media { order: unset; }
  .strand-hero { padding-top: 6rem; }
  .strand-hero-visual,
  .strand-feature-media { min-height: 280px; height: 320px; }
  .strand-feature { min-height: 0; }
  .strand-chat-card { position: relative; right: auto; bottom: auto; margin-top: 1rem; }
}

/* WebGL strand canvases (Three.js) */
.strand-hero-visual,
.strand-feature-media,
.strand-ask-stage {
  position: relative;
  overflow: hidden;
}
.strand-webgl {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}
.strand-webgl-canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.strand-webgl--band {
  opacity: 0.5;
  transform: scale(1.35) translateY(20%);
  mask-image: linear-gradient(to top, #000 28%, transparent 88%);
  -webkit-mask-image: linear-gradient(to top, #000 28%, transparent 88%);
}
.strand-ask-stage {
  min-height: 517px;
  pointer-events: auto;
}
.strand-ask-stage .ex-demo { z-index: 3; position: relative; }
.strand-feature-media--ask .strand-ask-portrait {
  position: relative;
  z-index: 1;
}

/* Quiet GTC chrome on Strand page */
.strand-page .underline-hover,
.strand-page .nav-link .underline-hover,
.strand-page .nav-dropdown-toggle .underline-hover {
  background: rgba(255,255,255,0.35) !important;
}
.strand-page .lang-btn.active {
  background: #fff !important;
  color: #110f0d !important;
  border-color: #fff !important;
}
.strand-page .nav-dropdown-link:hover,
.strand-page .nav-dropdown-link.w--current {
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
}

/* Minimal site nav for ai.html (Strand page) */
.strand-site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(17, 15, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.strand-site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.strand-site-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}
.strand-site-nav__logo img { height: 28px; width: auto; }
.strand-site-nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.strand-site-nav__links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.strand-site-nav__links a:hover,
.strand-site-nav__links a.is-active { color: #fff; }
.strand-site-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (max-width: 768px) {
  .strand-site-nav__links { display: none; }
}
