:root {
  --uvt-blue: #1d4ed8;
  --uvt-blue-dark: #1e3a8a;
  --uvt-blue-light: #3b82f6;
  --uvt-blue-soft: #eff6ff;
  --uvt-blue-glow: rgba(59, 130, 246, 0.15);
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --bg: #f8fafc;
  --bg-mesh: #eef2ff;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --success: #059669;
  --success-bg: #ecfdf5;
  --error: #dc2626;
  --error-bg: #fef2f2;
  --warning-bg: #fffbeb;
  --warning-border: #fcd34d;
  --live-green: #10b981;
  --live-green-bg: #ecfdf5;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08);
  --site-notice-height: 46px;
  --site-header-height: 72px;
  --hero-deep: #050b18;
  --hero-mid: #0a1638;
  --hero-light: #0f2248;
  --hero-base: #07101f;
  --hero-surface: rgba(30, 58, 138, 0.22);
  --hero-surface-hover: rgba(37, 99, 235, 0.28);
  --hero-border: rgba(147, 197, 253, 0.22);
  --hero-text-soft: rgba(191, 219, 254, 0.82);
  --hero-text-muted: rgba(191, 219, 254, 0.62);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(59, 130, 246, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 45% at 95% 5%, rgba(37, 99, 235, 0.12), transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 110%, rgba(30, 58, 138, 0.08), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 45%, #f8fafc 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.bg-mesh {
  position: relative;
  isolation: isolate;
}

.bg-mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.08), transparent 40%);
  pointer-events: none;
}

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

