/* ==========================================================================
   Albosmart Corporate Website — UiPath High Contrast & Clean Layout System
   ========================================================================== */

:root {
  --color-black: #070B12;
  --color-dark: #0F172A;
  --color-dark-lighter: #1E293B;
  --color-red: #E61F12;
  --color-red-dark: #C4190F;
  --color-red-light: #FF5252;
  --color-white: #FFFFFF;
  --color-gray-50: #F8FAFC;
  --color-gray-100: #F1F5F9;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-gray-500: #64748B;
  --color-gray-600: #1E293B; /* Crisp dark text for body */

  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: #1E293B;
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--color-red);
  color: var(--color-white);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #94A3B8;
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-red);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #0F172A;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1, .h1 { font-size: clamp(38px, 4.5vw, 58px); font-weight: 800; }
h2, .h2 { font-size: clamp(30px, 3.5vw, 44px); font-weight: 700; }
h3, .h3 { font-size: clamp(22px, 2.5vw, 26px); font-weight: 600; }
h4, .h4 { font-size: clamp(18px, 2vw, 20px); font-weight: 600; }

p {
  margin-bottom: 1.25rem;
}

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

a:hover {
  color: var(--color-red-dark);
}

.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.text-light { color: var(--color-gray-300); }

/* ==========================================================================
   Layout & Utility
   ========================================================================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  opacity: 1 !important;
  visibility: visible !important;
}

.section-dark {
  background-color: var(--color-dark);
  color: var(--color-gray-300);
}

.section-dark h2, 
.section-dark h3 {
  color: var(--color-white);
}

.section-light {
  background-color: #F8FAFC;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.align-center {
  align-items: center;
}

/* Precision Dash & Typography for Section Over-Titles (No Rounded Pill Box) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #E61F12 !important;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.badge::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}

.text-center .badge {
  justify-content: center;
}

.text-center .badge::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}

.badge-blue {
  color: #38BDF8 !important;
}

.badge-red {
  color: #FF453A !important;
}

.section-lead {
  font-size: 1.2rem;
  color: #475569;
  max-width: 680px;
  margin: 0.75rem auto 0;
  line-height: 1.65;
  font-weight: 400;
}

.section-header {
  margin-bottom: 3.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  font-family: var(--font-body);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, #E61F12 0%, #C4190F 100%);
  color: var(--color-white) !important;
  box-shadow: 0 4px 18px rgba(230, 31, 18, 0.35);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FF3B2F 0%, #E61F12 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 31, 18, 0.55);
  color: var(--color-white) !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white) !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: var(--color-white) !important;
}

/* ==========================================================================
   Header (Navbar - WHITE HEADER WITH DARK TEXT)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 0.6rem 0;
}

.header.scrolled {
  padding: 0.4rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: #FFFFFF;
}

.header.scrolled .logo img {
  height: 46px !important;
  max-height: 46px !important;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 54px !important;
  max-height: 54px !important;
  width: auto !important;
  display: block;
  object-fit: contain;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.nav-link {
  color: #0F172A;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
  text-decoration: none;
}

.nav-link:hover {
  color: #E61F12;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-red);
  transition: var(--transition);
}

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

/* Nav Dropdown Styling (White Card) */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
}

.dropdown-chevron {
  transition: transform 0.2s ease;
  stroke: #0F172A;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.active .dropdown-chevron {
  transform: rotate(180deg);
  stroke: #E61F12;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15), 0 0 20px rgba(0, 0, 0, 0.05);
  min-width: 270px;
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1100;
}

/* Invisible hover bridge to prevent menu closing when moving cursor down */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown.active .nav-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1.1rem;
  border-radius: 8px;
  color: #0F172A;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: #F8FAFC;
  color: #E61F12;
  transform: translateX(4px);
}

.dropdown-item-title {
  font-size: 0.92rem;
  font-weight: 600;
}

.dropdown-item-icon {
  color: #E61F12;
  display: flex;
  align-items: center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 50px;
  padding: 0.25rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.lang-btn {
  color: #64748B;
  text-decoration: none;
  padding: 0.15rem 0.45rem;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: #E61F12;
}

.lang-btn.active {
  background: #E61F12;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(230, 31, 18, 0.3);
}

.lang-divider {
  color: #CBD5E1;
  font-size: 0.75rem;
  font-weight: 400;
}

/* Mobile Language Switcher */
.mobile-lang-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #E2E8F0;
}

.mobile-lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #334155;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.mobile-lang-btn.active {
  background: rgba(230, 31, 18, 0.1);
  border-color: #E61F12;
  color: #E61F12;
}

