/* ═══════════════════════════════════════════
   SunRising Associate — Shared Stylesheet
   ═══════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --bg: transparent;
  --bg2: rgba(6, 20, 38, 0.55);
  --card: rgba(10, 30, 60, 0.55);
  --border: rgba(255, 255, 255, 0.12);
  --blue: #2150ff;
  --blue-lt: #4a6aff;
  --teal: #14b8ab;
  --teal-lt: #2dd4c8;
  --white: #ffffff;
  --text: #e8f1fa;
  --muted: #7aa3c4;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(145deg, #001931 0%, #0d355b 50%, #0a756c 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4 {
  font-family: 'Gelasio', 'Noto Sans TC', serif;
  letter-spacing: -0.01em;
}

h5,
h6 {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
}

:lang(zh),
[lang="zh"] {
  font-family: 'Noto Sans TC', sans-serif;
}

p,
li,
a,
label,
td,
th,
caption,
small,
blockquote {
  font-size: max(12px, 1em);
  font-weight: 300;
}

/* ── NAV ── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 30px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, padding 0.4s;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

#nav.scrolled {
  background: rgba(6, 30, 53, 0.92);
  backdrop-filter: blur(14px);
  padding: 30px 60px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-logo img {
  height: 80px;
  width: auto;
}

.nav-logo span {
  color: var(--teal);
}

.btn-primary,
.btn-outline,
.nav-cta,
.form-submit,
.mobile-cta {
  isolation: isolate;
}

.btn-primary::after,
.btn-outline::after,
.nav-cta::after,
.form-submit::after,
.mobile-cta::after {
  z-index: -1;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
  opacity: .7;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

.nav-cta {
  background: var(--blue);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 28px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.nav-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nav-cta:hover::after {
  opacity: 1;
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.25s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE MENU ── */
#mobileMenu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(6, 30, 53, 0.98);
  backdrop-filter: blur(16px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.mobile-nav-links li {
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav-links li:first-child {
  border-top: 1px solid var(--border);
}

#mobileMenu.open .mobile-nav-links li {
  opacity: 1;
  transform: translateY(0);
}

#mobileMenu.open .mobile-nav-links li:nth-child(1) {
  transition-delay: 0.05s;
}

#mobileMenu.open .mobile-nav-links li:nth-child(2) {
  transition-delay: 0.1s;
}

#mobileMenu.open .mobile-nav-links li:nth-child(3) {
  transition-delay: 0.15s;
}

#mobileMenu.open .mobile-nav-links li:nth-child(4) {
  transition-delay: 0.2s;
}

#mobileMenu.open .mobile-nav-links li:nth-child(5) {
  transition-delay: 0.25s;
}

.mobile-nav-links a {
  display: block;
  padding: 22px 40px;
  font-family: 'Gelasio', serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav-links a:hover {
  color: var(--teal);
}

.mobile-cta {
  margin-top: 40px;
  background: var(--blue);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 48px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease 0.3s, transform 0.3s ease 0.3s, background 0.2s;
  position: relative;
  overflow: hidden;
}

#mobileMenu.open .mobile-cta {
  opacity: 1;
  transform: translateY(0);
}

.mobile-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-cta:hover::after {
  opacity: 1;
}

/* ── SECTION BASE ── */
section {
  padding: 120px 60px;
}

.section-tag {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}

.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.section-tag.tag-in::before {
  transform: scaleX(1);
}

.section-tag-text {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.5s ease 0.35s, transform 0.5s ease 0.35s;
}

.section-tag.tag-in .section-tag-text {
  opacity: 1;
  transform: translateX(0);
}

/* ── MARQUEE ── */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  background: rgba(6, 20, 38, 0.4);
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 28s linear infinite;
  will-change: transform;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 32px;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── STATS ── */
#stats {
  background: var(--bg2);
  padding: 0 60px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 56px 48px;
  border-right: 1px solid var(--border);
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.stat-item:hover::after {
  transform: scaleX(1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3.2rem, 5vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  margin-bottom: 8px;
}

.stat-num .unit {
  color: var(--teal);
}

.stat-label {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── ABOUT ── */
#about {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.about-statement {
  font-family: 'Gelasio', 'Noto Sans TC', serif;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}

.about-statement .accent-blue {
  color: var(--blue);
}

.about-statement .accent-teal {
  color: var(--teal);
}

#geoCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

#about .section-tag,
#about .about-grid {
  position: relative;
  z-index: 1;
}

