/* =========================================================================
   RADHABRIJ INNOVATIONS — PREMIUM ERP PRODUCT SHOWCASE & PHONE HARDWARE
   Unified Midnight Blue Design System · Photorealistic Titanium Chassis
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Geist:wght@100..900&family=Manrope:wght@200..800&display=swap');

:root {
  /* Brand Midnight Color Palette matching Homepage */
  --bg-midnight: #080E20;
  --bg-deep-navy: #0E172E;
  --bg-card: rgba(14, 23, 46, 0.72);
  --bg-card-hover: rgba(22, 35, 68, 0.85);
  
  --border-subtle: rgba(145, 185, 245, 0.12);
  --border-card: rgba(145, 185, 245, 0.18);
  --border-card-hover: rgba(167, 203, 255, 0.38);
  
  --accent-royal: #345EC4;
  --accent-atmospheric: #527BCF;
  --accent-glacier: #A7CBFF;
  --accent-cyan: #8CDFFF;
  --accent-glow: rgba(52, 94, 196, 0.35);

  --text-primary: #F4F7FF;
  --text-secondary: #B1BED8;
  --text-muted: #8E9BAE;

  /* Typography */
  --font-main: "Manrope", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-code: "Geist", monospace;

  /* Black Titanium Smartphone Material Variables */
  --titanium-dark: #101114;
  --titanium-graphite: #18191D;
  --titanium-mid: #292B30;
  --titanium-highlight: #777B84;
  --titanium-specular: #BFC5D0;
  --display-bezel: #08090B;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background-color: var(--bg-midnight);
  color: var(--text-primary);
  font-family: var(--font-main);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-midnight);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

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

/* Background Atmosphere & Ambient Lighting */
.page-ambient-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  pointer-events: none;
}

.ambient-orb-1 {
  top: -10%;
  right: 15%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(52, 94, 196, 0.32) 0%, rgba(14, 23, 46, 0.05) 70%, transparent 100%);
}

.ambient-orb-2 {
  top: 40%;
  left: -8%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(82, 123, 207, 0.22) 0%, rgba(14, 23, 46, 0.02) 70%, transparent 100%);
}

.ambient-orb-3 {
  bottom: 10%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(52, 94, 196, 0.25) 0%, rgba(14, 23, 46, 0.05) 70%, transparent 100%);
}

/* =========================================================================
   FLOATING GLASS PILL NAVIGATION (.site-navigation)
   ========================================================================= */

.site-navigation {
  --nav-top: max(22px, env(safe-area-inset-top));
  position: fixed;
  inset: var(--nav-top) 0 auto;
  margin-inline: auto;
  width: min(92%, 1320px);
  z-index: 100;
  font-family: var(--font-main);
}

.site-navigation .header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 70px;
  padding: 0 clamp(14px, 2vw, 28px);
  background: #11192b;
  background-image: linear-gradient(110deg, rgba(132, 164, 240, 0.16), transparent 44%, rgba(8, 12, 24, 0.28));
  border: 1px solid rgba(145, 185, 245, 0.19);
  border-radius: 21px;
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  box-shadow: inset 0 1px 0 rgba(220, 230, 255, 0.05), 0 7px 22px rgba(0, 0, 0, 0.25);
  transition: background-color 0.24s, backdrop-filter 0.24s;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-navigation .header {
    background-color: rgba(12, 19, 37, 0.65);
  }
}

.site-navigation .header::before {
  content: "";
  position: absolute;
  inset: 0 6% auto;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(213, 231, 255, 0.4) 24%, rgba(154, 183, 246, 0.12) 65%, transparent);
}

.site-navigation .logo-btn {
  justify-self: start;
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  color: #f8fafc;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}

.site-navigation .logo-img {
  width: 44px;
  height: auto;
  filter: drop-shadow(0 0 4px rgba(181, 217, 255, 0.55));
}

.site-navigation .logo-btn small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: #a4b0c9;
  font-weight: 500;
  letter-spacing: 0.09em;
}

.site-navigation .nav-pill {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 3px;
}

