:root {
  --navy: #071225;
  --navy-2: #0b1b34;
  --blue: #2563eb;
  --blue-2: #1d4ed8;
  --cyan: #06b6d4;
  --green: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;
  --ink: #0f172a;
  --muted: #5b6b82;
  --soft: #f8fbff;
  --soft-2: #eef6ff;
  --line: #dbe7f5;
  --card: #ffffff;
  --shadow: 0 24px 70px rgba(15, 35, 75, 0.12);
  --shadow-soft: 0 18px 45px rgba(20, 43, 89, 0.08);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: white;
  padding: 12px 16px;
  z-index: 99;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(219, 231, 245, 0.85);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-link img {
  width: 154px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #526178;
  font-size: 14px;
  font-weight: 700;
}

.nav-menu a {
  position: relative;
}

.nav-menu a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.2s ease;
}

.nav-menu a:hover:after {
  width: 100%;
}

/* WOW Premium Nav Dropdown Component */
.nav-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-btn {
  background: transparent;
  border: none;
  color: #526178;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.nav-dropdown-btn:hover, .nav-dropdown-wrap.active-parent .nav-dropdown-btn {
  color: var(--navy);
}
.nav-dropdown-btn .dropdown-chevron {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-dropdown-wrap:hover .dropdown-chevron {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px) scale(0.98);
  width: 210px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 8px 16px -6px rgba(15, 23, 42, 0.08);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-dropdown-wrap:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}
.nav-dropdown-item {
  padding: 10px 14px !important;
  border-radius: 10px !important;
  color: #334155 !important;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none !important;
  transition: all 0.15s ease;
}
.nav-dropdown-item:after {
  display: none !important;
}
.nav-dropdown-item:hover, .nav-dropdown-item.active {
  background: #f8fafc;
  color: var(--blue) !important;
  transform: translateX(2px);
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #0ea5e9);
  color: white;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  color: var(--navy);
  background: white;
  border-color: var(--line);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.06);
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
}

.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.16);
}

.hero {
  position: relative;
  padding: 92px 0 80px;
  background:
    radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.12), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(6, 182, 212, 0.16), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.hero:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.25), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 50px;
  align-items: center;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.hero-center .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-center p {
  max-width: 750px;
  margin: 0 auto;
}

.hero-copy h1 {
  margin: 20px 0 18px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  color: var(--navy);
}

.gradient-text {
  background: linear-gradient(135deg, #0f172a, #2563eb 62%, #06b6d4);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy p {
  margin: 0;
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.proof-card {
  padding: 18px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(219,231,245,0.9);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(15, 35, 75, 0.06);
}

.proof-card strong {
  display: block;
  font-size: 25px;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.04em;
}

.proof-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.visual-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(219,231,245,0.95);
  border-radius: 34px;
  background: white;
  box-shadow: var(--shadow);
  width: 100%;
}

.visual-card img {
  width: 100%;
  height: auto;
  display: block;
}

.floating-chip {
  position: absolute;
  right: 22px;
  bottom: 22px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(219,231,245,0.92);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-chip .chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.floating-chip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.floating-chip strong {
  color: var(--navy);
  font-size: 15px;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.section.dark {
  color: white;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.35), transparent 34%),
    linear-gradient(135deg, #071225, #0b1b34 70%, #10264a);
}

.section-head {
  max-width: 790px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2,
.split-copy h2,
.cta-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.dark .section-head h2,
.dark .section-head p,
.dark .section-kicker,
.dark .split-copy h2 {
  color: white;
}

.section-head p,
.split-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.dark .section-head p,
.dark .split-copy p {
  color: rgba(255,255,255,0.76);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.split-grid.reverse .split-copy {
  order: 2;
}

.split-grid.reverse .image-frame {
  order: 1;
}

.image-frame {
  border-radius: 30px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  width: 100%;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
}


/* Force all homepage visuals into wide website-style frames without changing source images. */
.hero-visual,
.image-frame,
.visual-card {
  min-height: 0;
}

@media (max-width: 860px) {
  /* removed aspect-ratio override */
}

@media (max-width: 560px) {
  .visual-card,
  .image-frame {
    border-radius: 22px;
  }
}

.copy-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.copy-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #334155;
  font-weight: 700;
  line-height: 1.55;
}

.copy-item .mark {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(37,99,235,0.1);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.problem-card,
.feature-card,
.use-card,
.metric-card,
.safe-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.problem-card {
  padding: 22px;
}

.problem-card .icon,
.feature-card .icon,
.use-card .icon,
.safe-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(37,99,235,0.1);
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 16px;
}

.problem-card h3,
.feature-card h3,
.use-card h3,
.safe-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 17px;
  letter-spacing: -0.025em;
}

.problem-card p,
.feature-card p,
.use-card p,
.safe-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.insight-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 34px;
}

.insight-box {
  border: 1px solid rgba(219,231,245,0.2);
  background: rgba(255,255,255,0.08);
  border-radius: 26px;
  padding: 24px;
}

.insight-box h3 {
  margin: 0 0 18px;
  font-size: 20px;
}

.session-list {
  display: grid;
  gap: 10px;
}

.session-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  font-weight: 700;
}

.session-row.connected {
  background: linear-gradient(135deg, rgba(37,99,235,0.55), rgba(6,182,212,0.22));
  color: white;
  border: 1px solid rgba(6,182,212,0.35);
}

.flow-wrapper {
  margin-top: 42px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: stretch;
}

.flow-step {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 18px;
  min-height: 150px;
}

