/* ==========================================================================
   Bytecore InfoTech — Official Design System & Stylesheet
   Domain: bytecore-infotech.com
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Outfit:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --------------------------------------------------------------------------
   Design Tokens & CSS Variables (Theme Switching)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Core Hues */
  --primary-hue: 221;
  --primary-sat: 83%;
  --primary-light: 53%;

  --accent-hue: 189;
  --accent-sat: 94%;
  --accent-light: 43%;

  /* Brand Colors */
  --primary: hsl(var(--primary-hue), var(--primary-sat), var(--primary-light)); /* #2563eb */
  --primary-hover: hsl(var(--primary-hue), var(--primary-sat), 45%);
  --primary-light-bg: hsla(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.1);
  --primary-gradient: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #06b6d4 100%);
  --brand-gradient-glow: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(6, 182, 212, 0.4));
  
  --accent: #06b6d4;
  --accent-teal: #0d9488;
  --accent-glow: rgba(6, 182, 212, 0.35);
  
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.12);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.12);
  --danger: #ef4444;

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 35px rgba(6, 182, 212, 0.25);
  --shadow-primary-glow: 0 10px 25px rgba(37, 99, 235, 0.35);

  /* Container */
  --max-width: 1240px;
  --header-height: 72px;
}

/* --------------------------------------------------------------------------
   Light Theme (Default / Forced Light)
   -------------------------------------------------------------------------- */
:root,
:root[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-glass: rgba(255, 255, 255, 0.92);
  --bg-subtle: #f1f5f9;
  --bg-alt: #f8fafc;
  --bg-badge: #e0f2fe;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-glow: rgba(6, 182, 212, 0.4);

  --card-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 0 1px rgba(15, 23, 42, 0.1);
  --card-hover-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.2);
  
  --hero-mesh: radial-gradient(at 10% 20%, rgba(37, 99, 235, 0.08) 0px, transparent 50%),
                radial-gradient(at 90% 10%, rgba(6, 182, 212, 0.12) 0px, transparent 50%),
                radial-gradient(at 50% 80%, rgba(59, 130, 246, 0.06) 0px, transparent 60%);
  
  --nav-backdrop: rgba(255, 255, 255, 0.94);
  --code-bg: #0f172a;
  --code-text: #e2e8f0;
}

/* --------------------------------------------------------------------------
   Dark Theme (Forced Dark or Auto Media Query)
   -------------------------------------------------------------------------- */
:root[data-theme="dark"] {
  --bg-body: #060911;
  --bg-surface: #0c1222;
  --bg-surface-elevated: #111a33;
  --bg-surface-glass: rgba(12, 18, 34, 0.92);
  --bg-subtle: #131c38;
  --bg-alt: #080d1a;
  --bg-badge: rgba(6, 182, 212, 0.15);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --text-inverse: #0f172a;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-glow: rgba(56, 189, 248, 0.4);

  --card-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.1);
  --card-hover-shadow: 0 20px 45px -10px rgba(6, 182, 212, 0.25), 0 0 0 1px rgba(56, 189, 248, 0.35);

  --hero-mesh: radial-gradient(at 10% 20%, rgba(37, 99, 235, 0.25) 0px, transparent 50%),
                radial-gradient(at 90% 10%, rgba(6, 182, 212, 0.22) 0px, transparent 50%),
                radial-gradient(at 50% 80%, rgba(99, 102, 241, 0.18) 0px, transparent 60%);

  --nav-backdrop: rgba(6, 9, 17, 0.94);
  --code-bg: #030712;
  --code-text: #38bdf8;
}

/* Auto Theme Media Query */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    --bg-body: #060911;
    --bg-surface: #0c1222;
    --bg-surface-elevated: #111a33;
    --bg-surface-glass: rgba(12, 18, 34, 0.92);
    --bg-subtle: #131c38;
    --bg-alt: #080d1a;
    --bg-badge: rgba(6, 182, 212, 0.15);

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --text-inverse: #0f172a;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.15);
    --border-glow: rgba(56, 189, 248, 0.4);

    --card-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.1);
    --card-hover-shadow: 0 20px 45px -10px rgba(6, 182, 212, 0.25), 0 0 0 1px rgba(56, 189, 248, 0.35);

    --hero-mesh: radial-gradient(at 10% 20%, rgba(37, 99, 235, 0.25) 0px, transparent 50%),
                  radial-gradient(at 90% 10%, rgba(6, 182, 212, 0.22) 0px, transparent 50%),
                  radial-gradient(at 50% 80%, rgba(99, 102, 241, 0.18) 0px, transparent 60%);

    --nav-backdrop: rgba(6, 9, 17, 0.94);
    --code-bg: #030712;
    --code-text: #38bdf8;
  }
}

