/* ==========================================================================
   KOXLO Enterprise B2B Solutions Showcase CSS
   Modern Enterprise Theme (Light with Tech Accents)
   ========================================================================== */

:root {
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-dark-surface: #1e293b;

  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: #2563eb;

  --text-main: #0f172a;
  --text-sub: #334155;
  --text-muted: #64748b;
  --text-light: #f8fafc;

  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;

  --accent-cyan: #0284c7;
  --accent-emerald: #059669;
  --accent-purple: #7c3aed;
  --accent-rose: #e11d48;
  --accent-amber: #d97706;

  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', system-ui, Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --transition-fast: all 0.15s ease;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography Helpers */
h1, h2, h3, h4, h5 {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

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

/* Top Announcement */
.top-announcement {
  background: var(--bg-dark);
  color: #e2e8f0;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.announcement-badge {
  background: #3b82f6;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.top-link {
  color: #60a5fa;
  font-weight: 600;
  transition: var(--transition-fast);
}

.top-link:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1d4ed8, #0284c7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-accent {
  color: var(--primary);
}

.brand-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  transition: var(--transition-fast);
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 88px 24px 76px;
  background-color: #060b18;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  opacity: 0.38;
  mix-blend-mode: screen;
  filter: saturate(1.2) contrast(1.1);
  pointer-events: none;
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 15%, rgba(14, 165, 233, 0.22) 0%, rgba(6, 11, 24, 0.75) 55%, #060b18 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.35) 0%, rgba(56, 189, 248, 0.15) 45%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  padding: 7px 16px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 26px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.15);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 54px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.22;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  word-break: keep-all;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 45%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 17px;
  color: #cbd5e1;
  max-width: 800px;
  margin: 0 auto 38px;
  line-height: 1.72;
  letter-spacing: -0.015em;
  word-break: keep-all;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 8px 25px -4px rgba(37, 99, 235, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(37, 99, 235, 0.75);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 30px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(56, 189, 248, 0.6);
  color: #38bdf8;
  transform: translateY(-2px);
}

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.metric-pill {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  backdrop-filter: blur(12px);
}

.metric-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 12px 30px -5px rgba(56, 189, 248, 0.15);
}

.pill-number {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: -0.02em;
}

.pill-text {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: -0.01em;
}

/* Section Shared */
.section-header {
  margin-bottom: 36px;
}

.section-header.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-sub);
  max-width: 680px;
  line-height: 1.6;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* 2. Catalog Section */
.catalog-section {
  padding: 64px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.catalog-container {
  max-width: 1280px;
  margin: 0 auto;
}

.catalog-controls {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.filter-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-sub);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.filter-tab:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-main);
}

.filter-tab.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.search-box {
  position: relative;
  min-width: 280px;
  flex: 0 1 320px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 9px 34px 9px 38px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.catalog-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Solutions Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 28px;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -8px rgba(37, 99, 235, 0.12), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  border-color: #93c5fd;
}

/* Card Preview Media (UI Screenshot Mockup) */
.card-preview-media {
  position: relative;
  width: 100%;
  height: 220px;
  background: #0f172a;
  overflow: hidden;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  cursor: pointer;
  border-bottom: 1px solid var(--border-light);
}

.card-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.card-preview-media:hover .card-preview-img {
  transform: scale(1.05);
  filter: brightness(0.92);
}

.card-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px 14px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card-preview-media:hover .card-preview-overlay {
  opacity: 1;
}

.preview-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.preview-zoom-btn svg {
  stroke: #38bdf8;
}

.card-inner-top {
  padding: 24px 24px 0;
}

.card-badges-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.cat-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  background: var(--bg-subtle);
  color: var(--text-sub);
  border: 1px solid var(--border-light);
}

.status-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.card-main-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 2px;
}

.card-en-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.card-tagline {
  background: #f8fafc;
  border-left: 3px solid var(--primary);
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 14px;
  line-height: 1.45;
}

/* Value Proposition Box */
.card-value-prop-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.value-prop-header {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #15803d;
  letter-spacing: 0.03em;
}

.value-prop-text {
  font-size: 13px;
  font-weight: 700;
  color: #14532d;
  line-height: 1.45;
}

.card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-sub);
  margin-bottom: 18px;
}

/* Benefits Box */
.card-benefits-box {
  background: #fafbfd;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 18px;
}

