/* =====================================================
   尘宙智能 — 全站共享样式 v2.0
   浩瀚起于微尘
   ===================================================== */

/* --- Colors --- */
:root {
  /* 品牌主色 */
  --primary: #0A0F1E;       /* 深空底色 */
  --secondary: #1A2550;     /* 次级背景 */
  --accent: #4F8EF7;        /* 科技蓝 */
  --accent-2: #00D4AA;      /* 极光青 */
  --accent-hover: #3A7DE8;  /* 科技蓝悬停 */

  /* 中性色 */
  --white: #FFFFFF;
  --light: #F0F4FA;
  --gray: #8A94A6;
  --dark: #4A5568;
  --ink: #1A1F36;

  /* 语义色 */
  --success: var(--accent-2);
  --warning: #FFB800;
  --error: #FF5A5A;
  --info: var(--accent);

  /* 渐变 */
  --gradient-start: #0A0F1E;
  --gradient-end: #1B3A7A;

  /* 间距 */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* 字体 */
  --font-family: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* 阴影 */
  --shadow-card: 0 4px 24px rgba(10, 15, 30, 0.06);
  --shadow-card-hover: 0 16px 48px rgba(10, 15, 30, 0.12);

  /* 过渡 */
  --transition-fast: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
  --transition-normal: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

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

button {
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-family);
}

/* --- Typography --- */
.font-display {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

.font-h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.font-h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.font-h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.font-body-l {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--dark);
}

.font-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--dark);
}

.font-body-s {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray);
}

.font-caption {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray);
}

.font-overline {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.font-button {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

/* --- Layout --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--white);
  border: none;
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(79, 142, 247, 0.35);
}

.btn-secondary {
  display: inline-block;
  padding: 13px 31px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(79, 142, 247, 0.08);
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(138, 148, 166, 0.1);
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* --- Section --- */
.section {
  padding: var(--space-4xl) 0;
}

.section-dark {
  background: var(--primary);
  padding: var(--space-4xl) 0;
}

.section-light {
  background: var(--light);
  padding: var(--space-4xl) 0;
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-overline {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.section-title-dark {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
}

/* --- Tags / Badges --- */
.tag {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background: rgba(79, 142, 247, 0.1);
  color: var(--accent);
}

.tag-green {
  background: rgba(0, 212, 170, 0.1);
  color: var(--accent-2);
}

.tag-warning {
  background: rgba(255, 184, 0, 0.1);
  color: var(--warning);
}

/* --- Forms --- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.form-label .required {
  color: var(--error);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1.5px solid rgba(138, 148, 166, 0.3);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--dark);
  transition: border-color 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
}

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

/* --- Grid --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Focus States --- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: var(--white);
  padding: 8px 16px;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* =====================================================
   HEADER COMPONENT
   ===================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: var(--transition-normal);
}

.site-header.scrolled {
  border-bottom-color: rgba(79, 142, 247, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}


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

.nav-desktop a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--white);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  background: rgba(79, 142, 247, 0.15);
  border-radius: var(--radius-md);
  color: var(--accent) !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: rgba(79, 142, 247, 0.3) !important;
}

/* nav-cta 与 active 同时存在时：白底蓝字（保持 CTA 视觉且不与 active 下划线打架） */
.nav-cta.active,
.nav-desktop a.active.nav-cta {
  background: var(--white) !important;
  color: var(--accent) !important;
  font-weight: 600;
}
.nav-cta.active:hover,
.nav-desktop a.active.nav-cta:hover {
  background: rgba(255, 255, 255, 0.92) !important;
}

.nav-cta::after {
  display: none !important;
}

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

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--primary);
  padding: 80px 24px 24px;
  transition: right 0.3s ease;
  z-index: 1001;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--white);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
}

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

body.menu-open {
  overflow: hidden;
}

/* =====================================================
   FOOTER COMPONENT
   ===================================================== */
.site-footer {
  background: var(--primary);
  padding: var(--space-3xl) 0 var(--space-lg);
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.footer-brand .tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* =====================================================
   PAGE BANNER COMPONENT
   ===================================================== */
.page-banner {
  padding: 160px var(--space-md) 96px;
  background: linear-gradient(180deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 70%, rgba(79, 142, 247, 0.12) 0%, transparent 50%);
}

.page-banner-content {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.page-banner p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
}

/* =====================================================
   RESPONSIVE BREAKPOINTS
   ===================================================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* --- Icon styling 移至 page-specific 块（带 page prefix 隔离） --- */


@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .page-banner h1 {
    font-size: 36px;
  }

  .font-display {
    font-size: 36px;
  }

  .font-h1 {
    font-size: 28px;
  }

  .font-h2 {
    font-size: 24px;
  }

  .font-h3 {
    font-size: 20px;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .section-dark {
    padding: var(--space-3xl) 0;
  }

  .section-light {
    padding: var(--space-3xl) 0;
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

@media (max-width: 640px) {
  .font-display {
    font-size: 32px;
  }

  .page-banner h1 {
    font-size: 28px;
  }
}

/* =====================================================
   PAGE-SPECIFIC STYLES
   集中管理各页特有样式（原内联在 HTML <head>）
   ===================================================== */

/* Hero */
.page-home .hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  position: relative;
  overflow: hidden;
  padding: var(--space-4xl) var(--space-md) var(--space-3xl);
}

/* Hero 视觉锚点：右侧"微尘→宇宙"抽象图形（呼应 favicon，纯 CSS） */
.page-home .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(79, 142, 247, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(0, 212, 170, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.page-home .hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%) rotate(-20deg);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(79, 142, 247, 0.18) 0%, transparent 65%),
    radial-gradient(circle, transparent 35%, transparent 36%);
  box-shadow:
    inset 0 0 0 1px rgba(79, 142, 247, 0.4),
    inset 0 0 0 80px rgba(10, 15, 30, 0.6);
  pointer-events: none;
  opacity: 0.85;
}
/* "微尘"圆环：叠加在 hero::after 上的椭圆环（伪元素不能多一层，用 span 渲染） */
.page-home .hero-orbital {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%) rotate(-20deg);
  width: 360px;
  height: 360px;
  border: 1.5px solid rgba(79, 142, 247, 0.5);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.6;
}
.page-home .hero-orbital::before {
  content: '';
  position: absolute;
  inset: 60px;
  border: 1px dashed rgba(0, 212, 170, 0.3);
  border-radius: 50%;
}
.page-home .hero-orbital::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(79, 142, 247, 0.8);
}