.site-navigation :is(.nav-link, .mobile-nav-link) {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 clamp(9px, 1.2vw, 18px);
  border-radius: 10px;
  white-space: nowrap;
  color: #aebbd4;
  font-size: 14.5px;
  font-weight: 500;
  transition: background-color 0.18s, color 0.18s;
}

.site-navigation :is(.nav-link, .mobile-nav-link):hover {
  background: rgba(145, 185, 245, 0.09);
  color: #f8fafc;
}

.site-navigation :is(.nav-link, .mobile-nav-link).active {
  background: rgba(82, 109, 222, 0.18);
  color: #f8fafc;
}

.site-navigation :is(.nav-link, .mobile-nav-link)::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 6px;
  border-radius: 50%;
  background: transparent;
}

.site-navigation .active::before {
  background: #b5d9ff;
}

.site-navigation :is(.sign-in-btn, .mobile-sign-in) {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  justify-self: end;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(110deg, #b5d9ff, #9fbafa 57%, #899def);
  color: #101b38;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), 0 4px 16px rgba(77, 107, 184, 0.2);
  font-size: 14px;
  font-weight: 600;
}

.site-navigation :is(.sign-in-btn, .mobile-sign-in)::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.28), transparent 75%);
  transform: translateX(-110%);
  transition: transform 0.24s ease;
}

.site-navigation :is(.sign-in-btn, .mobile-sign-in):hover::before {
  transform: translateX(110%);
}

.site-navigation :is(.sign-in-btn, .mobile-sign-in) span {
  transition: transform 0.2s;
}

.site-navigation :is(.sign-in-btn, .mobile-sign-in):hover span {
  transform: translate(2px, -2px);
}

.site-navigation .mobile-burger,
.site-navigation .mobile-menu-overlay[hidden] {
  display: none;
}

@media (max-width: 840px) {
  .site-navigation {
    width: calc(100% - 24px);
    --nav-top: max(10px, env(safe-area-inset-top));
  }
  .site-navigation .header {
    height: 56px;
    display: flex;
    justify-content: space-between;
    padding: 0 7px 0 16px;
    border-radius: 20px;
  }
  .site-navigation .nav-pill,
  .site-navigation .sign-in-btn {
    display: none;
  }
  .site-navigation .mobile-burger {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
  }
  .site-navigation .burger-bar {
    width: 18px;
    height: 2px;
    background: #c6d2e6;
    transition: transform 0.18s, opacity 0.18s;
  }
  .mobile-burger[aria-expanded=true] .burger-bar:first-child {
    transform: translateY(6px) rotate(45deg);
  }
  .mobile-burger[aria-expanded=true] .burger-bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-burger[aria-expanded=true] .burger-bar:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }
  .site-navigation .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 9, 0.65);
    z-index: 99;
  }
  .site-navigation .mobile-menu-sheet {
    position: absolute;
    inset: calc(var(--nav-top) + 62px) 12px auto;
    max-height: calc(100dvh - var(--nav-top) - 74px);
    overflow: auto;
    background: rgba(12, 18, 35, 0.98);
    border: 1px solid rgba(145, 185, 245, 0.2);
    border-radius: 20px;
    padding: 12px;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  }
  .site-navigation .mobile-nav-link {
    min-height: 44px;
    padding-inline: 14px;
  }
  .site-navigation .mobile-sign-in {
    display: flex;
    width: 100%;
    margin-top: 10px;
    height: 44px;
  }
}

/* =========================================================================
   TWO-COLUMN HERO SECTION (.crm-hero)
   ========================================================================= */

.crm-hero {
  position: relative;
  z-index: 10;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(120px, 14vh, 150px) 24px 80px;
  display: grid;
  grid-template-columns: minmax(420px, 1.15fr) minmax(380px, 460px);
  align-items: flex-start;
  gap: clamp(36px, 5vw, 64px);
}

/* Ambient Radial Glow Behind Device */
.crm-hero::after {
  content: "";
  position: absolute;
  top: 45%;
  right: 5%;
  transform: translateY(-50%);
  width: 580px;
  height: 680px;
  background: radial-gradient(circle, rgba(52, 94, 196, 0.24) 0%, rgba(140, 223, 255, 0.06) 45%, transparent 72%);
  pointer-events: none;
  z-index: 1;
  filter: blur(60px);
}