.mobile-lang-btn .lang-flag {
  font-size: 0.72rem;
  background: #E2E8F0;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: #475569;
}

.mobile-lang-btn.active .lang-flag {
  background: #E61F12;
  color: #FFFFFF;
}

.hamburger {
  display: none;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  cursor: pointer;
  padding: 6px;
  z-index: 1005;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.hamburger:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: #0F172A;
  margin: 2.5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Backdrop Overlay */
.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 19, 36, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1003;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile Menu Drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(88vw, 340px);
  height: 100vh;
  background: #FFFFFF;
  padding: 1.25rem 1.25rem 2rem;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  z-index: 1004;
  border-left: 1px solid #E2E8F0;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #E2E8F0;
}

.mobile-menu-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.mobile-menu-close {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #0F172A;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-close:hover {
  background: #E61F12;
  color: #FFFFFF;
  border-color: #E61F12;
}

/* Mobile Lang Switcher inside Drawer */
.mobile-lang-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #F1F5F9;
}

.mobile-lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.5rem;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #334155;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.mobile-lang-btn.active {
  background: rgba(230, 31, 18, 0.08);
  border-color: #E61F12;
  color: #E61F12;
}

.mobile-lang-btn .lang-flag {
  font-size: 0.7rem;
  background: #E2E8F0;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: #475569;
}

.mobile-lang-btn.active .lang-flag {
  background: #E61F12;
  color: #FFFFFF;
}

/* Mobile Nav Links Stack */
.mobile-nav-stack {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover {
  background: #F8FAFC;
  color: #E61F12;
}

.mobile-nav-accordion {
  margin: 0.25rem 0;
}

.mobile-accordion-title {
  padding: 0.6rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94A3B8;
}

.mobile-sublinks-container {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 0.5rem;
}

.mobile-sublink-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-sublink-item:hover {
  background: rgba(230, 31, 18, 0.06);
  border-color: rgba(230, 31, 18, 0.2);
  color: #E61F12;
}

.sublink-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E61F12;
  flex-shrink: 0;
}

.mobile-menu-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #E2E8F0;
}