@media (max-width: 1024px) {
  .page-home .hero::after,
  .page-home .hero-orbital { display: none; }
}
.page-home .hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.page-home .hero-overline {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-lg);
  padding: 8px 16px;
  background: rgba(79, 142, 247, 0.15);
  border-radius: 100px;
}
.page-home .hero h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--space-lg);
}
.page-home .hero-subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}
.page-home .hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.page-home .hero-btns {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}
.page-home .hero .btn-secondary {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.page-home .hero .btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(79, 142, 247, 0.15);
}

.page-home .advantage-section { background: var(--primary); padding: var(--space-4xl) 0; }
.page-home .advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
}
.page-home .advantage-card {
  background: var(--secondary);
  border: 1px solid rgba(79, 142, 247, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: left;
  transition: var(--transition-normal);
}
.page-home .advantage-card:hover {
  border-color: rgba(79, 142, 247, 0.4);
  transform: translateY(-4px);
}
.page-home .advantage-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-md);
  letter-spacing: 0.05em;
}
.page-home .advantage-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.page-home .advantage-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.page-home .products-section { background: var(--light); padding: var(--space-4xl) 0; }
.page-home .products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}
.page-home .product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(138, 148, 166, 0.1);
  transition: var(--transition-normal);
}
.page-home .product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.page-home .product-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(79, 142, 247, 0.15), rgba(0, 212, 170, 0.15));
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-home .product-icon i { font-family: "remixicon" !important; font-style: normal; font-size: 28px; color: var(--accent); }
.page-home .product-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}
.page-home .product-subtitle {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: var(--space-md);
}
.page-home .product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.page-home .product-tag {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(79, 142, 247, 0.08);
  color: var(--accent);
  border-radius: var(--radius-sm);
}
.page-home .product-status {
  font-size: 13px;
  color: var(--gray);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(138, 148, 166, 0.15);
}

