/* ============================================================
   SysDX — Intelligent Analyzers
   custom.css — Global Stylesheet
   ============================================================ */

/* ---- RESET & ROOT ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --red: #C0281C;
  --red-dark: #9B1F15;
  --red-light: #FCEBEB;
  --gray: #4A4A4A;
  --gray-light: #F5F5F5;
  --gray-mid: #888;
  --white: #fff;
  --border: #e0e0e0;
}
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--gray); background: #fff; }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
  background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100; margin-top: 10px;
  overflow: visible;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 44px; height: 44px; background: var(--red);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 26px; height: 26px; fill: white; }
.logo-text { font-size: 22px; font-weight: 700; color: #222; }
.logo-text span { color: var(--red); }
.logo-sub { font-size: 10px; color: var(--gray-mid); letter-spacing: 2px; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; align-items: center; overflow: visible; }
.nav-links a { text-decoration: none; color: var(--gray); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* ---- DROPDOWN SUBMENU ---- */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 4px;
  text-decoration: none; color: var(--gray);
  font-size: 14px; font-weight: 500; transition: color .2s;
  cursor: pointer;
}
.nav-dropdown-toggle:hover, .nav-dropdown-toggle.active { color: var(--red); }
.nav-dropdown-toggle .drop-arrow { transition: transform .2s; }
.nav-dropdown:hover .drop-arrow { transform: rotate(180deg); }
.nav-dropdown::after {
  content: ''; display: block;
  position: absolute; bottom: -14px; left: 0; right: 0; height: 14px;
}
.nav-dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%);
  background: #ffffff; border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 0;
  min-width: 220px;
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
  z-index: 9999;
  pointer-events: auto;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 10px 18px;
  font-size: 13px; font-weight: 500;
  color: var(--gray); text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--gray-light); color: var(--red); }

