/* ==============================================
   中才数字面试·数字化面试考试管理系统 — 全局样式
   ============================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
  --brand-50: #EEF4FF;
  --brand-100: #D9E6FF;
  --brand-200: #B3CDFF;
  --brand-300: #80AFFF;
  --brand-400: #4D8EFF;
  --brand-500: #1A5FE0;
  --brand-600: #154ECC;
  --brand-700: #113EA6;
  --brand-800: #0D3080;
  --brand-900: #0B2B5E;
  --brand-950: #081E42;

  --cyan: #00D2B5;
  --cyan-light: #33E0CA;
  --cyan-dark: #00A893;

  --surface: #F7F9FC;
  --surface-dark: #EEF1F6;
  --white: #FFFFFF;

  --text-primary: #2B2E4A;
  --text-secondary: #5B5F7A;
  --text-muted: #8B8FA8;

  --shadow-sm: 0 1px 3px rgba(11,43,94,0.06);
  --shadow-md: 0 4px 12px rgba(11,43,94,0.08);
  --shadow-lg: 0 8px 30px rgba(11,43,94,0.10);
  --shadow-xl: 0 12px 40px rgba(11,43,94,0.14);
  --shadow-brand: 0 8px 25px rgba(26,95,224,0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;

  --font-display: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;

  --nav-height: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--surface);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: rgba(26,95,224,0.18);
  color: var(--brand-700);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Gradient Backgrounds --- */
.gradient-bg {
  background: linear-gradient(135deg, #0B2B5E 0%, #0F3E7C 40%, #1A5FE0 70%, #0D3080 100%);
}
.gradient-bg-subtle {
  background: linear-gradient(135deg, #F0F4FF 0%, #E8F5F9 50%, #F0FDF6 100%);
}
.gradient-text {
  background: linear-gradient(135deg, var(--brand-500), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Section Padding --- */
.section-padding {
  padding: 80px 0;
}
@media (min-width: 1024px) {
  .section-padding { padding: 112px 0; }
}

/* --- Grid Pattern --- */
.grid-pattern {
  background-image:
    linear-gradient(rgba(26,95,224,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,95,224,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* --- Text Utilities --- */
.text-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.text-body-muted {
  font-size: 15px;
  color: var(--text-muted);
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(26,95,224,0.08);
}
.navbar.home-transparent {
  background: transparent;
  border-color: transparent;
}
.navbar.home-transparent.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(26,95,224,0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  transition: color 0.3s;
}
.navbar.home-transparent .nav-logo { color: white; }
.navbar.home-transparent.scrolled .nav-logo { color: var(--text-primary); }
.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(26,95,224,0.28);
  transition: box-shadow 0.3s;
  flex-shrink: 0;
}
.nav-logo:hover .nav-logo-icon {
  box-shadow: 0 4px 18px rgba(26,95,224,0.42);
}

/* Nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  color: var(--text-secondary);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-600);
  background: var(--brand-50);
}
.nav-links a.active { font-weight: 600; }

/* Home page transparent nav link colors */
.navbar.home-transparent .nav-links a {
  color: rgba(255,255,255,0.8);
}
.navbar.home-transparent .nav-links a:hover,
.navbar.home-transparent .nav-links a.active {
  color: white;
  background: rgba(255,255,255,0.12);
}
.navbar.home-transparent.scrolled .nav-links a {
  color: var(--text-secondary);
}
.navbar.home-transparent.scrolled .nav-links a:hover,
.navbar.home-transparent.scrolled .nav-links a.active {
  color: var(--brand-600);
  background: var(--brand-50);
}

/* Nav CTAs */
.nav-ctas {
  display: none;
  align-items: center;
  gap: 12px;
}
.btn-outline-light {
  padding: 9px 18px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-md);
  color: white;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
}
.scrolled .btn-outline-light,
.navbar:not(.home-transparent) .btn-outline-light {
  border-color: var(--brand-200);
  color: var(--brand-600);
}
.scrolled .btn-outline-light:hover,
.navbar:not(.home-transparent) .btn-outline-light:hover {
  background: var(--brand-50);
}

/* Mobile toggle */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  color: white;
}
.navbar.scrolled .nav-toggle,
.navbar:not(.home-transparent) .nav-toggle {
  color: var(--text-primary);
}
.navbar.scrolled .nav-toggle:hover,
.navbar:not(.home-transparent) .nav-toggle:hover {
  background: var(--brand-50);
}
.navbar.home-transparent:not(.scrolled) .nav-toggle:hover {
  background: rgba(255,255,255,0.1);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--brand-100);
}
.mobile-menu.open { display: block; animation: slideDown 0.3s ease; }
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
}
.mobile-menu a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--brand-50);
  color: var(--brand-600);
}
.mobile-menu-ctas {
  display: flex;
  gap: 12px;
  padding: 16px 0 8px;
}
.mobile-menu-ctas .btn-outline-light {
  flex: 1;
  text-align: center;
  justify-content: center;
  border-color: var(--brand-200);
  color: var(--brand-600);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  border-radius: var(--radius-xl);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--brand-500);
  color: white;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  background: var(--brand-600);
  box-shadow: 0 8px 30px rgba(26,95,224,0.38);
}

