/* ===================================================
   VEIPU PHOTONICS — home.css  (TeraHop design system)
   =================================================== */

/* ── CSS Variables ── */
:root {
  --th-bg:      #010d27;
  --th-bg2:     #0f1a36;
  --th-bg2h:    #142247;
  --th-blue:    #081f63;
  --th-color:   #65e5c7;
  --th-line1:   linear-gradient(to right, #55fbec 0%, #48d6ea 100%);
  --th-line2:   linear-gradient(to right, #9ffff7 0%, #a1f4ff 100%);
}

/* ── Body override ── */
body {
  background-color: #010d27 !important;
  color: #fff;
}

/* Globe canvas anchored inside .hero — scrolls away with the hero */
#globe-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Everything above the globe */
.site-header,
.stats-bar,
.section,
.cta-section,
.mobile-nav,
.back-to-top,
#global-footer {
  position: relative;
  z-index: 2;
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  margin-top: var(--nav-height);
}
.hero-slides {
  height: 100%;
  position: relative;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }

/* slide backgrounds — dark, semi-transparent so globe shows through */
.hero-slide__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide:nth-child(1) .hero-slide__bg {
  background: linear-gradient(135deg, rgba(1,13,39,0.35) 0%, rgba(5,15,42,0.35) 45%, rgba(8,26,64,0.35) 70%, rgba(3,14,45,0.35) 100%);
}
.hero-slide:nth-child(2) .hero-slide__bg {
  background: linear-gradient(135deg, rgba(1,13,39,0.35) 0%, rgba(4,21,37,0.35) 40%, rgba(7,23,48,0.35) 100%);
}
.hero-slide:nth-child(3) .hero-slide__bg {
  background: linear-gradient(135deg, rgba(1,13,39,0.35) 0%, rgba(5,14,37,0.35) 45%, rgba(9,21,46,0.35) 100%);
}

/* subtle dot-grid overlay */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image:
    radial-gradient(circle at 20% 50%, #65e5c7 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, #48d6ea 0%, transparent 35%),
    radial-gradient(circle at 60% 80%, #65e5c7 0%, transparent 30%);
  animation: patternShift 12s ease-in-out infinite alternate;
}
@keyframes patternShift {
  from { opacity: .04; transform: scale(1); }
  to   { opacity: .09; transform: scale(1.05); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* slide content — full-width centered block */
.hero-slide .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  height: 100%;
}
.hero-slide__content {
  position: relative;
  z-index: 2;
  width: 85%;
  max-width: 1400px;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 200px; /* leave room for .hero-three at bottom */
}

/* tag pill */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(101,229,199,.12);
  border: 1px solid rgba(101,229,199,.35);
  color: var(--th-color);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-tag-dot {
  width: 6px;
  height: 6px;
  background: var(--th-color);
  border-radius: 50%;
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: .3; }
}

/* headline */
.hero-title {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.01em;
}
.hero-title em {
  font-style: normal;
  color: var(--th-color);
}

/* body copy */
.hero-desc {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,.72);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.8;
}

/* CTA row */
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-btn-primary {
  background: var(--th-line1);
  color: #000;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .25s ease;
  border: none;
}
.hero-btn-primary:hover {
  background: var(--th-line2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(101,229,199,.35);
  color: #000;
}
.hero-btn-outline {
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.35);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .25s ease;
}
.hero-btn-outline:hover {
  border-color: var(--th-color);
  color: var(--th-color);
  background: rgba(101,229,199,.07);
}

/* ── Hero three-column cards (bottom overlay) ── */
.hero-three {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  z-index: 10;
}
.hero-three-item {
  position: relative;
  padding: 28px 32px 32px;
  border-left: 1px solid rgba(255,255,255,.15);
  overflow: hidden;
  transition: background .3s ease;
  cursor: pointer;
}
.hero-three-item:first-child { border-left: none; }
.hero-three-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--th-line1);
  opacity: 0;
  transition: opacity .35s ease;
}
.hero-three-item:hover::before { opacity: .08; }