.about-text {
  color: #ffffffc9;
  line-height: 1.85;
  font-size: 1.05rem;
  font-weight: 200;
}

.about-text p+p {
  margin-top: 20px;
}

/* ── FOOTER ── */
footer {
  background: #ffffff;
  padding: 48px 60px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 80px;
  width: auto;
}

.footer-copy {
  font-size: 0.8rem;
  color: #475569;
  text-align: center;
  width: 100%;
}

.footer-copy a {
  color: #0a1e3d;
  border-bottom-color: rgba(10, 30, 61, 0.3) !important;
}

/* ── REVEAL ── */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(44px);
}

/* ── LOADER ── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #07544a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: none;
}

#loaderCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#loader>*:not(#loaderCanvas) {
  position: relative;
  z-index: 1;
}

#loader.done {
  pointer-events: none;
}

.loader-logo {
  opacity: 1;
  margin-bottom: 56px;
}

.loader-logo img {
  height: 72px;
  width: auto;
}

.loader-bar-wrap {
  width: min(320px, 72vw);
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.loader-bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #2150ff, #14b8ab);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.05s linear;
}

.loader-pct {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

/* ── FAB ── */
.fab-group {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.fab-group.visible {
  opacity: 1;
  pointer-events: all;
}

.fab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(10, 30, 60, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.fab-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  opacity: 0;
  transition: opacity 0.25s;
  z-index: -1;
  border-radius: 8px;
}

.fab-btn:hover::after {
  opacity: 1;
}

.fab-btn:hover {
  border-color: transparent;
  transform: translateY(-2px);
}

.fab-btn svg {
  width: 18px;
  height: 18px;
}


/* ── RESPONSIVE (shared) ── */
@media (max-width: 1400px) {
  #nav {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  #nav.scrolled {
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .nav-logo {
    position: static;
    transform: none;
    margin-left: auto;
    order: 2;
  }

  .nav-logo img {
    height: 60px;
  }

  .hamburger {
    order: 1;
    margin-right: auto;
  }

  #nav,
  #hero {
    padding-left: 32px;
    padding-right: 32px;
  }

  section {
    padding-left: 32px;
    padding-right: 32px;
  }

  #stats {
    padding-left: 32px;
    padding-right: 32px;
  }

  footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  #mobileMenu {
    display: flex;
  }
}

@media (max-width: 640px) {
  section {
    padding-left: 24px;
    padding-right: 24px;
  }

  #stats {
    padding-left: 24px;
    padding-right: 24px;
  }

  footer {
    padding-left: 24px;
    padding-right: 24px;
  }

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

  .stat-item {
    padding: 28px 20px;
  }

  .stat-item:nth-child(3) {
    border-right: 1px solid var(--border);
  }

  .stat-item:nth-child(4) {
    border-right: none;
  }

  .fab-group {
    bottom: 1.25rem;
    right: 1.25rem;
    gap: 0.4rem;
  }

  .fab-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
  }

  .fab-btn svg {
    width: 15px;
    height: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* INDEX */
/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 60px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 漸層遮罩：上方保色、左側加深護文字、底部融入背景 */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(8, 38, 68, 0.55) 0%,
      rgba(8, 38, 68, 0.25) 35%,
      rgba(8, 38, 68, 0.45) 65%,
      #082644 100%),
    linear-gradient(to right,
      rgba(8, 38, 68, 0.6) 0%,
      transparent 60%);
}

.hero-tag {
  position: absolute;
  top: 120px;
  left: 60px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--teal);
}

.hero-content {
  position: relative;
  max-width: 960px;
}

.hero-slogan {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.hero-h1 {
  font-family: 'Gelasio', 'Noto Sans TC', serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 0.92;
  color: var(--white);
  margin-bottom: 36px;
}

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

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

.hero-sub {
  font-size: 1.3rem;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.75;
  margin-bottom: 52px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 40px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.btn-primary:hover::after {
  opacity: 1;
}

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

.btn-outline {
  border: 1px solid var(--muted);
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 40px;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.35s ease, color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.btn-outline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.btn-outline:hover::after {
  opacity: 1;
}

.btn-outline:hover {
  border-color: transparent;
  color: var(--white);
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: var(--border);
  position: relative;
  overflow: hidden;
  order: -1;
}

.scroll-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--teal);
  animation: scrollline 2.2s ease-in-out infinite;
}

@keyframes scrollline {
  0% {
    top: -100%;
  }

  50% {
    top: 0;
  }

  100% {
    top: 100%;
  }
}

/* ── FACTORY CARD hover lift ── */
.factory-card {
  transition: background 0.3s, transform 0.35s ease, box-shadow 0.35s ease;
}

.factory-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

/* ── PRODUCT CARD hover lift ── */
.product-card {
  transition: background 0.3s, transform 0.3s ease;
}

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

/* ── PRODUCTS ── */
#products {
  background: #051c2c;
}

