* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.6;
  
}

header {
  position: sticky;
  top: 0;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  z-index: 1000;
  flex-wrap: nowrap;
  border-bottom: 1px solid #e1dfdd;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #323130;
}

.pricing-link {
  text-decoration: none;
  color: #323130;
  font-weight: 400;
  font-size: 0.9375rem;
  padding: 8px 16px;
  transition: color 0.2s ease;
  position: relative;
  margin-left: 16px;
}

.pricing-link:hover {
  color: #0078d4;
}

.pricing-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #0078d4;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pricing-link:hover::after {
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.25);
  outline-offset: 2px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span + span {
  margin-top: 5px;
}

header.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

header.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


.logo {
  height: 42px;
  filter: brightness(0.8);
  transition: transform 0.2s, filter 0.2s;
}

.logo:hover {
  transform: scale(1.05);
  filter: brightness(1);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: flex;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: #323130;
  font-weight: 400;
  font-size: 0.9375rem;
  padding: 8px 0;
  transition: color 0.2s ease;
  position: relative;
}

nav ul li a:not(:has(button)):hover {
  color: #0078d4;
}

nav ul li a:not(:has(button)):hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #0078d4;
}

nav ul li a button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: inherit;
}

.nav-profile {
  display: none;
  align-items: center;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.profile-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37,99,235,0.9), rgba(99,102,241,0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.95rem;
  overflow: hidden;
  box-shadow: 0 10px 24px -16px rgba(37, 99, 235, 0.6);
  border: 1px solid rgba(255,255,255,0.18);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.profile-initial {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

nav a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: #2563eb;
}

button {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.sign-in-btn, .get-started-btn {
  border-radius: 2px;
  padding: 8px 16px;
  font-weight: 400;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.sign-in-btn {
  background-color: transparent;
  color: #323130;
  border: none;
}

.sign-in-btn:hover {
  background-color: #f3f2f1;
  color: #323130;
}

.get-started-btn {
  background: transparent;
  color: #2563eb;
}

.get-started-btn {
  background-color: #0078d4;
  color: #fff;
}

.get-started-btn:hover {
  background-color: #106ebe;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 5%;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  max-width: 550px;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
}

.hero-content span {
  color: #2563eb;
}

.hero-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.google-btn {
  background: #f3f4f6;
  color: #111827;
}

.google-btn:hover {
  background: #e5e7eb;
}

.hero-image img {
  max-width: 450px;
  border-radius: 16px;
}

.features {
  text-align: center;
  padding: 5rem 10%;
  background: #ffffff;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.feature-card i {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 1rem;
}

.editor {
  padding: 4rem 10%;
  background: #f3f4f6;
  text-align: center;
}

.editor textarea {
  width: 100%;
  min-height: 200px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 1rem;
}

.testimonials {
  padding: 5rem 10%;
  background: #fff;
  text-align: center;
}

.testimonial-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.testimonial {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 12px;
  max-width: 300px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

footer {
  background: #0f172a;
  color: #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 3rem 10%;
}

.footer-logo {
  height: 36px;
  filter: brightness(0.9);
  margin-bottom: 1rem;
}

.footer-right ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.footer-right a {
  color: #e2e8f0;
  text-decoration: none;
}

.socials a {
  color: #e2e8f0;
  margin-right: 1rem;
  font-size: 1.2rem;
}

.socials a:hover {
  color: #60a5fa;
}

footer p {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

.name-a {
  text-decoration: none;
  color: inherit;
}

.about-hero {
  background: linear-gradient(to right, #2563eb, #1e40af);
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
}

.about-hero h1 {
  font-size: 3rem;
}

.about-hero span {
  color: #facc15;
}

.about-hero p {
  font-size: 1.2rem;
  margin-top: 1rem;
  opacity: 0.9;
}

.about-story, .mission, .team {
  padding: 5rem 10%;
  background: #fff;
  text-align: center;
}

.about-story p {
  max-width: 800px;
  margin: 1rem auto;
  color: #475569;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.mission-card {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.mission-card i {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 1rem;
}

.team-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background: #f9fafb;
  border-radius: 12px;
  padding: 2rem;
  max-width: 250px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.team-member img {
  width: 100%;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.cta {
  background: #2563eb;
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.cta button {
  margin-top: 1rem;
  background: #facc15;
  color: #111827;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.cta button:hover {
  background: #fde047;
}

.legal-page {
  padding: 5rem 10%;
  background: #fff;
  color: #1e293b;
  font-family: "Inter", sans-serif;
  line-height: 1.7;
}

.legal-page h1 {
  font-size: 2.5rem;
  color: #1e40af;
  margin-bottom: 1rem;
}

.legal-page h2 {
  font-size: 1.4rem;
  color: #2563eb;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

.legal-page p {
  max-width: 850px;
  margin: 0.5rem auto;
  color: #475569;
}

.legal-page a {
  color: #2563eb;
  text-decoration: underline;
}

.legal-page a:hover {
  color: #1d4ed8;
}

.trusted {
  background: #f8fafc;
  padding: 4rem 1rem;
  text-align: center;
}

.trusted h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 2rem;
  font-family: "Inter", sans-serif;
}

.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-track {
  display: flex;
  animation: scroll 30s linear infinite;
}

.logo-slider img {
  height: 45px;
  width: auto;
  margin: 0 50px;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
  filter: grayscale(100%);
}

.logo-slider img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-slider::before,
.logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, #f8fafc 80%, transparent);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, #f8fafc 80%, transparent);
}


.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 650px;
  background: rgba(15, 23, 42, 0.95);
  color: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Poppins", sans-serif;
  z-index: 9999;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  max-width: 60%;
}

.cookie-banner a {
  color: #60a5fa;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.cookie-buttons button {
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

#reject-cookies { background: #ef4444; color: #fff; }
#essential-cookies { background: #fbbf24; color: #000; }
#accept-all-cookies { background: #2563eb; color: #fff; }

.cookie-buttons button:hover { opacity: 0.9; }

.cookie-banner.hidden { display: none; }

.auth-container {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  width: 300px;
  text-align: center;
}

.auth-container input {
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.auth-container button {
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border-radius: 8px;
  border: none;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.auth-container button:hover {
  background: #1d4ed8;
}

.auth-container p {
  font-size: 14px;
  margin-top: 0.5rem;
}

.auth-container a {
  color: #2563eb;
  text-decoration: none;
}

#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast {
  min-width: 250px;
  background: #2563eb;
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  animation: slideIn 0.3s ease forwards;
}

.toast-progress {
  height: 4px;
  background: rgba(255,255,255,0.7);
  width: 100%;
  transform-origin: left;
}

@keyframes slideIn {
  0% { transform: translateX(100%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.dashboard-container {
  display: flex;
  height: calc(100vh - 60px);
  overflow: hidden;
}

.pro-upgrade-banner {
  display: none;
  margin: 0 0 1rem;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  box-shadow: 0 18px 40px -28px rgba(15, 23, 42, 0.7);
}

.pro-upgrade-banner.is-visible {
  display: block;
}

.pro-upgrade-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pro-upgrade-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pro-upgrade-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pro-upgrade-title i {
  color: #facc15;
}

.pro-upgrade-copy {
  font-size: 0.9rem;
  opacity: 0.95;
  max-width: 560px;
}

.pro-upgrade-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto;
}

.pro-upgrade-meta {
  font-size: 0.8rem;
  opacity: 0.9;
}

.pro-upgrade-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #1d4ed8;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 26px -18px rgba(15, 23, 42, 0.9);
  transition: background 0.18s ease, color 0.18s ease, transform 0.16s ease,
    box-shadow 0.18s ease;
}

.pro-upgrade-cta:hover {
  background: #eff6ff;
  color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -22px rgba(15, 23, 42, 0.9);
}

.pro-upgrade-cta:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px -14px rgba(15, 23, 42, 0.9);
}

@media (max-width: 768px) {
  .pro-upgrade-banner {
    padding: 10px 14px;
  }

  .pro-upgrade-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .pro-upgrade-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

.sidebar {
  width: 220px;
  color: black;
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem;
  gap: 1rem;
  border-right: 1px solid rgb(187, 187, 187);
}


.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  color: black;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.2s;
}

.sidebar ul li a:hover {
  background: #2563eb;
  color: #fff;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 1rem 2rem;
  background: #f8fafc;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.dropdown {
  position: relative;
}

.profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.profile-trigger:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 999px;
}

.profile-caret {
  color: #64748b;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.dropdown.open .profile-caret {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  overflow: hidden;
  min-width: 200px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  z-index: 1000;
}

.dropdown-email {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  word-break: break-word;
  background: #f8fafc;
}

.dropdown-content a {
  display: block;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
}

.dropdown-content a:hover {
  background: #2563eb;
  color: #fff;
}

.dropdown.open .dropdown-content {
  display: block;
}

.chat-container {
  flex: 1;
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 0.5rem;
  border: solid;
  border-width: 1px;
  border-color: rgb(187, 187, 187);
}

.user-message, .ai-message {
  padding: 0.6rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.6rem;
  max-width: 70%;
  word-wrap: break-word;
}

.user-message {
  background: #2563eb;
  color: #fff;
  align-self: flex-end;
}

.ai-message {
  background: #e2e8f0;
  color: #0f172a;
  align-self: flex-start;
}

#chat-form {
  display: flex;
  gap: 0.5rem;
}

#chat-input {
  flex: 1;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
}

#chat-form button {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  border: none;
  cursor: pointer;
}

.user-docs {
  margin-top: 2rem;
}

.docs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.docs-header h3 {
  font-size: 1.2rem;
}

.docs-header button {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
}

.docs-header button:hover {
  background: #1d4ed8;
}

.dashboard-search-input {
  padding: 8px 12px;
  border: 1px solid rgba(148,163,184,0.6);
  border-radius: 10px;
  width: 220px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-search-input:focus {
  outline: none;
  border-color: rgba(37,99,235,0.75);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

#docs-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#docs-list li {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: background 0.2s;
}

#docs-list li:hover {
  background: #2563eb;
  color: #fff;
}


@media (max-width: 1024px) {
  header {
    padding: 0.9rem 5%;
  }

  .header-right ul {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    flex-direction: column;
    gap: 2.5rem;
  }

  .hero-content {
    text-align: center;
    padding: 0 20px;
    margin: 0 auto;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  header {
    padding: 0.85rem 5%;
  }

  .menu-toggle {
    display: inline-flex;
  }

  nav.header-right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 20px 42px -28px rgba(15, 23, 42, 0.45);
    padding: 1rem 5% 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 120;
  }

  header.nav-open nav.header-right {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  header.nav-open .menu-toggle {
    background: rgba(37, 99, 235, 0.08);
  }

  .header-right ul {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    align-items: flex-start;
  }

  .header-right li {
    width: 100%;
  }

  .header-right li a {
    width: 100%;
    display: inline-flex;
  }

  .header-right li button,
  .header-right li a button {
    width: 100%;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .get-started-btn,
  .google-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  form {
    width: 100%;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  button,
  .google-btn {
    font-size: 0.9rem;
    padding: 10px 18px;
  }

  .feature-card h3 {
    font-size: 1.1rem;
  }

  .footer-left p {
    font-size: 0.9rem;
  }
}

@media (max-width: 1024px) {
  .dashboard-container {
    flex-direction: column;
  }

  aside.sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
    display: flex;
    overflow-x: auto;
    padding: 10px;
  }

  aside.sidebar ul {
    display: flex;
    flex-wrap: nowrap;
  }

  aside.sidebar li {
    margin-right: 15px;
    margin-bottom: 0;
  }

  main.main-content {
    padding: 15px;
  }

  .docs-grid li {
    width: 45%;
    height: auto;
  }

  #search-docs {
    width: 100px;
  }

  .docs-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .modal-content {
    width: 90%;
    padding: 20px;
  }
}

@media (max-width: 600px) {
  aside.sidebar {
    flex-direction: column;
    overflow-x: visible;
  }

  aside.sidebar li a {
    font-size: 0.9rem;
  }

  .docs-grid li {
    width: 100%;
  }

  #search-docs {
    width: 100%;
  }

  .docs-header {
    align-items: stretch;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .modal-content {
    width: 95%;
    padding: 15px;
  }
}