@media (max-width: 1024px) {
  .page-home .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .page-home .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-home .hero h1 { font-size: 40px; }
  .page-home .hero-subtitle { font-size: 18px; }
  .page-home .advantage-grid { grid-template-columns: 1fr; }
  .page-home .products-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-home .hero h1 { font-size: 32px; }
}

/* --- page-products (products.html) --- */
.page-products .products-main { padding: var(--space-4xl) 0; }
.page-products .product-section {
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid rgba(138, 148, 166, 0.12);
  scroll-margin-top: 80px;
}
.page-products .product-section:last-child { border-bottom: none; }
.page-products .product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.page-products .product-inner.reverse { direction: rtl; }
.page-products .product-inner.reverse > * { direction: ltr; }
.page-products .product-visual {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.page-products .product-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(79, 142, 247, 0.2) 0%, transparent 70%);
}
.page-products .product-visual-icon {
  width: 80px;
  height: 80px;
  background: rgba(79, 142, 247, 0.2);
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-products .product-visual-icon i { font-family: "remixicon" !important; font-style: normal; font-size: 40px; color: var(--accent); }
.page-products .product-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}
.page-products .product-subtitle {
  font-size: 16px;
  color: var(--accent);
  margin-bottom: var(--space-lg);
  font-weight: 500;
}
.page-products .product-desc {
  font-size: 16px;
  color: var(--dark);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}
.page-products .product-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.page-products .product-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}
.page-products .feature-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}
.page-products .feature-text { font-size: 15px; color: var(--dark); }
.page-products .product-status-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 212, 170, 0.1);
  color: var(--accent-2);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
}
.page-products .product-status-badge.upcoming {
  background: rgba(255, 184, 0, 0.1);
  color: var(--warning);
}

.page-products .approach-section { padding: var(--space-4xl) 0; background: var(--light); }
.page-products .approach-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.page-products .approach-inner h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-xl);
}
.page-products .approach-text {
  font-size: 17px;
  color: var(--dark);
  line-height: 2;
  margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
  .page-products .product-inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .page-products .product-inner.reverse { direction: ltr; }
  .page-products .product-visual { height: 240px; }
}

/* --- page-solutions (solutions.html) --- */
.page-solutions .approach-section { padding: var(--space-4xl) 0; }
.page-solutions .approach-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.page-solutions .approach-inner h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-xl);
}
.page-solutions .approach-text {
  font-size: 18px;
  color: var(--dark);
  line-height: 2;
  margin-bottom: var(--space-md);
}
.page-solutions .approach-quote {
  font-size: 20px;
  color: var(--accent);
  font-weight: 500;
  font-style: italic;
  margin-top: var(--space-2xl);
}

.page-solutions .process-section { padding: var(--space-4xl) 0; background: var(--light); }
.page-solutions .process-inner { max-width: 900px; margin: 0 auto; }
.page-solutions .section-header-center { text-align: center; margin-bottom: var(--space-2xl); }
.page-solutions .section-header-center h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
}
.page-solutions .process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.page-solutions .process-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
}
.page-solutions .process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.page-solutions .process-num {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-md);
}
.page-solutions .process-step h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}
.page-solutions .process-step p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.page-solutions .contact-cta {
  padding: var(--space-4xl) 0;
  background: linear-gradient(180deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  text-align: center;
}
.page-solutions .contact-cta h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
}
.page-solutions .contact-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-xl);
}

@media (max-width: 1024px) {
  .page-solutions .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-solutions .approach-inner h2 { font-size: 28px; }
  .page-solutions .process-grid { grid-template-columns: 1fr; }
}

/* --- page-news (news.html) --- */
.page-news .news-empty { padding: var(--space-4xl) 0; text-align: center; }
.page-news .news-empty-inner { max-width: 500px; margin: 0 auto; }
.page-news .news-empty-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(79, 142, 247, 0.1), rgba(0, 212, 170, 0.1));
  border-radius: 50%;
  margin: 0 auto var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-news .news-empty-icon svg { width: 36px; height: 36px; color: var(--gray); }
.page-news .news-empty h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}
.page-news .news-empty p {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}
.page-news .news-empty .btn-primary { display: inline-block; }

/* --- page-about (about.html) --- */
.page-about .story-section { padding: var(--space-4xl) 0; }
.page-about .story-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.page-about .story-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-2xl);
}
.page-about .story-text {
  font-size: 18px;
  color: var(--dark);
  line-height: 2;
  text-align: left;
}
.page-about .story-text p { margin-bottom: var(--space-xl); }