/* --------------------------------------------------------------------------
   Base & Reset — Strict Zero Overflow
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.22;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.68;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  max-width: 100%;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* --------------------------------------------------------------------------
   Layout Containers & Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.section {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  position: relative;
  width: 100%;
  overflow: hidden;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-header {
  max-width: 780px;
  margin: 0 auto var(--space-2xl) auto;
  text-align: center;
  width: 100%;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--bg-badge);
  color: var(--accent);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  max-width: 100%;
  line-height: 1.3;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw + 0.8rem, 2.75rem);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: clamp(0.95rem, 1.5vw + 0.5rem, 1.15rem);
  color: var(--text-muted);
}

.highlight-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-backdrop);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.navbar-wrapper.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35);
  border: 1.5px solid rgba(6, 182, 212, 0.3);
  flex-shrink: 0;
}

.brand-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

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

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Theme Switcher */
.theme-switch-container {
  position: relative;
}

.theme-switch-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.42rem 0.75rem;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all var(--transition-fast);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  min-height: 38px;
}

.theme-switch-btn:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-medium);
}

.theme-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  display: none;
  min-width: 150px;
  z-index: 1010;
}

.theme-menu.show {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.theme-opt-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  transition: all var(--transition-fast);
  width: 100%;
}

.theme-opt-btn:hover, .theme-opt-btn.active {
  background: var(--primary-light-bg);
  color: var(--primary);
  font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 8px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -110%;
  width: 290px;
  max-width: 82%;
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  transition: right var(--transition-smooth);
  overflow-y: auto;
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.2rem;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.drawer-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius-sm);
}

.drawer-link.active, .drawer-link:hover {
  background: var(--primary-light-bg);
  color: var(--primary);
}

.drawer-theme-box {
  padding: 0.85rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-theme-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  letter-spacing: 0.05em;
}

.drawer-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.drawer-theme-grid .theme-opt-btn {
  justify-content: center;
  padding: 0.45rem;
  font-size: 0.78rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-align: center;
}

.drawer-bottom-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.75rem;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Subpage Hero Banner
   -------------------------------------------------------------------------- */
.page-hero-section {
  padding-top: calc(var(--header-height) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  background-image: var(--hero-mesh);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  width: 100%;
}

.page-hero-title {
  font-size: clamp(2.1rem, 4vw + 0.8rem, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-desc {
  font-size: clamp(1rem, 1.3vw + 0.5rem, 1.18rem);
  color: var(--text-secondary);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
}

.anchor-nav-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.anchor-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.anchor-chip:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Buttons — Strict Zero Overflow
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: normal;
  word-break: normal;
  text-align: center;
  line-height: 1.35;
  touch-action: manipulation;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-surface-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #06b6d4 0%, #0d9488 100%);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.45);
  color: #ffffff;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.85rem 1.65rem;
  font-size: 0.96rem;
  border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--header-height) + var(--space-2xl));
  padding-bottom: var(--space-3xl);
  position: relative;
  background-image: var(--hero-mesh);
  overflow: hidden;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--space-2xl);
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  background: var(--bg-badge);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.25rem;
  line-height: 1.35;
  max-width: 100%;
}

.hero-badge .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(1.95rem, 4vw + 0.8rem, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  width: 100%;
}