.hero-three-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.hero-three-arrow {
  display: inline-block;
  font-size: 20px;
  color: var(--th-color);
  margin-bottom: 12px;
  transition: transform .25s ease;
}
.hero-three-item:hover .hero-three-arrow {
  transform: translate(3px, -3px);
}
.hero-three-title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  transition: color .25s ease;
}
.hero-three-item:hover .hero-three-title { color: var(--th-color); }

.hero-three-desc {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 16px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .35s ease, opacity .3s ease, margin-bottom .3s ease;
}
.hero-three-item:hover .hero-three-desc {
  max-height: 80px;
  opacity: 1;
}

.hero-three-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.hero-three-item:hover .hero-three-link {
  opacity: 1;
  transform: translateY(0);
}
.hero-three-link span {
  background: var(--th-line1);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
}

/* ── Slider controls ── */
.hero-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 28px;
  height: 4px;
  background: rgba(255,255,255,.25);
  border-radius: 2px;
  border: none;
  transition: all .3s ease;
  cursor: pointer;
}
.hero-dot.active {
  width: 48px;
  background: var(--th-color);
}
.hero-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  pointer-events: none;
}
.hero-arrow {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: all .25s ease;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover {
  background: rgba(101,229,199,.2);
  border-color: var(--th-color);
}

/* ── Scroll hint ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 20px;
  right: 36px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.4);
  font-size: 11px;
  letter-spacing: .1em;
}
.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px;
  height: 6px;
  background: rgba(255,255,255,.45);
  border-radius: 2px;
  animation: scrollAnim 1.8s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(8px); }
}

/* ===================================================
   STATS BAR
   =================================================== */
.stats-bar {
  background: rgba(15,26,54,0.88);
  padding: 0;
  position: relative;
  z-index: 1;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
  transition: background .25s ease;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(20,34,71,0.88); }
.stat-num {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num span { color: var(--th-color); }
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  letter-spacing: .05em;
}

/* ===================================================
   GENERIC SECTION / HEADER
   =================================================== */
.section {
  padding: 90px 0;
  background: rgba(1,13,39,0.82);
  position: relative;
  z-index: 1;
}
.section--gray {
  background: rgba(15,26,54,0.88);
}
.section__header {
  text-align: center;
  margin-bottom: 56px;
}
.section__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--th-color);
  background: rgba(101,229,199,.1);
  border: 1px solid rgba(101,229,199,.25);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.section__title {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.25;
}
.section__subtitle {
  font-size: 15px;
  color: rgba(255,255,255,.55);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===================================================
   BUTTONS (generic)
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: all .25s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn--primary {
  background: var(--th-line1);
  color: #000;
  border: none;
}
.btn--primary:hover {
  background: var(--th-line2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(101,229,199,.3);
  color: #000;
}
.btn--outline-dark {
  color: var(--th-color);
  border: 1.5px solid rgba(101,229,199,.4);
  background: transparent;
}
.btn--outline-dark:hover {
  background: rgba(101,229,199,.08);
  border-color: var(--th-color);
}

/* ===================================================
   PRODUCTS GRID
   =================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: rgba(15,26,54,0.82);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  background: rgba(20,34,71,0.88);
  border-color: rgba(101,229,199,.25);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.product-card__thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card:nth-child(1) .product-card__thumb {
  background: linear-gradient(135deg, #041830 0%, #0a2d50 100%);
}
.product-card:nth-child(2) .product-card__thumb {
  background: linear-gradient(135deg, #041d2a 0%, #0a3545 100%);
}
.product-card:nth-child(3) .product-card__thumb {
  background: linear-gradient(135deg, #061a35 0%, #0d2e55 100%);
}
.product-card:nth-child(4) .product-card__thumb {
  background: linear-gradient(135deg, #041428 0%, #081f42 100%);
}
.product-card__icon {
  width: 72px;
  height: 72px;
  background: rgba(101,229,199,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
  border: 1px solid rgba(101,229,199,.2);
}
.product-card:hover .product-card__icon {
  transform: scale(1.1);
  background: rgba(101,229,199,.18);
}
.product-card__icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--th-color);
  stroke-width: 1.5;
}
.product-card__body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  transition: color .25s ease;
}
.product-card:hover .product-card__name { color: var(--th-color); }
.product-card__desc {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 16px;
}
.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(101,229,199,.1);
  color: var(--th-color);
  font-weight: 600;
  border: 1px solid rgba(101,229,199,.15);
}
.product-card__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--th-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s ease;
  text-decoration: none;
}
.product-card__link:hover { gap: 12px; }

/* ===================================================
   SOLUTIONS GRID
   =================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  height: 320px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.07);
}
.solution-card__bg {
  position: absolute;
  inset: 0;
  transition: transform .6s ease;
}
.solution-card:hover .solution-card__bg { transform: scale(1.06); }
.solution-card:nth-child(1) .solution-card__bg {
  background: linear-gradient(160deg, #041830 0%, #0a2d50 100%);
}
.solution-card:nth-child(2) .solution-card__bg {
  background: linear-gradient(160deg, #041d28 0%, #083a44 100%);
}
.solution-card:nth-child(3) .solution-card__bg {
  background: linear-gradient(160deg, #060e1e 0%, #0d1e40 100%);
}
.solution-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 55%, transparent 100%);
  transition: background .35s ease;
}
.solution-card:hover .solution-card__overlay {
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(101,229,199,.06) 100%);
}
.solution-card__pattern {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image: radial-gradient(circle, rgba(101,229,199,1) 1px, transparent 1px);
  background-size: 24px 24px;
}
.solution-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  z-index: 2;
}
.solution-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(101,229,199,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(101,229,199,.2);
}
.solution-card__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--th-color);
  stroke-width: 1.8;
}
.solution-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.solution-card__desc {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.solution-card:hover .solution-card__desc { max-height: 80px; }
.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--th-color);
  opacity: 0;
  transform: translateY(8px);
  transition: all .3s ease;
  text-decoration: none;
  margin-top: 10px;
}
.solution-card:hover .solution-link { opacity: 1; transform: translateY(0); }

/* ===================================================
   ABOUT SECTION
   =================================================== */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--th-color);
  margin-bottom: 14px;
}
.about-title {
  font-size: clamp(26px, 2.5vw, 38px);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 20px;
}
.about-text {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  line-height: 1.9;
  margin-bottom: 16px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.about-stat {
  padding: 20px;
  border-radius: 10px;
  background: rgba(15,26,54,0.82);
  border: 1px solid rgba(255,255,255,.07);
  text-align: center;
  transition: background .25s ease;
}
.about-stat:hover { background: rgba(20,34,71,0.88); }
.about-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.about-stat-num span {
  color: var(--th-color);
  font-size: 20px;
}
.about-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
.about-visual { position: relative; }
.about-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 14px;
  background: linear-gradient(135deg, #0a1a35 0%, #0f2a50 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(101,229,199,.12);
}
.about-img-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(101,229,199,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101,229,199,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: rgba(15,26,54,0.82);
  border: 1px solid rgba(101,229,199,.25);
  padding: 20px 24px;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  text-align: center;
}
.about-img-badge-num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.about-img-badge-num span { color: var(--th-color); }
.about-img-badge-text {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
}

/* ===================================================
   NEWS SECTION
   =================================================== */
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.news-featured {
  background: rgba(15,26,54,0.82);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  transition: all .3s ease;
  text-decoration: none;
  display: block;
}
.news-featured:hover {
  background: rgba(20,34,71,0.88);
  border-color: rgba(101,229,199,.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.news-featured__thumb {
  height: 260px;
  background: linear-gradient(135deg, #041830 0%, #0a2d50 60%, #0d3560 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.news-thumb-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 50%, rgba(101,229,199,.07) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(72,214,234,.1) 0%, transparent 40%);
}
.news-featured__body { padding: 28px; }
.news-list {
  display: flex;
  flex-direction: column;
  background: rgba(15,26,54,0.82);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
}
.news-item {
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .25s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: rgba(20,34,71,0.88); }

.news-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 8px;
}
.news-cat--corp  { background: rgba(101,229,199,.1); color: var(--th-color); border: 1px solid rgba(101,229,199,.2); }
.news-cat--tech  { background: rgba(72,214,234,.1);  color: #48d6ea;         border: 1px solid rgba(72,214,234,.2); }
.news-cat--event { background: rgba(159,255,247,.1); color: #9ffff7;         border: 1px solid rgba(159,255,247,.2); }

.news-title-text {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.55;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .25s ease;
}
.news-item:hover .news-title-text,
.news-featured:hover .news-title-text { color: var(--th-color); }
.news-featured .news-title-text {
  font-size: 20px;
  margin-bottom: 12px;
  -webkit-line-clamp: 3;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}
.news-meta svg { width: 14px; height: 14px; }
.news-excerpt {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.75;
  margin: 12px 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===================================================
   PARTNERS
   =================================================== */
.partners-track {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}
.partners-track::before,
.partners-track::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.partners-track::before {
  left: 0;
  background: linear-gradient(to right, rgba(1,13,39,0.92), transparent);
}
.partners-track::after {
  right: 0;
  background: linear-gradient(to left, rgba(1,13,39,0.92), transparent);
}
/* when inside section--gray, match that bg */
.section--gray .partners-track::before {
  background: linear-gradient(to right, rgba(15,26,54,0.92), transparent);
}
.section--gray .partners-track::after {
  background: linear-gradient(to left, rgba(15,26,54,0.92), transparent);
}
.partners-scroll {
  display: flex;
  gap: 24px;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.partners-scroll:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.partner-item {
  width: 180px;
  height: 70px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
  flex: 0 0 auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
}
.partner-item:hover {
  border-color: rgba(101,229,199,.35);
  background: #fff;
  transform: translateY(-3px);
}
.partner-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===================================================
   CTA SECTION
   =================================================== */
.cta-section {
  background: rgba(15,26,54,0.88);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-top: 1px solid rgba(101,229,199,.1);
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(101,229,199,.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-title {
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.25;
}
.cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,.6);
}
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cta-btn-primary {
  background: var(--th-line1);
  color: #000;
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  transition: all .25s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.cta-btn-primary:hover {
  background: var(--th-line2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(101,229,199,.3);
  color: #000;
}
.cta-btn-outline {
  border: 1.5px solid rgba(101,229,199,.35);
  color: var(--th-color);
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: all .25s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.cta-btn-outline:hover {
  border-color: var(--th-color);
  background: rgba(101,229,199,.08);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1200px) {
  .hero-three { width: 92%; }
  .hero-slide__content { width: 92%; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { display: none; }
}

@media (max-width: 900px) {
  .hero-three { grid-template-columns: 1fr; width: 100%; position: static; transform: none; margin-top: 32px; }
  .hero-three-item { border-left: none; border-top: 1px solid rgba(255,255,255,.12); }
  .hero-three-item:first-child { border-top: none; }
  .hero-three-desc { max-height: 60px; opacity: 1; }
  .hero-slide__content { padding-bottom: 40px; width: 100%; left: 0; transform: none; }
  .hero-slide .container { flex-direction: column; align-items: flex-start; padding-bottom: 30px; }
}

@media (max-width: 768px) {
  .hero { height: auto; min-height: auto; padding: 80px 0 40px; }
  .hero-slide { position: relative; opacity: 1; display: flex; flex-direction: column; }
  .hero-slide:not(.active) { display: none; }
  .hero-arrows { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.07); }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .hero-three { position: static; transform: none; width: 100%; grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-scroll-hint { display: none; }
}
