/* =============================================
   LCX-Asia Website - Global Styles
   Theme: Hong Kong Enterprise / AI Infrastructure
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Noto+Sans+TC:wght@400;500;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary: #fbfefb;
  --bg-secondary: #eef8f0;
  --bg-card: #ffffff;
  --bg-card-hover: #f2fbf4;
  --bg-glass: rgba(255, 255, 255, 0.72);

  --text-primary: #10251a;
  --text-secondary: #365344;
  --text-muted: #6f8677;

  --accent: #1f8a4c;
  --accent-light: #26a65b;
  --accent-glow: rgba(31, 138, 76, 0.18);
  --accent-dim: rgba(31, 138, 76, 0.10);

  --cyan: #0e9f6e;
  --cyan-dim: rgba(14, 159, 110, 0.12);

  --gradient-hero: linear-gradient(135deg, #ffffff 0%, #eef8f0 48%, #dff3e6 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f3fbf5 100%);
  --gradient-accent: linear-gradient(135deg, #116c3a, #20a95b 55%, #7ccf8a);

  --border: rgba(31, 86, 54, 0.12);
  --border-accent: rgba(31, 138, 76, 0.30);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-card: 0 12px 36px rgba(17, 75, 44, 0.10), 0 2px 10px rgba(17, 75, 44, 0.06);
  --shadow-glow: 0 0 30px var(--accent-glow);

  --font-main: 'Manrope', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container: 1140px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-secondary);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

a:hover { color: #116c3a; }

img { max-width: 100%; display: block; }

/* ---------- Utility ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent { color: var(--accent-light); }
.text-cyan { color: var(--cyan); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

.font-mono { font-family: var(--font-mono); }

.section {
  padding: 100px 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--accent-dim);
  color: var(--accent-light);
  border: 1px solid var(--border-accent);
}

.tag-cyan {
  background: var(--cyan-dim);
  color: var(--cyan);
  border-color: rgba(14, 159, 110, 0.28);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--accent-glow);
  color: #fff;
}

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

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-dim);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(17, 75, 44, 0.06);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-logo:hover { color: var(--text-primary); }

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(17, 75, 44, 0.10);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.nav-links a.active { color: var(--accent-light); }

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

.language-select {
  height: 40px;
  min-width: 74px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}

.language-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 99;
}

.nav-mobile.open { display: block; }

.nav-mobile a {
  display: block;
  padding: 14px 0;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:hover { color: var(--accent-light); }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(251, 254, 251, 0.96) 0%, rgba(251, 254, 251, 0.88) 46%, rgba(238, 248, 240, 0.76) 100%),
    url('../images/LCX_page_background.jpg') center / cover no-repeat fixed;
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: linear-gradient(135deg, rgba(31, 138, 76, 0.16), transparent 68%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, transparent, rgba(124, 207, 138, 0.18));
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 138, 76, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 138, 76, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  position: relative;
  max-width: 820px;
  padding: 60px 0;
}

.hero-visual {
  position: relative;
  border-radius: 28px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  box-shadow: 0 28px 70px rgba(17, 75, 44, 0.14);
  max-width: 580px;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 34px -18px -18px 34px;
  border-radius: 28px;
  background: rgba(31, 138, 76, 0.10);
  z-index: -1;
}

.hero-visual img {
  width: 100%;
  border-radius: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  border-radius: 30px;
  background: var(--bg-glass);
  border: 1px solid var(--border-accent);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero h1 .gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .slogan {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-meta-item .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-meta-item .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---------- Connected Product System ---------- */
.support-section {
  background: var(--bg-secondary);
  position: relative;
}

.support-arch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
  position: relative;
}

.support-arch::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), #7ccf8a, var(--accent), transparent);
  opacity: 0.4;
  z-index: 0;
}

.support-card {
  position: relative;
  z-index: 1;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  overflow: hidden;
}

.support-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition);
}

.support-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.support-card:hover::before { opacity: 1; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.card-icon::before,
.product-visual-icon::before {
  display: block;
  line-height: 1;
  color: var(--accent);
}

/* 图片图标：隐藏 ::before，img 已在 flex 容器中居中 */
.card-icon.card-icon-img::before {
  display: none;
}

.product-visual-icon.card-icon-img::before {
  display: none;
}

.card-icon.card-icon-img img {
  display: block;
  flex-shrink: 0;
}

.card-icon.gold {
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
}

.card-icon.cyan {
  background: var(--cyan-dim);
  border: 1px solid rgba(14, 159, 110, 0.28);
}

.card-icon.teal {
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.support-card .card-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.support-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.support-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-tags .tag {
  font-size: 0.7rem;
  padding: 3px 10px;
}

/* ---------- Value Props ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.value-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.value-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Deployment Section ---------- */
.deployment-section {
  background: var(--bg-secondary);
}

.deployment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.deployment-card {
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition);
}

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

.deployment-card .mode {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin-bottom: 10px;
}

.deployment-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.deployment-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative;
  text-align: center;
  padding: 120px 0;
  background: var(--bg-secondary);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: linear-gradient(135deg, rgba(31, 138, 76, 0.10), rgba(124, 207, 138, 0.16), transparent 72%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

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

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-col ul a:hover { color: var(--accent-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--accent-dim);
  border-color: var(--border-accent);
  color: var(--accent-light);
}

/* ---------- Products Page ---------- */
.page-header {
  padding: 140px 0 80px;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 138, 76, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 159, 110, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-header .section-title { position: relative; }

.page-header p {
  position: relative;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 12px auto 0;
  font-size: 1.05rem;
}

/* Product Detail Cards */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.product-detail-grid.reverse {
  direction: rtl;
}

.product-detail-grid.reverse > * {
  direction: ltr;
}

.product-visual {
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.product-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(0.95);
  z-index: 0;
}

.product-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(238, 248, 240, 0.88));
  pointer-events: none;
  z-index: 1;
}

.product-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--accent-glow), transparent, rgba(124, 207, 138, 0.22), transparent);
  animation: spin-slow 20s linear infinite;
  opacity: 0.35;
  z-index: 1;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.product-visual-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.product-visual-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.product-visual-name {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.product-visual-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-detail-content .card-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.product-detail-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-detail-content > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.feature-list li .check {
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.mission-visual,
.contact-visual {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.mission-visual {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.mission-visual img,
.contact-visual img {
  width: 100%;
  object-fit: cover;
}

.mission-visual img {
  aspect-ratio: 1 / 1;
}

.contact-visual {
  margin-top: 0;
  margin-bottom: 24px;
}

.contact-visual img {
  max-height: 360px;
  object-position: center top;
}

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

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact-info-item a {
  font-size: 0.85rem;
  color: var(--accent-light);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { flex-direction: column; align-items: center; text-align: center; }
  .support-arch { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .support-arch::before { display: none; }
  .deployment-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-detail-grid.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: auto; }
  .hero-content { padding-bottom: 30px; }
  .hero-meta { flex-direction: column; gap: 16px; }
  .hero-visual { margin-bottom: 40px; }
  .value-grid { grid-template-columns: 1fr; }
  .deployment-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .hero {
    background-attachment: scroll;
  }
  .section { padding: 70px 0; }
  .product-detail-grid { margin-bottom: 60px; }
  .contact-form-card { padding: 28px 20px; }
}
