:root{
  --bg0:#070A12;
  --bg1:#0B1220;
  --glass: rgba(255,255,255,.08);
  --glass2: rgba(255,255,255,.12);
  --stroke: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --brand: #5FE1D1;
}

body{
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(95,225,209,.20), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; }
a:hover { color: #fff; }

.noise{
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  opacity: .25;
}

.glass{
  background: linear-gradient(180deg, var(--glass2), var(--glass));
  border: 1px solid var(--stroke);
  border-radius: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.nav-glass{
  background: rgba(10,14,26,.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.hero-title{
  font-weight: 700;
  letter-spacing: .02em;
}

.subtitle{
  color: var(--muted);
  max-width: 56ch;
}

.pill{
  display: inline-flex;
  gap: .5rem;
  padding: .55rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  font-size: .9rem;
  color: var(--muted);
}

.spark{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 14px rgba(95,225,209,.6);
}

.kpi{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
}

.btn-glass{
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.16);
  color: var(--text);
  border-radius: 14px;
}

.btn-glass:hover{
  border-color: rgba(255,255,255,.25);
}

.section-title{
  font-weight: 700;
}

.muted{
  color: var(--muted);
}

.footer{
  color: rgba(255,255,255,.55);
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Liquid highlight */
.highlight{
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.14), transparent 60%);
  border-radius: 50%;
  top: -140px;
  right: -160px;
  pointer-events: none;
}

.hero-visual{
  margin: 0;
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 18px 35px rgba(0,0,0,.35);
  overflow: hidden;
}

.hero-photo{
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.15);
  object-fit: cover;
  display: block;
}

.hero-visual figcaption{
  margin-top: .75rem;
}

.hero-sidebar{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.hero-grid{
  align-items: stretch;
}

.hero-content{
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hero-main{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-info{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: flex-end;
  margin-top: 0;
}

.hero-card{
  width: 100%;
}

@media (max-width: 991.98px){
  .hero-sidebar{
    margin-top: 1rem;
    height: auto;
  }

  .hero-content{
    height: auto;
  }

  .hero-main{
    margin-bottom: 1.5rem;
  }

  .hero-info{
    justify-content: flex-start;
  }
}

/* Round flag buttons */
.lang-switcher { user-select: none; }
.flag-btn{
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}
.flag-btn:hover{
  border-color: rgba(255,255,255,.30);
}
.flag-btn.is-active{
  border-color: rgba(95,225,209,.65);
  box-shadow: 0 0 0 4px rgba(95,225,209,.10);
}
.flag-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ensure brand text is readable on dark glass */
.navbar-brand {
  color: var(--text) !important;
}
.navbar-brand:hover {
  color: #ffffff !important;
}
.navbar-brand span {
  color: inherit;
}

/* Premium gradient wordmark for "Odyssey" */
.brand-name{
  background: linear-gradient(135deg, #7AA8FF 0%, #5FE1D1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
}

/* Fallback for browsers that don't support text clipping */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand-name { color: #ffffff; }
}