/* factory cards */
.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border: none;
  margin-bottom: 80px;
}

.factory-card {
  overflow: hidden;
  position: relative;
  height: 380px;
}

.factory-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.75);
  transition: filter 0.5s, transform 0.6s ease;
}

.factory-card:hover .factory-img {
  filter: brightness(0.55);
  transform: scale(1.05);
}

.factory-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 14, 30, 0.85) 0%, rgba(4, 14, 30, 0.25) 55%, transparent 100%);
  z-index: 1;
  transition: opacity 0.4s;
}

.factory-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 32px 36px;
  z-index: 2;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.factory-num {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.factory-title {
  font-family: 'Gelasio', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.factory-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease 0.05s;
}

.factory-card:hover .factory-desc {
  max-height: 120px;
  opacity: 1;
}

.products-subheading {
  font-family: 'Gelasio', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 40px;
}

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

.section-h2 {
  font-family: 'Gelasio', 'Noto Sans TC', serif;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  font-weight: 900;
  line-height: 0.95;
  color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}

.product-card {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background 0.35s ease, transform 0.3s ease;
}

.product-card:hover {
  background: rgba(255, 255, 255, 0.9);
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.product-card:hover::after {
  transform: scaleX(1);
}

.product-card:nth-child(3n) {
  border-right: none;
}

/* hover 文字變色 */
.product-card:hover .product-num {
  color: var(--teal);
}

.product-card:hover .product-title {
  color: #0f172a;
}

.product-card:hover .product-desc {
  color: #334155;
}

.product-card:hover .product-tag {
  color: var(--blue);
  border-color: rgba(33, 80, 255, 0.35);
}

.product-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--teal);
  margin-bottom: 24px;
  text-transform: uppercase;
  transition: color 0.35s;
}

.product-icon {
  width: 100%;
  height: 200px;
  margin-bottom: 24px;
  object-fit: cover;
  display: block;
  transition: filter 0.35s;
}

.product-card:hover .product-icon {
  filter: brightness(1.05) saturate(1.1);
}

.product-title {
  font-family: 'Gelasio', 'Noto Sans TC', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.1;
  transition: color 0.35s;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  transition: color 0.35s;
}

.product-tag {
  margin-top: 24px;
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(20, 184, 171, 0.3);
  padding: 4px 12px;
  transition: color 0.35s, border-color 0.35s;
}

/* ── PROCESS ── */
#process {
  background: var(--bg);
}

.process-list {
  margin-top: 80px;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 0;
  align-items: start;
  padding: 52px 0;
  border-top: 1px solid var(--border);
  transition: background 0.2s;
}

.process-step:last-child {
  border-bottom: 1px solid var(--border);
}

.step-num {
  font-family: 'Inter', sans-serif;
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--border);
  transition: color 0.3s;
}

.process-step:hover .step-num {
  color: var(--blue);
}

.step-title {
  font-family: 'Gelasio', 'Noto Sans TC', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  padding-right: 60px;
  line-height: 1.05;
}

.step-desc {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.75;
  padding-top: 6px;
}

/* ── CERTIFICATIONS ── */
#certs {
  background: var(--bg2);
  padding: 100px 60px;
  border-top: 1px solid var(--border);
}

.certs-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 24px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
}

.cert-item {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.3s;
}

.cert-item:last-child {
  border-right: none;
}

.cert-item:hover {
  background: var(--card);
}

.cert-badge {
  width: 44px;
  height: 44px;
  background: rgba(33, 80, 255, 0.1);
  border: 1px solid rgba(33, 80, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-badge svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.cert-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--white);
}

.cert-body {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── CONTACT ── */
#contact {
  background: #2150ff;
  padding-bottom: 0;
}

