/* ==========================================================================
   FLOWSENSE & FLOWEE - OFFICIAL PRESENTATION STYLESHEET
   Clean, institutional, high-performance light design system
   ========================================================================== */

:root {
  /* Color Palette - Fresh, Premium Light Theme */
  --bg-darkest: #f1f5f9;
  /* Slate 100 subtle contrast zones */
  --bg-primary: #ffffff;
  /* Pure white main canvas */
  --bg-secondary: #f8fafc;
  /* Slate 50 background for secondary zones */
  --bg-tertiary: #edf2f7;
  /* Slate 100/200 */
  --bg-card: #ffffff;
  /* Pure crisp white cards */
  --bg-card-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.9);

  --border-subtle: #e2e8f0;
  /* Slate 200 */
  --border-medium: #cbd5e1;
  /* Slate 300 */
  --border-accent: rgba(13, 148, 136, 0.35);
  /* Teal accent border */

  /* Brand Colors */
  --accent-teal: #0d9488;
  /* Deep rich teal (accessible on light background) */
  --accent-teal-hover: #0f766e;
  --accent-teal-glow: rgba(13, 148, 136, 0.16);
  --accent-cyan: #0284c7;
  /* Sky 600 */
  --accent-emerald: #059669;
  /* Emerald 600 */
  --accent-amber: #d97706;
  /* Amber 600 */
  --accent-rose: #e11d48;
  /* Rose 600 */
  --accent-indigo: #4f46e5;
  /* Indigo 600 */

  /* Text Colors */
  --text-main: #0f172a;
  /* Deep slate 900 for high-contrast, premium readability */
  --text-secondary: #475569;
  /* Slate 600 */
  --text-muted: #64748b;
  /* Slate 500 */
  --text-inverse: #ffffff;

  /* Gradients */
  --grad-teal-cyan: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
  --grad-accent-subtle: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, rgba(2, 132, 199, 0.04) 100%);
  --grad-hero-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 250, 252, 0.96) 65%, #ffffff 100%);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 36px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 4px 24px rgba(13, 148, 136, 0.12);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Background Aura */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 550px;
  background: radial-gradient(circle at 50% -80px, rgba(13, 148, 136, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--grad-teal-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.22);
  color: var(--accent-teal);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 6px var(--accent-teal);
}

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

.section-header h2 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  margin-bottom: 1.1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Top Notification Banner */
.top-bar {
  background: #090d16;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem;
  font-size: 0.825rem;
  color: #94a3b8;
  text-align: center;
  position: relative;
  z-index: 60;
}

.top-bar strong {
  color: #f1f5f9;
}

.top-bar-link {
  color: #2dd4bf;
  font-weight: 600;
  text-decoration: underline;
  margin-left: 0.5rem;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-wrapper {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.brand-logo-block {
  display: inline-flex;
  align-items: center;
  transition: transform var(--transition-fast);
}

.brand-wrapper:hover .brand-logo-block {
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav-menu li {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cbd5e1;
  padding: 0.5rem 0.25rem;
  line-height: 1;
  position: relative;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.35rem;
  left: 0;
  width: 0;
  height: 2px;
  background: #2dd4bf;
  transition: width var(--transition-fast);
}

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

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Mobile menu drawer is hidden on desktop by default */
.mobile-menu-drawer {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-teal-cyan);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(13, 148, 136, 0.35);
  color: #ffffff;
}

.btn-secondary {
  background: #f1f5f9;
  border-color: var(--border-subtle);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: translateY(-2px);
}

.btn-outline-teal {
  background: #ffffff;
  border: 1.5px solid var(--accent-teal);
  color: var(--accent-teal);
}

.btn-outline-teal:hover {
  background: var(--accent-teal);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
}

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

.hero-section {
  position: relative;
  min-height: calc(100vh - 4.75rem);
  display: flex;
  align-items: center;
  padding: 4rem 0 5rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 30%;
  filter: saturate(1.1) brightness(0.95);
  opacity: 0.28;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--grad-hero-overlay);
  z-index: 1;
}

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

.hero-content h1 {
  font-size: clamp(2.35rem, 4.3vw, 3.5rem);
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2.75rem;
}

.hero-trust-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 580px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.trust-badge-item svg {
  color: var(--accent-teal);
  flex-shrink: 0;
}

/* Hero Live Radar Card */
.hero-mockup-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-radar-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.09);
  position: relative;
  overflow: hidden;
}