.flow-step:after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.flow-step:last-child:after {
  display: none;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 14px;
}

.flow-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--navy);
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.product-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  padding: 22px;
}

.feature-card.large {
  grid-column: span 2;
  background: linear-gradient(135deg, #0b1b34, #123a76);
  color: white;
  border-color: rgba(255,255,255,0.12);
}

.feature-card.large h3,
.feature-card.large p {
  color: white;
}

.feature-card.large p {
  color: rgba(255,255,255,0.76);
}

.feature-card.large .icon {
  background: rgba(255,255,255,0.12);
  color: white;
}

.dashboard-frame img {
  object-position: center;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.use-card {
  padding: 22px;
}

.metric-band {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-card {
  padding: 22px;
  text-align: center;
}

.metric-card strong {
  display: block;
  color: var(--navy);
  font-size: 36px;
  letter-spacing: -0.06em;
}

.metric-card span {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.safe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.safe-card {
  padding: 20px;
}

.cta-section {
  padding: 90px 0 110px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  padding: 58px;
  color: white;
  background:
    radial-gradient(circle at 12% 22%, rgba(6,182,212,0.35), transparent 30%),
    radial-gradient(circle at 80% 8%, rgba(37,99,235,0.5), transparent 30%),
    linear-gradient(135deg, #071225, #10264a);
  box-shadow: 0 34px 90px rgba(7, 18, 37, 0.28);
}

.cta-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.22) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.25;
}

.cta-content {
  position: relative;
  max-width: 760px;
}

.cta-panel h2 {
  color: white;
}

.cta-panel p {
  margin: 18px 0 28px;
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  line-height: 1.7;
}

.contact-line {
  position: relative;
  margin-top: 28px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.8);
  font-weight: 700;
}

.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 80px 0 30px;
  font-size: 14px;
  border-top: none;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 320px;
}

.footer-logo {
  width: 150px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  line-height: 1.6;
  margin: 0;
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

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

.footer-bottom-links a:hover {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .nav-menu {
    gap: 18px;
  }

  .problem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-step:after {
    display: none;
  }

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

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, 760px);
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255,255,255,0.97);
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .nav-menu a:hover {
    background: #f4f8ff;
  }

  .nav-menu a:after {
    display: none;
  }

  .nav-dropdown-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-dropdown-btn {
    padding: 14px 12px;
    justify-content: space-between;
    width: 100%;
    font-size: 14px;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 16px;
    background: transparent;
    opacity: 1;
    visibility: visible;
    display: flex;
    gap: 2px;
  }
  .nav-dropdown-item {
    padding: 10px 12px !important;
  }


  .header-actions .btn-secondary {
    display: none;
  }

  .hero {
    padding: 58px 0 58px;
  }

  .hero-grid,
  .split-grid,
  .product-shell,
  .privacy-grid,
  .insight-panel {
    grid-template-columns: 1fr;
  }

  .split-grid.reverse .split-copy,
  .split-grid.reverse .image-frame {
    order: initial;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 11vw, 62px);
  }

  .hero-proof,
  .metric-band {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .flow-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .product-shell {
    gap: 22px;
  }

  .cta-panel {
    padding: 36px 24px;
    border-radius: 28px;
  }
}

@media (max-width: 560px) {
  .logo-link img {
    width: 136px;
  }

  .header-actions .btn-primary {
    display: none;
  }

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

  .btn {
    width: 100%;
  }

  .hero-proof {
    gap: 10px;
  }

  .floating-chip {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .feature-card.large,
  .module-grid,
  .safe-grid,
  .use-grid {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .section-head {
    text-align: left;
  }

  .section-head h2,
  .split-copy h2,
  .cta-panel h2 {
    font-size: clamp(32px, 9vw, 44px);
  }
}

/* WOW Premium Login Dropdown Component */
.login-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.login-dropdown-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.login-dropdown-btn .dropdown-chevron {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-dropdown-wrap:hover .login-dropdown-btn .dropdown-chevron,
.login-dropdown-wrap.open .login-dropdown-btn .dropdown-chevron {
  transform: rotate(180deg);
}

.login-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 8px 16px -6px rgba(15, 23, 42, 0.08);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
  text-align: left;
}

.login-dropdown-wrap:hover .login-dropdown-menu,
.login-dropdown-wrap.open .login-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

.login-dropdown-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  padding: 6px 10px 4px;
}

.login-dropdown-item {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px !important;
  text-decoration: none !important;
  border-radius: 10px;
  transition: all 0.15s ease;
}

.login-dropdown-item:hover {
  background: #f8fafc;
  transform: translateX(2px);
}

.login-dropdown-item .item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.login-dropdown-item .item-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.login-dropdown-item .item-desc {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.login-dropdown-item .badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.badge-legacy {
  color: #64748b;
  background: #f1f5f9;
}

.item-active-platform .item-title {
  color: #2563EB;
}

.item-active-platform:hover {
  background: #eff6ff !important;
}

.badge-new {
  color: #ffffff;
  background: #2563EB;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.dropdown-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 6px 4px;
}

.mobile-auth-strip {
  display: none;
}

@media (max-width: 860px) {
  .header-actions .login-dropdown-wrap {
    display: none;
  }
  .mobile-auth-strip {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  .mobile-auth-strip a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--slate);
    text-decoration: none;
    border-radius: 10px;
  }
  .mobile-auth-strip .auth-highlight {
    color: #2563EB !important;
    background: #eff6ff;
    font-weight: 700;
  }
}
