/* ==========================================================================
   LIBRA-TECH SYSTEMY ZABEZPIECZEŃ - DESIGN SYSTEM & STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Color Palette - Security Dark High-Tech */
  --bg-darkest: #060911;
  --bg-primary: #090e1a;
  --bg-secondary: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(22, 34, 61, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.6);
  
  /* Accents */
  --cyan-accent: #00f2fe;
  --cyan-glow: rgba(0, 242, 254, 0.35);
  --cyan-subtle: rgba(0, 242, 254, 0.08);
  --blue-primary: #2563eb;
  --blue-bright: #38bdf8;
  --blue-glow: rgba(56, 189, 248, 0.25);
  --emerald-status: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.4);
  --amber-warning: #f59e0b;
  --red-alert: #ef4444;

  /* Typography */
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-highlight: #38bdf8;

  /* Borders & Gradients */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-card: rgba(56, 189, 248, 0.15);
  --border-glow: rgba(0, 242, 254, 0.4);
  --gradient-tech: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-blue: linear-gradient(135deg, #1e3a8a 0%, #0284c7 100%);
  --gradient-dark: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(9, 14, 26, 1) 100%);
  --gradient-card: linear-gradient(145deg, rgba(26, 38, 66, 0.6) 0%, rgba(13, 20, 36, 0.75) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.7);
  --shadow-cyan: 0 0 30px rgba(0, 242, 254, 0.18);
  --shadow-blue: 0 0 35px rgba(37, 99, 235, 0.22);

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-darkest);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(37, 99, 235, 0.05) 0%, transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  outline: none;
  border: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Common */
.section {
  padding: 6.5rem 0;
  position: relative;
  z-index: 2;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-accent);
  margin-bottom: 1rem;
}

.section-tag i, .section-tag svg {
  width: 14px;
  height: 14px;
}

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

.section-title {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.section-title span.text-gradient {
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.075rem;
  font-weight: 400;
  line-height: 1.7;
}

/* ==========================================================================
   TOPBAR & HEADER
   ========================================================================== */

.topbar {
  background: rgba(6, 9, 17, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  padding: 0.45rem 0;
  position: relative;
  z-index: 60;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.topbar-item a:hover {
  color: var(--cyan-accent);
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.65rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--emerald-status);
  white-space: nowrap;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--emerald-status);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--emerald-glow);
  animation: pulse-emerald 2s infinite;
}

@keyframes pulse-emerald {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Main Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(9, 14, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
  z-index: 50;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(6, 9, 17, 0.97);
  box-shadow: var(--shadow-lg);
  border-bottom: 1px solid rgba(0, 242, 254, 0.25);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  gap: 1.25rem;
  flex-wrap: nowrap;
  transition: height 0.3s ease;
}

.navbar.scrolled .nav-container {
  height: 80px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-img-wrap {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 14px rgba(0, 242, 254, 0.5)) drop-shadow(0 0 6px rgba(14, 165, 233, 0.35));
  flex-shrink: 0;
}

.navbar.scrolled .logo-img-wrap {
  width: 68px;
  height: 68px;
}

.brand-logo:hover .logo-img-wrap {
  transform: scale(1.06);
  filter: drop-shadow(0 0 22px rgba(0, 242, 254, 0.85)) drop-shadow(0 0 12px rgba(14, 165, 233, 0.6));
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-icon-wrap {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(37, 99, 235, 0.25));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-accent);
  box-shadow: var(--shadow-cyan);
  position: relative;
  overflow: hidden;
}

.logo-icon-wrap::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
  transition: font-size 0.3s ease;
}

.navbar.scrolled .brand-name {
  font-size: 1.35rem;
}

.brand-name span {
  color: #ef4444;
}

.brand-tagline {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cyan-accent);
  opacity: 0.9;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

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

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   BUTTONS & UI COMPONENTS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--gradient-tech);
  color: #060911;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
  font-weight: 800;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.65);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glow);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--cyan-accent);
  color: var(--cyan-accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2.25rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-emergency {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.btn-emergency:hover {
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.7);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 5.5rem 0 6.5rem 0;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -10%;
  right: 5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(37, 99, 235, 0.06) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.hero-bg-glow-left {
  position: absolute;
  bottom: 0%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 60%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

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

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 1rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-glow);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan-accent);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

/* Key Stats in Hero */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

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

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Hero Visual & Security HUD Card */
.hero-visual-container {
  position: relative;
}

.hero-main-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-cyan);
  backdrop-filter: blur(16px);
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  cursor: crosshair;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s ease;
  user-select: none;
  pointer-events: none;
}

