/* =========================================
   PREMIUM UX REDESIGN - FASTFWD (FIXED)
   ========================================= */

:root {
  --color-dark: #0f172a;
  --color-bg-soft: #f8fafc;
  --color-border: #e2e8f0;
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-accent: #38bdf8;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: 1px solid rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* NAVBAR CLEANUP */
.navbar {
  height: 80px;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.navbar__inner {
  max-width: 1400px;
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo-img {
  height: 66px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.navbar__logo:hover .logo-img {
  transform: scale(1.05);
}

.footer-logo {
  height: 75px;
  filter: brightness(0) invert(1); /* Makes the logo white for the dark footer */
}

.logo-sub {
  display: block;
  font-size: 0.55rem;
  color: var(--color-text-muted);
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--color-border);
  line-height: 1.2;
}

/* Hide subtext on medium screens to prevent overlap */
@media (max-width: 1300px) {
  .logo-sub { display: none; }
}

.navbar__menu {
  display: flex;
  gap: 24px;
  align-items: center;
}

.navbar__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: #475569;
  white-space: nowrap;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* LANGUAGE DROPDOWN RECONSTRUCTION */
.lang-dropdown {
  position: relative;
}

.lang-dropdown__btn {
  background: none;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}

.lang-dropdown:hover .lang-dropdown__btn {
  background: var(--color-bg-soft);
}

.lang-dropdown__content {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  width: 200px !important;
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
  padding: 8px !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  border: 1px solid rgba(0,0,0,0.05);
  display: block !important;
}

.lang-dropdown:hover .lang-dropdown__content,
.lang-dropdown.open .lang-dropdown__content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown__content a {
  display: block;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #475569;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.lang-dropdown__content a:hover {
  background: var(--color-bg-soft);
  color: var(--color-primary);
}

.lang-dropdown__content a.active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-primary);
  font-weight: 600;
}

/* 1. HERO SECTION */
.hero-premium {
  padding: 120px 0 80px;
  background: radial-gradient(circle at 50% -20%, #e0f2fe 0%, #fafafa 80%);
  text-align: center;
}

.hero-premium__visual {
  margin-top: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  background: #fff;
  border-radius: var(--radius-2xl);
  box-shadow: 0 30px 60px -12px rgba(0,0,0,0.1);
  padding: 10px;
}

.hero-ui-card, .hero-ui-notification {
  transform: none !important; /* Disable parallax remnants */
}

.hero-ui-card {
  position: absolute !important;
  top: 10%;
  left: -50px;
  width: 220px;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  padding: 20px !important;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: left;
}

.hero-ui-notification {
  position: absolute !important;
  bottom: 15%;
  right: -30px;
  width: 180px;
  background: #fff !important;
  padding: 15px !important;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: left;
}

@media (max-width: 1100px) {
  .hero-ui-card, .hero-ui-notification { display: none; }
  .navbar__menu { display: none; }
  .navbar__toggle { display: flex; }
}

/* SECTIONS */
.problem-premium { padding: 120px 0; background: #fff; }
.problem-premium__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.problem-premium__sticky { position: sticky; top: 120px; }

.bento-premium { padding: 100px 0; background: var(--color-dark); color: #fff; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 24px; margin-top: 50px; }
.bento-item { background: rgba(255, 255, 255, 0.04); border-radius: 20px; padding: 40px; border: 1px solid rgba(255,255,255,0.08); }
.bento-item.large { grid-column: span 2; }

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
