/* ================================================================
   CSS RESET & VARIABLES
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #165DFF;
  --primary-dark: #0E46CC;
  --primary-light: #5B9FFF;
  --primary-bg: #EBF1FF;
  --primary-glow: #7EB8FF;
  --green: #00B42A;
  --orange: #FF7D00;
  --purple: #7B61FF;
  --red: #F53F3F;
  --text-primary: #1D2129;
  --text-secondary: #4E5969;
  --text-muted: #86909C;
  --text-placeholder: #C9CDD4;
  --bg-body: #FFFFFF;
  --bg-gray: #F5F7FA;
  --border-light: rgba(0,0,0,0.04);
  --border: rgba(0,0,0,0.06);
  --border-medium: rgba(0,0,0,0.08);
  --border-input: rgba(0,0,0,0.12);
  --hero-start: #070E2B;
  --hero-mid: #0C1F5C;
  --hero-end: #165DFF;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.16);
  --transition: 200ms ease;
  --max-width: 1280px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea { font-family: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ================================================================
   UTILITY CLASSES
   ================================================================ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

@media (min-width: 768px) {
  .container { padding: 0 48px; }
}

/* Section spacing */
.section { padding: 80px 0; }

/* Section header */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header__subtitle {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px;
}
.section-header__line {
  height: 1px; width: 40px; background: rgba(22,93,255,0.25);
}
.section-header__line--light { background: rgba(126,184,255,0.4); }
.section-header__tag {
  font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--primary);
}
.section-header__tag--light { color: var(--primary-glow); }
.section-header__title {
  font-size: 28px; font-weight: 700; color: var(--text-primary);
}
.section-header__title--light { color: #fff; }

@media (min-width: 768px) {
  .section-header__title { font-size: 32px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
  font-size: 14px; font-weight: 500; border-radius: var(--radius);
  transition: all var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline {
  border: 1px solid var(--border-medium); color: var(--text-secondary);
}
.btn-outline:hover { border-color: rgba(22,93,255,0.4); color: var(--primary); }
.btn-ghost {
  color: var(--text-secondary);
}
.btn-ghost:hover { color: var(--primary); background: var(--bg-gray); }
.btn-hero-outline {
  border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08);
  color: #fff;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.15); }
.btn-lg { padding: 12px 24px; }

/* ================================================================
   TOP NAVIGATION
   ================================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
  height: 64px;
}
.header--scrolled {
  background: #fff; box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
}
@media (min-width: 768px) {
  .header__inner { padding: 0 48px; }
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.logo__icon {
  width: 32px; height: 32px; background: var(--primary); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px; line-height: 1;
}
.logo__text { text-align: left; }
.logo__name { color: var(--text-primary); font-weight: 600; font-size: 14px; line-height: 1.3; }
.logo__sub { color: var(--text-muted); font-size: 10px; letter-spacing: 0.2em; line-height: 1.3; }

/* Desktop nav */
.nav-desktop { display: none; align-items: center; gap: 2px; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-desktop__item {
  padding: 8px 14px; font-size: 14px; border-radius: var(--radius);
  color: var(--text-secondary); transition: all var(--transition);
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.nav-desktop__item:hover { color: var(--primary); background: var(--bg-gray); }
.nav-desktop__item--active { color: var(--primary); background: var(--primary-bg); font-weight: 500; }

/* Header CTA */
.header__cta { display: none; align-items: center; gap: 12px; }
@media (min-width: 1024px) { .header__cta { display: flex; } }
.header__phone {
  display: flex; align-items: center; gap: 6px; font-size: 14px;
  color: var(--text-secondary); transition: color var(--transition);
}
.header__phone:hover { color: var(--primary); }

/* Mobile toggle */
.header__mobile-toggle {
  display: flex; align-items: center; padding: 8px;
  color: var(--text-secondary); transition: color var(--transition);
}
.header__mobile-toggle:hover { color: var(--primary); }
@media (min-width: 1024px) { .header__mobile-toggle { display: none; } }

/* Mobile drawer */
.mobile-drawer {
  display: none; background: #fff; border-top: 1px solid var(--border);
  padding: 8px 0; box-shadow: var(--shadow-lg);
}
.mobile-drawer--open { display: block; }
.mobile-drawer__item {
  display: block; width: 100%; text-align: left; padding: 14px 32px;
  font-size: 14px; color: var(--text-secondary); transition: all var(--transition);
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.mobile-drawer__item:hover { background: var(--bg-gray); }
.mobile-drawer__item--active { color: var(--primary); background: #F0F5FF; font-weight: 500; }
.mobile-drawer__cta {
  padding: 16px 32px; border-top: 1px solid var(--border); margin-top: 4px;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding-top: 64px;
  background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-mid) 55%, var(--hero-end) 100%);
}
.hero__grid-bg {
  position: absolute; inset: 0; opacity: 0.035;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero__glow {
  position: absolute; right: 0; top: 33%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, #165DFF 0%, transparent 70%);
  opacity: 0.12; pointer-events: none;
}
.hero__inner {
  position: relative; display: grid; gap: 48px; align-items: center;
  width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 80px 24px;
}
@media (min-width: 768px) {
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 80px; padding: 80px 48px; }
}
@media (min-width: 1024px) {
  .hero__inner { gap: 96px; }
}

/* Hero copy */
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(22,93,255,0.4); background: rgba(22,93,255,0.15);
  color: var(--primary-glow); font-size: 12px; margin-bottom: 28px;
}
.hero__badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.hero__title {
  font-size: 2.6rem; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 20px;
}
.hero__title-highlight { color: var(--primary-light); }
.hero__subtitle {
  font-size: 16px; font-weight: 500; color: var(--primary-glow); margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.hero__desc {
  font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.8;
  margin-bottom: 32px; max-width: 460px;
}
@media (min-width: 768px) {
  .hero__title { font-size: 3.2rem; }
  .hero__subtitle { font-size: 18px; }
}

/* Hero stats */
.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 36px; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero__stat { text-align: center; }
.hero__stat-value { font-size: 24px; font-weight: 700; color: #fff; }
.hero__stat-label { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 4px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ================================================================
   MOCK DASHBOARD (HERO)
   ================================================================ */
.mock-dashboard {
  display: none; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-xl);
  background: rgba(255,255,255,0.04);
}
@media (min-width: 768px) { .mock-dashboard { display: block; } }

.mock-dashboard__titlebar {
  display: flex; align-items: center; gap: 6px; padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.25);
}
.mock-dashboard__dot { width: 12px; height: 12px; border-radius: 50%; }
.mock-dashboard__dot--r { background: #FF5F57; }
.mock-dashboard__dot--y { background: #FFBD2E; }
.mock-dashboard__dot--g { background: #28C840; }
.mock-dashboard__title {
  margin-left: 12px; font-size: 12px; color: rgba(255,255,255,0.35);
}

/* Stats grid */
.mock-dashboard__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.1);
}
.mock-dashboard__stat {
  padding: 12px; border-right: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.025);
}
.mock-dashboard__stat:last-child { border-right: none; }
.mock-dashboard__stat-label { font-size: 9px; color: rgba(255,255,255,0.35); margin-bottom: 4px; }
.mock-dashboard__stat-value { font-size: 14px; font-weight: 700; color: #fff; }
.mock-dashboard__stat-sub { font-size: 9px; margin-top: 2px; }

/* Chart */
.mock-dashboard__chart {
  padding: 16px 20px 12px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mock-dashboard__chart-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; color: rgba(255,255,255,0.35); margin-bottom: 12px;
}
.mock-dashboard__chart-sub { color: rgba(22,93,255,0.7); }
.mock-dashboard__bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.mock-dashboard__bar {
  flex: 1; border-radius: 2px; background: rgba(22,93,255,0.3);
}
.mock-dashboard__bar--highlight { background: var(--primary); }
.mock-dashboard__days { display: flex; justify-content: space-between; margin-top: 6px; }
.mock-dashboard__day { font-size: 8px; color: rgba(255,255,255,0.2); flex: 1; text-align: center; }

/* Order list */
.mock-dashboard__orders { padding: 16px 20px; }
.mock-dashboard__orders-title { font-size: 10px; color: rgba(255,255,255,0.35); margin-bottom: 10px; }
.mock-dashboard__order {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mock-dashboard__order:last-child { border-bottom: none; }
.mock-dashboard__order-no { font-size: 10px; color: rgba(255,255,255,0.55); }
.mock-dashboard__order-dept { font-size: 9px; color: rgba(255,255,255,0.25); }
.mock-dashboard__order-amount { font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.75); }
.mock-dashboard__order-status { font-size: 9px; }

/* Footer bar */
.mock-dashboard__footer {
  padding: 12px 20px; border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.15);
  display: flex; align-items: center; gap: 16px;
  font-size: 9px; color: rgba(255,255,255,0.25);
}
.mock-dashboard__footer-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* ================================================================
   ADVANTAGES SECTION
   ================================================================ */
.advantages { background: var(--bg-gray); }
.advantages__grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .advantages__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .advantages__grid { grid-template-columns: repeat(4, 1fr); } }

.adv-card {
  background: #fff; border-radius: var(--radius-xl); padding: 28px;
  border: 1px solid var(--border);
  transition: all var(--transition); cursor: default;
}
.adv-card:hover {
  box-shadow: var(--shadow-lg); border-color: rgba(22,93,255,0.2);
  transform: translateY(-2px);
}
.adv-card__icon {
  width: 48px; height: 48px; background: var(--primary-bg); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  transition: all var(--transition);
}
.adv-card:hover .adv-card__icon { background: var(--primary); }
.adv-card__icon svg { color: var(--primary); transition: all var(--transition); }
.adv-card:hover .adv-card__icon svg { color: #fff; }
.adv-card__tag {
  display: inline-block; padding: 2px 10px; background: var(--bg-gray);
  border-radius: var(--radius); font-size: 12px; color: var(--text-muted);
  margin-bottom: 12px; font-weight: 500;
}
.adv-card__title {
  font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px;
  line-height: 1.4;
}
.adv-card__desc { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ================================================================
   FEATURES SECTION
   ================================================================ */
.features { background: #fff; }
.features__layout { display: grid; gap: 24px; }
@media (min-width: 768px) { .features__layout { grid-template-columns: 2fr 3fr; } }

/* Feature tabs */
.features__tabs { display: flex; flex-direction: row; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
@media (min-width: 768px) {
  .features__tabs { flex-direction: column; overflow-x: visible; }
}
.feature-tab {
  display: flex; align-items: flex-start; gap: 12px; padding: 16px;
  border-radius: var(--radius-lg); text-align: left; cursor: pointer;
  transition: all var(--transition); min-width: 180px; flex-shrink: 0;
  color: var(--text-secondary); font-size: 14px; font-weight: 500;
  background: var(--bg-gray); border: 1px solid transparent;
  font-family: inherit;
}
@media (min-width: 768px) { .feature-tab { min-width: auto; } }
.feature-tab:hover { background: rgba(235,241,255,0.5); }
.feature-tab--active {
  background: var(--primary-bg); border-color: rgba(22,93,255,0.3);
  color: var(--primary);
}
.feature-tab__icon { flex-shrink: 0; margin-top: 2px; }
.feature-tab__content { overflow: hidden; }
.feature-tab__summary {
  font-size: 12px; color: var(--text-muted); margin-top: 4px; line-height: 1.5;
  display: none;
}
.feature-tab--active .feature-tab__summary { display: block; }
@media (max-width: 767px) { .feature-tab__summary { display: none !important; } }

/* Feature detail */
.features__detail {
  background: var(--bg-gray); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--border);
}
.feature-detail__header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.feature-detail__icon {
  width: 48px; height: 48px; background: var(--primary); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: #fff;
}
.feature-detail__title { font-size: 18px; font-weight: 700; color: var(--text-primary); line-height: 1.4; }
.feature-detail__summary { font-size: 14px; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }
.feature-detail__bullets { display: flex; flex-direction: column; gap: 14px; }
.feature-detail__bullet { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.feature-detail__bullet-icon { color: var(--green); flex-shrink: 0; margin-top: 3px; }
.feature-detail__note {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 8px;
}
.feature-detail__note-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* Extra tags */
.features__extra {
  margin-top: 24px; padding: 24px; background: var(--bg-gray);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.features__extra-title { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 12px; }
.features__extra-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.features__extra-tag {
  padding: 6px 14px; background: #fff; border: 1px solid var(--border-medium);
  border-radius: var(--radius); font-size: 12px; color: var(--text-secondary);
  cursor: default; transition: all var(--transition);
}
.features__extra-tag:hover { border-color: rgba(22,93,255,0.4); color: var(--primary); }

/* ================================================================
   DEPLOYMENT SECTION
   ================================================================ */
.deployment { background: var(--bg-gray); }
.deployment__grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .deployment__grid { grid-template-columns: repeat(3, 1fr); } }

.deploy-card {
  position: relative; border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--border-medium); background: #fff;
  transition: all var(--transition);
}
.deploy-card:hover { box-shadow: var(--shadow); border-color: rgba(22,93,255,0.2); }
.deploy-card--highlight {
  background: var(--primary); border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(22,93,255,0.2);
}
.deploy-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; background: var(--orange); color: #fff;
  border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap;
}
.deploy-card__name {
  font-size: 18px; font-weight: 700; margin-bottom: 8px;
}
.deploy-card--highlight .deploy-card__name { color: #fff; }
.deploy-card__target {
  font-size: 12px; line-height: 1.6;
}
.deploy-card--highlight .deploy-card__target { color: rgba(255,255,255,0.65); }
.deploy-card__target { color: var(--text-muted); }
.deploy-card__divider {
  width: 100%; height: 1px; margin: 20px 0;
}
.deploy-card--highlight .deploy-card__divider { background: rgba(255,255,255,0.2); }
.deploy-card__divider { background: var(--border); }
.deploy-card__features { display: flex; flex-direction: column; gap: 12px; }
.deploy-card__feature { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.deploy-card--highlight .deploy-card__feature { color: rgba(255,255,255,0.85); }
.deploy-card__feature { color: var(--text-secondary); }
.deploy-card__feature-icon { flex-shrink: 0; color: var(--green); }
.deploy-card--highlight .deploy-card__feature-icon { color: rgba(255,255,255,0.7); }
.deployment__note {
  text-align: center; font-size: 14px; color: var(--text-muted); margin-top: 32px;
}

/* ================================================================
   SOLUTIONS SECTION
   ================================================================ */
.solutions { background: #fff; }
.solutions__grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .solutions__grid { grid-template-columns: repeat(2, 1fr); } }

.sol-card {
  background: var(--bg-gray); border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--border); transition: all var(--transition); cursor: default;
}
.sol-card:hover { box-shadow: var(--shadow-lg); }
.sol-card__header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.sol-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sol-card__tag {
  display: inline-block; padding: 2px 10px; border-radius: var(--radius);
  font-size: 12px; font-weight: 500; margin-bottom: 6px;
}
.sol-card__title { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.sol-card__desc { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.sol-card__points { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sol-card__point {
  display: flex; align-items: center; gap: 6px; padding: 6px 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 12px; color: var(--text-secondary);
}
.sol-card__point-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.sol-card__link {
  display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500;
  transition: gap var(--transition);
}
.sol-card__link:hover { gap: 8px; }

/* ================================================================
   CASES SECTION
   ================================================================ */
.cases { background: var(--bg-gray); }
.cases__filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.case-filter {
  padding: 8px 16px; border-radius: var(--radius); font-size: 14px; font-weight: 500;
  background: #fff; border: 1px solid var(--border-medium); color: var(--text-secondary);
  transition: all var(--transition); cursor: pointer; font-family: inherit;
}
.case-filter:hover { border-color: rgba(22,93,255,0.4); color: var(--primary); }
.case-filter--active { background: var(--primary); color: #fff; border-color: var(--primary); }
.cases__grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .cases__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cases__grid { grid-template-columns: repeat(3, 1fr); } }

.case-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: all var(--transition);
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.case-card__top {
  padding: 14px 20px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.case-card__tag {
  padding: 4px 10px; border-radius: var(--radius); font-size: 12px; font-weight: 600;
}
.case-card__scale { font-size: 12px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: 8px; }
.case-card__body { padding: 20px; }
.case-card__client-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.case-card__client-icon { color: var(--text-muted); flex-shrink: 0; margin-top: 2px; }
.case-card__client { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.case-card__scenario { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.case-card__section { margin-bottom: 16px; }
.case-card__section-title { font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.case-card__section-text { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.case-card__result {
  padding: 14px; border-radius: 10px; background: var(--bg-gray);
}
.case-card__result-title { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.case-card__result-icon { color: var(--green); }
.case-card__result-text { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }

/* Testimonials */
.cases__testimonials {
  margin-top: 40px; background: #fff; border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--border);
}
.cases__testimonials-header { text-align: center; margin-bottom: 32px; }
.cases__testimonials-title { font-size: 14px; font-weight: 600; color: var(--primary); }
.cases__testimonials-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .cases__testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial { position: relative; }
.testimonial__quote-mark {
  position: absolute; top: -8px; left: -4px;
  font-size: 60px; line-height: 1; color: rgba(22,93,255,0.15);
  font-family: serif; user-select: none;
}
.testimonial__text {
  font-size: 14px; color: var(--text-secondary); line-height: 1.8;
  padding-left: 16px; padding-top: 20px; margin-bottom: 16px;
}
.testimonial__org {
  display: flex; align-items: center; gap: 8px; padding-left: 16px;
  font-size: 12px; color: var(--text-muted);
}
.testimonial__org-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* ================================================================
   SERVICES SECTION
   ================================================================ */
.services { background: #fff; }
.services__plans { display: grid; gap: 24px; margin-bottom: 32px; }
@media (min-width: 768px) { .services__plans { grid-template-columns: repeat(2, 1fr); } }

.service-plan {
  border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--border-medium); transition: all var(--transition);
}
.service-plan:hover { box-shadow: var(--shadow); }
.service-plan--featured {
  border: 2px solid var(--primary); box-shadow: 0 8px 30px rgba(22,93,255,0.1);
}
.service-plan--featured:hover { box-shadow: 0 12px 40px rgba(22,93,255,0.15); }
.service-plan__label {
  display: inline-block; padding: 2px 10px; background: var(--bg-gray);
  border-radius: var(--radius); font-size: 12px; color: var(--text-muted);
  font-weight: 500; margin-bottom: 12px;
}
.service-plan--featured .service-plan__label { background: var(--primary-bg); color: var(--primary); }
.service-plan__badge-featured {
  position: absolute; top: -16px; left: 28px; padding: 6px 16px;
  background: var(--primary); color: #fff; font-size: 12px; font-weight: 600;
  border-radius: 999px;
}
.service-plan { position: relative; }
.service-plan--featured { position: relative; padding-top: 44px; }
.service-plan__title { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
.service-plan__desc { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.service-plan__features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.service-plan__feature { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-secondary); }
.service-plan__feature-icon { color: var(--green); flex-shrink: 0; }
.service-plan--featured .service-plan__feature-icon { color: var(--primary); }
.service-plan__btn {
  width: 100%; padding: 12px; border-radius: var(--radius); font-size: 14px; font-weight: 500;
  transition: all var(--transition); cursor: pointer; font-family: inherit;
}
.service-plan__btn--outline {
  border: 1px solid var(--primary); color: var(--primary); background: transparent;
}
.service-plan__btn--outline:hover { background: var(--primary-bg); }
.service-plan__btn--primary {
  background: var(--primary); color: #fff; border: none;
}
.service-plan__btn--primary:hover { background: var(--primary-dark); }

/* Service flow */
.services__flow {
  background: var(--bg-gray); border-radius: var(--radius-lg);
  padding: 28px; border: 1px solid var(--border);
}
.services__flow-title { text-align: center; font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 24px; }
.services__flow-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
@media (min-width: 768px) { .services__flow-steps { grid-template-columns: repeat(5, 1fr); } }
.flow-step {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); text-align: center;
}
.flow-step__icon {
  width: 36px; height: 36px; border-radius: 50%; background: var(--primary-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.flow-step__num { font-size: 10px; color: var(--primary); font-family: monospace; font-weight: 700; }
.flow-step__label { font-size: 12px; color: var(--text-secondary); font-weight: 500; line-height: 1.4; }
.services__flow-note { text-align: center; font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* ================================================================
   CONTACT SECTION
   ================================================================ */
.contact {
  background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-mid) 55%, var(--hero-end) 100%);
}
.contact__inner { max-width: 900px; margin: 0 auto; text-align: center; }

.contact__badge {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  background: rgba(22,93,255,0.2); border: 1px solid rgba(22,93,255,0.3);
  color: var(--primary-glow); font-size: 12px; margin-bottom: 20px;
}
.contact__title {
  font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 20px; line-height: 1.3;
}
.contact__desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 32px; }
.contact__benefits { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.contact__benefit { display: flex; align-items: center; gap: 12px; }
.contact__benefit-icon {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(22,93,255,0.25);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--primary-glow);
}
.contact__benefit-text { font-size: 14px; color: rgba(255,255,255,0.75); }
.contact__infos { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }
.contact__info { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.5); }

/* Contact form */
.contact__form-card {
  background: #fff; border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-xl);
}
.contact__form-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 24px; }
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.contact__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__form-field { display: flex; flex-direction: column; }
.contact__form-label { font-size: 12px; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
.contact__form-label span { color: var(--red); margin-left: 2px; }
.contact__form-input {
  width: 100%; padding: 10px 14px; font-size: 14px;
  border: 1px solid var(--border-input); border-radius: var(--radius);
  background: var(--bg-gray); transition: all var(--transition);
  color: var(--text-primary); outline: none;
}
.contact__form-input::placeholder { color: var(--text-placeholder); }
.contact__form-input:focus { border-color: var(--primary); background: #fff; }
.contact__form-textarea {
  resize: none; field-sizing: content;
  min-height: 72px;
}
.contact__form-submit {
  width: 100%; padding: 12px; background: var(--primary); color: #fff;
  border: none; border-radius: var(--radius); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background var(--transition); font-family: inherit;
}
.contact__form-submit:hover { background: var(--primary-dark); }
.contact__form-note { text-align: center; font-size: 12px; color: var(--text-muted); }

/* Success state */
.contact__success { text-align: center; padding: 32px 0; display: none; }
.contact__success--show { display: block; }
.contact__success-icon {
  width: 64px; height: 64px; background: rgba(0,180,42,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: var(--green);
}
.contact__success-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.contact__success-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.contact__success-reset {
  margin-top: 24px; padding: 10px 24px; border: 1px solid var(--primary);
  color: var(--primary); border-radius: var(--radius); font-size: 14px;
  cursor: pointer; transition: all var(--transition); font-family: inherit;
}
.contact__success-reset:hover { background: var(--primary-bg); }
.contact__form--hidden { display: none; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--hero-start); color: rgba(255,255,255,0.4);
  padding: 56px 0;
}
.footer__grid { display: grid; gap: 40px; margin-bottom: 40px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }
.footer__brand { margin-bottom: 20px; }
.footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer__logo-icon {
  width: 32px; height: 32px; background: var(--primary); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
}
.footer__logo-name { color: #fff; font-weight: 600; font-size: 14px; }
.footer__logo-sub { color: rgba(255,255,255,0.25); font-size: 10px; letter-spacing: 0.2em; }
.footer__brand-desc { font-size: 12px; line-height: 1.8; }
.footer__col-title { color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer__link {
  display: block; font-size: 12px; margin-bottom: 10px; cursor: pointer;
  transition: color var(--transition); background: none; border: none;
  color: rgba(255,255,255,0.4); font-family: inherit; text-align: left; width: 100%;
}
.footer__link:hover { color: rgba(255,255,255,0.7); }
.footer__info-item { display: flex; align-items: center; gap: 10px; font-size: 12px; margin-bottom: 12px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 12px;
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; justify-content: space-between; } }
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-link { cursor: pointer; transition: color var(--transition); }
.footer__bottom-link:hover { color: rgba(255,255,255,0.6); }

/* ================================================================
   FLOATING SIDEBAR
   ================================================================ */
.floating-sidebar {
  position: fixed; right: 16px; bottom: 80px; z-index: 40;
  display: flex; flex-direction: column; gap: 10px;
}
.floating-btn {
  width: 40px; height: 40px; background: var(--primary); color: #fff;
  border: none; border-radius: 50%; cursor: pointer;
  box-shadow: 0 4px 12px rgba(22,93,255,0.3);
  transition: all var(--transition); display: flex; align-items: center; justify-content: center;
  position: relative; font-family: inherit;
}
.floating-btn:hover { background: var(--primary-dark); transform: scale(1.1); }
.floating-btn__tooltip {
  position: absolute; right: 52px; top: 50%; transform: translateY(-50%);
  background: var(--text-primary); color: #fff; font-size: 12px;
  padding: 6px 12px; border-radius: var(--radius); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
  box-shadow: var(--shadow-lg);
}
.floating-btn__tooltip::after {
  content: ''; position: absolute; right: -4px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 4px solid var(--text-primary);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.floating-btn:hover .floating-btn__tooltip { opacity: 1; }
.floating-btn--back {
  background: #fff; color: var(--text-secondary);
  border: 1px solid var(--border-input); box-shadow: var(--shadow);
}
.floating-btn--back:hover { border-color: rgba(22,93,255,0.4); color: var(--primary); }
.floating-btn--hidden { display: none; }

/* ================================================================
   DEMO MODAL
   ================================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  width: 100%; max-width: 512px; max-height: 90vh; overflow-y: auto;
  animation: modalIn 200ms ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal__header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 24px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: #fff; z-index: 1; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal__title { font-size: 18px; font-weight: 700; color: var(--text-primary); }
.modal__subtitle { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.modal__close {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); transition: background var(--transition);
  color: var(--text-muted); cursor: pointer;
  background: none; border: none;
}
.modal__close:hover { background: var(--bg-gray); }
.modal__body { padding: 24px; }
.modal__form { display: flex; flex-direction: column; gap: 16px; }
.modal__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.modal__success { text-align: center; padding: 32px 0; display: none; }
.modal__success--show { display: block; }
.modal__success-icon {
  width: 64px; height: 64px; background: rgba(0,180,42,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: var(--green);
}
.modal__success-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.modal__success-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.modal__success-ok {
  margin-top: 24px; padding: 10px 24px; background: var(--primary); color: #fff;
  border: none; border-radius: var(--radius); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background var(--transition); font-family: inherit;
}
.modal__success-ok:hover { background: var(--primary-dark); }
.modal__form--hidden { display: none; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 767px) {
  .section { padding: 60px 0; }
  .hero__title { font-size: 2rem; }
  .contact__title { font-size: 24px; }
  .section-header__title { font-size: 24px; }
  .contact__form-row { grid-template-columns: 1fr; }
  .modal__form-row { grid-template-columns: 1fr; }
}

/* Hidden utility */
.hidden { display: none; }

@media (max-width: 1023px) {
  .mobile-drawer { display: none; }
  .mobile-drawer--open { display: block; }
}
/* Mobile floating fixes */
@media(max-width:768px){
  .float-btn,.floating-btn{width:36px;height:36px;border-radius:10px}
  .float-btn svg,.floating-btn svg{width:14px;height:14px}
  .float-btn .label,.floating-btn-tooltip,.float-label{display:none!important}
  .side-float,.float-sidebar{right:12px;bottom:80px;gap:6px}
  .back-to-top,.float-top{right:12px;bottom:20px;width:36px;height:36px}


  h1{word-break:break-word}
  h2{word-break:break-word}
  p,li,span{word-break:break-word}
  section{padding:48px 0}
  .container{padding:0 20px}
  footer,.footer{padding-bottom:80px!important}
  .nav-toggle svg,.nav-hamburger svg,.mobile-toggle svg,.nav-menu-btn svg,.nav-mobile-toggle svg{color:#333!important;filter:none!important}
}