.hero-main-card:hover .hero-image-wrapper img {
  transform: scale(1.04);
}

/* Canvas for simulated motion on monitors */
.monitor-sim-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}

/* CRT Scanline & Laser Sweep Overlay */
.cctv-scanline-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.25) 50%
  ), linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.03),
    rgba(0, 255, 0, 0.01),
    rgba(0, 0, 255, 0.03)
  );
  background-size: 100% 3px, 6px 100%;
  opacity: 0.65;
}

.cctv-scanline-fx::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 0;
  right: 0;
  height: 20%;
  background: linear-gradient(180deg, transparent, rgba(0, 242, 254, 0.18), transparent);
  animation: cctv-beam-sweep 6s linear infinite;
}

@keyframes cctv-beam-sweep {
  0% {
    top: -20%;
  }
  100% {
    top: 120%;
  }
}

/* HUD Overlay on Image */
.hud-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 17, 0.3) 0%, rgba(9, 14, 26, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  pointer-events: none;
  z-index: 4;
}

.hud-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 9, 17, 0.82);
  border: 1px solid rgba(0, 242, 254, 0.35);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cyan-accent);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.15);
}

/* Mode Selector in HUD */
.hud-mode-selector {
  display: inline-flex;
  align-items: center;
  background: rgba(6, 9, 17, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 2px;
  gap: 2px;
  backdrop-filter: blur(8px);
  pointer-events: auto;
}

.hud-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.675rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hud-mode-pill:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.hud-mode-pill.active {
  background: rgba(0, 242, 254, 0.15);
  color: #fff;
  border: 1px solid rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
}

.mode-icon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.ai-dot { background: var(--cyan-accent); box-shadow: 0 0 6px var(--cyan-accent); }
.radar-dot { background: #3b82f6; box-shadow: 0 0 6px #3b82f6; }
.thermal-dot { background: #f97316; box-shadow: 0 0 6px #f97316; }

.hud-rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #ff6b6b;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.hud-rec-dot {
  width: 7px;
  height: 7px;
  background-color: #ef4444;
  border-radius: 50%;
  animation: pulse-red 1.2s infinite;
}

@keyframes pulse-red {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.hud-interactive-hint {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(6, 9, 17, 0.65);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  color: rgba(226, 232, 240, 0.75);
  letter-spacing: 0.03em;
  opacity: 0.85;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.hint-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan-accent);
  animation: pulse-red 1.5s infinite;
}

.hud-bottom-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.hud-info-box {
  background: rgba(6, 9, 17, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.hud-info-title {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.hud-info-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 0.15rem;
}

/* Floating Badge Outside Main Card */
.floating-cert-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(13, 20, 36, 0.95);
  border: 1px solid var(--border-glow);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 242, 254, 0.2);
  backdrop-filter: blur(12px);
  z-index: 5;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.cert-icon {
  width: 42px;
  height: 42px;
  background: rgba(0, 242, 254, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-accent);
}

.cert-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

.cert-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   PARTNERS & BRANDS STRIP
   ========================================================================== */

.partners-section {
  padding: 3rem 0;
  background: rgba(11, 17, 30, 0.7);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 5;
  backdrop-filter: blur(10px);
}

.partners-title {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
}

.partner-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition-fast);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: default;
  user-select: none;
}

.partner-logo .brand-mini-logo {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.partner-logo span.brand-name {
  transition: color var(--transition-fast);
}

.partner-logo:hover {
  transform: translateY(-3px);
}

.partner-logo:hover .brand-mini-logo {
  transform: scale(1.08);
}

/* Specific Brand Color Accents & Glow */
.partner-logo.brand-satel:hover {
  border-color: rgba(227, 6, 19, 0.45);
  background: rgba(227, 6, 19, 0.08);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(227, 6, 19, 0.25);
}
.partner-logo.brand-satel:hover .brand-mini-logo {
  filter: drop-shadow(0 0 6px rgba(227, 6, 19, 0.6));
}

.partner-logo.brand-hikvision:hover {
  border-color: rgba(237, 28, 36, 0.45);
  background: rgba(237, 28, 36, 0.08);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(237, 28, 36, 0.25);
}
.partner-logo.brand-hikvision:hover .brand-mini-logo {
  filter: drop-shadow(0 0 6px rgba(237, 28, 36, 0.6));
}

.partner-logo.brand-dahua:hover {
  border-color: rgba(211, 18, 42, 0.45);
  background: rgba(211, 18, 42, 0.08);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(211, 18, 42, 0.25);
}
.partner-logo.brand-dahua:hover .brand-mini-logo {
  filter: drop-shadow(0 0 6px rgba(211, 18, 42, 0.6));
}

.partner-logo.brand-risco:hover {
  border-color: rgba(255, 85, 0, 0.45);
  background: rgba(255, 85, 0, 0.08);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 85, 0, 0.25);
}
.partner-logo.brand-risco:hover .brand-mini-logo {
  filter: drop-shadow(0 0 6px rgba(255, 85, 0, 0.6));
}

.partner-logo.brand-roger:hover {
  border-color: rgba(0, 153, 255, 0.45);
  background: rgba(0, 153, 255, 0.08);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 153, 255, 0.25);
}
.partner-logo.brand-roger:hover .brand-mini-logo {
  filter: drop-shadow(0 0 6px rgba(0, 153, 255, 0.6));
}

