.header {
  height: 60px;
  background: #212121;
  border-bottom: 1px solid #333333;
  justify-content: space-between;
  padding: 0 25px;
  flex-shrink: 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header,
.header-left {
  display: flex;
  align-items: center;
}

.header-left {
  gap: 10px;
}

.hamburger-logo,
.header-logo {
  width: 40px;
  height: 40px;
}

.header-title {
  font-size: 16px;
  font-weight: 600;
  color: #3498db;
}

.search-wrapper {
  position: relative;
  flex: 1 1;
  margin: 0 30px;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 16px;
  color: #9ca3af;
  pointer-events: none;
}

.header-right,
.language-select,
.profile-dropdown,
.search-bar {
  color: #e5e5e5;
}

.search-bar {
  width: 85%;
  padding: 10px 15px 10px 36px;
  border-radius: 8px;
  background-color: #2a2a2a;
  border: 1px solid #333333;
  font-size: 14px;
}

.search-bar::placeholder {
  color: #cccccc;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.language-select,
.profile-dropdown {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.flag {
  width: 18px;
  height: 14px;
  object-fit: cover;
}

.dropdown-container {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #2a2a2a;
  border: 1px solid #333333;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  list-style: none;
  margin-top: 8px;
  padding: 8px 0;
  z-index: 10;
  min-width: 150px;
}

.dropdown-menu li {
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.dropdown-menu a {
  color: #e5e5e5;
  text-decoration: none;
}

.dropdown-menu li {
  color: #e5e5e5;
}

.dropdown-menu li:hover {
  background-color: #333333;
}

@media (max-width: 768px) {
  .header {
    height: auto !important;
    padding: 10px 20px;
    gap: 10px;
  }

  .search-wrapper {
    width: 100%;
    margin: 10px 0;
  }
}

.sidebar {
  width: 220px;
  height: 100vh;
  background: #212121;
  border-right: 1px solid #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 15px;
  transition:
    width 0.3s ease-in-out,
    transform 0.3s ease-in-out;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  align-self: flex-start;
  overflow: visible;
}

.dashboard-logo-img {
  width: 100%;
}

.logo-full {
  display: block;
}

.logo-collapsed {
  display: none;
}

.sidebar-logo {
  gap: 10px;
  margin-bottom: 30px;
}

.logo-circle,
.sidebar-logo {
  display: flex;
  align-items: center;
}

.logo-circle {
  width: 40px;
  height: 40px;
  background: black;
  color: white;
  border-radius: 50%;
  justify-content: center;
  font-weight: 700;
}

.logo-text {
  font-weight: 600;
  color: #3498db;
  font-size: 14px;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.menu-item {
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  color: #e5e5e5;
  transition: background 0.3s;
}

.menu-item,
.menu-item a {
  display: flex;
  align-items: center;
}

.menu-item a {
  gap: 12px;
  width: 100%;
}

.menu-item-text {
  white-space: nowrap;
  transition: opacity 0.3s ease-in-out;
}

.menu-item:hover {
  background: #2a2a2a;
}

.menu-item.active {
  background: linear-gradient(90deg, #57d163 -2.67%, #00a2ff 109.11%);
  color: white;
  border-radius: 20px;
  padding: 15px;
  font-weight: 500;
}

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

.refer-button {
  background: linear-gradient(90deg,
      rgba(8, 163, 246, 0.3),
      rgba(33, 220, 153, 0.3));
  padding: 20px;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 18px;
  color: #e5e5e5;
  cursor: pointer;
}

.upgrade-box {
  background: #fef3c7;
  padding: 12px;
  border-radius: 6px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.upgrade-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.upgrade-desc {
  font-size: 12px;
  margin-bottom: 4px;
}

.know-more {
  font-size: 12px;
  color: #2563eb;
  text-decoration: underline;
}

.upgrade-img {
  object-fit: contain;
  width: 100%;
}

.sidebar-overlay {
  display: none;
}

@media (max-width: 768px) {
  .sidebar {
    height: 100vh;
  }

  .sidebar-overlay {
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 11111;
    cursor: pointer;
  }

  .sidebar,
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
  }

  .sidebar {
    transform: translateX(-100%);
    z-index: 1000;
    background: #212121;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  }

  .sidebar.show {
    transform: translateX(0);
    z-index: 11111;
  }

  .sidebar-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: none;
    color: #e5e5e5;
    transition: color 0.2s;
    z-index: 1001;
  }

  .sidebar-close-btn:hover {
    color: #ffffff;
  }

  .refer-button {
    display: none;
  }

  .upgrade-img {
    position: absolute;
    top: 70%;
    width: 90%;
    margin: 0 auto;
  }

  .sidebar.collapsed {
    width: 220px !important;
    padding: 20px 15px !important;
  }

  .sidebar.collapsed .menu-item-text {
    display: block !important;
  }

  .sidebar.collapsed .menu-item {
    padding: 10px 15px !important;
    border-radius: 6px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 10px !important;
  }

  .sidebar.collapsed .menu-item a {
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
  }

  .sidebar.collapsed .menu-item.active {
    border-radius: 20px !important;
    padding: 15px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 10px !important;
  }

  .sidebar.collapsed .sidebar-footer {
    display: flex !important;
  }

  .sidebar.collapsed .sidebar-logo {
    justify-content: flex-start !important;
  }

  .sidebar .logo-full,
  .sidebar.collapsed .logo-full {
    display: block !important;
  }

  .sidebar .logo-collapsed,
  .sidebar.collapsed .logo-collapsed {
    display: none !important;
  }
}

.sidebar-toggle-btn {
  position: absolute;
  top: 15px;
  right: -20px;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: visible;
  -webkit-clip-path: none;
  clip-path: none;
  transition: none;
}

.sidebar-toggle-btn svg {
  display: block;
  width: 30px;
  height: 30px;
  overflow: visible !important;
  -webkit-clip-path: none !important;
  clip-path: none !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@media (min-width: 769px) {
  .sidebar-close-btn {
    display: none;
  }

  .sidebar-toggle-btn {
    display: flex;
  }

  .sidebar.collapsed {
    width: 80px;
    padding: 20px 10px;
    margin-right: 0;
  }

  .sidebar,
  .sidebar.collapsed {
    position: relative;
  }

  .sidebar.collapsed .sidebar-logo {
    justify-content: center;
    margin-bottom: 20px;
  }

  .sidebar.collapsed .dashboard-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  .sidebar.collapsed .menu-item-text {
    display: none;
  }

  .sidebar.collapsed .menu-item {
    justify-content: center;
    padding: 12px 10px;
    border-radius: 50%;
    width: 50px;
    margin: 0 auto 10px;
  }

  .sidebar.collapsed .menu-item a {
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
  }

  .sidebar.collapsed .menu-item.active {
    border-radius: 50%;
    padding: 10px 12px;
    width: 45px;
    margin: 0 auto 10px;
  }

  .sidebar.collapsed .sidebar-footer {
    display: none;
  }

  .sidebar.collapsed .sidebar-toggle-btn {
    right: 0;
    top: 15px;
    transform: translateX(50%);
  }

  .sidebar.collapsed .logo-full {
    display: none;
  }

  .sidebar.collapsed .logo-collapsed,
  .sidebar:not(.collapsed) .logo-full {
    display: block;
  }

  .sidebar:not(.collapsed) .logo-collapsed {
    display: none;
  }
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://mysmartassistant.ai/_next/static/media/f639721981034f88-s.woff2) format("woff2");
  unicode-range:
    u+0460-052f, u+1c80-1c8a, u+20b4, u+2de0-2dff, u+a640-a69f, u+fe2e-fe2f;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://mysmartassistant.ai/_next/static/media/9766a7e9e2e0ad5a-s.woff2) format("woff2");
  unicode-range: u+0301, u+0400-045f, u+0490-0491, u+04b0-04b1, u+2116;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://mysmartassistant.ai/_next/static/media/b66cf8e69499582a-s.woff2) format("woff2");
  unicode-range:
    u+0102-0103, u+0110-0111, u+0128-0129, u+0168-0169, u+01a0-01a1,
    u+01af-01b0, u+0300-0301, u+0303-0304, u+0308-0309, u+0323, u+0329,
    u+1ea0-1ef9, u+20ab;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://mysmartassistant.ai/_next/static/media/aa016aab0e6d1295-s.woff2) format("woff2");
  unicode-range:
    u+0100-02ba, u+02bd-02c5, u+02c7-02cc, u+02ce-02d7, u+02dd-02ff, u+0304,
    u+0308, u+0329, u+1d00-1dbf, u+1e00-1e9f, u+1ef2-1eff, u+2020, u+20a0-20ab,
    u+20ad-20c0, u+2113, u+2c60-2c7f, u+a720-a7ff;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://mysmartassistant.ai/_next/static/media/22a5144ee8d83bca-s.p.woff2) format("woff2");
  unicode-range:
    u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304,
    u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215,
    u+feff, u+fffd;
}

@font-face {
  font-family: Geist Fallback;
  src: local("Arial");
  ascent-override: 95.94%;
  descent-override: 28.16%;
  line-gap-override: 0%;
  size-adjust: 104.76%;
}

.__className_246ccd {
  font-family:
    Geist,
    Geist Fallback;
  font-style: normal;
}

.__variable_246ccd {
  --font-geist-sans: "Geist", "Geist Fallback";
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://mysmartassistant.ai/_next/static/media/d100b2a099e34044-s.woff2) format("woff2");
  unicode-range:
    u+0460-052f, u+1c80-1c8a, u+20b4, u+2de0-2dff, u+a640-a69f, u+fe2e-fe2f;
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://mysmartassistant.ai/_next/static/media/2c34d62a75506231-s.woff2) format("woff2");
  unicode-range: u+0301, u+0400-045f, u+0490-0491, u+04b0-04b1, u+2116;
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://mysmartassistant.ai/_next/static/media/0f1bdadaf30e2d5f-s.woff2) format("woff2");
  unicode-range: u+2000-2001, u+2004-2008, u+200a, u+23b8-23bd, u+2500-259f;
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://mysmartassistant.ai/_next/static/media/a115172161b307bb-s.woff2) format("woff2");
  unicode-range:
    u+0102-0103, u+0110-0111, u+0128-0129, u+0168-0169, u+01a0-01a1,
    u+01af-01b0, u+0300-0301, u+0303-0304, u+0308-0309, u+0323, u+0329,
    u+1ea0-1ef9, u+20ab;
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://mysmartassistant.ai/_next/static/media/601f5c280d60caca-s.woff2) format("woff2");
  unicode-range:
    u+0100-02ba, u+02bd-02c5, u+02c7-02cc, u+02ce-02d7, u+02dd-02ff, u+0304,
    u+0308, u+0329, u+1d00-1dbf, u+1e00-1e9f, u+1ef2-1eff, u+2020, u+20a0-20ab,
    u+20ad-20c0, u+2113, u+2c60-2c7f, u+a720-a7ff;
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://mysmartassistant.ai/_next/static/media/f5271587012faf78-s.p.woff2) format("woff2");
  unicode-range:
    u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304,
    u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215,
    u+feff, u+fffd;
}

@font-face {
  font-family: Geist Mono Fallback;
  src: local("Arial");
  ascent-override: 74.67%;
  descent-override: 21.92%;
  line-gap-override: 0%;
  size-adjust: 134.59%;
}

.__className_4c40f6 {
  font-family:
    Geist Mono,
    Geist Mono Fallback;
  font-style: normal;
}

.__variable_4c40f6 {
  --font-geist-mono: "Geist Mono", "Geist Mono Fallback";
}


body {
  font-family: var(--font-primary);
  background-color: #fafafa;
  max-width: 100%;
}

body,
html {
  overflow-x: hidden;
}

html {
  scroll-behavior: auto;
  max-width: 100vw;
}
/* Smooth scrolling ONLY after the page has focus (i.e. user interaction). This keeps
   anchor-link scrolling smooth while making the browser's scroll RESTORATION on reload
   instant — fixes the "jumps to the top then back to where I was" flicker on refresh. */
@media (prefers-reduced-motion: no-preference) {
  html:focus-within {
    scroll-behavior: smooth;
  }
}

body::-webkit-scrollbar,
html::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track,
html::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 10px;
  border: 2px solid #f0f0f0;
}

body::-webkit-scrollbar-thumb:hover,
html::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #c0c0c0 #f0f0f0;
}

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

@media screen and (max-width: 767px) {

  input[type="email"],
  input[type="number"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  input[type="text"],
  select,
  textarea {
    font-size: 16px;
  }
}

.landing-container {
  background-image: none;
  background-color: #fafafa;
  position: relative;
  overflow: hidden;
}

.background-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.dot {
  position: absolute;
  border-radius: 50%;
  animation: glowPulse 3s ease-in-out infinite;
  filter: blur(1px);
}

@keyframes glowPulse {

  0%,
  to {
    opacity: 0.2;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}

.scrolled {
  position: fixed !important;
  top: 0;
  width: 100%;
  background-color: #000;
  transition:
    top 0.3s ease-in-out,
    box-shadow 0.3s;
  z-index: 999;
  padding: 1rem 3rem !important;
}

.scrolled img {
  width: 25%;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 2rem 3rem;
}

.hidden {
  display: none;
}

.navbar-content {
  max-width: 1400px;
  margin: 0 auto;
  justify-content: space-between;
}

.navbar-brand,
.navbar-content {
  display: flex;
  align-items: center;
}

.navbar-brand {
  gap: 0.75rem;
}

.brand-icon {
  width: 35%;
  padding: 0;
  background: #000;
  object-fit: contain;
  aspect-ratio: 1952/519;
  height: auto;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 500;
  background: linear-gradient(90deg, #22d3ee, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: #fff0;
  background-clip: text;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* ===== ACCESSIBILITY (WCAG AA) ===== */

/* Skip Link (WCAG 2.4.1) — visible only on Tab */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: #43C05F;
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  font-weight: 600;
  z-index: 999999;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #0090A8;
  outline-offset: 2px;
}

/* Global Focus Indicator (WCAG 2.4.7) */
*:focus-visible {
  outline: 3px solid #0090A8;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Remove outline for mouse clicks (non-keyboard) */
*:focus:not(:focus-visible) {
  outline: none;
}

/* Screen Reader Only (visually hidden but accessible) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Prefers Reduced Motion (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Prefers High Contrast */
@media (forced-colors: active) {
  .skip-link:focus {
    outline: 3px solid LinkText;
  }

  *:focus-visible {
    outline: 3px solid LinkText;
  }
}

/* Minimum Touch Target (WCAG 2.5.8 — 44x44px) */
@media (pointer: coarse) {
  button,
  [role="button"],
  a.nav-link,
  a.footer-link,
  .faq-question,
  .nav-dropdown-item {
    min-height: 44px;
    min-width: 44px;
  }
}