a:hover {
  color: var(--accent-hover);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Anunț doar sus (dispare la scroll) · navbar sticky separat */
.site-notice {
  position: relative;
  z-index: 130;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(255, 255, 255, 0.94) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-notice-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.site-notice-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #d97706;
  border: 1px solid #fde68a;
}

.site-notice-icon .ui-icon {
  width: 15px;
  height: 15px;
}

.site-notice p {
  margin: 0;
}

.site-notice-standalone {
  position: relative;
  z-index: 130;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.site-header-hero .site-notice {
  background: linear-gradient(180deg, rgba(8, 15, 35, 0.92) 0%, rgba(15, 23, 42, 0.88) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.site-header-hero .site-notice-inner {
  color: rgba(255, 255, 255, 0.78);
}

.site-header-hero .site-notice-icon {
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(252, 211, 77, 0.35);
  color: #fcd34d;
}

/* Header */
.site-header {
  position: relative;
  z-index: 100;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--site-header-height);
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 110;
  isolation: isolate;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: max(24px, calc((100vw - 1140px) / 2));
  padding-right: max(24px, calc((100vw - 1140px) / 2));
  box-sizing: border-box;
}

.header-inner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: var(--shadow-sm);
  z-index: -1;
  pointer-events: none;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
}

.logo:hover {
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  display: none;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-divider {
  width: 1px;
  height: 36px;
  background: var(--border-strong);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.logo-title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--uvt-blue-dark);
}

.logo-subtitle {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover {
  color: var(--uvt-blue);
  background: var(--uvt-blue-soft);
  text-decoration: none;
}

.nav-links .nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22);
}

.nav-links .nav-cta:hover {
  background: var(--accent-hover);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}

.nav-links .nav-chat {
  background: #fff;
  color: var(--accent) !important;
  border: 1px solid #93c5fd;
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 600;
}

.nav-links .nav-chat:hover {
  background: var(--uvt-blue-soft);
  color: var(--accent-hover) !important;
  border-color: #60a5fa;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta-banner .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.cta-banner .btn-outline:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

/* Hero shell — homepage */
.hero-shell {
  position: relative;
  color: #fff;
  background: linear-gradient(158deg, var(--hero-deep) 0%, var(--hero-mid) 42%, var(--hero-light) 68%, var(--hero-base) 100%);
}

.hero-seam {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: clamp(56px, 8vw, 88px);
  margin-bottom: -2px;
  line-height: 0;
  overflow: hidden;
  background: transparent;
}

.hero-seam-wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.page-home #despre {
  padding-top: 40px;
  position: relative;
  background: linear-gradient(180deg, var(--bg-mesh) 0%, var(--bg) 180px);
}

.site-header.site-header-hero {
  padding-top: 0;
}

.site-header-hero {
  position: relative;
  z-index: 20;
  padding-bottom: 0;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.site-header-hero .header-inner {
  position: fixed;
  top: var(--site-notice-height);
  left: 0;
  right: 0;
  z-index: 110;
  transition: top 0.2s ease;
}

.site-header-hero.header-past-notice .header-inner {
  top: 0;
}

.site-header-hero .header-inner::before {
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.site-header-hero.site-header-scrolled .header-inner::before {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(229, 231, 235, 0.95);
  box-shadow: var(--shadow-sm);
}

.site-header-hero:not(.site-header-scrolled) .logo-img {
  filter: brightness(0) invert(1);
  transition: filter 0.25s ease;
}

.site-header-hero.site-header-scrolled .logo-img {
  filter: none;
}

.site-header-hero .nav-links .nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.site-header-hero .nav-links .nav-cta:hover {
  background: var(--accent-hover) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

.site-header-hero .logo-title {
  color: #fff;
  transition: color 0.25s;
  font-size: clamp(0.82rem, 1.6vw, 0.95rem);
}

.site-header-hero .logo-subtitle {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s;
}

.site-header-hero .logo-divider {
  background: rgba(255, 255, 255, 0.25);
}

.site-header-hero .nav-links a:not(.nav-cta):not(.nav-chat) {
  color: rgba(255, 255, 255, 0.88);
}

.site-header-hero .nav-links a:not(.nav-cta):not(.nav-chat):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.site-header-hero .nav-links .nav-chat {
  background: rgba(37, 99, 235, 0.14);
  color: #fff !important;
  border-color: rgba(147, 197, 253, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 14px rgba(15, 35, 90, 0.25);
}

.site-header-hero .nav-links .nav-chat:hover {
  background: rgba(37, 99, 235, 0.24);
  color: #fff !important;
  border-color: rgba(191, 219, 254, 0.45);
}

.site-header-hero.site-header-scrolled .logo-title {
  color: var(--uvt-blue-dark);
}

.site-header-hero.site-header-scrolled .logo-subtitle {
  color: var(--text-muted);
}

.site-header-hero.site-header-scrolled .logo-divider {
  background: var(--border-strong);
}

.site-header-hero.site-header-scrolled .nav-links a:not(.nav-cta):not(.nav-chat) {
  color: var(--text-muted);
}

.site-header-hero.site-header-scrolled .nav-links a:not(.nav-cta):not(.nav-chat):hover {
  color: var(--uvt-blue);
  background: var(--uvt-blue-soft);
}

.site-header-hero.site-header-scrolled .nav-links .nav-chat {
  background: #fff;
  color: var(--accent) !important;
  border-color: #93c5fd;
}

.site-header-hero.site-header-scrolled .nav-links .nav-chat:hover {
  background: var(--uvt-blue-soft);
  color: var(--accent-hover) !important;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}

.nav-toggle:hover {
  background: var(--uvt-blue-soft);
  border-color: #bfdbfe;
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--uvt-blue-dark);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header-hero .nav-toggle {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.site-header-hero .nav-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
}

.site-header-hero .nav-toggle-bar {
  background: #fff;
}

.site-header-hero.site-header-scrolled .nav-toggle {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--border);
}

.site-header-hero.site-header-scrolled .nav-toggle:hover {
  background: var(--uvt-blue-soft);
  border-color: #bfdbfe;
}

.site-header-hero.site-header-scrolled .nav-toggle-bar {
  background: var(--uvt-blue-dark);
}

.hero.hero-nexus {
  position: relative;
  margin-top: calc(-1 * var(--site-header-height));
  padding: calc(var(--site-notice-height) + var(--site-header-height) + 2.5rem) 0 0;
  display: block;
  background: linear-gradient(158deg, var(--hero-deep) 0%, var(--hero-mid) 42%, var(--hero-light) 68%, var(--hero-base) 100%);
  border-bottom: none;
  overflow: hidden;
}

.hero-nexus-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-nexus-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
  opacity: 0.6;
}

.hero-nexus-glow--1 {
  width: min(62vw, 620px);
  height: min(48vw, 480px);
  top: -12%;
  left: -8%;
  background: rgba(37, 99, 235, 0.38);
}

.hero-nexus-glow--2 {
  width: min(50vw, 520px);
  height: min(44vw, 440px);
  bottom: -18%;
  right: -6%;
  background: rgba(59, 130, 246, 0.28);
}

.hero-nexus-glow--3 {
  width: min(34vw, 340px);
  height: min(38vw, 380px);
  top: 28%;
  right: 8%;
  background: rgba(37, 99, 235, 0.16);
}

.hero-nexus-mesh {
  position: absolute;
  top: 8%;
  right: -2%;
  width: min(52%, 480px);
  height: auto;
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}

.hero-nexus .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-bottom: 32px;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 400px);
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}

.hero-content {
  min-width: 0;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.hero-aside-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-aside-card {
  padding: 14px 12px;
  border-radius: 14px;
  background: var(--hero-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--hero-border);
  box-shadow: 0 8px 24px rgba(5, 11, 24, 0.2);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.hero-aside-card:hover {
  background: var(--hero-surface-hover);
  border-color: rgba(147, 197, 253, 0.34);
  transform: translateY(-2px);
}

.hero-aside-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.18);
  color: var(--hero-text-soft);
  margin-bottom: 8px;
}

.hero-aside-icon .ui-icon {
  width: 18px;
  height: 18px;
}

.hero-aside-card h3 {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-aside-card p {
  color: var(--hero-text-muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.hero-video {
  width: 100%;
}

.hero-video-wrapper {
  border: 1px solid var(--hero-border);
  box-shadow: 0 12px 40px rgba(5, 11, 24, 0.35);
  backdrop-filter: blur(6px);
  border-radius: 14px;
}

.hero-nexus .hero-badge {
  background: rgba(16, 185, 129, 0.16);
  color: #a7f3d0;
  border-color: rgba(167, 243, 208, 0.35);
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  padding: 3px 9px;
  gap: 5px;
  margin-bottom: 16px;
  width: fit-content;
  max-width: 100%;
}

.hero-nexus .hero-badge::before {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.22);
}

.hero-nexus .hero-title {
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 3.6rem);
  max-width: 760px;
}

.hero-nexus .hero-title-accent {
  color: #fde68a;
  background: linear-gradient(135deg, #fde68a 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-nexus .hero-subtitle {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.14rem;
  max-width: 620px;
}

.hero-nexus .hero-footnote {
  margin-top: 20px;
  max-width: 620px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--hero-text-muted);
}

.hero-nexus .hero-actions {
  margin-bottom: 0;
}

.hero-nexus .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.hero-nexus .btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-nexus .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.hero-nexus .btn-outline:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-nexus .hero-content .hero-stats {
  margin-top: 24px;
  max-width: 620px;
}

.hero-nexus .hero-content .hero-stat {
  padding: 16px 12px;
}

.hero-nexus .hero-content .hero-stat-value {
  font-size: 1.35rem;
}

.hero-nexus .hero-content .hero-stat-label {
  font-size: 0.72rem;
}

.hero-nexus .hero-stats {
  margin-top: 0;
  display: flex;
  background: var(--hero-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hero-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(5, 11, 24, 0.22);
  overflow: hidden;
}

.hero-nexus .hero-stat {
  flex: 1 1 0;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(147, 197, 253, 0.14);
  border-radius: 0;
  text-align: center;
  padding: 20px 16px;
}

.hero-nexus .hero-stat:last-child {
  border-right: none;
}

.hero-nexus .hero-stat-value {
  color: #fff;
}

.hero-nexus .hero-stat-label {
  color: var(--hero-text-muted);
}

/* Hero */
.hero {
  padding: 56px 0 72px;
  background: transparent;
  border-bottom: none;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(59, 130, 246, 0.14), transparent 60%),
    radial-gradient(ellipse 70% 60% at 100% 20%, rgba(37, 99, 235, 0.1), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--live-green-bg);
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-title-accent {
  display: block;
  color: var(--uvt-blue);
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 640px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.2;
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s, border-color 0.15s, color 0.15s;
}

a.btn,
a.btn:hover,
a.btn:focus {
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  color: #fff;
  border-color: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover:not(:disabled) {
  background: #f9fafb;
  color: var(--text);
  border-color: #cbd5e1;
}

.btn-outline {
  background: #fff;
  color: var(--accent);
  border-color: #93c5fd;
}

.btn-outline:hover:not(:disabled) {
  background: var(--uvt-blue-soft);
  color: var(--accent-hover);
  border-color: #60a5fa;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 12px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.hero-feature {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.hero-feature:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.hero-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--uvt-blue-soft);
  color: var(--uvt-blue);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.ui-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.ui-icon-lg {
  width: 32px;
  height: 32px;
}

.ui-icon-inline {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.nav-links .nav-chat,
.btn-with-bot-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-with-bot-icon .ui-icon-inline {
  width: 18px;
  height: 18px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--uvt-blue-soft);
  color: var(--uvt-blue);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.card-icon .ui-icon {
  width: 24px;
  height: 24px;
}

.hero-feature h3 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.hero-feature p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-stats {
  display: flex;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-stat {
  flex: 1 1 0;
  min-width: 0;
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px 16px;
  text-align: center;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--uvt-blue);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* Sections */
section {
  padding: 72px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(229, 231, 235, 0.8);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

section:not(.hero):not(.section-alt) {
  position: relative;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.section-header-center {
  text-align: center;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Video */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  border: 1px solid var(--border);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Ethics */
.ethics-box {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.ethics-box .btn-primary {
  margin-top: 4px;
}

.ethics-box h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: #92400e;
}

.ethics-box p {
  color: #78350f;
}

.ethics-box ul {
  margin: 16px 0 24px 20px;
  color: #78350f;
}

.ethics-box li {
  margin-bottom: 8px;
}

/* CTA banner */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.25);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.15), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.1), transparent 45%);
  pointer-events: none;
}

.cta-banner h2,
.cta-banner p,
.cta-banner .btn {
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--uvt-blue-dark);
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.cta-banner .btn-primary:hover:not(:disabled) {
  background: #f8fafc;
  color: var(--uvt-blue-dark);
  border-color: #f8fafc;
}

/* Team */
.partners-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.partner-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.partner-logo {
  height: 130px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.partner-logo--cdi {
  height: 148px;
}

.partner-card span {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  font-weight: 500;
  max-width: 220px;
}

.partner-card:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.team-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.team-group {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.team-group-wide {
  grid-column: 1 / -1;
}

.team-group-header {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.team-role-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
}

.team-role-lead {
  background: #dbeafe;
  color: #1e40af;
}

.team-role-research {
  background: #ede9fe;
  color: #5b21b6;
}

.team-role-tech {
  background: #d1fae5;
  color: #065f46;
}

.team-members {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: background 0.15s, border-color 0.15s;
}

.team-person:hover {
  background: var(--uvt-blue-soft);
  border-color: #bfdbfe;
}

.team-person-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.team-person-avatar .ui-icon {
  width: 18px;
  height: 18px;
}

.team-person-avatar--lead {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #fff;
}

.team-person-avatar--research {
  background: linear-gradient(135deg, #5b21b6, #8b5cf6);
  color: #fff;
}

.team-person-avatar--tech {
  background: linear-gradient(135deg, #065f46, #10b981);
  color: #fff;
}

.team-person-info {
  min-width: 0;
}

.team-person-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.35;
}

.team-person-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.team-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.team-block h3 {
  font-weight: 700;
  color: var(--uvt-blue);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
}

.team-block ul {
  list-style: none;
}

.team-block li {
  padding: 8px 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.team-block li:last-child {
  border-bottom: none;
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p {
  opacity: 0.92;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding: 40px 0 28px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 136px;
  width: auto;
  max-width: 380px;
  object-fit: contain;
  display: block;
}

.footer-inner strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.footer-inner span {
  font-size: 0.88rem;
}

.footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-copy {
  width: 100%;
  text-align: center;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
}

.footer-credit {
  margin: 0 0 10px;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 500;
}

.footer-credit a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-credit a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-rights {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.site-footer-compact {
  padding: 28px 0 22px;
}

.site-footer-compact .footer-inner {
  justify-content: center;
}

.site-footer-compact .footer-copy {
  margin-top: 16px;
  padding-top: 16px;
}

/* Page shell (chestionar, complete) */
.page-shell {
  min-height: calc(100vh - 72px);
  position: relative;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(59, 130, 246, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(37, 99, 235, 0.08), transparent 50%);
  pointer-events: none;
}

.page-header {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  padding: 40px 0;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-header p {
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.survey-frame-wrap {
  margin: 32px auto 64px;
  max-width: 720px;
  padding: 0 24px;
}

.survey-frame {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-height: 320px;
}

.survey-actions-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.survey-placeholder {
  padding: 64px 32px;
  text-align: center;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 280px;
}

.survey-placeholder p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

/* Compact single-page layouts (complete, etc.) */
body.layout-compact {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body.layout-compact .site-header {
  flex-shrink: 0;
}

body.layout-compact .complete-page {
  flex: 1;
  min-height: 0;
  padding: 24px;
}

/* Complete page */
.complete-page {
  display: grid;
  place-items: center;
  position: relative;
}

.complete-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59, 130, 246, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 35% at 100% 80%, rgba(37, 99, 235, 0.08), transparent 50%);
  pointer-events: none;
}

.complete-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 44px 40px;
  max-width: 520px;
  width: 100%;
  text-align: center;
}

.complete-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}

.complete-icon-error {
  background: var(--error-bg);
  color: var(--error);
}

.complete-card h1 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.complete-card > p {
  color: var(--text-muted);
  line-height: 1.6;
}

.complete-card p + .btn {
  margin-top: 24px;
}

.error-page-card {
  max-width: 480px;
}

.error-page-code {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--uvt-blue-dark), var(--uvt-blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.error-page-text {
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 12px;
}

.error-page-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.error-page-actions .btn {
  width: 100%;
}

.id-box {
  background: var(--uvt-blue-soft);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 18px;
  margin: 24px 0;
  font-family: "SF Mono", "Fira Code", ui-monospace, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  word-break: break-all;
  color: var(--uvt-blue-dark);
}

.alert-warning {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: left;
  font-size: 0.92rem;
  color: #78350f;
  margin-bottom: 24px;
  line-height: 1.55;
}

.hidden {
  display: none !important;
}

/* Loading spinner — Nexus-style */
.loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 280px;
}

.complete-spinner,
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: var(--uvt-blue-light);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

.loading-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.loading-subtext {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 360px;
  line-height: 1.5;
}

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

@media (max-width: 900px) {
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .hero-stat {
    flex: 1 1 calc(50% - 0.5px);
  }

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

  .team-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
  }

  .site-notice-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.72rem;
    line-height: 1.4;
    padding: 7px 0;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo toggle"
      "nav nav";
    align-items: center;
    column-gap: 12px;
    row-gap: 0;
    min-height: 56px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo {
    grid-area: logo;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
    grid-area: toggle;
  }

  .site-nav {
    grid-area: nav;
    width: 100%;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    padding: 10px 0 4px;
    margin: 0;
    border-top: 1px solid var(--border);
  }

  .site-nav.is-open .nav-links {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .nav-links .nav-cta,
  .nav-links .nav-chat {
    justify-content: center;
  }

  .site-header-hero .nav-links {
    border-top-color: rgba(255, 255, 255, 0.12);
  }

  .site-header-hero.site-header-scrolled .nav-links {
    border-top-color: var(--border);
  }

  .hero.hero-nexus {
    min-height: auto;
    margin-top: calc(-1 * var(--site-header-height));
    padding: calc(var(--site-notice-height) + var(--site-header-height) + 1.75rem) 0 0;
  }

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

  .hero-aside {
    max-width: 520px;
    margin: 8px auto 0;
    width: 100%;
  }

  .hero-nexus .hero-actions {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .hero-nexus .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 6px;
    font-size: clamp(0.62rem, 2.6vw, 0.78rem);
    line-height: 1.25;
    border-radius: 10px;
    white-space: normal;
    text-align: center;
  }

  .hero-nexus .hero-actions .btn-with-bot-icon {
    gap: 4px;
  }

  .hero-nexus .hero-actions .btn-with-bot-icon .ui-icon-inline {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .hero-nexus-mesh {
    opacity: 0.22;
    width: 70%;
    top: auto;
    bottom: 18%;
  }

  .hero {
    padding: 40px 0 56px;
  }

  section {
    padding: 56px 0;
  }

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

  .hero-nexus .hero-content .hero-stats {
    max-width: none;
  }

  .hero-nexus .hero-content .hero-stat {
    padding: 14px 8px;
  }

  .hero-nexus .hero-content .hero-stat-value {
    font-size: 1.15rem;
  }

  .hero-nexus .hero-content .hero-stat-label {
    font-size: 0.65rem;
  }

  .cta-banner {
    padding: 36px 24px;
  }

  .complete-card {
    padding: 32px 24px;
  }

  .logo-subtitle {
    display: none;
  }

  .logo-img {
    height: 32px;
  }

  .partner-logo {
    height: 100px;
  }
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10000;
  padding: 16px;
  pointer-events: none;
}

.cookie-consent.is-visible {
  pointer-events: auto;
}

.cookie-consent-inner {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 52px 20px 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-consent.is-visible .cookie-consent-inner {
  transform: translateY(0);
  opacity: 1;
}

.cookie-consent-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: var(--uvt-blue);
  border: 1px solid #bfdbfe;
}

.cookie-consent-icon .ui-icon {
  width: 22px;
  height: 22px;
}

.cookie-consent-content {
  flex: 1 1 auto;
  min-width: 0;
}

.cookie-consent-content h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.cookie-consent-content p {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.cookie-consent-content a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent-content a:hover {
  color: var(--accent-hover);
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-consent-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.cookie-consent-close .ui-icon {
  width: 18px;
  height: 18px;
}

.cookie-consent-close:hover {
  background: #f1f5f9;
  color: #64748b;
}

@media (max-width: 640px) {
  .cookie-consent {
    padding: 12px;
  }

  .cookie-consent-inner {
    padding: 18px 44px 18px 16px;
  }

  .cookie-consent-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-actions .btn {
    justify-content: center;
  }
}