.crm-hero-content {
  position: relative;
  z-index: 5;
  padding-top: clamp(16px, 3vh, 36px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(52, 94, 196, 0.15);
  border: 1px solid rgba(140, 223, 255, 0.24);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: 0 0 16px rgba(52, 94, 196, 0.16);
  max-width: 100%;
  text-align: center;
  line-height: 1.4;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38ef7d;
  box-shadow: 0 0 8px #38ef7d;
}

.crm-hero h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 20px;
  color: var(--text-primary);
}

.crm-hero h1 .gradient-line {
  display: block;
  background: linear-gradient(135deg, #FFFFFF 20%, #C1DDF3 55%, var(--accent-glacier) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 20px rgba(52, 94, 196, 0.3));
}

.hero-lead {
  font-size: clamp(15.5px, 1.4vw, 17.5px);
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 30px;
  max-width: 520px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, #345EC4 0%, #204194 100%);
  color: #FFFFFF;
  font-weight: 650;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid rgba(167, 203, 255, 0.35);
  box-shadow: 0 4px 22px rgba(52, 94, 196, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(52, 94, 196, 0.65), 0 0 0 1px rgba(167, 203, 255, 0.6);
  color: #FFFFFF;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--border-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.22s ease;
}

.btn-secondary:hover {
  background: rgba(145, 185, 245, 0.12);
  border-color: rgba(167, 203, 255, 0.4);
  color: #FFFFFF;
}

.hero-value-statement {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-glacier);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-value-statement::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--accent-royal);
  border-radius: 2px;
}

/* Feature Pill Strip */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 23, 46, 0.7);
  border: 1px solid var(--border-card);
  padding: 7px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}