/* contact 區塊專屬色票 */
#contact .section-tag {
  color: rgba(255, 255, 255, 0.9);
}

#contact .section-tag::before {
  background: rgba(255, 255, 255, 0.9);
}

.contact-top {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 0;
}

.contact-statement {
  font-family: 'Gelasio', 'Noto Sans TC', serif;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
}

.contact-statement .accent-teal {
  color: #a5f3ef;
}

.contact-statement .accent-blue {
  color: #ffffff;
}

.contact-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  max-width: 360px;
}

.contact-tagline a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: border-color 0.2s;
}

.contact-tagline a:hover {
  border-color: #ffffff;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: none;
}

.contact-card {
  padding: 36px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}

.contact-card:last-child {
  border-right: none;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.16);
}

.contact-card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
  color: #ffffff;
  opacity: 0.9;
}

.contact-card-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.contact-map {
  margin-top: 40px;
  margin-left: -60px;
  margin-right: -60px;
  overflow: hidden;
  position: relative;
}

@media (max-width: 1024px) {
  .contact-map {
    margin-left: 0;
    margin-right: 0;
  }
}

#leafletMap {
  width: 100%;
  height: 420px;
}

.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(33, 80, 255, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.2s;
}

.contact-map-link:hover {
  background: rgba(33, 80, 255, 1);
}

.contact-card-value {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  font-weight: 500;
}

form {
  display: flex;
  flex-direction: column;
}

.form-group {
  position: relative;
  border-top: 1px solid var(--border);
}

.form-group:last-of-type {
  border-bottom: 1px solid var(--border);
}

.form-label {
  position: absolute;
  top: 20px;
  left: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  pointer-events: none;
}

.form-input,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  padding: 48px 0 16px;
  resize: none;
}

.form-input:focus~.form-label,
.form-textarea:focus~.form-label {
  color: var(--teal);
}

.form-submit {
  margin-top: 32px;
  background: var(--blue);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 18px 48px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}

.form-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.form-submit:hover::after {
  opacity: 1;
}

.form-submit:hover {
  transform: translateY(-2px);
}

/* ── RESPONSIVE (index-specific) ── */
@media (max-width: 1024px) {
  #hero {
    padding-left: 32px;
    padding-right: 32px;
  }

  section,
  #certs {
    padding-left: 32px;
    padding-right: 32px;
  }

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

  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card:nth-child(2) {
    border-right: none;
  }

  .contact-card:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .contact-card:nth-child(4) {
    border-right: none;
  }

  .contact-card {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

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

  .factory-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card:nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .product-card:nth-child(2n) {
    border-right: none;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-item:nth-child(2) {
    border-right: none;
  }

  .process-step {
    grid-template-columns: 60px 1fr;
  }

  .step-desc {
    display: none;
  }
}

@media (max-width: 640px) {

  .btn-primary,
  .btn-outline {
    font-size: 0.78rem;
    padding: 12px 24px;
    letter-spacing: 0.06em;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-card {
    border-right: none !important;
    border-top: 1px solid var(--border);
  }

  #hero {
    padding: 0 24px 60px;
  }

  .hero-tag {
    left: 24px;
  }

  .scroll-hint {
    right: 24px;
  }

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

  .product-card {
    border-right: none !important;
  }

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

  .process-step {
    grid-template-columns: 50px 1fr;
  }
}

/* Contact canvas background */
#contact {
  position: relative;
}

#contactCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

#contact>*:not(#contactCanvas) {
  position: relative;
  z-index: 1;
}


/* ABOUT */

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 80px 0;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--teal);
}

.breadcrumb-sep {
  color: var(--border);
}

.breadcrumb-current {
  color: var(--teal);
}

/* ── PAGE HERO ── */
.page-hero {
  padding: 200px 60px 100px;
  background: #051c2c;
  border-bottom: 1px solid var(--border);
}

.page-hero-tag {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.page-hero-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--teal);
}

.page-hero-title {
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 60px;
}

.page-hero-title .accent-teal {
  color: var(--teal);
}

.page-hero-title .accent-blue {
  color: var(--blue);
}

/* ── VALUES ── */
#values {
  background: var(--bg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  margin-top: 60px;
}

.value-item {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
}

.value-item:last-child {
  border-right: none;
}

.value-item:hover {
  background: var(--card);
}

.value-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.value-title {
  font-family: 'Gelasio', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.1;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── CAPABILITIES (bleed + overlap) ── */
#capabilities {
  background: transparent;
  padding: 0;
  overflow: hidden;
}

