:root {
  --primary: #f8fafc;
  --secondary: #f1f5f9;
  --accent: #0891b2;
  --accent-green: #059669;
  --accent-purple: #7c3aed;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --gradient-1: linear-gradient(135deg, #0891b2 0%, #7c3aed 100%);
  --gradient-2: linear-gradient(135deg, #059669 0%, #0891b2 100%);
  --shadow-glow: 0 0 24px rgba(8, 145, 178, 0.2);
  --shadow-card: 0 8px 32px rgba(15, 23, 42, 0.08);
  --font-body: 'Inter', system-ui, sans-serif;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--primary);
  line-height: 1.6;
}

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

picture {
  display: block;
  max-width: 100%;
}

picture img {
  width: 100%;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
}

.accent {
  color: var(--accent);
}

.accent-gradient {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s, background 0.3s;
  text-decoration: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--gradient-2);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  animation: glowPulse 2s ease-in-out infinite;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-large {
  padding: 0.9rem 1.5rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--card-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, 92vw);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.5rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--text-primary);
  text-decoration: none;
  line-height: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo img {
  width: clamp(140px, 28vw, 200px);
  height: auto;
  max-height: 48px;
  display: block;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  text-decoration: none;
}

.nav-cta {
  white-space: nowrap;
}

.burger-menu {
  display: none;
  background: none;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 0.45rem;
  color: var(--text-primary);
  cursor: pointer;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100vh;
  background: var(--secondary);
  border-left: 1px solid var(--card-border);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  padding: calc(var(--header-h) + 1rem) 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.nav-drawer a {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--card-border);
}

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

main {
  padding-top: var(--header-h);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 20%, rgba(124, 58, 237, 0.08), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(8, 145, 178, 0.1), transparent 45%), var(--primary);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: image-set(
    url('../assets/images/hero-bg.webp') type('image/webp'),
    url('../assets/images/hero-bg.jpg') type('image/jpeg')
  );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-court-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.12;
  background: linear-gradient(90deg, transparent 48%, #cbd5e1 48%, #cbd5e1 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, #cbd5e1 48%, #cbd5e1 52%, transparent 52%);
  background-size: 100% 100%, 100% 100%;
  transform: rotate(-8deg) scale(1.4);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin: 0.75rem 0 1rem;
}

.title-line {
  display: block;
}

.hero-subtitle {
  color: var(--text-secondary);
  max-width: 46ch;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

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

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.featured-player-card {
  position: relative;
  width: min(280px, 80vw);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.featured-player-card:hover {
  transform: rotateY(8deg) rotateX(-4deg) scale(1.02);
}

.featured-player-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.card-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.15), transparent 55%);
  pointer-events: none;
}

.card-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.card-info .player-name {
  font-weight: 700;
}

.card-info .player-rank {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0.5rem 0;
}

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.section-header p {
  color: var(--text-secondary);
}

.about-section {
  padding: 5rem 0;
  background: var(--secondary);
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.image-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.about-description {
  color: var(--text-secondary);
}

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

.advantage-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-1);
  margin-bottom: 1rem;
  opacity: 0.95;
}

.advantage-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.advantage-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.play-section {
  padding: 5rem 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 1100px;
}

.play-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.players-list-container,
.my-team-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.25rem;
}

.list-header,
.team-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.player-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-btn {
  background: var(--secondary);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
}

.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.85rem;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 4px;
}

.player-card {
  background: var(--secondary);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
}

.player-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.player-img-wrapper {
  position: relative;
}

.player-img-wrapper img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.player-rank-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.player-info {
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.player-info .player-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.player-info .player-country,
.player-info .player-position {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-add {
  margin: 0 0.75rem 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
}

.btn-add:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

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

.team-slot {
  min-height: 110px;
  border-radius: 12px;
  border: 1px dashed var(--card-border);
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: rgba(241, 245, 249, 0.9);
}

.team-slot.filled {
  border-style: solid;
  border-color: var(--accent);
  justify-content: flex-start;
}

.slot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 100%;
  text-align: center;
  color: var(--text-muted);
  padding: 1rem;
  box-sizing: border-box;
}

.slot-placeholder svg {
  display: block;
  flex-shrink: 0;
  opacity: 0.5;
}

.slot-placeholder span {
  display: block;
  line-height: 1.35;
}

.slot-player {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

.slot-player img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.slot-player-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
}

.slot-name {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

.slot-remove {
  flex-shrink: 0;
  align-self: center;
  margin-top: 0;
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
  font-size: 0.85rem;
  text-decoration: underline;
  white-space: nowrap;
}

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

.team-score {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  background: var(--secondary);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.score-value {
  font-family: var(--font-head);
  font-size: 1.75rem;
  color: var(--accent-green);
}

.btn-play {
  margin-top: 1rem;
  width: 100%;
}

.slider-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.slider-controls button {
  background: var(--secondary);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

.slider-dots {
  display: flex;
  gap: 0.35rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--card-border);
  padding: 0;
  cursor: pointer;
}

.predictions-section {
  padding: 5rem 0;
  background: var(--secondary);
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

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

.prediction-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.prediction-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.prediction-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.player-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  text-align: center;
}

.player-vs img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--card-border);
}

.vs-divider {
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-head);
}