.mobile-cta-btn {
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   Hero Section (Clean Spacing below White Header)
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 145px;
  padding-bottom: 0;
  color: var(--color-white);
  background: #090D16;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.7) contrast(1.2);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 30%, rgba(14, 165, 233, 0.18) 0%, transparent 65%),
              linear-gradient(180deg, rgba(9, 13, 22, 0.88) 0%, rgba(9, 13, 22, 0.96) 80%, #090D16 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #FF453A !important;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  user-select: none;
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: #FF453A;
  flex-shrink: 0;
}

.hero-badge-text {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.hero-title {
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #FF5252 0%, #E61F12 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  color: #CBD5E1;
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 560px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.laptop-mockup {
  position: relative;
  background: #1E293B;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.5s ease;
}

.laptop-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #0F172A;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.laptop-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.laptop-url {
  margin-left: auto;
  font-size: 0.75rem;
  color: #64748B;
  background: #1E293B;
  padding: 2px 10px;
  border-radius: 4px;
}

.laptop-screen {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  overflow: hidden;
  background: #000;
}

.laptop-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.float-animation {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0% { transform: translateY(0px) rotateY(-5deg); }
  50% { transform: translateY(-15px) rotateY(0deg); }
  100% { transform: translateY(0px) rotateY(-5deg); }
}

.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 3.5rem;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2.2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.stat-number {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  font-family: var(--font-heading);
  color: #FFFFFF;
  line-height: 1;
}

.stat-plus {
  font-size: 2rem;
  color: #E61F12;
  font-weight: 800;
  margin-left: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

/* ==========================================================================
   Showcase Gallery & Tabs
   ========================================================================== */
/* Showcase Box & Modern Mac Window Header Bar */
.showcase-box {
  background: #090D16;
  border-radius: 18px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-top: 3rem;
}

.showcase-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  background: #0F172A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.control-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control-dot.dot-red { background: #EF4444; }
.control-dot.dot-yellow { background: #F59E0B; }
.control-dot.dot-green { background: #10B981; }

.window-url-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 1.1rem;
  border-radius: 20px;
  font-size: 0.82rem;
  color: #94A3B8;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.window-status-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #CBD5E1;
  letter-spacing: 0.05em;
}

/* Showcase Nav Arrows & Carousel Elements */
.carousel-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: #070B12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.carousel-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #CBD5E1;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E61F12;
  box-shadow: 0 0 10px #E61F12;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.btn-play-pause {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-play-pause:hover {
  background: #E61F12;
  border-color: #E61F12;
}

.carousel-dots-wrapper {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-dot.active {
  width: 28px;
  border-radius: 10px;
  background: #E61F12;
  box-shadow: 0 0 10px rgba(230, 31, 18, 0.6);
}

.showcase-display {
  position: relative;
  height: 560px;
  min-height: 560px;
  background: #0F172A;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  box-sizing: border-box;
}

.tab-content {
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-content.active {
  display: flex !important;
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
  animation: modernSlideZoom 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modernSlideZoom {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

.showcase-img {
  max-width: 100% !important;
  max-height: 420px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto;
}

.showcase-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.showcase-nav-arrow:hover {
  background: #E61F12;
  border-color: #E61F12;
  transform: translateY(-50%) scale(1.1);
}

.arrow-left { left: 1.5rem; }
.arrow-right { right: 1.5rem; }

.image-caption {
  margin-top: 1rem;
  color: #94A3B8;
  font-size: 0.95rem;
  font-weight: 500;
}

.showcase-thumbnails {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #070B12;
  overflow-x: auto;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.gallery-thumb {
  flex: 0 0 110px;
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.25s ease;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
}

.gallery-thumb img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.gallery-thumb span {
  display: block;
  font-size: 0.72rem;
  color: #CBD5E1;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-thumb:hover {
  opacity: 0.85;
}

.gallery-thumb.active {
  opacity: 1;
  border-color: #E61F12;
}

.gallery-thumb.active span {
  color: #FF5252;
  font-weight: 700;
}

/* CloudEnergy Node Light Section Hardware Card Styling */
.node-hardware-card-light {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.node-hardware-card-light:hover {
  transform: translateY(-5px);
  border-color: #E61F12;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
}

.hardware-badge-light {
  display: inline-block;
  background: rgba(230, 31, 18, 0.08);
  color: #E61F12;
  border: 1px solid rgba(230, 31, 18, 0.25);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.95rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.node-hardware-dual-img {
  max-width: 95%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  filter: drop-shadow(0 15px 30px rgba(15, 23, 42, 0.12));
  transition: transform 0.35s ease;
}

.node-hardware-card-light:hover .node-hardware-dual-img {
  transform: scale(1.03);
}

.spec-pill-light {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #0F172A;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 12px;
}

/* CloudEnergy Node Hardware Card Styling */
.node-hardware-card {
  background: linear-gradient(145deg, #0F172A 0%, #090D16 100%);
  border: 1px solid rgba(230, 31, 18, 0.35);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(230, 31, 18, 0.15);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.node-hardware-card:hover {
  transform: translateY(-5px);
  border-color: #E61F12;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 45px rgba(230, 31, 18, 0.3);
}

.hardware-badge {
  display: inline-block;
  background: rgba(230, 31, 18, 0.15);
  color: #FF4D4D;
  border: 1px solid rgba(230, 31, 18, 0.3);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.node-hardware-img {
  max-width: 90%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.75));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.node-hardware-card:hover .node-hardware-img {
  transform: scale(1.05);
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.9));
}

.hardware-specs-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.spec-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 12px;
}

/* Accessibility & SEO Hidden Class */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* CloudEnergy Monitoring Header Flex (Logo Left, Text Right) */
.monitoring-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.monitoring-logo-col {
  flex: 0 0 auto;
}

.ce-product-title-logo-left {
  height: 48px;
  max-width: 280px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.08));
}

.monitoring-text-col {
  flex: 1;
  text-align: left;
}

.monitoring-section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.section-lead-right {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.6;
  margin: 0;
  font-weight: 450;
}

@media (max-width: 768px) {
  .monitoring-header-flex {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .monitoring-text-col {
    text-align: center;
  }
  .ce-product-title-logo-left {
    margin: 0 auto;
  }
}

/* CloudEnergy Official Product Logos — HIGH-RES TRIMMING METRICS */
.ce-product-title-logo-left,
.ce-product-title-logo,
.ce-product-title-logo-dark {
  height: 58px;
  max-height: 58px;
  max-width: 320px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.75rem;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .ce-product-title-logo-left,
  .ce-product-title-logo,
  .ce-product-title-logo-dark {
    height: 44px;
    max-height: 44px;
    max-width: 240px;
  }
}

.feature-cards-grid {
  margin-top: 3rem;
}

.feature-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  border: 1px solid #CBD5E1;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(230, 31, 18, 0.5);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(230, 31, 18, 0.1);
  color: #E61F12;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: #0F172A;
  font-weight: 700;
}

.feature-card p {
  color: #334155 !important; /* CRISP DARK TEXT */
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
  font-weight: 450;
}

/* Benefits Grid — HIGH CONTRAST & VERTICAL ALIGNMENT */
.benefits-grid {
  margin-top: 3rem;
}

.benefit-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 2.25rem 2rem;
  border: 1px solid #CBD5E1;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
  border-color: #E61F12;
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.12);
  color: #0EA5E9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.benefit-card h3 {
  font-size: 1.25rem;
  color: #0F172A;
  margin-bottom: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
}

.benefit-card p {
  color: #334155 !important; /* CRISP DARK TEXT */
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
  font-weight: 450;
}

/* Rich Text Dark List */
.rich-text-dark {
  color: #CBD5E1;
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  color: #E2E8F0;
  font-size: 1rem;
}

.feature-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.product-frame-dark {
  background: #0F172A;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.product-frame-dark img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.section-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 5rem 0;
}

/* SMSEagle Card */
.smseagle-card {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border-radius: 20px;
  padding: 3rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.smseagle-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(230, 31, 18, 0.2);
  color: #FF5252;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.smseagle-specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.spec-tag {
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 0.82rem;
  color: #E2E8F0;
}

/* Service Cards — HIGH CONTRAST TEXT */
.service-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  border: 1px solid #CBD5E1;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border-color: #E61F12;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(230, 31, 18, 0.1);
  color: #E61F12;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.2rem;
  color: #0F172A;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.service-card p {
  color: #334155 !important; /* CRISP DARK TEXT */
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 450;
}

/* Project Cards — HIGH CONTRAST TEXT */
.project-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 2.25rem 2rem;
  border: 1px solid #CBD5E1;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border-color: #0EA5E9;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0EA5E9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.project-card h3 {
  font-size: 1.3rem;
  color: #0F172A;
  margin-bottom: 1rem;
  font-weight: 700;
}

.project-card p {
  color: #334155 !important; /* CRISP DARK TEXT */
  font-size: 0.96rem;
  line-height: 1.65;
  font-weight: 450;
}

.project-tech {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #E2E8F0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748B;
}

/* Job Cards */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 3rem auto 0;
}

.job-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  border: 1px solid #CBD5E1;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: all 0.3s ease;
}

.job-card:hover {
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
  border-color: #E61F12;
}

.job-info h3 {
  font-size: 1.3rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.job-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: #475569;
  font-weight: 500;
}

/* Contact Section & Form */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: #CBD5E1;
  font-size: 1rem;
}