.partner-logo.brand-jablotron:hover {
  border-color: rgba(255, 184, 0, 0.45);
  background: rgba(255, 184, 0, 0.08);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 184, 0, 0.25);
}
.partner-logo.brand-jablotron:hover .brand-mini-logo {
  filter: drop-shadow(0 0 6px rgba(255, 184, 0, 0.6));
}


.partner-logo.brand-bcs:hover {
  border-color: rgba(227, 6, 19, 0.45);
  background: rgba(227, 6, 19, 0.08);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(227, 6, 19, 0.25);
}
.partner-logo.brand-bcs:hover .brand-mini-logo {
  filter: drop-shadow(0 0 6px rgba(227, 6, 19, 0.6));
}

.partner-logo.brand-vidos:hover {
  border-color: rgba(0, 168, 232, 0.45);
  background: rgba(0, 168, 232, 0.08);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 168, 232, 0.25);
}
.partner-logo.brand-vidos:hover .brand-mini-logo {
  filter: drop-shadow(0 0 6px rgba(0, 168, 232, 0.6));
}

/* Service Card Brand Tags Strip */
.service-brands-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-brands-label {
  font-size: 0.725rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-right: 0.25rem;
}

.mini-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.mini-brand-tag svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.mini-brand-tag:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   SERVICES GRID (OFERTA)
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-tech);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-lg), var(--shadow-cyan);
}

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

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.12), rgba(37, 99, 235, 0.2));
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-accent);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon-box {
  transform: scale(1.1);
}

.service-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.service-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-main);
}

.service-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-status);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--cyan-accent);
  margin-top: auto;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* Service Card Featured with Image */
.service-card.featured-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  padding: 0;
  background: var(--bg-card);
}

.featured-content {
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
}

.featured-img-wrap {
  position: relative;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
}

.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   SERVICE & MAINTENANCE DEDICATED SECTION STYLES
   ========================================================================== */

.service-maintenance-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(0, 242, 254, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
              linear-gradient(180deg, rgba(6, 9, 17, 0.95) 0%, rgba(11, 17, 30, 0.98) 100%);
  overflow: hidden;
}

/* 4 Kluczowe Filary Bezpieczeństwa */
.maintenance-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.m-pillar-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  backdrop-filter: blur(16px);
  position: relative;
}

.m-pillar-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-card);
  box-shadow: var(--shadow-lg), var(--shadow-cyan);
}

.m-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  margin-bottom: 1.25rem;
}

.m-pillar-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.m-pillar-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.m-pillar-desc strong {
  color: #ffffff;
}

/* Zakładki Czynności Konserwacyjnych (Procedury) */
.service-scope-wrapper {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(9, 14, 26, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  margin-bottom: 4rem;
}

.service-scope-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.5rem;
}

.service-scope-title-wrap .sub-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan-accent);
  margin-bottom: 0.35rem;
}

.service-scope-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
}

.service-tabs-nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.service-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.service-tab-btn:hover {
  background: rgba(0, 242, 254, 0.12);
  color: #ffffff;
  border-color: rgba(0, 242, 254, 0.3);
}

.service-tab-btn.active {
  background: var(--cyan-accent);
  color: #060911;
  font-weight: 700;
  border-color: var(--cyan-accent);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.35);
}

.service-tab-btn.active svg {
  stroke: #060911;
}

.service-tab-content {
  display: none;
  animation: fadeInTab 0.35s ease forwards;
}