.hero-pill-item svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* =========================================================================
   PHONE SHOWCASE CONTAINER & TOOLBAR (#device)
   ========================================================================= */

#device {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 380px;
  margin-bottom: 16px;
  padding: 7px 15px;
  background: rgba(14, 23, 46, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.live-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00E676;
  box-shadow: 0 0 10px #00E676;
  animation: pulseLive 2s infinite ease-in-out;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.toolbar-actions {
  display: flex;
  gap: 6px;
}

.toolbar-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.toolbar-btn:hover {
  background: rgba(52, 94, 196, 0.25);
  border-color: var(--accent-glacier);
  color: #FFFFFF;
}

/* =========================================================================
   PHOTOREALISTIC BLACK TITANIUM SMARTPHONE HARDWARE (.crm-device-*)
   PRESERVED HARDWARE INTEGRITY: Micro-Bezel, Titanium Band, Dynamic Island
   ========================================================================= */

.crm-device-scene {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px 0 24px;
}

/* Layer 1: Machined Black Titanium Chassis */
.crm-device-chassis {
  position: relative;
  width: 380px;
  height: 796px;
  flex: 0 0 380px;
  max-width: 100%;
  border-radius: 54px;
  box-sizing: border-box;
  background: linear-gradient(
    140deg,
    #5e626b 0%,
    #2d3036 8%,
    #181a1e 24%,
    #0e0f12 50%,
    #1c1d22 76%,
    #4b4e56 92%,
    #18191c 100%
  );
  box-shadow:
    0 0 0 1px #090a0d,
    0 0 0 1.5px rgba(255, 255, 255, 0.08),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.45),
    inset 1px 0 1.5px rgba(255, 255, 255, 0.15),
    inset -1px -1px 2px rgba(0, 0, 0, 0.8),
    0 20px 50px -8px rgba(0, 0, 0, 0.75),
    0 10px 24px -4px rgba(0, 0, 0, 0.5),
    0 8px 30px rgba(52, 94, 196, 0.2);
  z-index: 2;
}

/* Discrete Physical Hardware Side Buttons */
.crm-hardware-action,
.crm-hardware-volume-up,
.crm-hardware-volume-down,
.crm-hardware-power {
  position: absolute;
  background: linear-gradient(to bottom, #5a5d65 0%, #292a2e 40%, #111215 100%);
  pointer-events: none;
  z-index: 1;
}

.crm-hardware-action {
  left: -3px;
  top: 112px;
  width: 3px;
  height: 26px;
  border-radius: 2px 0 0 2px;
  box-shadow: -1px 0 2px rgba(0, 0, 0, 0.7);
}

.crm-hardware-volume-up {
  left: -3px;
  top: 156px;
  width: 3px;
  height: 48px;
  border-radius: 2px 0 0 2px;
  box-shadow: -1px 0 2px rgba(0, 0, 0, 0.7);
}

.crm-hardware-volume-down {
  left: -3px;
  top: 216px;
  width: 3px;
  height: 48px;
  border-radius: 2px 0 0 2px;
  box-shadow: -1px 0 2px rgba(0, 0, 0, 0.7);
}

.crm-hardware-power {
  right: -3px;
  top: 172px;
  width: 3px;
  height: 68px;
  border-radius: 0 2px 2px 0;
  box-shadow: 1px 0 2px rgba(0, 0, 0, 0.7);
}

/* Layer 2: Recessed Deep Black Display Bezel (Micro-Bezel) */
.crm-device-bezel {
  position: absolute;
  inset: 2.5px;
  border-radius: 51.5px;
  background: #060709;
  box-sizing: border-box;
}

/* Layer 3: Edge-to-Edge Display Screen Container */
.crm-device-screen {
  position: absolute;
  inset: 2.5px;
  border-radius: 48px;
  overflow: hidden;
  background: #000000;
  isolation: isolate;
}

/* Authentic Centered Dynamic Island */
.crm-dynamic-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 116px;
  height: 31px;
  background: #000000;
  border-radius: 999px;
  z-index: 100;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  box-sizing: border-box;
  box-shadow:
    0 0 0 0.5px rgba(255, 255, 255, 0.08),
    0 3px 8px rgba(0, 0, 0, 0.85);
}

.island-sensor {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00E676;
  opacity: 0.65;
}

.island-camera {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #182844 0%, #06090e 75%);
  border: 0.5px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 3px rgba(68, 123, 209, 0.45);
}

/* Optical Front Glass Sheen */
.crm-screen-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 26%,
    transparent 44%
  );
  pointer-events: none;
  z-index: 40;
}

/* Layer 4: Full-Height Application Viewport */
.crm-phone-host {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 48px;
}

.crm-phone-host iframe,
#erp-iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  box-sizing: border-box;
}

/* Studio Grounding Contact Shadow */
.crm-device-shadow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  width: 290px;
  height: 18px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 1;
}

/* =========================================================================
   CAPABILITIES SECTION (.erp-capabilities) — 3x2 Glass Cards Grid
   ========================================================================= */

.crm-section {
  position: relative;
  z-index: 10;
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(52, 94, 196, 0.14);
  border: 1px solid rgba(140, 223, 255, 0.2);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.capability-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
  overflow: hidden;
}

.capability-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.capability-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(52, 94, 196, 0.2);
}

.capability-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(52, 94, 196, 0.25) 0%, rgba(14, 23, 46, 0.6) 100%);
  border: 1px solid rgba(167, 203, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent-glacier);
  box-shadow: 0 4px 14px rgba(52, 94, 196, 0.2);
}

.capability-icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.85;
}

.capability-meta {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.capability-card h3 {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--text-primary);
}

.capability-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* =========================================================================
   INTERACTIVE WORKFLOW EXPLORER (.erp-workflows)
   ========================================================================= */

.workflow-explorer {
  background: rgba(14, 23, 46, 0.5);
  border: 1px solid var(--border-card);
  border-radius: 32px;
  padding: clamp(28px, 4vw, 48px);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.workflow-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.workflow-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.24s ease;
  font-family: inherit;
}

.workflow-tab-btn:hover {
  background: rgba(145, 185, 245, 0.1);
  color: var(--text-primary);
  border-color: rgba(167, 203, 255, 0.3);
}