.page-about .mission-section { padding: var(--space-4xl) 0; background: var(--light); }
.page-about .mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
}
.page-about .mission-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.page-about .mission-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(79, 142, 247, 0.15), rgba(0, 212, 170, 0.15));
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-about .mission-icon i { font-family: "remixicon" !important; font-style: normal; font-size: 32px; color: var(--accent); }
.page-about .mission-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}
.page-about .mission-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

.page-about .values-section { padding: var(--space-4xl) 0; }
.page-about .values-inner { max-width: 900px; margin: 0 auto; }
.page-about .section-header-center { text-align: center; margin-bottom: var(--space-2xl); }
.page-about .section-header-center h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
}
.page-about .values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
.page-about .value-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(138, 148, 166, 0.12);
  transition: var(--transition-normal);
}
.page-about .value-item:hover {
  border-color: rgba(79, 142, 247, 0.3);
  box-shadow: 0 8px 32px rgba(10, 15, 30, 0.08);
}
.page-about .value-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}
.page-about .value-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}
.page-about .value-content p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.page-about .team-section { padding: var(--space-4xl) 0; background: var(--light); }
.page-about .team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
}
.page-about .team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.page-about .team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary), #2A3A70);
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-about .team-avatar .placeholder { font-size: 12px; color: rgba(255,255,255,0.4); }
.page-about .team-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}
.page-about .team-card .role {
  font-size: 14px;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}
.page-about .team-card .bio { font-size: 13px; color: var(--gray); }

.page-about .timeline-section { padding: var(--space-4xl) 0; }
.page-about .timeline-inner { max-width: 700px; margin: 0 auto; }
.page-about .timeline {
  position: relative;
  padding-left: var(--space-xl);
}
.page-about .timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}
.page-about .timeline-item {
  position: relative;
  padding-bottom: var(--space-2xl);
}
.page-about .timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--white);
}
.page-about .timeline-year {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}
.page-about .timeline-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}
.page-about .timeline-item p { font-size: 14px; color: var(--gray); }

.page-about .cta-section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(180deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  text-align: center;
}
.page-about .cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
}
.page-about .cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-xl);
}

@media (max-width: 1024px) {
  .page-about .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-about .story-title { font-size: 36px; }
  .page-about .mission-grid { grid-template-columns: 1fr; }
  .page-about .values-list { grid-template-columns: 1fr; }
  .page-about .team-grid { grid-template-columns: 1fr; }
}

/* --- page-contact (contact.html) --- */
.page-contact .contact-section { padding: var(--space-4xl) 0; }
.page-contact .contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-3xl);
  max-width: 1100px;
  margin: 0 auto;
}
.page-contact .contact-form-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}
.page-contact .contact-form-wrapper > p {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: var(--space-2xl);
}
.page-contact .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
.page-contact .form-submit {
  display: inline-block;
  padding: 14px 40px;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}
.page-contact .form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(79, 142, 247, 0.35);
}

.page-contact .contact-info h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-2xl);
}
.page-contact .info-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.page-contact .info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(79, 142, 247, 0.15), rgba(0, 212, 170, 0.15));
  border-radius: var(--radius-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-contact .info-icon i { font-family: "remixicon" !important; font-style: normal; font-size: 24px; color: var(--accent); }
.page-contact .info-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}
.page-contact .info-content p { font-size: 15px; color: var(--gray); }
.page-contact .info-content a { color: var(--accent); transition: color 0.2s; }
.page-contact .info-content a:hover { color: var(--accent-hover); }

.page-contact .form-success { text-align: center; padding: var(--space-3xl) 0; }
.page-contact .form-success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(0, 212, 170, 0.1));
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-contact .form-success-icon svg { width: 32px; height: 32px; color: var(--accent-2); }
.page-contact .form-success h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}
.page-contact .form-success p { font-size: 16px; color: var(--gray); }

@media (max-width: 1024px) {
  .page-contact .contact-inner { grid-template-columns: 1fr; gap: var(--space-3xl); }
}
@media (max-width: 768px) {
  .page-contact .form-row { grid-template-columns: 1fr; }
}