.service-tab-content.active {
  display: block;
}

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

.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}

.tab-info-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.tab-info-col p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.tab-highlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--cyan-accent);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  background: rgba(6, 9, 17, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.checklist li:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(56, 189, 248, 0.25);
  transform: translateX(4px);
}

.checklist li svg {
  width: 18px;
  height: 18px;
  color: var(--cyan-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.checklist li strong {
  display: block;
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.checklist li span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Pakiety Umów Serwisowych SLA */
.sla-packages-section {
  margin-top: 4.5rem;
  margin-bottom: 4rem;
}

.sla-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.sla-card {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.85) 0%, rgba(9, 14, 26, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  backdrop-filter: blur(16px);
}

.sla-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-card);
  box-shadow: var(--shadow-lg), var(--shadow-blue);
}

.sla-card.featured {
  border-color: rgba(0, 242, 254, 0.45);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: scale(1.02);
}

.sla-card.featured:hover {
  transform: scale(1.02) translateY(-6px);
  box-shadow: 0 0 45px rgba(0, 242, 254, 0.25);
}

.sla-badge-popular {
  position: absolute;
  top: -13px;
  right: 24px;
  background: linear-gradient(135deg, #00f2fe, #2563eb);
  color: #060911;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.sla-card-header {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 1.5rem;
}

.sla-plan-type {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan-accent);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.4rem;
}

.sla-plan-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.sla-plan-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.sla-price-tag {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sla-price-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.sla-price-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sla-features {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.sla-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.sla-feat-item svg {
  width: 16px;
  height: 16px;
  color: var(--cyan-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.sla-feat-item strong {
  color: #ffffff;
}

.sla-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* Baner Pogotowia Awaryjnego 24/7 */
.emergency-service-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, rgba(20, 26, 42, 0.95) 0%, rgba(10, 14, 26, 0.98) 100%);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(239, 68, 68, 0.1);
  position: relative;
  overflow: hidden;
}

.emergency-service-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.emergency-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ff6b6b;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.emergency-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.emergency-text {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.emergency-stats-inline {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.e-stat {
  display: flex;
  flex-direction: column;
}

.e-stat strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  color: var(--cyan-accent);
}

.e-stat span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.emergency-actions {
  background: rgba(6, 9, 17, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.e-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.emergency-phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  width: 100%;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.35);
  transition: all var(--transition-fast);
}

.emergency-phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(239, 68, 68, 0.55);
  color: #ffffff;
}

/* Service & Maintenance Media Queries */
@media (max-width: 1100px) {
  .maintenance-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sla-cards-grid {
    grid-template-columns: 1fr;
  }
  .sla-card.featured {
    transform: none;
  }
  .sla-card.featured:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 900px) {
  .tab-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .emergency-service-banner {
    grid-template-columns: 1fr;
    padding: 1.75rem;
    gap: 1.75rem;
  }
}

@media (max-width: 640px) {
  .maintenance-pillars-grid {
    grid-template-columns: 1fr;
  }
  .service-scope-wrapper {
    padding: 1.5rem 1.25rem;
  }
  .service-tabs-nav {
    width: 100%;
  }
  .service-tab-btn {
    flex: 1 1 auto;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.5rem 0.85rem;
  }
  .emergency-stats-inline {
    gap: 1.25rem;
  }
}

/* ==========================================================================
   INTERACTIVE CALCULATOR / ESTIMATOR
   ========================================================================== */

.calculator-section {
  background: linear-gradient(180deg, rgba(6, 9, 17, 0.9) 0%, rgba(13, 20, 36, 0.95) 100%);
  position: relative;
  overflow: hidden;
}

.calc-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg), var(--shadow-cyan);
  backdrop-filter: blur(20px);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 3rem;
}

.calc-step {
  margin-bottom: 2.25rem;
}

.step-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-tech);
  color: #060911;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Option Chips */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 0.85rem;
}

.option-chip {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.option-chip svg {
  width: 24px;
  height: 24px;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

.option-chip span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.option-chip:hover {
  border-color: rgba(0, 242, 254, 0.5);
  background: rgba(0, 242, 254, 0.05);
}

.option-chip.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--cyan-accent);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.option-chip.active svg,
.option-chip.active span {
  color: var(--cyan-accent);
}

/* Module Checkboxes */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.module-checkbox {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.module-checkbox:hover {
  border-color: rgba(0, 242, 254, 0.4);
}

.module-checkbox.checked {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--cyan-accent);
}

.custom-chk {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.module-checkbox.checked .custom-chk {
  background: var(--cyan-accent);
  border-color: var(--cyan-accent);
  color: #060911;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.module-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Range Slider */
.slider-container {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.slider-val-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cyan-accent);
  background: rgba(0, 242, 254, 0.1);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-sm);
}

.custom-range {
  width: 100%;
  height: 6px;
  background: #1e293b;
  border-radius: 9999px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cyan-accent);
  cursor: pointer;
  box-shadow: 0 0 15px var(--cyan-accent);
}