.benefits-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.benefits-list li {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.benefits-list li::before {
  content: "✓";
  color: var(--accent-emerald);
  font-weight: 800;
  font-size: 12px;
}

/* Tags */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

/* Card Actions */
.card-actions-row {
  margin-top: auto;
  padding: 16px 24px;
  background: #fafbfd;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.btn-card-inquire {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-card-inquire:hover {
  background: var(--bg-subtle);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-card-visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: var(--bg-dark);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.btn-card-visit:hover {
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

/* Empty search state */
.catalog-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  background: var(--bg-subtle);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-lg);
}

.empty-state-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.empty-state-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.btn-reset-filter {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* 3. Strengths Section */
.strengths-section {
  padding: 80px 24px;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.strengths-container {
  max-width: 1280px;
  margin: 0 auto;
}

.metrics-display-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.display-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.display-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-cyan {
  background: #e0f2fe;
  color: #0284c7;
}

.icon-blue {
  background: #eff6ff;
  color: #2563eb;
}

.icon-purple {
  background: #f3e8ff;
  color: #7c3aed;
}

.icon-emerald {
  background: #ecfdf5;
  color: #059669;
}

.metric-lead {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.metric-head {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.metric-body {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
}

.pillars-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.pillar-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}

.pillar-number {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.pillar-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.pillar-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
  word-break: keep-all;
}

/* 4. Contact Section */
.contact-section {
  padding: 80px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-info-panel {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-header h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.panel-header p {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.roadmap-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.step-content strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 2px;
}

.step-content p {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
}

.contact-direct-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.direct-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.direct-label {
  color: #94a3b8;
}

.direct-val {
  color: #ffffff;
  font-weight: 600;
  font-family: var(--font-mono);
}

.contact-form-panel {
  padding: 40px 36px;
}

.consultation-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.req {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13px;
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-agree {
  padding: 8px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-sub);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--primary);
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary);
  color: #ffffff;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-submit:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-feedback {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.form-feedback.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-feedback.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* 5. Footer */
.site-footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 60px 24px 32px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.logo-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #3b82f6;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
}

.brand-text {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.brand-text span {
  color: #60a5fa;
}

.brand-mission {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 380px;
}

.footer-meta-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.footer-col-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.footer-links-list,
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.footer-links-list a {
  color: #94a3b8;
  transition: var(--transition-fast);
}

.footer-links-list a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

.footer-contact-list li {
  color: #94a3b8;
}

.footer-contact-list strong {
  color: #f1f5f9;
}

.footer-bottom-row {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #64748b;
}

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

.footer-legal-links a:hover {
  color: #cbd5e1;
}

/* Responsive Queries */
@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-top-row {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-section {
    padding: 48px 16px 40px;
  }
  .catalog-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .search-box {
    width: 100%;
    flex: auto;
  }
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .metrics-display-grid {
    grid-template-columns: 1fr;
  }
  .pillars-row {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-top-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .top-announcement {
    font-size: 11px;
    padding: 6px 12px;
  }
  .nav-container {
    height: 60px;
    padding: 0 16px;
  }
  .brand-title {
    font-size: 16px;
  }
  .brand-subtitle {
    display: none;
  }
  .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
  }
  .hero-section {
    padding: 36px 16px 32px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-description {
    font-size: 14px;
    margin-bottom: 28px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
  }
  .hero-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .metric-pill {
    padding: 12px 10px;
  }
  .pill-number {
    font-size: 20px;
  }
  .pill-text {
    font-size: 11px;
  }
  .card-actions-row {
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
  }
  .btn-card-inquire,
  .btn-card-visit {
    width: 100%;
    justify-content: center;
  }
  .contact-info-panel,
  .contact-form-panel {
    padding: 24px 16px;
  }
}

/* =========================================================================
   Image Modal Lightbox
   ========================================================================= */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.image-modal.active {
  opacity: 1;
  visibility: visible;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.image-modal-content {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 1100px;
  max-height: 90vh;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.image-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 56px;
}

.image-modal-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
}

.image-modal-visit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #38bdf8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.image-modal-visit:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.image-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
}

.image-modal-close:hover {
  background: rgba(239, 68, 68, 0.85);
  transform: scale(1.05);
}

.image-modal-body {
  flex: 1;
  overflow: auto;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.image-modal-img {
  max-width: 100%;
  max-height: calc(85vh - 70px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