.hero-radar-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: var(--grad-teal-cyan);
  border-radius: 3px;
}

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

.radar-card-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.iss-sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.iss-sync-active {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
}

.iss-sync-active .iss-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
  animation: pulseDot 2.2s infinite;
}

.iss-sync-disabled {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #64748b;
  opacity: 0.85;
}

.iss-sync-disabled .iss-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow: none;
  animation: none;
}

.hero-profile-switcher {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 10;
}

.hero-profile-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  z-index: 10;
}

.hero-profile-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.hero-profile-btn.active {
  background: var(--accent-teal);
  border-color: var(--accent-teal);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.3);
}

.hero-radar-canvas-wrap {
  width: 100%;
  max-width: 380px;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

#movementRadarCanvas {
  width: 100%;
  height: 100%;
  max-width: 380px;
  max-height: 230px;
  display: block;
  pointer-events: none;
}

.radar-status-items {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.radar-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.radar-status-item:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.radar-status-item-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-main);
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-green {
  background: #10b981;
  box-shadow: 0 0 5px rgba(16, 185, 129, 0.5);
}

.dot-yellow {
  background: #f59e0b;
  box-shadow: 0 0 5px rgba(245, 158, 11, 0.5);
}

.dot-red {
  background: #ef4444;
  box-shadow: 0 0 5px rgba(239, 68, 68, 0.5);
}