/* Tier Selection */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.tier-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 1rem 0.85rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tier-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
}

.tier-card.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--cyan-accent);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.tier-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.tier-desc {
  font-size: 0.725rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Calculator Summary Box */
.calc-summary-box {
  background: linear-gradient(145deg, rgba(20, 30, 52, 0.9) 0%, rgba(11, 17, 30, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.summary-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.summary-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.summary-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.summary-row-label {
  color: var(--text-secondary);
}

.summary-row-val {
  font-weight: 600;
  color: var(--text-main);
}

.summary-price-box {
  background: rgba(6, 9, 17, 0.7);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.price-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--cyan-accent);
  line-height: 1.2;
  margin: 0.25rem 0;
}

.price-note {
  font-size: 0.725rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TRUST & CERTIFICATIONS (DLACZEGO MY)
   ========================================================================== */

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan-accent);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.15);
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem auto;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-accent);
}

.why-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.why-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   PORTFOLIO / CASE STUDIES
   ========================================================================== */

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  padding: 0.6rem 1.35rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: #ffffff;
  border-color: rgba(0, 242, 254, 0.4);
}

.filter-btn.active {
  background: var(--gradient-tech);
  color: #060911;
  font-weight: 800;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.35);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), var(--shadow-cyan);
}

.portfolio-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-img-wrap img {
  transform: scale(1.08);
}

.portfolio-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(6, 9, 17, 0.8);
  border: 1px solid var(--border-glow);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-accent);
  backdrop-filter: blur(8px);
}

.portfolio-content {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.portfolio-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.portfolio-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-highlight);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.spec-pill svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS
   ========================================================================== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  backdrop-filter: blur(10px);
  position: relative;
  transition: all var(--transition-normal);
}

.review-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
  transform: translateY(-4px);
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  color: #fbbf24;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #00f2fe);
  color: #060911;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.reviewer-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.reviewer-role {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-container {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-glow);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--cyan-accent);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all var(--transition-fast);
}

.contact-card:hover {
  border-color: var(--cyan-accent);
  background: var(--bg-card-hover);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-accent);
  flex-shrink: 0;
}

.contact-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-card-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.contact-card-val a:hover {
  color: var(--cyan-accent);
}

.contact-card-sub {
  font-size: 0.8rem;
  color: var(--emerald-status);
  margin-top: 0.15rem;
}

/* Form Styling */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-lg), var(--shadow-cyan);
  backdrop-filter: blur(20px);
}

.form-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.925rem;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--cyan-accent);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
  background: rgba(22, 34, 61, 0.9);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.775rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-top: 0.5rem;
}

.form-checkbox-label input {
  margin-top: 0.2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: #04060b;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem 0;
  position: relative;
  z-index: 10;
}

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

.footer-brand-desc {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.7;
  margin: 1.25rem 0 1.5rem 0;
  max-width: 320px;
}

.footer-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--cyan-accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--cyan-accent);
  padding-left: 4px;
}

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

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--cyan-accent);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 242, 254, 0.3);
  backdrop-filter: blur(16px);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 24px;
  height: 24px;
  color: var(--emerald-status);
  flex-shrink: 0;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual-container {
    max-width: 600px;
    margin: 0 auto;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-card.featured-card {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 1120px) {
  .topbar {
    display: none;
  }

  .nav-container {
    height: 88px;
  }

  .logo-img-wrap {
    width: 76px;
    height: 76px;
  }

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

  .nav-menu {
    position: fixed;
    top: 88px;
    left: 0;
    width: 100%;
    background: rgba(6, 9, 17, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-glow);
    transform: translateY(-160%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    z-index: 49;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }

  .nav-actions .btn-primary {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-image-wrapper {
    height: 320px;
  }

  .hud-interactive-hint {
    display: none;
  }

  .hud-mode-selector {
    display: none;
  }

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

  .floating-cert-badge {
    position: static;
    margin-top: 1.5rem;
    animation: none;
  }

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

  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

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