.workflow-tab-btn.active {
  background: linear-gradient(135deg, rgba(52, 94, 196, 0.35) 0%, rgba(82, 123, 207, 0.2) 100%);
  color: #FFFFFF;
  border-color: var(--accent-glacier);
  box-shadow: 0 0 20px rgba(52, 94, 196, 0.35);
}

.workflow-tab-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.workflow-panel {
  display: none;
  animation: fadeInPanel 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.workflow-panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.workflow-step-card {
  background: rgba(8, 14, 32, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.workflow-step-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: var(--accent-glacier);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.workflow-step-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.workflow-step-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.workflow-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 16px;
}

.workflow-action-bar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.workflow-action-bar-info svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.launch-workflow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #345EC4 0%, #224399 100%);
  color: #FFFFFF;
  font-weight: 650;
  font-size: 14px;
  border: 1px solid rgba(167, 203, 255, 0.4);
  box-shadow: 0 4px 18px rgba(52, 94, 196, 0.4);
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: inherit;
}

.launch-workflow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(52, 94, 196, 0.6);
  color: #FFFFFF;
}

/* =========================================================================
   FINAL CLOSING CTA SECTION (.erp-cta)
   ========================================================================= */

.crm-cta-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(14, 23, 46, 0.85) 0%, rgba(8, 14, 32, 0.95) 100%);
  border: 1px solid var(--border-card-hover);
  padding: clamp(48px, 6vw, 84px) clamp(24px, 5vw, 60px);
  text-align: center;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.crm-cta-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(52, 94, 196, 0.3) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}

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

.crm-cta-content h2 {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 18px;
  color: var(--text-primary);
}

.crm-cta-content p {
  font-size: clamp(15.5px, 1.4vw, 17.5px);
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 34px;
}

.crm-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* =========================================================================
   SITE FOOTER (.site-footer)
   ========================================================================= */

.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 9, 20, 0.85);
  padding: 56px 24px 40px;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

.footer-brand img {
  width: 36px;
  height: auto;
}

.footer-brand small {
  color: var(--text-muted);
  font-size: 11px;
  display: block;
  letter-spacing: 0.06em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

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

.footer-copy {
  max-width: 1320px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(145, 185, 245, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================================
   RESPONSIVE LAYOUT & MEDIA QUERIES
   ========================================================================= */

@media (max-width: 1120px) {
  .crm-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 110px;
    gap: 48px;
  }
  .crm-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
  }
  .hero-lead {
    margin-inline: auto;
  }
  .hero-cta-row {
    justify-content: center;
  }
  .hero-pills {
    justify-content: center;
  }
  .hero-value-statement {
    justify-content: center;
  }
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .crm-hero {
    padding-top: 96px;
    padding-bottom: 50px;
  }
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .workflow-steps-grid {
    grid-template-columns: 1fr;
  }
  .workflow-action-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .launch-workflow-btn {
    justify-content: center;
  }
  .toolbar {
    max-width: min(350px, 92vw);
  }
  .crm-device-chassis {
    width: min(350px, 92vw);
    height: 720px;
    flex: 0 0 min(350px, 92vw);
  }
  .crm-hardware-action,
  .crm-hardware-volume-up,
  .crm-hardware-volume-down,
  .crm-hardware-power {
    display: none;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-copy {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .crm-hero {
    padding-inline: 16px;
    padding-top: 90px;
  }
  .crm-hero h1 {
    font-size: clamp(30px, 8.5vw, 42px);
  }
  .hero-lead {
    font-size: 15px;
  }
  .toolbar {
    max-width: min(330px, 92vw);
    padding: 6px 12px;
  }
  .toolbar-btn {
    font-size: 10.5px;
    padding: 4px 10px;
  }
  .crm-device-chassis {
    width: min(330px, 92vw);
    height: 670px;
    flex: 0 0 min(330px, 92vw);
    border-radius: 46px;
  }
  .crm-device-bezel {
    border-radius: 43.5px;
  }
  .crm-device-screen,
  .crm-phone-host {
    border-radius: 40px;
  }
}


/* Phone Host Container inside Black Titanium Screen */
.crm-phone-host {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 48px;
  background: transparent;
}