.cap-row {
  position: relative;
  display: grid;
  min-height: 580px;
  margin-bottom: 0;
}

/* Normal: image left, text right — 50/50 */
.cap-row {
  grid-template-columns: 1fr 1fr;
}

.cap-media {
  position: relative;
  overflow: hidden;
}

.cap-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.cap-row:hover .cap-img {
  transform: scale(1.03);
}

.cap-content {
  position: relative;
  z-index: 2;
  padding: 72px 60px 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Reverse: text left, image right — 50/50 */
.cap-row--reverse {
  grid-template-columns: 1fr 1fr;
}

.cap-row--reverse .cap-media {
  order: 2;
}

.cap-row--reverse .cap-content {
  order: 1;
  padding: 72px 64px 72px 60px;
}

.cap-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.cap-title {
  font-family: 'Gelasio', serif;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.cap-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.cap-desc:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {

  .cap-row,
  .cap-row--reverse {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cap-media {
    min-height: 340px;
  }

  .cap-content,
  .cap-row--reverse .cap-content {
    margin-left: 0;
    margin-right: 0;
    border: none;
    border-top: 2px solid var(--teal);
    padding: 48px 32px;
  }

  .cap-row--reverse .cap-media {
    order: 0;
  }

  .cap-row--reverse .cap-content {
    order: 1;
  }
}

@media (max-width: 640px) {
  .cap-media {
    min-height: 260px;
  }

  .cap-content,
  .cap-row--reverse .cap-content {
    padding: 40px 24px;
  }
}

/* ── FOUNDER ── */
#founder {
  background: #ffffff;
  padding: 100px 60px;
}

.founder-inner {
  max-width: 900px;
  margin: 0 auto;
}

.founder-info .section-tag {
  margin-bottom: 24px;
}

.founder-info .section-tag-text {
  opacity: 1;
  transform: none;
}

.founder-name {
  font-family: 'Gelasio', serif;
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 36px;
}

.founder-exp {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.founder-exp li {
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
}

.founder-exp li:first-child {
  border-top: 1px solid #e2e8f0;
}

.founder-exp li strong {
  color: #0f172a;
  font-weight: 600;
}

/* ── RESPONSIVE (about-specific) ── */
@media (max-width: 1024px) {
  .page-hero {
    padding-left: 32px;
    padding-right: 32px;
  }

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

  .value-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

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

  #founder {
    padding: 72px 32px;
  }
}

@media (max-width: 768px) {
  #founder {
    padding: 64px 24px;
  }

  .factory-desc {
    max-height: none;
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 160px;
  }
}

/* ── UAV TECHNOLOGY ── */
#uav-technology {
  background: #ffffff;
}

#uav-technology .section-tag-text {
  color: #14b8ab;
}

#uav-technology .section-h2 {
  color: #0a1e3d;
}

#uav-technology .products-subheading {
  color: #0a1e3d;
}

#uav-technology .products-grid {
  border-color: #e2e8f0;
}

#uav-technology .product-card {
  border-color: #e2e8f0;
  background: transparent;
}

#uav-technology .product-card:hover {
  background: #f8fafc;
}

#uav-technology .product-num {
  color: #14b8ab;
}

#uav-technology .product-title {
  color: #0a1e3d;
}

#uav-technology .product-desc {
  color: #475569;
}

#uav-technology .product-tag {
  color: #14b8ab;
  border-color: rgba(20, 184, 171, 0.4);
}

#uav-technology .product-card:hover .product-title {
  color: #0a1e3d;
}

#uav-technology .product-card:hover .product-desc {
  color: #1e293b;
}

#uav-technology {
  padding-left: 0;
  padding-right: 0;
}

#uav-technology .products-header {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(24px, 5vw, 80px);
  padding-right: clamp(24px, 5vw, 80px);
}

.uav-rnd-layout {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.uav-rnd-image {
  overflow: hidden;
}

.uav-rnd-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.uav-rnd-content {
  padding: clamp(40px, 5vw, 72px) clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.uav-rnd-heading {
  font-family: 'Gelasio', serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 700;
  color: #0a1e3d;
  margin-bottom: 36px;
}

.uav-rnd-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid #e2e8f0;
}

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

.uav-rnd-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: #14b8ab;
  text-transform: uppercase;
  padding-top: 4px;
  flex-shrink: 0;
  width: 24px;
}