.status-score-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.badge-green {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.badge-yellow {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.badge-red {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.badge-warning {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.radar-card-action {
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  position: relative;
  z-index: 10;
}

.radar-card-action button {
  cursor: pointer;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   STATS BAR SECTION
   ========================================================================== */

.stats-bar-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

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

.stat-item {
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   BENEFITS & ARCHITECTURE (PREČO FLOWEE)
   ========================================================================== */

.benefits-section {
  padding: 6.5rem 0;
  position: relative;
  background: #ffffff;
}

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

.benefit-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.benefit-card:hover::before {
  background: var(--grad-teal-cyan);
}

.benefit-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  margin-bottom: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   THE 3 MODULES SECTION (3 TRIO KARTY)
   ========================================================================== */

.modules-section {
  padding: 6.5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.modules-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.module-trio-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.module-trio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-teal);
}

.module-badge-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-teal-cyan);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.module-trio-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.module-trio-subtitle {
  color: var(--accent-teal);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.module-trio-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.module-trio-highlights {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.module-trio-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.45;
}

.module-trio-highlights li svg {
  color: var(--accent-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   MODAL: TESTING DETAIL & DIAGNOSTICS DEEP DIVE
   ========================================================================== */

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

.testing-modal-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.testing-modal-card:hover {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: var(--shadow-md);
}

.testing-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.testing-card-header h4 {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.3;
  margin-top: 0.15rem;
}

.testing-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-amber {
  background: #fef3c7;
  color: #d97706;
}

.icon-teal {
  background: #ccfbf1;
  color: #0d9488;
}

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

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

.testing-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.25rem;
}

.badge-amber {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-teal {
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid #99f6e4;
}

.badge-emerald {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.badge-blue {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.testing-card-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.testing-card-highlight {
  font-size: 0.825rem;
  color: var(--text-main);
  background: #f8fafc;
  border-left: 3px solid var(--accent-teal);
  padding: 0.65rem 0.85rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.5;
  margin-top: auto;
}

/* ==========================================================================
   SECTION: PRE KOHO JE FLOWEE (4 POHĽADY)
   ========================================================================== */

.audience-section {
  padding: 6.5rem 0;
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.audience-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.audience-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-md);
}

.audience-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  margin-bottom: 1.25rem;
}

.audience-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-teal);
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.audience-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.audience-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.audience-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-main);
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  margin-top: auto;
}

.audience-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.audience-checklist li svg {
  color: var(--accent-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   INTERACTIVE SAVINGS CALCULATOR
   ========================================================================== */

.calculator-section {
  padding: 6.5rem 0;
  position: relative;
  background: #ffffff;
}

.calc-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.calc-slider-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.calc-slider-group .slider-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--accent-teal);
  font-weight: 700;
}

.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 7px;
  background: #e2e8f0;
  border-radius: var(--radius-pill);
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-teal);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.4);
  transition: transform var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-results-box {
  background: var(--bg-secondary);
  border: 1.5px solid rgba(13, 148, 136, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
}

.calc-result-badge {
  display: inline-block;
  align-self: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-teal);
  background: rgba(13, 148, 136, 0.1);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.calc-hours-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  white-space: nowrap;
}

.calc-hours-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 3.8vw, 3.4rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.calc-hours-unit {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1;
  white-space: nowrap;
}

.calc-hours-sub {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0 auto 1.75rem auto;
  max-width: 380px;
  min-height: 3.2em;
}

.calc-submetrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.calc-submetric-val {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.calc-submetric-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

/* ==========================================================================
   ABOUT FLOWSENSE (O NÁS, ODBORNOSŤ, MISIA)
   ========================================================================== */

.about-section {
  padding: 6.5rem 0;
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1.5rem;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--accent-teal);
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about-text {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.about-pillar-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.about-pillar-item h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

.about-pillar-item h4 svg {
  color: var(--accent-teal);
}

.about-pillar-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Photo Gallery & Placeholders */
.about-visual-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.visual-feature-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
}

.visual-feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.visual-feature-card:hover img {
  transform: scale(1.04);
}

.visual-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.visual-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #2dd4bf;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

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

/* Image Placeholder Guidance Box */
.photo-guidance-box {
  background: #f0fdfa;
  border: 1.5px dashed #99f6e4;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.guidance-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 0.75rem;
}

.guidance-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.guidance-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.guidance-list li span.bullet {
  color: var(--accent-teal);
  font-weight: bold;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
  padding: 6.5rem 0;
  position: relative;
  background: #ffffff;
}

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

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--accent-teal);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.05rem;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question-btn:hover {
  color: var(--accent-teal);
}

.faq-chevron {
  transition: transform var(--transition-normal);
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-teal);
}

.faq-answer-pane {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background: var(--bg-secondary);
}

.faq-answer-inner {
  padding: 0 1.75rem 1.5rem 1.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   CONTACT & DEMO REQUEST FORM
   ========================================================================== */

.contact-section {
  padding: 6.5rem 0;
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.contact-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
}

.contact-info-col h2 {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  margin-bottom: 1.25rem;
}

.contact-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  flex-shrink: 0;
}

.contact-method-text h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.contact-method-text p {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 600;
}

.company-legal-info {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-size: 0.925rem;
  outline: none;
  transition: all var(--transition-fast);
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

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

/* ==========================================================================
   FOOTER (RICH SLATE GROUNDING)
   ========================================================================== */

.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 5rem 0 2.5rem 0;
  position: relative;
  z-index: 10;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col-brand h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.footer-col-brand p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

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

/* ==========================================================================
   MODAL DIALOG (DETAIL OR GUIDANCE)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.22s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-box-large {
  max-width: 860px;
  width: 95%;
  padding: 2.5rem;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

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

.modal-feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.modal-feature-card:hover {
  border-color: var(--accent-teal);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.modal-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.modal-feature-code {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--accent-teal);
  background: rgba(13, 148, 136, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.modal-feature-target {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.modal-feature-card h4 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.modal-feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.modal-feature-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-top: auto;
  padding-top: 0.75rem;
  text-align: right;
}

.modal-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================================================== */

@media (max-width: 1024px) {

  .hero-grid,
  .diag-grid,
  .calc-card,
  .contact-wrapper,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .modules-trio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .stat-item:nth-child(2)::after {
    display: none;
  }

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

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

@media (max-width: 768px) {

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

  .mobile-toggle {
    display: block;
  }

  .mobile-menu-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0f172a;
    padding: 2rem;
    z-index: 45;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
  }

  .mobile-menu-drawer.open {
    transform: translateX(0);
  }

  .mobile-menu-drawer .nav-link {
    font-size: 1.15rem;
    color: #f1f5f9;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .benefits-grid,
  .modal-features-grid,
  .testing-modal-grid {
    grid-template-columns: 1fr;
  }

  .hero-trust-badges {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .calc-card,
  .contact-wrapper {
    padding: 1.75rem;
  }

  .calc-submetrics-row {
    grid-template-columns: 1fr;
  }

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