.prediction-analysis p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.prob-bar {
  height: 8px;
  background: var(--secondary);
  border-radius: 999px;
  overflow: hidden;
}

.prob-fill {
  height: 100%;
  background: var(--gradient-1);
  border-radius: 999px;
}

.prob-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.prediction-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.main-footer {
  background: #eef2f7;
  border-top: 1px solid var(--card-border);
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.footer-brand p,
.footer-nav a,
.footer-legal-links a,
.contact-list {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-nav ul,
.footer-legal-links ul,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li,
.footer-legal-links li,
.contact-list li {
  margin-bottom: 0.45rem;
}

.footer-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
}

.footer-org-info {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  color: var(--text-primary);
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.footer-map iframe {
  border-radius: 10px;
  margin-top: 0.75rem;
}

.footer-middle {
  border-top: 1px solid var(--card-border);
  padding: 1.25rem 0;
}

.footer-middle-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.pay-icon {
  height: 28px;
  width: auto;
  opacity: 0.9;
}

.age-restriction {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.age-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #b91c1c;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding: 1.5rem 0 2rem;
}

.copyright,
.disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.35rem 0;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  width: min(440px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  position: relative;
  box-shadow: var(--shadow-card);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.lead-form .form-group {
  margin-bottom: 1rem;
}

.lead-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
}

.lead-form input:not([type='checkbox']):not([type='radio']),
.lead-form select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: var(--secondary);
  color: var(--text-primary);
  font-family: var(--font-body);
}

.lead-form .form-check input[type='checkbox'] {
  width: auto;
  min-width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-check label {
  display: inline;
  margin-bottom: 0;
  cursor: pointer;
}

.modal-success {
  text-align: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.12);
  color: var(--accent-green);
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
}

.ai-agent-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--gradient-1);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  border: none;
  font-weight: 600;
  font-family: var(--font-body);
}

.fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(8, 145, 178, 0.35);
  animation: glowPulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

.ai-chat-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: min(360px, 92vw);
  height: min(460px, 70vh);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  z-index: 1501;
  display: none;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.ai-chat-panel.open {
  display: flex;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--card-border);
}

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ai-message {
  max-width: 92%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-size: 0.9rem;
}

.ai-message.bot {
  align-self: flex-start;
  background: var(--secondary);
  color: var(--text-secondary);
}

.ai-message.user {
  align-self: flex-end;
  background: rgba(8, 145, 178, 0.1);
  border: 1px solid rgba(8, 145, 178, 0.2);
}

.ai-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ai-quick-actions button {
  font-size: 0.75rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: var(--secondary);
  color: var(--text-primary);
  cursor: pointer;
}

.ai-chat-input {
  display: flex;
  gap: 0.35rem;
  padding: 0.65rem;
  border-top: 1px solid var(--card-border);
}

.ai-chat-input input {
  flex: 1;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: var(--secondary);
  color: var(--text-primary);
  padding: 0.5rem 0.65rem;
  font-family: var(--font-body);
}

.ai-send-btn {
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  padding: 0 0.85rem;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2100;
  background: var(--secondary);
  border-top: 1px solid var(--card-border);
  padding: 1rem;
  transform: translateY(110%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  width: min(1100px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.cookie-text h4 {
  margin: 0 0 0.35rem;
}

.cookie-text p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-preferences-panel {
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(15, 23, 42, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-preferences-panel.visible {
  display: flex;
}

.cookie-pref-content {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.25rem;
  width: min(420px, 100%);
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-type {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.9rem;
}

.toggle-switch {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: var(--card-border);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.2s;
}

.toggle-switch.active {
  background: var(--accent);
}

.toggle-switch.active::after {
  transform: translateX(20px);
}

.toggle-switch.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.cookie-pref-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.policy-page {
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  background: var(--primary);
}

.policy-layout {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.policy-main {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
}

.policy-main h1 {
  margin-top: 0;
}

.policy-main h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  color: var(--accent);
}

.policy-main p,
.policy-main li {
  color: var(--text-secondary);
}

.sub-hero {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background: var(--secondary);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: flex-end;
  padding: 2rem 0;
}

.sub-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.sub-hero .container {
  position: relative;
  z-index: 1;
}

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

.team-member {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.team-member img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  object-fit: cover;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-box {
  flex: 1;
  min-width: 140px;
  padding: 1rem;
  border-radius: 12px;
  background: var(--secondary);
  border: 1px solid var(--card-border);
  text-align: center;
}

.contact-form .field {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: var(--secondary);
  color: var(--text-primary);
  font-family: var(--font-body);
}

.field-error {
  color: #f87171;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.accordion-item {
  border: 1px solid var(--card-border);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  background: var(--card-bg);
  color: var(--text-primary);
  border: none;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
}

.accordion-panel {
  display: none;
  padding: 0 1rem 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.accordion-item.open .accordion-panel {
  display: block;
}