.uav-rnd-title {
  font-family: 'Gelasio', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a1e3d;
  margin-bottom: 8px;
  line-height: 1.2;
}

.uav-rnd-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.7;
}

@media (max-width: 768px) {
  #uav-technology {
    padding-bottom: 0;
  }

  .uav-rnd-layout {
    grid-template-columns: 1fr;
  }

  .uav-rnd-image {
    height: 280px;
  }
}

/* ── SHELL MATERIAL ── */
#shell-material {
  background: #ffffff;
  padding-left: 0;
  padding-right: 0;
}

#shell-material .products-header {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(24px, 5vw, 80px);
  padding-right: clamp(24px, 5vw, 80px);
}

#shell-material .section-tag-text {
  color: #14b8ab;
}

#shell-material .section-h2 {
  color: #0a1e3d;
}

#shell-material .products-header p {
  color: #475569;
}

.shell-layout {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.shell-content {
  padding: clamp(40px, 5vw, 72px) clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shell-heading {
  font-family: 'Gelasio', serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 700;
  color: #0a1e3d;
  margin-bottom: 36px;
}

.shell-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid #e2e8f0;
}

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

.shell-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: #14b8ab;
  text-transform: uppercase;
  padding-top: 4px;
  flex-shrink: 0;
  width: 24px;
}

.shell-title {
  font-family: 'Gelasio', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a1e3d;
  margin-bottom: 8px;
  line-height: 1.2;
}

.shell-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.7;
}

.shell-image {
  overflow: hidden;
}

.shell-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .shell-layout {
    grid-template-columns: 1fr;
  }

  .shell-layout .shell-image {
    order: -1;
    height: 280px;
  }
}

/* ── SYSTEM INTEGRATION ── */
#system-integration {
  background: var(--bg);
  position: relative;
}

#siCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

#system-integration>*:not(#siCanvas) {
  position: relative;
  z-index: 1;
}

#system-integration .section-tag-text {
  color: #2dd4c8;
}

#system-integration .section-h2 {
  color: #f0f8ff;
}

#system-integration .si-subtext {
  color: #7aaccc;
  font-size: 0.95rem;
  line-height: 1.75;
}

.si-process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 100px 0;
  position: relative;
}

.si-process::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2dd4c8, #4a6aff, transparent);
}

.si-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.si-step-dot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 200, 0.35);
  background: rgba(45, 212, 200, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: background 0.3s, border-color 0.3s;
}

.si-step:hover .si-step-dot {
  background: rgba(45, 212, 200, 0.18);
  border-color: #2dd4c8;
}

.si-step-num {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #2dd4c8;
  text-transform: uppercase;
}

.si-step-title {
  font-family: 'Gelasio', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #e8f4ff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.si-step-desc {
  font-size: 0.82rem;
  color: #7aaccc;
  line-height: 1.65;
}

.si-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 24px;
}

.si-app-card {
  background: #051c2c;
  padding: 40px 36px;
  transition: background 0.3s;
}

.si-app-card:hover {
  background: rgba(45, 212, 200, 0.06);
}

.si-app-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2dd4c8;
  margin-bottom: 14px;
}

.si-app-title {
  font-family: 'Gelasio', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #e8f4ff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.si-app-desc {
  font-size: 0.88rem;
  color: #7aaccc;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .si-process {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .si-process::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .si-process {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .si-apps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .si-process {
    grid-template-columns: 1fr;
  }
}

/* ── SI MASONRY ── */
.si-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.si-masonry-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.si-masonry-col--1 {
  margin-top: 60px;
}

.si-masonry-col--2 {
  margin-top: 0;
}

.si-masonry-col--3 {
  margin-top: 120px;
}

.si-masonry-item {
  width: 100%;
  display: block;
  overflow: hidden;
}

.si-masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .si-masonry {
    grid-template-columns: repeat(2, 1fr);
  }

  .si-masonry-col--3 {
    display: none;
  }

  .si-masonry-col--1 {
    margin-top: 32px;
  }
}

@media (max-width: 480px) {
  .si-masonry {
    grid-template-columns: 1fr;
  }

  .si-masonry-col--2 {
    display: none;
  }

  .si-masonry-col--1 {
    margin-top: 0;
  }

  .si-masonry-item {
    height: 220px !important;
  }
}