.btn-secondary {
  background: var(--cyan);
  color: white;
  box-shadow: 0 8px 25px rgba(0,210,181,0.25);
}
.btn-secondary:hover {
  background: var(--cyan-dark);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-outline-brand {
  border: 2px solid var(--brand-200);
  color: var(--brand-600);
  background: transparent;
}
.btn-outline-brand:hover { background: var(--brand-50); }

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-md { padding: 13px 28px; font-size: 15px; }
.btn-lg { padding: 15px 36px; font-size: 16px; border-radius: var(--radius-2xl); }

/* ========== PAGE HEADER (sub pages) ========== */
.page-header {
  background: linear-gradient(135deg, #0B2B5E 0%, #0F3E7C 40%, #1A5FE0 70%, #0D3080 100%);
  padding: 100px 0 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-header-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto;
}
.page-header .highlight {
  color: var(--cyan);
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0B2B5E 0%, #0F3E7C 40%, #1A5FE0 70%, #0D3080 100%);
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 100px 0 60px;
  max-width: 700px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero h1 .highlight { color: var(--cyan); }
.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 460px;
  margin: 56px auto 0;
  text-align: center;
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cyan);
}
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 240px; height: 240px;
  background: rgba(26,95,224,0.12);
  top: 25%; left: 20%;
  animation: float 6s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px; height: 300px;
  background: rgba(0,210,181,0.1);
  bottom: 20%; right: 15%;
  animation: float 6s ease-in-out 2s infinite;
}
.hero-orb-3 {
  width: 180px; height: 180px;
  background: rgba(26,95,224,0.1);
  top: 50%; right: 30%;
  animation: float 8s ease-in-out 1s infinite;
}

/* Floating lines */
.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
}
.hero-lines svg { width: 100%; height: 100%; }
.line-anim {
  stroke: rgba(255,255,255,0.3);
  stroke-width: 0.5;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 2.5s ease-out forwards;
}
.line-anim:nth-child(2) { animation-delay: 0.6s; stroke-width: 0.3; }
.line-anim:nth-child(3) { animation-delay: 1.2s; stroke: rgba(0,210,181,0.2); }

@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-scroll span {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 2px;
}
.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* ========== ROLE CIRCLE ========== */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) {
  .roles-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .roles-grid { grid-template-columns: repeat(6, 1fr); }
}