.contact-info-icon {
  font-size: 1.5rem;
}

.contact-form-card {
  background: #0F172A;
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #E61F12;
  box-shadow: 0 0 0 3px rgba(230, 31, 18, 0.25);
}

.form-control::placeholder {
  color: #64748B;
}

/* Footer (FIXED LOGO SIZE & WRAPPER) */
.footer {
  background-color: #070B12;
  color: #94A3B8;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo-wrapper {
  background: #FFFFFF;
  padding: 8px 18px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.footer-logo-img,
.footer img {
  height: 48px !important;
  max-height: 48px !important;
  max-width: 250px !important;
  width: auto !important;
  object-fit: contain;
  display: block;
}

.footer-desc {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 340px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-contact-info {
  list-style: none;
  padding: 0;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  color: #94A3B8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  font-size: 0.88rem;
  color: #64748B;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer-bottom-links a {
  color: #64748B;
  font-size: 0.88rem;
}

.footer-bottom-links a:hover {
  color: #94A3B8;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 11, 18, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-card {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
  position: relative;
  color: #FFFFFF;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 1.75rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #FFFFFF;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

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

@media (max-width: 640px) {
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .btn {
    width: 100%;
  }

  .job-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 60px 0;
  }
}

/* Floating GDPR Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 920px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  z-index: 99999;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
}

.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #E2E8F0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cookie-text p {
  margin: 0;
}

.cookie-text a {
  color: #FF4D4D;
  text-decoration: underline;
  font-weight: 600;
}

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

.btn-sm {
  padding: 0.55rem 1.2rem !important;
  font-size: 0.85rem !important;
  border-radius: 8px !important;
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 1rem;
    width: calc(100% - 1.5rem);
    padding: 1rem;
  }
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .cookie-text {
    flex-direction: column;
    text-align: center;
  }
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}

/* Projects Page & Portfolio Styling */
.filter-btn {
  border: none;
  background: transparent;
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748B;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  color: #0F172A;
  background: rgba(241, 245, 249, 0.8);
}

.filter-btn.active {
  background: #E61F12;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(230, 31, 18, 0.3);
}

.project-card-full {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-full:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border-color: #CBD5E1;
}

.project-img-box {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #0F172A;
}

.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card-full:hover .project-card-img {
  transform: scale(1.06);
}

.project-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}

.badge-blue { background: rgba(14, 165, 233, 0.9); color: #FFFFFF; }
.badge-purple { background: rgba(139, 92, 246, 0.9); color: #FFFFFF; }
.badge-cyan { background: rgba(6, 182, 212, 0.9); color: #FFFFFF; }
.badge-orange { background: rgba(249, 115, 22, 0.9); color: #FFFFFF; }
.badge-green { background: rgba(16, 185, 129, 0.9); color: #FFFFFF; }

.project-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.project-card-desc {
  font-size: 0.925rem;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #F1F5F9;
}

.tech-tag {
  background: #F1F5F9;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
}

/* Homepage Project Card Image Box */
.project-img-box-home {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.project-img-home {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-img-home {
  transform: scale(1.05);
}

/* ================================================================
   Alternating Connected Stream Flow (Avantaje Section)
   ================================================================ */
.avantaje-stream-section {
  position: relative;
  background-color: #FAFCFF !important;
  overflow: hidden;
  padding: 6rem 0;
}

.stream-flow-container {
  position: relative;
  max-width: 1080px;
  margin: 4rem auto 0;
}

/* Central glowing vertical timeline spine */
.stream-spine {
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.4) 0%, #E2E8F0 15%, #E61F12 50%, #E2E8F0 85%, rgba(226, 232, 240, 0.4) 100%);
  border-radius: 99px;
  z-index: 1;
}

.stream-spine-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 120px;
  background: linear-gradient(180deg, transparent, #E61F12, transparent);
  border-radius: 99px;
  filter: blur(2px);
  animation: spinePulse 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes spinePulse {
  0% { top: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 90%; opacity: 0; }
}

/* Row Layout */
.stream-node-row {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  position: relative;
  margin-bottom: 3.5rem;
  z-index: 2;
}

.stream-node-row:last-child {
  margin-bottom: 0;
}

.stream-content-col {
  position: relative;
}

.left-row .stream-content-col {
  text-align: right;
  padding-right: 1.5rem;
}

.right-row .stream-content-col {
  text-align: left;
  padding-left: 1.5rem;
}

.stream-empty-col {
  visibility: hidden;
}

/* Pin Node */
.stream-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto;
}

.pin-ring {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transition: all 0.35s ease;
}

.pin-dot {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #E61F12;
  box-shadow: 0 0 12px rgba(230, 31, 18, 0.6);
  transition: all 0.35s ease;
  z-index: 2;
}

.stream-node-row:hover .pin-ring {
  border-color: #E61F12;
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(230, 31, 18, 0.25);
}

.stream-node-row:hover .pin-dot {
  transform: scale(1.2);
  background: #FF2B1E;
}

/* Glass Stream Card */
.stream-card-glass {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E8EEF5;
  border-radius: 20px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.stream-node-row:hover .stream-card-glass {
  transform: translateY(-5px);
  border-color: #CBD5E1;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.09);
}

/* Card Header with Graphic Icon */
.stream-card-header-flex {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.75rem;
}

.left-row .stream-card-header-flex {
  flex-direction: row-reverse;
}

.right-row .stream-card-header-flex {
  flex-direction: row;
}

.stream-graphic-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(230, 31, 18, 0.08);
  border: 1px solid rgba(230, 31, 18, 0.2);
  color: #E61F12;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(230, 31, 18, 0.1);
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.stream-node-row:hover .stream-graphic-icon {
  background: rgba(230, 31, 18, 0.16);
  border-color: rgba(230, 31, 18, 0.4);
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(230, 31, 18, 0.2);
}

/* Card Content Typography */
.stream-tag {
  position: relative;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #E61F12;
  margin-bottom: 0.5rem;
  z-index: 1;
}

.stream-title {
  position: relative;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  z-index: 1;
}

.stream-desc {
  position: relative;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  z-index: 1;
}

/* Stream Pills */
.stream-pills {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  z-index: 1;
}

.left-row .stream-pills {
  justify-content: flex-end;
}

.right-row .stream-pills {
  justify-content: flex-start;
}

.stream-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  background: #F1F5F9;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  transition: all 0.25s ease;
}

.highlight-pill {
  color: #B91C1C;
  background: #FEE2E2;
  border-color: #FECACA;
  font-weight: 700;
}

.stream-node-row:hover .stream-pill {
  border-color: #CBD5E1;
}

/* Responsive (Mobile & Tablet) */
@media (max-width: 900px) {
  .stream-spine {
    left: 28px;
    transform: none;
  }

  .stream-node-row {
    grid-template-columns: 56px 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }

  .left-row, .right-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .left-row .stream-content-col,
  .right-row .stream-content-col {
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  .left-row .stream-pills,
  .right-row .stream-pills {
    justify-content: flex-start;
  }

  .stream-pin {
    margin: 0.5rem 0 0 0;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
  }

  .pin-ring {
    width: 36px;
    height: 36px;
  }

  .stream-empty-col {
    display: none;
  }

  .stream-card-glass {
    padding: 1.75rem 1.5rem;
  }

  .left-row .stream-card-header-flex,
  .right-row .stream-card-header-flex {
    flex-direction: row;
  }
}

/* ================================================================
   Interactive Horizontal Matrix Accordion (Servicii Section - Optimized & Compact)
   ================================================================ */
.servicii-matrix-section {
  position: relative;
  background-color: #FFFFFF !important;
  padding: 5rem 0;
  overflow: hidden;
}

.services-matrix-accordion {
  display: flex;
  gap: 1rem;
  width: 100%;
  height: 400px;
  margin-top: 2.5rem;
  align-items: stretch;
}

/* Base Panel */
.service-matrix-panel {
  position: relative;
  flex: 1;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.service-matrix-panel:hover {
  border-color: #CBD5E1;
  background: #F1F5F9;
}

/* Active Expansive State */
.service-matrix-panel.active {
  flex: 3.5;
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  cursor: default;
}

/* Collapsed View */
.panel-collapsed-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 2;
}

.service-matrix-panel.active .panel-collapsed-view {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.panel-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(230, 31, 18, 0.06);
  border: 1px solid rgba(230, 31, 18, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E61F12;
  box-shadow: 0 4px 12px rgba(230, 31, 18, 0.08);
  transition: all 0.3s ease;
}

.service-matrix-panel:hover .panel-icon-wrap {
  background: rgba(230, 31, 18, 0.12);
  transform: scale(1.05);
}

.panel-collapsed-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.4px;
  white-space: nowrap;
  margin: 0.5rem 0;
}

.panel-expand-hint {
  color: #94A3B8;
  transition: all 0.3s ease;
}

.service-matrix-panel:hover .panel-expand-hint {
  color: #E61F12;
  transform: translateY(-2px);
}

/* Expanded View */
.panel-expanded-view {
  padding: 2.25rem 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease 0.1s, visibility 0.35s ease 0.1s;
  z-index: 3;
}

.service-matrix-panel.active .panel-expanded-view {
  opacity: 1;
  visibility: visible;
}

.panel-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.panel-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: transparent !important;
  color: #E61F12 !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 !important;
  box-shadow: none !important;
}

.panel-badge-pill::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: #E61F12;
  flex-shrink: 0;
}

.panel-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E61F12;
}

.panel-expanded-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.panel-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

/* Features Grid */
.panel-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.25rem;
  margin-bottom: 1.25rem;
}

.panel-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1E293B;
}

.panel-feature-item svg {
  flex-shrink: 0;
}

/* Bottom Row */
.panel-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #F1F5F9;
  margin-top: auto;
}

.panel-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-pill {
  font-size: 0.74rem;
  font-weight: 600;
  color: #475569;
  background: #F1F5F9;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
}

.panel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #E61F12;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, color 0.2s ease;
}

.panel-btn:hover {
  transform: translateX(4px);
  color: #B91C1C;
}

/* Responsive (< 992px) */
@media (max-width: 992px) {
  .services-matrix-accordion {
    flex-direction: column;
    height: auto;
    gap: 0.75rem;
  }

  .service-matrix-panel {
    flex: none;
    width: 100%;
    height: auto;
  }

  .service-matrix-panel.active {
    flex: none;
  }

  .panel-collapsed-view {
    position: relative;
    padding: 1.1rem 1.25rem;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
  }

  .panel-collapsed-title {
    writing-mode: horizontal-tb;
    transform: none;
    margin: 0;
    font-size: 1rem;
  }

  .panel-expand-hint {
    margin-left: auto;
  }

  .service-matrix-panel.active .panel-collapsed-view {
    display: none;
  }

  .panel-expanded-view {
    padding: 1.75rem 1.25rem;
    opacity: 1;
    visibility: visible;
  }

  .panel-features-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .panel-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .service-matrix-panel:not(.active) .panel-expanded-view {
    display: none;
  }
}

/* ================================================================
   Blurred Backdrop Demo / Consultanță Modal Pop-up
   ================================================================ */
.modal-backdrop-blur {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(11, 19, 36, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop-blur.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-card-dark {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0B1324;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop-blur.active .modal-card-dark {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(230, 31, 18, 0.2);
  color: #FFFFFF;
  border-color: rgba(230, 31, 18, 0.4);
  transform: scale(1.05);
}

.modal-header {
  margin-bottom: 1.75rem;
}

.modal-title {
  font-family: 'Sora', var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.modal-form {
  display: flex;
  flex-direction: column;
}

.form-group-modal {
  margin-bottom: 1.25rem;
}

.form-group-modal label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 0.5rem;
}

.modal-input,
.modal-textarea {
  width: 100%;
  background: #162036;
  border: 1px solid #243354;
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.modal-input::placeholder,
.modal-textarea::placeholder {
  color: #64748B;
}

.modal-input:focus,
.modal-textarea:focus {
  border-color: #E61F12;
  background: #18243C;
  box-shadow: 0 0 0 3px rgba(230, 31, 18, 0.22);
}

.modal-textarea {
  resize: vertical;
  min-height: 100px;
}

.modal-submit-btn {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  background: #E61F12;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(230, 31, 18, 0.35);
  transition: all 0.25s ease;
  margin-top: 0.5rem;
}

.modal-submit-btn:hover {
  background: #FF281B;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(230, 31, 18, 0.5);
}

.modal-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.modal-response {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-align: center;
}

.modal-response.success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.modal-response.error {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

@media (max-width: 600px) {
  .modal-card-dark {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }
  
  .modal-title {
    font-size: 1.45rem;
  }
}

/* ================================================================
   Career Application Modal & Custom File Upload Widget
   ================================================================ */
.modal-career-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: transparent !important;
  color: #E61F12 !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 !important;
  box-shadow: none !important;
}

.modal-career-tag::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: #E61F12;
  flex-shrink: 0;
}

.career-modal-desc {
  font-size: 0.88rem;
  color: #94A3B8;
  margin-top: 0.4rem;
  line-height: 1.45;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 540px) {
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* File Upload Zone */
.file-upload-zone {
  position: relative;
  background: #162036;
  border: 2px dashed #2E4166;
  border-radius: 14px;
  padding: 1.25rem 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.file-upload-zone:hover {
  border-color: #E61F12;
  background: #18253E;
}

.file-upload-zone.has-file {
  border-color: #22C55E;
  background: rgba(34, 197, 94, 0.06);
}

.file-input-hidden {
  display: none;
}

.file-upload-content {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.file-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(230, 31, 18, 0.1);
  border: 1px solid rgba(230, 31, 18, 0.2);
  color: #E61F12;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.file-upload-zone.has-file .file-icon-box {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22C55E;
}

.file-text-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.file-main-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.file-sub-text {
  font-size: 0.75rem;
  color: #64748B;
  margin-top: 2px;
}

.file-upload-zone.has-file .file-sub-text {
  color: #4ADE80;
}

/* Checkbox Modal */
.form-checkbox-modal {
  margin: 0.75rem 0 1.25rem;
}

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.8rem !important;
  color: #94A3B8 !important;
  line-height: 1.45;
  font-weight: 400 !important;
}

.modal-checkbox {
  margin-top: 2px;
  accent-color: #E61F12;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Optimization Engine
   ========================================================================== */

/* Hamburger Button Animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Tablet & Smaller Screens (<= 992px) */
@media (max-width: 992px) {
  .container {
    padding: 0 1.5rem;
  }
  .section {
    padding: 70px 0;
  }
  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
  }
  .nav-links {
    display: none !important;
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
  }
  .lang-switcher {
    display: inline-flex !important;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.76rem;
    flex-shrink: 0;
  }
  .hamburger {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 6px;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    cursor: pointer;
    z-index: 1005;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }
  .hamburger:hover,
  .hamburger.active {
    background: rgba(230, 31, 18, 0.08);
    border-color: #E61F12;
  }
  .hero {
    padding-top: 135px !important;
    padding-bottom: 0 !important;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 2rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .laptop-mockup {
    max-width: 580px;
    margin: 0 auto;
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 1.15rem;
  }

  .section {
    padding: 50px 0;
  }

  /* Header on Mobile */
  .header {
    padding: 0.5rem 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  }
  .header-container {
    gap: 0.4rem;
  }
  .header .logo img {
    height: 32px !important;
    max-height: 32px !important;
    max-width: 125px;
    width: auto !important;
  }
  .nav-actions {
    gap: 0.4rem;
  }
  .lang-switcher {
    padding: 0.2rem 0.4rem;
    font-size: 0.72rem;
    gap: 0.15rem;
  }
  .lang-btn {
    padding: 0.1rem 0.35rem;
    font-size: 0.72rem;
  }
  .hamburger {
    width: 38px;
    height: 38px;
    padding: 5px;
  }
  .hamburger span {
    width: 20px;
    margin: 2px 0;
  }

  /* Mobile Drawer */
  .mobile-menu {
    width: min(88vw, 340px);
    padding: 1.25rem 1.25rem 2rem;
  }

  /* Hero Section */
  .hero {
    padding-top: 130px !important;
    padding-bottom: 0 !important;
  }
  .hero-badge {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.9rem;
  }
  .hero-title {
    font-size: clamp(26px, 7.5vw, 38px);
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  .hero-subtitle {
    font-size: 0.96rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }
  .hero-stats {
    margin-top: 2.5rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem 0;
  }
  .stat-number {
    font-size: 2rem;
  }
  .stat-label {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  /* Feature Cards */
  .feature-cards-grid {
    margin-top: 2rem;
    gap: 1.25rem;
  }
  .feature-card {
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
  }
  .feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
  }
  .feature-card p {
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .feature-icon-wrapper {
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
  }

  /* Platform Showcase Carousel */
  .showcase-box {
    margin-top: 1.75rem;
    border-radius: 14px;
  }
  .showcase-header-bar {
    padding: 0.55rem 0.85rem;
  }
  .window-url-badge {
    font-size: 0.72rem;
    padding: 0.2rem 0.65rem;
  }
  .window-status-tag {
    font-size: 0.65rem;
  }
  .showcase-display {
    height: auto;
    min-height: 280px;
    padding: 1rem 0.6rem;
  }
  .showcase-img {
    max-height: 220px !important;
    border-radius: 8px;
  }
  .showcase-nav-arrow {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
  .arrow-left { left: 0.35rem; }
  .arrow-right { right: 0.35rem; }
  .image-caption {
    font-size: 0.78rem;
    line-height: 1.4;
    padding: 0 0.5rem;
    margin-top: 0.6rem;
  }
  .showcase-thumbnails {
    padding: 0.6rem 0.75rem;
    gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .gallery-thumb {
    flex: 0 0 76px;
  }
  .gallery-thumb img {
    height: 42px;
  }
  .gallery-thumb span {
    font-size: 0.62rem;
  }

  /* Product Sections */
  .product-frame-dark {
    padding: 0.5rem;
    border-radius: 14px;
  }
  .node-hardware-card-light {
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }
  .spec-pill-light {
    font-size: 0.7rem;
    padding: 0.25rem 0.55rem;
  }

  /* Proiecte */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .project-img-box-home {
    height: 190px;
  }
  .filter-buttons {
    padding: 0.3rem;
    gap: 0.3rem;
  }
  .filter-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
  }
  .projects-cta-box {
    padding: 2rem 1.25rem;
    border-radius: 18px;
    margin-top: 2.5rem;
  }
  .projects-cta-box h2 {
    font-size: 1.35rem;
  }
  .projects-cta-box p {
    font-size: 0.92rem;
  }

  /* Cariere */
  .job-card {
    padding: 1.25rem 1rem;
    border-radius: 14px;
    gap: 1rem;
  }
  .job-info h3 {
    font-size: 1.1rem;
  }
  .job-meta {
    flex-wrap: wrap;
    gap: 0.4rem 0.85rem;
    font-size: 0.8rem;
  }
  .job-card .apply-btn {
    width: 100%;
    justify-content: center;
  }

  /* Contact Form */
  .contact-form-card {
    padding: 1.5rem 1.15rem;
    border-radius: 18px;
  }
  .form-control,
  .modal-input,
  .modal-textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
  }
}

/* Extra Small Screens (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .hero-title {
    font-size: clamp(24px, 7.8vw, 32px);
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .stat-number {
    font-size: 1.75rem;
  }
  .stat-plus {
    font-size: 1.2rem;
  }
  .stream-node-row {
    grid-template-columns: 30px 1fr;
    gap: 0.5rem;
  }
  .stream-spine {
    left: 15px;
  }
  .stream-pin {
    width: 30px;
    height: 30px;
  }
  .pin-ring {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }
  .stream-card-glass {
    padding: 1.1rem 0.9rem;
  }
  .modal-card-dark {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }
  .modal-close-btn {
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
  }
}