.hero-description {
  font-size: clamp(0.98rem, 1.2vw + 0.5rem, 1.12rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 620px;
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.metric-number span {
  color: var(--accent);
}

.metric-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Dashboard Preview Card */
.hero-visual {
  position: relative;
  perspective: 1000px;
  width: 100%;
  min-width: 0;
}

.hero-card-preview {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform var(--transition-smooth);
  width: 100%;
  box-sizing: border-box;
}

.hero-card-preview:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.preview-dots {
  display: flex;
  gap: 6px;
}

.preview-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.preview-dots span:nth-child(1) { background: #ef4444; }
.preview-dots span:nth-child(2) { background: #f59e0b; }
.preview-dots span:nth-child(3) { background: #10b981; }

.preview-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
  background: var(--bg-badge);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.preview-stat-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.stat-title {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: #10b981;
  background: var(--success-bg);
  padding: 0.12rem 0.35rem;
  border-radius: var(--radius-sm);
  margin-top: 0.25rem;
}

.preview-chart-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-bottom: 1.15rem;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 65px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, #06b6d4 0%, #2563eb 100%);
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
  position: relative;
}

.preview-live-activity {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  border: 1px solid var(--border-subtle);
}

.activity-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.activity-text {
  flex: 1;
  min-width: 0;
}

.activity-text strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  overflow-wrap: break-word;
}

.activity-text span {
  color: var(--text-muted);
  font-size: 0.7rem;
}

/* Floating Badges on Hero */
.floating-badge {
  position: absolute;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: var(--shadow-lg);
  z-index: 5;
}

.floating-badge.badge-top {
  top: -12px;
  right: 0;
}

.floating-badge.badge-bottom {
  bottom: -12px;
  left: 0;
}

.badge-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-light-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.badge-text-top {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
}

.badge-text-main {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Logo Cloud / Trusted Banner
   -------------------------------------------------------------------------- */
.trust-strip {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  width: 100%;
}

.trust-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.trust-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.trust-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.trust-pill i {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Cards Grid & Feature Cards
   -------------------------------------------------------------------------- */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.65rem;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--card-hover-shadow);
}

.feature-card:hover::before {
  opacity: 1;
}

.card-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  background: var(--primary-light-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.feature-card:hover .card-icon-box {
  transform: scale(1.06);
  background: var(--primary-gradient);
  color: #ffffff;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
  flex: 1;
}

.card-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.card-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.card-feature-list li i {
  color: #10b981;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
  padding-top: 0.5rem;
}

.card-link:hover {
  color: var(--accent);
  gap: 0.65rem;
}

/* --------------------------------------------------------------------------
   Solution Deep-Dive 2-Column Layout (Solutions & Industries pages)
   -------------------------------------------------------------------------- */
.solution-deep-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 2.25rem;
  align-items: center;
  width: 100%;
}

.solution-deep-grid.reverse {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.solution-deep-grid.reverse .solution-info-side {
  order: 2;
}

.solution-deep-grid.reverse .solution-mock-side {
  order: 1;
}

.solution-info-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.feature-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  width: 100%;
}

.spec-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  box-sizing: border-box;
}

.spec-card i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.spec-card strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.spec-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.solution-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.highlight-card {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-subtle) 100%);
  border: 1.5px solid var(--border-glow);
  padding: 1.75rem;
}

.card-header-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.15rem;
}

.spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.spec-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.spec-list li i {
  color: #10b981;
  font-size: 1rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Call To Action (CTA) Card Banner
   -------------------------------------------------------------------------- */
.cta-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.5vw + 0.5rem, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.cta-desc {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  position: relative;
  width: 100%;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-domain-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  width: fit-content;
}

.footer-socials {
  display: flex;
  gap: 0.65rem;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  width: 100%;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-bottom-links a:hover {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --space-3xl: 3.75rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .solution-deep-grid, .solution-deep-grid.reverse {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .solution-deep-grid.reverse .solution-info-side {
    order: 1;
  }
  .solution-deep-grid.reverse .solution-mock-side {
    order: 2;
  }
  .hero-visual {
    perspective: none;
  }
  .hero-card-preview {
    transform: none !important;
  }
  .cards-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --space-2xl: 1.75rem;
    --space-3xl: 3rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
  }

  .nav-links, .nav-actions .btn-quote {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 1.25rem);
    padding-bottom: 2.25rem;
  }

  .page-hero-section {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .metric-number {
    font-size: 1.35rem;
  }

  .floating-badge {
    display: none;
  }

  .cards-grid-3, .cards-grid-2 {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .feature-spec-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .cta-card {
    padding: 2.25rem 1.25rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: center;
  }

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

  .brand-name {
    font-size: 1.12rem;
  }

  .brand-logo-img {
    width: 34px;
    height: 34px;
  }

  .theme-label-desktop {
    display: none;
  }

  .theme-switch-btn {
    padding: 0.42rem 0.55rem;
  }

  .trust-badges {
    justify-content: center;
  }

  .trust-title {
    text-align: center;
    width: 100%;
  }

  .trust-pill {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
}