.role-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 20px;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.role-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
}
.role-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 22px;
}
.role-card-icon.blue { background: #EEF4FF; color: #1A5FE0; }
.role-card-icon.green { background: #ECFDF5; color: #059669; }
.role-card-icon.purple { background: #F5F3FF; color: #7C3AED; }
.role-card-icon.orange { background: #FFF7ED; color: #EA580C; }
.role-card-icon.cyan { background: #ECFEFF; color: #0891B2; }
.role-card-icon.rose { background: #FFF1F2; color: #E11D48; }
.role-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.role-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.role-card-line {
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--brand-200);
  border-radius: 4px;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.role-card:hover .role-card-line {
  background: var(--brand-500);
  transform: scaleX(1);
}

.roles-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 12px 24px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--brand-100);
  font-size: 14px;
  color: var(--text-secondary);
}
.roles-note-dot {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ========== FEATURE CARDS ========== */
.feature-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 56px;
}
@media (min-width: 1024px) {
  .feature-row { flex-direction: row; gap: 64px; }
  .feature-row.reverse { flex-direction: row-reverse; }
}
.feature-row > * { flex: 1; }

.feature-mockup {
  background: transparent;
  border-radius: var(--radius-2xl);
  border: none;
  overflow: hidden;
  min-height: 280px;
}

/* Remove unused chrome styles */

.mockup-header-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}
.mockup-header-grad-blue { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.mockup-header-grad-green { background: linear-gradient(135deg, #10B981, #059669); }
.mockup-header-grad-purple { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.mockup-header-grad-orange { background: linear-gradient(135deg, #F97316, #EA580C); }
.mockup-header-grad-teal { background: linear-gradient(135deg, #06B6D4, #0891B2); }
.mockup-header-grad-rose { background: linear-gradient(135deg, #F43F5E, #E11D48); }

.feature-mockup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.feature-mockup-block {
  height: 60px;
  background: #F8FAFC;
  border-radius: var(--radius-sm);
}
.feature-mockup-bar {
  height: 40px;
  background: #F8FAFC;
  border-radius: var(--radius-sm);
  margin-top: 12px;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}
.feature-badge.blue { background: #EEF4FF; color: #1A5FE0; }
.feature-badge.green { background: #ECFDF5; color: #059669; }
.feature-badge.purple { background: #F5F3FF; color: #7C3AED; }
.feature-badge.orange { background: #FFF7ED; color: #EA580C; }
.feature-badge.teal { background: #ECFEFF; color: #0891B2; }
.feature-badge.rose { background: #FFF1F2; color: #E11D48; }

.feature-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.feature-text-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}
.feature-list li .check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-blue svg { color: #1A5FE0; }
.check-green svg { color: #059669; }
.check-purple svg { color: #7C3AED; }
.check-orange svg { color: #EA580C; }
.check-teal svg { color: #0891B2; }
.check-rose svg { color: #E11D48; }

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: gap 0.2s;
}
.feature-link:hover { gap: 12px; }
.feature-link.blue { color: #1A5FE0; }
.feature-link.green { color: #059669; }
.feature-link.purple { color: #7C3AED; }
.feature-link.orange { color: #EA580C; }
.feature-link.teal { color: #0891B2; }
.feature-link.rose { color: #E11D48; }

/* ========== PROCESS TIMELINE ========== */
.timeline {
  position: relative;
}
.timeline-line {
  display: none;
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: #E2E8F0;
}
@media (min-width: 1024px) { .timeline-line { display: block; } }

.timeline-progress {
  display: none;
  position: absolute;
  top: 20px;
  left: 0;
  height: 2px;
  background: linear-gradient(to right, var(--brand-500), var(--cyan));
  transition: width 0.5s;
}
@media (min-width: 1024px) { .timeline-progress { display: block; } }

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
@media (min-width: 1024px) {
  .timeline-steps { flex-direction: row; justify-content: space-between; }
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  cursor: pointer;
  transition: all 0.2s;
}
@media (min-width: 1024px) {
  .timeline-step { flex-direction: column; gap: 12px; padding: 0; text-align: center; }
}
.timeline-step:hover .timeline-dot { transform: scale(1.05); }

.timeline-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s;
  flex-shrink: 0;
  background: #F1F5F9;
  color: var(--text-muted);
}
.timeline-step.active .timeline-dot {
  background: var(--brand-500);
  color: white;
  box-shadow: 0 4px 16px rgba(26,95,224,0.3);
  transform: scale(1.1);
}
.timeline-step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s;
}
.timeline-step.active .timeline-step-title { color: var(--brand-600); }
.timeline-step-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Timeline detail panel */
.timeline-detail {
  margin-top: 32px;
  background: linear-gradient(135deg, rgba(238,244,255,0.8), rgba(236,254,255,0.3));
  border-radius: var(--radius-2xl);
  padding: 32px;
  border: 1px solid rgba(26,95,224,0.08);
  transition: all 0.3s;
}
.timeline-detail-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}
.timeline-detail h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}
.timeline-detail-time { font-size: 13px; color: var(--text-muted); margin: 4px 0 12px; }
.timeline-detail-desc {
  font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 8px;
}
.timeline-detail-extra { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ========== STATS COUNTER ========== */
.stats-section {
  background: white;
  padding: 80px 0;
  position: relative;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--brand-200), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item {
  text-align: center;
  padding: 20px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--brand-500);
}
.stat-value .suffix { color: var(--cyan); }
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, #0B2B5E 0%, #0F3E7C 40%, #1A5FE0 70%, #0D3080 100%);
  padding: 80px 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin: 0 auto 28px;
}
.cta-section .cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ========== SUB PAGE: FEATURES ========== */
.features-detail {
  background: var(--surface);
  padding: 64px 0 96px;
}
.features-detail .feature-row {
  margin-bottom: 80px;
}
.features-detail .feature-row:last-child { margin-bottom: 0; }

.feature-visual {
  position: relative;
  border-radius: var(--radius-2xl);
  padding: 40px 32px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.feature-visual.blue { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.feature-visual.green { background: linear-gradient(135deg, #10B981, #059669); }
.feature-visual.purple { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.feature-visual.orange { background: linear-gradient(135deg, #F97316, #EA580C); }
.feature-visual.teal { background: linear-gradient(135deg, #06B6D4, #0891B2); }
.feature-visual.rose { background: linear-gradient(135deg, #F43F5E, #E11D48); }

.feature-visual-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 28px;
}
.feature-visual h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.feature-visual .dots {
  display: flex; gap: 6px; margin-top: 24px;
}
.feature-visual .dots span {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3);
}
.feature-visual .dots span:nth-child(2) { background: white; }

.feature-detail-points { display: flex; flex-direction: column; gap: 18px; }
.feature-detail-point {
  display: flex; gap: 14px; opacity: 0; transform: translateX(-16px);
  animation: pointIn 0.5s ease forwards;
}
.feature-detail-point:nth-child(2) { animation-delay: 0.1s; }
.feature-detail-point:nth-child(3) { animation-delay: 0.2s; }
.feature-detail-point:nth-child(4) { animation-delay: 0.3s; }
.feature-detail-point.visible { opacity: 1; transform: translateX(0); }
@keyframes pointIn {
  to { opacity: 1; transform: translateX(0); }
}

.feature-detail-point .fp-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-detail-point .fp-icon svg { width: 16px; height: 16px; }
.feature-detail-point h5 { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.feature-detail-point p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ========== SUB PAGE: SOLUTIONS ========== */
.solutions-grid {
  display: grid;
  gap: 24px;
  padding: 64px 0 96px;
}
@media (min-width: 768px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .solutions-grid { grid-template-columns: repeat(3, 1fr); } }

.solution-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 28px;
  border: 1px solid var(--brand-100);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.solution-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.solution-card-icon.blue { background: #EEF4FF; }
.solution-card-icon.green { background: #ECFDF5; }
.solution-card-icon.purple { background: #F5F3FF; }
.solution-card-icon.orange { background: #FFF7ED; }
.solution-card-icon.teal { background: #ECFEFF; }
.solution-card-icon.rose { background: #FFF1F2; }
.solution-card h3 {
  font-size: 1.125rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 4px;
}
.solution-card .subtitle {
  font-size: 13px; color: var(--brand-500); font-weight: 500; margin-bottom: 10px;
}
.solution-card-desc {
  font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px;
}
.solution-card-features {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px;
}
.solution-card-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--text-secondary);
}
.solution-card-features li svg { flex-shrink: 0; margin-top: 2px; }
.solution-card-link {
  font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.solution-card-link:hover { gap: 12px; }
.solution-card-link.blue { color: #1A5FE0; }
.solution-card-link.green { color: #059669; }
.solution-card-link.purple { color: #7C3AED; }
.solution-card-link.orange { color: #EA580C; }
.solution-card-link.teal { color: #0891B2; }
.solution-card-link.rose { color: #E11D48; }

.solutions-tail {
  margin-top: 48px;
  background: linear-gradient(135deg, var(--brand-50), #ECFEFF);
  border-radius: var(--radius-2xl);
  padding: 40px;
  text-align: center;
  border: 1px solid var(--brand-100);
}
.solutions-tail h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.solutions-tail p {
  font-size: 15px; color: var(--text-muted);
  max-width: 480px; margin: 0 auto 20px;
}

/* ========== SUB PAGE: CUSTOMIZATION ========== */
.custom-grid {
  display: grid;
  gap: 24px;
  padding: 64px 0;
}
@media (min-width: 768px) { .custom-grid { grid-template-columns: repeat(2, 1fr); } }

.custom-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 28px;
  border: 1px solid var(--brand-100);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.custom-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.custom-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: white;
  font-size: 22px;
}
.custom-card-icon.blue { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.custom-card-icon.green { background: linear-gradient(135deg, #10B981, #059669); }
.custom-card-icon.purple { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.custom-card-icon.orange { background: linear-gradient(135deg, #F97316, #EA580C); }
.custom-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.custom-card-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.custom-card-list { display: flex; flex-direction: column; gap: 10px; }
.custom-card-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--text-secondary);
}
.custom-card-list li svg { flex-shrink: 0; margin-top: 2px; }

/* ========== SUB PAGE: CASES ========== */
.logo-wall {
  padding: 48px 0;
  background: white;
  border-bottom: 1px solid var(--brand-50);
}
.logo-wall-title { text-align: center; font-size: 14px; color: var(--text-muted); font-weight: 500; letter-spacing: 1px; margin-bottom: 28px; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (min-width: 768px) { .logo-grid { grid-template-columns: repeat(8, 1fr); } }
.logo-item {
  display: flex; align-items: center; justify-content: center;
  padding: 14px; background: var(--brand-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-100);
  font-size: 13px; font-weight: 600; color: rgba(139,143,168,0.7);
}

.cases-list {
  display: flex; flex-direction: column;
  gap: 48px; padding: 64px 0 96px;
}
.case-item {
  display: flex; flex-direction: column; gap: 32px;
}
@media (min-width: 1024px) { .case-item { flex-direction: row; gap: 48px; } .case-item.reverse { flex-direction: row-reverse; } }
.case-item > * { flex: 1; }

.case-quote {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 28px;
  border: 1px solid var(--brand-100);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.case-quote::after {
  content: '"';
  position: absolute;
  top: 10px; right: 20px;
  font-size: 80px;
  color: var(--brand-100);
  line-height: 1;
  font-family: Georgia, serif;
}
.case-client {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; position: relative; z-index: 1;
}
.case-client-icon { font-size: 2rem; }
.case-client h3 { font-size: 1.125rem; font-weight: 700; color: var(--text-primary); }
.case-client p { font-size: 12px; color: var(--text-muted); }
.case-pain, .case-solution { margin-bottom: 14px; position: relative; z-index: 1; }
.case-pain h5, .case-solution h5 {
  font-size: 12px; font-weight: 600; margin-bottom: 6px;
  letter-spacing: 1px;
}
.case-pain h5 { color: var(--brand-500); }
.case-solution h5 { color: var(--cyan); }
.case-pain p, .case-solution p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

.case-results {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 28px;
  border: 1px solid var(--brand-100);
  box-shadow: var(--shadow-sm);
}
.case-results h4 {
  font-size: 16px; font-weight: 700; color: var(--text-primary);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.case-results-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.case-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.case-stat {
  text-align: center; padding: 16px;
  background: var(--surface);
  border-radius: var(--radius-md);
}
.case-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: var(--brand-500);
}
.case-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.case-stars {
  display: flex; gap: 2px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--brand-100);
  align-items: center;
}
.case-stars svg { width: 14px; height: 14px; color: #F59E0B; }
.case-stars span { font-size: 13px; color: var(--text-muted); margin-left: 8px; }

/* ========== SUB PAGE: ABOUT ========== */
.about-intro {
  text-align: center; padding: 64px 0; background: white;
}
.about-intro-logo {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  margin: 0 auto 16px;
  box-shadow: var(--shadow-brand);
  flex-shrink: 0;
}
.about-intro h2 { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: var(--text-primary); }
.about-intro p { max-width: 640px; margin: 16px auto 0; font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.about-badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; padding: 8px 18px;
  background: var(--brand-50);
  border-radius: 9999px;
  font-size: 13px; font-weight: 500; color: var(--brand-600);
}
.about-badge-dot { width: 8px; height: 8px; background: var(--brand-500); border-radius: 50%; animation: pulse 2s infinite; }

.security-grid {
  display: grid; gap: 20px; padding: 64px 0;
}
@media (min-width: 768px) { .security-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .security-grid { grid-template-columns: repeat(3, 1fr); } }
.security-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 24px;
  border: 1px solid var(--brand-100);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.security-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.security-card-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-600); font-size: 18px;
  margin-bottom: 14px;
}
.security-card h3 { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.security-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.contact-grid {
  display: grid; gap: 32px; padding: 0 0 80px;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-info-item {
  display: flex; gap: 14px; padding: 18px;
  background: var(--brand-50);
  border-radius: var(--radius-2xl);
  margin-bottom: 14px;
  align-items: center;
}
.contact-info-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--brand-100);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--brand-600); font-size: 18px;
}
.contact-info-item h4 { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.contact-info-item p { font-size: 14px; color: var(--text-muted); }

.contact-form-box {
  background: var(--surface);
  border-radius: var(--radius-2xl);
  padding: 28px;
}
.contact-form-box h3 {
  font-size: 16px; font-weight: 700; color: var(--text-primary);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
}

/* ========== FORM ELEMENTS ========== */
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--text-primary); margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-100);
  background: white;
  font-size: 14px; color: var(--text-primary);
  transition: all 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-300);
  box-shadow: 0 0 0 3px rgba(26,95,224,0.08);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-section {
  background: var(--surface);
  border-radius: var(--radius-2xl);
  padding: 32px;
}

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
}
.modal-overlay.open {
  opacity: 1; visibility: visible;
}
.modal {
  background: white;
  border-radius: var(--radius-2xl);
  width: 100%; max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s;
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--brand-100);
}
.modal-header h3 { font-size: 1.125rem; font-weight: 700; color: var(--text-primary); }
.modal-header-sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.modal-close {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}
.modal-close:hover { background: var(--brand-50); color: var(--text-primary); }
.modal-body { padding: 24px; }
.modal-success {
  text-align: center; padding: 40px 24px;
}
.modal-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(0,210,181,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.modal-success h4 { font-size: 1.125rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.modal-success p { font-size: 14px; color: var(--text-muted); }
.btn-full { width: 100%; }

/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(135deg, #0B2B5E 0%, #0F3E7C 40%, #1A5FE0 70%, #0D3080 100%);
  color: white;
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand {
  grid-column: span 2;
}
@media (min-width: 768px) {
  .footer-brand { grid-column: span 1; }
}
.footer-brand .nav-logo { margin-bottom: 16px; color: white; }
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 18px;
}
.footer-brand .security-note {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.footer-col h4 {
  font-size: 15px; font-weight: 600;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px; color: rgba(255,255,255,0.6);
  transition: color 0.2s;
  display: flex; align-items: center; gap: 4px;
}
.footer-col a:hover { color: var(--cyan); }
.footer-col a svg {
  width: 12px; height: 12px;
  opacity: 0; transform: translateX(-4px);
  transition: all 0.2s;
}
.footer-col a:hover svg { opacity: 1; transform: translateX(0); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.4);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-bottom-tags { display: flex; gap: 20px; align-items: center; }

/* ========== SCROLL TO TOP ========== */
.scroll-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-500);
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-brand);
  opacity: 0; visibility: hidden;
  transform: scale(0.5);
  transition: all 0.3s;
  cursor: pointer;
}
.scroll-to-top.visible {
  opacity: 1; visibility: visible;
  transform: scale(1);
}
.scroll-to-top:hover { background: var(--brand-600); }
.scroll-to-top svg { width: 20px; height: 20px; }

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== RESPONSIVE ========== */
@media (min-width: 1024px) {
  .nav-links, .nav-ctas { display: flex; }
  .nav-toggle { display: none; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* ========== SECTION HEADERS ========== */
.section-header {
  text-align: center; margin-bottom: 48px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 15px; color: var(--text-muted);
  max-width: 520px; margin: 0 auto;
}
.section-header-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(0,210,181,0.08);
  border-radius: 9999px;
  font-size: 13px; font-weight: 500; color: var(--cyan-dark);
  margin-bottom: 16px;
}

/* ========== Scrollbar ========== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--brand-200); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-400); }