.img-responsive { max-width: 100%; height: auto; display: block; }
/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--red); color: white; padding: 9px 20px;
  border: none; border-radius: 6px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background .2s;
}
.btn-primary:hover { background: var(--red-dark); }
.btn-outline {
  background: transparent; color: white; padding: 10px 22px;
  border: 1.5px solid rgba(255,255,255,0.3); border-radius: 6px;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s;
}
.btn-outline:hover { border-color: white; }
.btn-outline-hero {
  background: transparent; color: white; padding: 9px 20px;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 6px;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s;
}
.btn-outline-hero:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* ============================================================
   PAGE HERO (internal pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 72px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.page-hero-tag {
  display: inline-block; background: var(--red); color: white;
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 4px; margin-bottom: 20px;
}
.page-hero h1 { font-size: 40px; font-weight: 700; color: white; line-height: 1.2; margin-bottom: 18px; }
.page-hero h1 span { color: var(--red); }
.page-hero p { font-size: 15px; color: #bbb; line-height: 1.8; max-width: 540px; }
.page-hero-left { max-width: 580px; }
.page-hero-right { flex-shrink: 0; display: flex; gap: 16px; align-items: flex-start; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* Hero stat boxes — centered card (About Us, Services, Resources) */
.page-hero-right .hero-stat-box {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 24px 28px; text-align: center; min-width: 110px;
  display: flex; flex-direction: column; align-items: center;
}
.hero-stat-box .val { font-size: 28px; font-weight: 700; color: var(--red); line-height: 1; }
.hero-stat-box .lbl { font-size: 10px; color: #999; text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* Hero stat boxes — side dot list (SyCount, SyVision, CLEVER product pages) */
.hero-stats { display: flex; flex-direction: column; gap: 16px; min-width: 260px; flex-shrink: 0; }
.hero-stats .hero-stat-box {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 20px 24px; display: flex; align-items: center; gap: 16px;
}
.hero-stat-box-value { font-size: 28px; font-weight: 800; color: white; line-height: 1; }
.hero-stat-box-label { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.hero-stat-box-dot { width: 10px; height: 10px; background: var(--red); border-radius: 50%; flex-shrink: 0; }

/* Hero stats grid (SySmart) */
.hero-visual {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 32px; min-width: 320px; flex-shrink: 0;
}
.hero-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.hero-stat { background: rgba(255,255,255,0.07); border-radius: 10px; padding: 18px; text-align: center; }
.hero-stat-value { font-size: 26px; font-weight: 800; color: white; line-height: 1; }
.hero-stat-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }
.ai-badge {
  background: var(--red); color: white; text-align: center;
  border-radius: 8px; padding: 12px; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 14px 48px; background: var(--gray-light);
  border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--gray-mid); display: flex; align-items: center; gap: 8px;
}
.breadcrumb a { color: var(--gray-mid); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: #ccc; }
.breadcrumb .current { color: var(--red); font-weight: 600; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 72px 48px; }
.section-tag {
  font-size: 11px; font-weight: 700; color: var(--red); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 12px;
}
.section-title { font-size: 30px; font-weight: 700; color: #1a1a1a; margin-bottom: 16px; }
.section-title span { color: var(--red); }
.section-sub { font-size: 15px; color: var(--gray-mid); line-height: 1.7; max-width: 700px; margin-bottom: 48px; }

/* ============================================================
   HOME PAGE — CAROUSEL HERO
   ============================================================ */
.sysdx-carousel { position: relative; overflow: hidden; }
.carousel-item { display: none; }
.carousel-item.active { display: flex; }
.carousel-slide {
  display: flex; align-items: center; justify-content: space-between;
  padding: 60px 40px; height: 420px; width: 100%; gap: 40px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  box-sizing: border-box;
}
.slide-casa { background: linear-gradient(135deg, #0d1f3c, #1a3a6b); }
.slide-who  { background: linear-gradient(135deg, #1a0a08, #3d1510); }
.slide-left { flex: 1; max-width: 540px; }
.slide-tag {
  display: inline-block; background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 4px; margin-bottom: 16px;
}
.slide-left h1 { font-size: clamp(22px,3vw,36px); font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 14px; }
.slide-left h1 span { color: var(--red); }
.slide-left p { font-size: 14px; color: #bbb; line-height: 1.7; margin-bottom: 26px; }
.slide-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-sp { background: var(--red); color: #fff; padding: 10px 22px; border-radius: 6px; font-size: 13px; font-weight: 600; border: none; cursor: pointer; }
.btn-so { background: transparent; color: #fff; padding: 10px 22px; border-radius: 6px; font-size: 13px; font-weight: 600; border: 1.5px solid rgba(255,255,255,.3); cursor: pointer; }
.slide-right { flex-shrink: 0; }
.slide-visual-box {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 26px; width: 290px; text-align: center;
}
.slide-visual-box .vt { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.slide-casa-visual { display: flex; flex-direction: column; gap: 9px; width: 270px; }
.casa-ft { background: rgba(255,255,255,.08); border-left: 3px solid var(--red); border-radius: 8px; padding: 11px 14px; text-align: left; }
.casa-ft .ft { font-size: 12px; font-weight: 600; color: #fff; }
.casa-ft .fd { font-size: 11px; color: #aaa; margin-top: 2px; }
.who-badge-big { background: var(--red); border-radius: 12px; padding: 24px 32px; text-align: center; }
.who-badge-big .w { font-size: 42px; font-weight: 700; color: #fff; }
.who-badge-big .e { font-size: 10px; color: rgba(255,255,255,.7); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
.carousel-indicators { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.carousel-indicators li { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; list-style: none; transition: background .3s; }
.carousel-indicators li.active { background: var(--red); }
.c-ctrl { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(0,0,0,.3); color: #fff; border: none; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.c-ctrl.l { left: 14px; }
.c-ctrl.r { right: 14px; }

/* Params grid inside carousel hero */
.params-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.param-item { background: rgba(192,40,28,0.15); border: 1px solid rgba(192,40,28,0.3); border-radius: 8px; padding: 12px; text-align: center; }
.param-item .val { font-size: 22px; font-weight: 700; color: white; }
.param-item .lbl { font-size: 10px; color: #999; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ============================================================
   HOME PAGE — STATS BAR
   ============================================================ */
.stats-bar { background: var(--red); display: flex; justify-content: center; }
.stat-item { padding: 18px 48px; text-align: center; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: none; }
.stat-item .num { font-size: 24px; font-weight: 700; color: white; }
.stat-item .desc { font-size: 11px; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

/* ============================================================
   HOME PAGE — ABOUT SECTION
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual {
  background: var(--gray-light); border-radius: 16px; padding: 40px;
  display: flex; flex-direction: column; gap: 16px;
}
.pillar {
  display: flex; align-items: flex-start; gap: 14px;
  background: white; border-radius: 10px; padding: 16px;
  border-left: 3px solid var(--red);
}
.pillar-icon {
  width: 36px; height: 36px; background: var(--red-light); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pillar-icon svg { width: 18px; height: 18px; stroke: var(--red); fill: none; stroke-width: 2; }
.pillar h4 { font-size: 13px; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
.pillar p { font-size: 12px; color: var(--gray-mid); line-height: 1.5; }

/* ============================================================
   HOME PAGE — PRODUCTS GRID (4-col)
   ============================================================ */
.products-bg { background: var(--gray-light); }
.index-products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.index-product-card {
  background: white; border-radius: 12px; padding: 28px 20px;
  border: 1px solid var(--border); transition: all .2s; cursor: pointer;
}
.index-product-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(192,40,28,0.1); }
.product-icon {
  width: 48px; height: 48px; background: var(--red-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.product-icon svg { width: 26px; height: 26px; stroke: var(--red); fill: none; stroke-width: 1.5; }
.index-product-card h3 { font-size: 16px; font-weight: 700; color: #1a1a1a; margin-bottom: 8px; }
.index-product-card p { font-size: 12px; color: var(--gray-mid); line-height: 1.6; margin-bottom: 16px; }
.product-link { font-size: 12px; color: var(--red); font-weight: 600; text-decoration: none; }

/* Modules chips */
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.module-chip {
  background: white; border: 1px solid var(--border); border-radius: 8px;
  padding: 16px 20px; display: flex; align-items: center; gap: 12px;
}
.module-dot { width: 10px; height: 10px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
.module-chip span { font-size: 13px; font-weight: 600; color: #1a1a1a; }
.module-chip small { display: block; font-size: 11px; color: var(--gray-mid); }

/* Compliance box */
.compliance-box {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  border-radius: 16px; padding: 40px 48px;
  display: flex; align-items: center; gap: 40px; margin-top: 60px;
}
.compliance-badge { background: var(--red); border-radius: 12px; padding: 20px 28px; text-align: center; flex-shrink: 0; }
.compliance-badge .who { font-size: 28px; font-weight: 700; color: white; }
.compliance-badge .ed { font-size: 11px; color: rgba(255,255,255,0.7); letter-spacing: 2px; text-transform: uppercase; }
.compliance-text h3 { font-size: 20px; color: white; font-weight: 700; margin-bottom: 10px; }
.compliance-text p { font-size: 14px; color: #aaa; line-height: 1.7; }

/* WHO badge (products.html variant) */
.who-badge { background: var(--red); border-radius: 10px; padding: 20px 24px; text-align: center; flex-shrink: 0; }
.who-badge .who-big { font-size: 32px; font-weight: 900; color: white; line-height: 1; }
.who-badge .who-small { font-size: 10px; color: rgba(255,255,255,0.8); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }

/* ============================================================
   HOME PAGE — SERVICE SECTION
   ============================================================ */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; transition: border-color .2s; }
.service-card:hover { border-color: var(--red); }
.service-num { font-size: 32px; font-weight: 700; color: var(--red-light); margin-bottom: 14px; }
.service-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: #1a1a1a; }
.service-card p { font-size: 13px; color: var(--gray-mid); line-height: 1.6; }

/* ============================================================
   ABOUT US PAGE
   ============================================================ */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.who-visual { background: var(--gray-light); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.who-text p { font-size: 15px; color: #555; line-height: 1.9; margin-bottom: 20px; }
.vision-banner { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); padding: 72px 48px; }
.vision-banner .section-tag { color: #e87070; }
.vision-banner .section-title { color: white; }
.vision-banner .section-title span { color: var(--red); }
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 8px; }
.vision-text p { font-size: 15px; color: #bbb; line-height: 1.9; margin-bottom: 18px; }
.vision-points { display: flex; flex-direction: column; gap: 16px; }
.vision-point { display: flex; align-items: flex-start; gap: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 18px; }
.vision-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.vision-point p { font-size: 13px; color: #ccc; line-height: 1.6; }
.mission-bg { background: var(--gray-light); }
.pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 8px; }
.mission-card { background: white; border-radius: 12px; padding: 32px 28px; border: 1px solid var(--border); border-top: 3px solid var(--red); transition: all .2s; }
.mission-card:hover { box-shadow: 0 8px 24px rgba(192,40,28,0.08); transform: translateY(-3px); }
.mission-card-icon { width: 48px; height: 48px; background: var(--red-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.mission-card-icon svg { width: 26px; height: 26px; stroke: var(--red); fill: none; stroke-width: 1.5; }
.mission-card h3 { font-size: 16px; font-weight: 700; color: #1a1a1a; margin-bottom: 12px; }
.mission-card p { font-size: 13px; color: var(--gray-mid); line-height: 1.7; }
.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px; }
.principle-card { border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; display: flex; align-items: flex-start; gap: 18px; transition: border-color .2s; }
.principle-card:hover { border-color: var(--red); }
.principle-num { font-size: 38px; font-weight: 700; color: var(--red-light); line-height: 1; flex-shrink: 0; }
.principle-card h3 { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; }
.principle-card p { font-size: 13px; color: var(--gray-mid); line-height: 1.7; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.overview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.overview-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 28px 22px; border-top: 3px solid var(--red); text-align: center; transition: all .2s; cursor: pointer; }
.overview-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(192,40,28,0.1); border-color: var(--red); }
.overview-icon { width: 52px; height: 52px; background: var(--red-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.overview-icon svg { width: 28px; height: 28px; stroke: var(--red); fill: none; stroke-width: 1.5; }
.overview-card h3 { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 8px; }
.overview-card p { font-size: 12px; color: var(--gray-mid); line-height: 1.6; }
.service-section { padding: 72px 48px; }
.service-section:nth-child(odd) { background: var(--gray-light); }
.service-section:nth-child(even) { background: #fff; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.service-detail-left .service-num { font-size: 56px; font-weight: 700; color: var(--red-light); line-height: 1; margin-bottom: 10px; }
.service-detail-left h2 { font-size: 26px; font-weight: 700; color: #1a1a1a; margin-bottom: 18px; }
.service-detail-left h2 span { color: var(--red); }
.service-detail-left p { font-size: 14px; color: #555; line-height: 1.85; margin-bottom: 14px; }
.service-detail-right { background: white; border-radius: 14px; padding: 32px; border: 1px solid var(--border); border-left: 4px solid var(--red); box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.service-section:nth-child(even) .service-detail-right { background: var(--gray-light); border-color: var(--border); border-left-color: var(--red); }
.service-detail-right h4 { font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.service-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; color: #444; line-height: 1.6; }
.service-list li::before { content: ''; width: 7px; height: 7px; background: var(--red); border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.delivery-note { display: flex; align-items: center; gap: 12px; background: var(--red-light); border-radius: 8px; padding: 14px 18px; margin-top: 20px; }
.delivery-note svg { width: 18px; height: 18px; stroke: var(--red); fill: none; stroke-width: 2; flex-shrink: 0; }
.delivery-note p { font-size: 12px; color: var(--red-dark); line-height: 1.5; }
.dark-banner { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); padding: 72px 48px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.dark-banner-left { max-width: 560px; }
.dark-banner-left .section-tag { color: #e87070; }
.dark-banner-left h2 { font-size: 28px; font-weight: 700; color: white; margin-bottom: 14px; }
.dark-banner-left h2 span { color: var(--red); }
.dark-banner-left p { font-size: 14px; color: #bbb; line-height: 1.8; }
.dark-banner-right { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.dark-badge { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 16px 24px; display: flex; align-items: center; gap: 14px; }
.dark-badge-dot { width: 10px; height: 10px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
.dark-badge span { font-size: 13px; color: white; font-weight: 600; }
.dark-badge small { display: block; font-size: 11px; color: #888; margin-top: 2px; }

/* ============================================================
   PRODUCTS PAGE (2-col overview)
   ============================================================ */
.products-main-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 36px 32px; border-top: 3px solid var(--red); transition: all .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(192,40,28,0.1); }
.product-card-icon { width: 52px; height: 52px; background: var(--red-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.product-card-icon svg { width: 28px; height: 28px; stroke: var(--red); fill: none; stroke-width: 1.5; }
.product-card h3 { font-size: 20px; font-weight: 700; color: #1a1a1a; margin-bottom: 12px; }
.product-card p { font-size: 14px; color: var(--gray-mid); line-height: 1.7; margin-bottom: 20px; }
.product-links { display: flex; gap: 12px; align-items: center; }
.product-link-primary { background: var(--red); color: white; padding: 9px 18px; border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s; }
.product-link-primary:hover { background: var(--red-dark); }
.product-link-secondary { color: var(--red); font-size: 13px; font-weight: 600; text-decoration: none; padding: 9px 0; }

/* ============================================================
   PRODUCT DETAIL PAGES — FEATURE CARDS
   ============================================================ */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 28px; border-left: 4px solid var(--red); transition: all .2s; }
.feature-card:hover { box-shadow: 0 8px 24px rgba(192,40,28,0.08); }
.feature-card-icon { width: 44px; height: 44px; background: var(--red-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-card-icon svg { width: 24px; height: 24px; stroke: var(--red); fill: none; stroke-width: 1.5; }
.feature-card h3 { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; }
.feature-card p { font-size: 13px; color: var(--gray-mid); line-height: 1.7; }
.feature-grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* SySmart module cards */
.sysmart-modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.module-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 28px; border-left: 4px solid var(--red); transition: all .2s; }
.module-card:hover { box-shadow: 0 8px 24px rgba(192,40,28,0.08); }
.module-num { width: 32px; height: 32px; background: var(--red); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.module-card h3 { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; }
.module-card p { font-size: 13px; color: var(--gray-mid); line-height: 1.7; }

/* Premium optical box */
.premium-box { background: linear-gradient(135deg, #1a1a1a, #2d2d2d); border-radius: 14px; padding: 36px 40px; margin-top: 24px; display: flex; align-items: center; gap: 32px; }
.premium-box-icon { width: 56px; height: 56px; background: var(--red); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.premium-box-icon svg { width: 30px; height: 30px; stroke: white; fill: none; stroke-width: 1.5; }
.premium-box h3 { font-size: 16px; font-weight: 700; color: white; margin-bottom: 8px; }
.premium-box p { font-size: 13px; color: #aaa; line-height: 1.7; }

/* Specs table */
.specs-table { width: 100%; border-collapse: collapse; background: white; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.specs-table th { background: var(--red); color: white; padding: 14px 20px; text-align: left; font-size: 13px; }
.specs-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 13px; }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:nth-child(even) td { background: #fafafa; }
.specs-table td:first-child { font-weight: 600; color: #1a1a1a; width: 40%; }
.specs-module { color: var(--red); font-weight: 600; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; background: var(--red-light); padding: 3px 8px; border-radius: 4px; }

/* SyCount feature cards (3-col) */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 28px; border-left: 3px solid var(--red); transition: all .2s; }
.feat-card:hover { border-color: var(--red); box-shadow: 0 8px 24px rgba(192,40,28,0.08); }
.feat-dot { width: 10px; height: 10px; background: var(--red); border-radius: 50%; margin-bottom: 16px; }
.feat-card h3 { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; }
.feat-card p { font-size: 13px; color: var(--gray-mid); line-height: 1.7; }

/* SyVision alternating feature layout */
.feature-row-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-row-alt.reverse { direction: rtl; }
.feature-row-alt.reverse > * { direction: ltr; }
.feature-text h3 { font-size: 20px; font-weight: 700; color: #1a1a1a; margin-bottom: 14px; }
.feature-text p { font-size: 14px; color: var(--gray-mid); line-height: 1.8; }
.feature-visual { background: linear-gradient(135deg, #1a1a1a, #2d2d2d); border-radius: 16px; padding: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 200px; }
.feature-visual-big { font-size: 36px; font-weight: 900; color: white; line-height: 1; }
.feature-visual-sub { font-size: 13px; color: #888; letter-spacing: 2px; text-transform: uppercase; }
.feature-visual-icon svg { width: 48px; height: 48px; stroke: var(--red); fill: none; stroke-width: 1.5; }
.feature-tag { display: inline-block; background: var(--red); color: white; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; margin-bottom: 12px; }

/* ============================================================
   COMING SOON PAGE
   ============================================================ */
.cs-body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: white; text-align: center; padding: 40px 24px;
}
.subtitle{margin-bottom: 18px;}
.cs-tag { display: inline-block; background: var(--red); color: white; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 6px 16px; border-radius: 4px; margin-bottom: 28px; }
.cs-h1 { font-size: clamp(36px,6vw,64px); font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.cs-h1 span { color: var(--red); }
.cs-subtitle { font-size: 16px; color: #bbb; line-height: 1.8; max-width: 520px; margin: 0 auto 52px; }
.countdown { display: flex; gap: 20px; justify-content: center; margin-bottom: 56px; flex-wrap: wrap; }
.count-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 24px 32px; min-width: 100px; }
.count-box .num { font-size: 48px; font-weight: 700; color: white; line-height: 1; }
.count-box .lbl { font-size: 10px; color: var(--gray-mid); letter-spacing: 2px; text-transform: uppercase; margin-top: 8px; }
.notify-box { margin-bottom: 56px; }
.notify-box p { font-size: 13px; color: #888; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.notify-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.notify-form input { padding: 12px 20px; border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; background: rgba(255,255,255,0.06); color: white; font-size: 14px; width: 280px; outline: none; transition: border-color .2s; }
.notify-form input::placeholder { color: #666; }
.notify-form input:focus { border-color: var(--red); }
.notify-form button { background: var(--red); color: white; padding: 12px 28px; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s; }
.notify-form button:hover { background: var(--red-dark); }
.cs-features { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.feature-chip { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 12px 18px; }
.feature-chip .feature-dot { width: 7px; height: 7px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
.feature-chip span { font-size: 12px; color: #ccc; font-weight: 500; }
.progress-wrap { width: 100%; max-width: 480px; margin: 0 auto 56px; }
.progress-label { display: flex; justify-content: space-between; font-size: 11px; color: #666; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.progress-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; width: 72%; background: var(--red); border-radius: 99px; }
.back-link { font-size: 13px; color: #666; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.back-link:hover { color: white; }
.cs-footer { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); padding: 14px 48px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #555; border-top: 1px solid rgba(255,255,255,0.05); }
.cs-footer a { color: #555; text-decoration: none; }
.cs-footer a:hover { color: white; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #1a1a1a; color: white; padding: 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px;
}
footer h4 { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #888; margin-bottom: 16px; }
footer a { display: block; font-size: 13px; color: #aaa; text-decoration: none; margin-bottom: 8px; transition: color .2s; }
footer a:hover { color: white; }
.footer-logo { font-size: 24px; font-weight: 700; color: white; margin-bottom: 8px; }
.footer-logo span { color: var(--red); }
.footer-desc { font-size: 13px; color: #666; line-height: 1.7; max-width: 280px; }
.footer-bottom {
  background: #111; padding: 16px 48px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #555;
}

/* ============================================================
   HAMBURGER BUTTON
   ============================================================ */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
  z-index: 201;
}
.nav-hamburger span {
  display: block; height: 2px; background: #1a1a1a;
  border-radius: 2px; transition: all .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU PANEL
   ============================================================ */
.mobile-menu {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 199;
  flex-direction: column;
  padding: 24px 24px 40px;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-links {
  display: flex !important; flex-direction: column; gap: 0;
  width: 100%;
}
.mobile-menu .nav-links a {
  display: block; padding: 14px 0;
  font-size: 15px; font-weight: 500; color: var(--gray);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.mobile-menu .nav-links a:hover,
.mobile-menu .nav-links a.active { color: var(--red); }

/* Mobile dropdown accordion */
.mob-dropdown { border-bottom: 1px solid var(--border); }
.mob-dropdown-toggle {
  width: 100%; text-align: left; background: none; border: none;
  padding: 14px 0; font-size: 15px; font-weight: 500; color: var(--gray);
  cursor: pointer; display: flex; align-items: center; justify-content: space-between;
}
.mob-dropdown-toggle .drop-arrow { transition: transform .25s; }
.mob-dropdown.open .mob-dropdown-toggle .drop-arrow { transform: rotate(180deg); }
.mob-submenu { display: none; padding: 4px 0 12px 16px; }
.mob-dropdown.open .mob-submenu { display: block; }
.mob-submenu a {
  display: block; padding: 10px 0;
  font-size: 14px; color: var(--gray-mid); text-decoration: none;
}
.mob-submenu a:hover { color: var(--red); }

.mob-demo {
  display: inline-block; margin-top: 24px;
  text-align: center; text-decoration: none;
  padding: 13px 24px; border-radius: 8px;
  font-size: 15px; font-weight: 600;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  /* Nav */
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-right,
  nav > div:last-child { display: none !important; }
  .nav-hamburger { display: flex; }

  /* Page hero */
  .page-hero { flex-direction: column; padding: 48px 24px; gap: 24px; }
  .page-hero-left { max-width: 100%; }
  .page-hero-right { display: none; }
  .page-hero h1 { font-size: 30px; }

  /* Sections */
  section { padding: 48px 24px; }
  .service-section { padding: 48px 24px; }
  .vision-banner { padding: 48px 24px; }
  .dark-banner { flex-direction: column; padding: 48px 24px; gap: 28px; }
  .dark-banner-left { max-width: 100%; }
  .breadcrumb { padding: 12px 24px; }

  /* Grids → 1 col */
  .about-grid,
  .who-grid,
  .vision-grid,
  .service-detail-grid,
  .feature-row-alt { grid-template-columns: 1fr; gap: 32px; }
  .feature-row-alt.reverse { direction: ltr; }

  /* Products */
  .index-products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-main-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }

  /* About / Mission */
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-grid { grid-template-columns: 1fr; }

  /* Compliance / Premium */
  .compliance-box { flex-direction: column; padding: 32px 24px; gap: 24px; }
  .premium-box { flex-direction: column; padding: 28px 24px; gap: 20px; }

  /* Hero stats — stack below text on tablet */
  .hero-stats { flex-direction: row; flex-wrap: wrap; min-width: unset; width: 100%; }
  .hero-stats .hero-stat-box { flex: 1 1 calc(33% - 8px); min-width: 120px; }

  /* Specs table scroll */
  .specs-table { display: block; overflow-x: auto; }

  /* Stats bar */
  .stats-bar { flex-wrap: wrap; }
  .stat-item { flex: 1 1 40%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); padding: 18px 20px; }

  /* Carousel */
  .carousel-slide { flex-direction: column; padding: 36px 24px; height: auto; min-height: auto; gap: 24px; }
  .slide-right { display: none; }

  /* Distributor */
  .dist-grid { grid-template-columns: 1fr; }

  /* Contact */
  .info-cards { grid-template-columns: 1fr; }

  /* Footer */
  footer { grid-template-columns: 1fr 1fr 1fr; gap: 32px; padding: 40px 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 14px 24px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  nav { padding: 0 16px; height: 60px; }
  .mobile-menu { top: 60px; }

  .page-hero { padding: 36px 16px; }
  .page-hero h1 { font-size: 24px; }
  .page-hero p { font-size: 14px; }

  section { padding: 36px 16px; }
  .service-section { padding: 36px 16px; }
  .vision-banner { padding: 36px 16px; }
  .dark-banner { padding: 36px 16px; }
  .breadcrumb { padding: 10px 16px; }

  /* All grids → 1 col */
  .index-products-grid,
  .overview-grid,
  .features-grid,
  .feature-grid-4,
  .modules-grid,
  .pillars-grid,
  .hero-stats-grid { grid-template-columns: 1fr; }

  /* Hero stats on mobile */
  .hero-stats { flex-direction: column; }
  .hero-stats .hero-stat-box { flex: unset; min-width: unset; }

  /* Countdown */
  .countdown { gap: 12px; }
  .count-box { padding: 16px 18px; min-width: 68px; }
  .count-box .num { font-size: 32px; }

  /* Notify */
  .notify-form { flex-direction: column; align-items: center; }
  .notify-form input { width: 100%; max-width: 320px; }

  /* Hero visual */
  .hero-visual { min-width: unset; width: 100%; padding: 20px; }
  .slide-visual-box { width: 100%; }

  /* Specs table */
  .specs-table td, .specs-table th { padding: 10px 12px; font-size: 12px; }

  /* Footer */
  footer { grid-template-columns: 1fr; padding: 32px 16px; }
  .footer-bottom { padding: 12px 16px; }
  .footer-desc { max-width: 100%; }

  /* Section titles */
  .section-title { font-size: 24px; }
  .page-hero h1 { font-size: 22px; }
}
