/* ===============================================
   Header scroll effects and styling
   =============================================== */
.wpml-ls-legacy-dropdown-click {
  width: 4.5rem !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.wpml-ls-legacy-dropdown-click a {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.wpml-ls-legacy-dropdown,
.wpml-ls-legacy-dropdown ul,
.wpml-ls-legacy-dropdown li {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.wpml-ls-legacy-dropdown ul li {
  border-top: none !important;
  border-bottom: none !important;
}

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
  border-top: none !important;
}

:root {
  --color-primary: #37c47d;
  --color-accent: #2d9c63;
  --color-background: #ffffff;
  --color-muted: #f9fbfd;
  --color-muted-dark: #64748b;
  --color-foreground: #1e293b;
  --color-border: #e2e8f0;
  --color-success: #10b981;
  --color-danger: #ef4444;
  --color-warning: #f59e0b;
}

/* ===============================================
   Header scroll effects and styling
   =============================================== */

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif !important;
  font-weight: 700 !important;
}

.header-scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-scrolled .nav-link {
  color: #101828 !important;
  font-weight: 400 !important;
  font-family: 'Inter', sans-serif !important;
}

.header-scrolled .logo-text {
  color: #101828 !important;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
}

.header-transparent {
  background-color: transparent !important;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-transparent .nav-link {
  color: white !important;
  font-weight: 400 !important;
  font-family: 'Inter', sans-serif !important;
}

.header-transparent .logo-text {
  color: white !important;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
}

.header-transparent .nav-link:hover,
.header-transparent .nav-link.active {
  text-shadow: 0.5px 0 0 currentColor;
  font-weight: 400 !important;
}

.header-scrolled .nav-link:hover,
.header-scrolled .nav-link.active {
  text-shadow: 0.5px 0 0 currentColor;
  font-weight: 400 !important;
}

.nav-login {
  font-weight: 400 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px;
  line-height: 20px;
  padding: 0.5rem 0;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-login:hover {
  text-shadow: 0.5px 0 0 currentColor;
  font-weight: 400 !important;
}

.header-transparent .nav-login {
  color: white !important;
  text-decoration: none !important;
}

.header-scrolled .nav-login {
  color: #101828 !important;
  text-decoration: none !important;
}

header .nav-login {
  font-weight: 400 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  line-height: 20px !important;
  padding: 0.5rem 0 !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.header-transparent .nav-login:hover,
.header-transparent .nav-login.active {
  text-shadow: 0.5px 0 0 currentColor;
  font-weight: 400 !important;
}

.header-scrolled .nav-login:hover,
.header-scrolled .nav-login.active {
  text-shadow: 0.5px 0 0 currentColor;
  font-weight: 400 !important;
}

.header-transparent #language-desktop {
  color: rgba(255, 255, 255, 0.7) !important;
}

.header-transparent #language-desktop:hover {
  color: white !important;
}

.header-scrolled #language-desktop {
  color: #6b7280 !important;
}

.header-scrolled #language-desktop:hover {
  color: #101828 !important;
}

/* WPML language selector specific styling */
.header-transparent .wpml-ls-legacy-dropdown-click a,
.header-transparent .wpml-ls-legacy-dropdown a {
  color: white !important;
}

.header-transparent .wpml-ls-legacy-dropdown-click a:hover,
.header-transparent .wpml-ls-legacy-dropdown a:hover {
  color: white !important;
}

.header-scrolled .wpml-ls-legacy-dropdown-click a,
.header-scrolled .wpml-ls-legacy-dropdown a {
  color: #6b7280 !important;
}

.header-scrolled .wpml-ls-legacy-dropdown-click a:hover,
.header-scrolled .wpml-ls-legacy-dropdown a:hover {
  color: #101828 !important;
}

@media (max-width: 767px) {
  #mobile-menu {
    background-color: #ffffff !important;
    opacity: 1 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
  }

  #mobile-menu.translate-y-0,
  #mobile-menu:not(.hidden) {
    background-color: #ffffff !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .header-transparent #mobile-menu,
  .header-scrolled #mobile-menu {
    background-color: #ffffff !important;
    opacity: 1 !important;
  }

  #mobile-menu .btn-primary {
    width: 134px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 0 !important;
  }
}

.desktop-nav {
  gap: 2rem;
  margin-left: 0;
  flex: 1;
}

#main-header .max-w-7xl {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3rem;
}

@media (max-width: 767px) {
  #main-header .max-w-7xl {
    justify-content: space-between;
    gap: 0;
  }
}

#mobile-menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  #mobile-menu-button {
    display: none !important;
  }
}

#mobile-menu-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.header-scrolled #mobile-menu-button svg {
  color: #1f2937 !important;
}

.header-transparent #mobile-menu-button svg {
  color: white !important;
}

#mobile-menu-button.menu-active svg {
  color: #1f2937 !important;
}

/* ===========================================
   MOBILE DASHBOARD MENU
   =========================================== */

.mobile-dashboard-menu {
  padding-top: 1rem;
}

.mobile-nav-item {
  color: #374151;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.mobile-nav-item:hover {
  background-color: #f9fafb;
  border-color: #e5e7eb;
  color: var(--color-primary);
}

.mobile-nav-item:active {
  background-color: #f3f4f6;
}

.mobile-nav-item img {
  transition: all 0.2s ease;
}

.mobile-nav-item:hover img {
  transform: scale(1.1);
}

.header-logo {
  width: 170px;
  height: auto;
  max-height: 20.28px;
}

.logo-text {
  font-weight: 700 !important;
  font-family: 'Satoshi', sans-serif !important;
  font-size: 18px !important;
  line-height: 24px !important;
}

.desktop-nav .nav-link {
  padding: 0.5rem 0;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 400 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
  text-shadow: 0.5px 0 0 currentColor;
  font-weight: 400 !important;
}

.header-cta {
  width: 134px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
  white-space: nowrap;
  padding: 0;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.header-transparent .header-cta,
.header-scrolled .header-cta {
  background-color: #37c47d !important;
  color: #1e2e3a !important;
  border: 2px solid #37c47d !important;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 134px !important;
  height: 40px !important;
  border-radius: 40px !important;
  transition: all 0.3s ease !important;
}

header .btn-primary.header-cta {
  background-color: #37c47d !important;
  color: #1e2e3a !important;
  border: 2px solid #37c47d !important;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  border-radius: 40px !important;
}

.header-transparent .header-cta:hover,
.header-scrolled .header-cta:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(55, 196, 125, 0.5);
  filter: brightness(1.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #37c47d !important;
  color: #1e2e3a !important;
}

/* ===========================================
   PLAN & CREDITS + LOGOUT STYLING
   =========================================== */

.plan-credits-display,
.plan-separator,
.plan-credits .plan-name {
  color: #101828;
}

.logout-btn {
  color: #374151;
  border-color: #d1d5db;
}

.logout-btn:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

.mobile-plan-credits {
  color: #4b5563;
}

.mobile-plan-name {
  color: #374151;
}

.mobile-plan-credits-count {
  color: #4b5563;
}

.mobile-logout-btn {
  color: #374151;
  border: none;
  background: none;
  padding: 8px 0;
  font-weight: 500;
}

.header-transparent .plan-credits-display {
  color: rgba(255, 255, 255, 0.8);
}

.header-transparent .plan-name {
  color: #ffffff;
}

.header-transparent .plan-separator {
  color: rgba(255, 255, 255, 0.6);
}

.header-transparent .plan-credits {
  color: rgba(255, 255, 255, 0.8);
}

.header-transparent .logout-btn {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  background-color: transparent !important;
}

.header-transparent .logout-btn:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
}

.header-transparent .btn.btn-outline.header-cta.logout-btn {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: transparent !important;
}

.header-transparent .btn.btn-outline.header-cta.logout-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
}

#how .btn-primary-large {
  width: 201px !important;
  height: 54px !important;
  background-color: #37c47d !important;
  color: #1e2e3a !important;
  border: 2px solid #37c47d !important;
  border-radius: 40px !important;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.how-it-works-cta {
  width: 201px !important;
  height: 54px !important;
  background-color: #37c47d !important;
  color: #1e2e3a !important;
  border: 2px solid #37c47d !important;
  border-radius: 40px !important;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 !important;
}

.how-it-works-cta:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(55, 196, 125, 0.5);
  filter: brightness(1.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #37c47d !important;
  color: #1e2e3a !important;
}

.hero-cta {
  width: 134px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  padding: 0;
}

.btn-login {
  width: 134px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  padding: 0 !important;
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  color: white !important;
  border-radius: 40px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.btn-login:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 1) !important;
  color: white !important;
  text-decoration: none !important;
}

.header-scrolled .btn-login {
  border-color: #37c47d !important;
  color: #37c47d !important;
  background-color: transparent !important;
}

.header-scrolled .btn-login:hover {
  background-color: rgba(55, 196, 125, 0.1) !important;
  border-color: #37c47d !important;
  color: #37c47d !important;
}

#language-mobile .wpml-ls-statics-shortcode_actions,
#language-mobile .wpml-ls-item,
#language-mobile .wpml-ls-legacy-dropdown-click {
  margin: 0 auto;
  text-align: center;
  display: inline-block;
}

#language-desktop .wpml-ls-statics-shortcode_actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prose {
  color: var(--color-foreground);
  max-width: none;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: var(--color-foreground);
}

.prose p,
.prose li {
  color: var(--color-foreground);
}

.prose a {
  color: var(--color-primary);
  text-decoration: underline;
}

.prose a:hover {
  color: var(--color-accent);
}

.prose strong {
  color: var(--color-foreground);
}

.prose blockquote {
  border-left-color: var(--color-primary);
  background-color: var(--color-muted);
  color: var(--color-foreground);
}

.prose code {
  background-color: var(--color-muted);
  color: var(--color-foreground);
}

.prose pre {
  background-color: var(--color-foreground);
  color: var(--color-background);
}

.prose th,
.prose td {
  color: var(--color-foreground);
}

.prose th {
  background-color: var(--color-muted);
}

.footer-menu-items a {
  padding: 2px 0 !important;
  min-height: auto !important;
  line-height: 1.2 !important;
  display: block !important;
}

.footer-menu-items li {
  margin-bottom: 2px !important;
}

.swiper-slide {
  width: 100% !important;
  flex-shrink: 0;
}

.footer-menu-items a {
  padding: 2px 0 !important;
  min-height: auto !important;
  line-height: 1.2 !important;
  display: block !important;
}

.footer-menu-items li {
  margin-bottom: 2px !important;
}

.swiper-slide {
  width: 100% !important;
  flex-shrink: 0;
}

/* ===========================
   PRICING CARDS STYLES
   =========================== */

.ap-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 24px;
  height: 431px;
  margin: 0 0 0 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.ap-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.ap-card-pro {
  border-color: #bfead3;
  border-radius: 0 0 16px 16px;
  overflow: visible;
  margin: 0 0 0 0;
  height: 431px;
  padding: 24px;
}

.ap-pro-bar-main {
  position: absolute;
  top: -26px;
  left: -1px;
  width: 285px;
  height: 27px;
  background: #2ebe74;
  color: var(--color-background);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 16px 16px 0 0;
}

.ap-pro-bar {
  position: absolute;
  top: -26px;
  left: -1px;
  width: 252px;
  height: 27px;
  background: #2ebe74;
  color: var(--color-background);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 16px 16px 0 0;
}

.ap-plan-title {
  font-size: 20px;
  font-weight: 700;
  color: #0d1a2d;
  margin: 0 0 12px 0;
}

.ap-save-badge {
  background: transparent;
  color: #101828;
  width: auto;
  height: auto;
  border-radius: 0;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  margin-bottom: 10px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.ap-save-badge .original-price {
  color: #f0734a;
  text-decoration: line-through;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
}

.ap-save-badge .discount-percent {
  background: #f0734a;
  color: #ffffff;
  width: 42px;
  height: 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.ap-save-spacer {
  height: 32px;
  margin-bottom: 10px;
}

.ap-price-container {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 4px 0;
}

.ap-price {
  font-family: 'Satoshi', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #37c47d;
  line-height: 1;
  margin: 0;
}

.ap-price-custom {
  color: #37c47d;
  font-size: 28px;
  font-weight: 700;
}

.ap-per {
  font-size: 12px;
  color: #4a5565;
  margin: 0;
}

.ap-btn-outline,
.ap-btn-fill {
  width: 281px;
  height: 54px;
  border-radius: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  text-decoration: none;
  transition: 0.2s ease;
  font-size: 14px;
}

.ap-btn-outline {
  border: 1.5px solid #2bb36e;
  color: var(--color-foreground);
  background: transparent;
}

.ap-btn-outline:hover {
  background: #f3fcf7;
  color: var(--color-foreground);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #37c47d;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(55, 196, 125, 0.1);
  text-decoration: none;
  color: #fff;
}

header .btn.btn-outline.header-cta {
  background: transparent !important;
  border: 1.5px solid #37c47d !important;
  color: #1e2e3a !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 12px 24px !important;
  border-radius: 50px !important;
  width: auto !important;
  height: auto !important;
}

header .btn.btn-outline.header-cta:hover {
  background: rgba(55, 196, 125, 0.1) !important;
  color: #1e2e3a !important;
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}

.ap-btn-fill {
  background: #37c47d;
  color: var(--color-foreground);
  border: 1.5px solid #37c47d;
}

.ap-btn-fill:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(55, 196, 125, 0.5);
  filter: brightness(1.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ap-features {
  margin-top: 24px;
}

.ap-features-head {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a929c;
  margin-bottom: 12px;
}

.ap-li-yes,
.ap-li-no {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  margin-bottom: 8px;
  list-style: none;
}

.ap-li-yes {
  color: #2e3a46;
}

.ap-li-no {
  color: #c9cfd6;
}

.ap-li-yes::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #37c47d;
  font-weight: bold;
}

.ap-li-no::before {
  content: '−';
  position: absolute;
  left: 0;
  top: 0;
  color: #c9cfd6;
  font-weight: bold;
}

#pricing ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  #pricing .grid {
    justify-items: center;
  }

  .ap-card {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }
}

/* ===========================
   TESTIMONIALS STYLES
   =========================== */

.testimonials-carousel {
  position: relative;
}

.testimonials-track {
  display: flex;
  width: 400%;
  transition: transform 0.5s ease-in-out;
}

.testimonials-set {
  width: 25%;
  flex-shrink: 0;
  min-width: 0;
}

.testimonial-card {
  width: 360px;
  max-width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 2px 6px rgba(16, 24, 40, 0.06);
  padding: 20px 22px;
  height: auto;
  margin: 0 auto;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: 0 0 auto;
  object-fit: cover;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-family: 'Inter', sans-serif !important;
  font-size: 16px;
  font-weight: 700;
  color: #0d1a2d;
  margin: 0;
  text-align: left;
}

.testimonial-stars {
  display: flex;
  gap: 6px;
  margin: 2px 0 0 0;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: #37c47d;
  fill: currentColor;
}

.testimonial-text {
  text-align: left;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.45;
  color: #4a5565;
  margin-bottom: 0;
}

.carousel-navigation {
  display: flex;
  justify-content: center;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.carousel-dot {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: #e2e8f0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background: var(--color-primary);
}

.carousel-dot:hover {
  background: var(--color-accent);
}

@media (max-width: 768px) {
  .testimonials-set .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* ===========================
   CTA Final Hero Section
   =========================== */

.cta-hero {
  position: relative;
  background: linear-gradient(to top, #243746 0%, #1e2e3a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
  overflow: hidden;
}

.cta-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero.svg') center/cover no-repeat;
  opacity: 1;
  z-index: 0;
}

.cta-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.cta-hero-title {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.3;
  color: #fff;
  max-width: 617px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-hero .btn {
  padding: 14px 26px;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  display: inline-block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
}

.cta-hero .btn-primary {
  background: #37c47d;
  color: #fff;
  border: 1.5px solid #37c47d;
  font-size: 14px;
  font-weight: 600;
}

.cta-hero .btn-primary-large {
  width: 144px;
  height: 54px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero .btn-primary-large {
  width: 176px !important;
  height: 54px !important;
  background-color: #37c47d !important;
  color: #1e2e3a !important;
  border: 2px solid #37c47d !important;
  border-radius: 40px !important;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

#hero .sm\\:hidden .btn-primary-large {
  width: 200px !important;
  height: 50px !important;
  background-color: #37c47d !important;
  color: #1e2e3a !important;
  border: 2px solid #37c47d !important;
  border-radius: 40px !important;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cta-hero .btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(55, 196, 125, 0.5);
  filter: brightness(1.1);
  background-color: #37c47d !important;
  color: #1e2e3a !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#hero .btn-primary-large:hover,
#hero .final-cta:hover,
.final-cta:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 8px 20px rgba(55, 196, 125, 0.5) !important;
  filter: brightness(1.1) !important;
  background-color: #37c47d !important;
  color: #1e2e3a !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@media (max-width: 640px) {
  #hero .hero-text-wrapper {
    width: 95vw !important;
    height: auto !important;
    min-height: 150px !important;
    padding: 0 10px !important;
  }

  #hero .hero-text-wrapper h1 {
    font-size: clamp(24px, 8vw, 36px) !important;
    margin-bottom: 1rem !important;
  }

  #hero .hero-text-wrapper p {
    width: 90vw !important;
    height: auto !important;
    min-height: 50px !important;
    font-size: clamp(12px, 4vw, 14px) !important;
    line-height: 1.4 !important;
  }

  #hero .sm\\:hidden {
    width: min(350px, 90vw) !important;
  }
}

@media (max-width: 640px) {
  #how .how-it-works-subtitle {
    width: 90vw !important;
    height: auto !important;
    min-height: 40px !important;
    font-size: 14px !important;
    padding: 0 10px !important;
    line-height: 1.4 !important;
  }

  #how h2 {
    font-size: clamp(24px, 6vw, 32px) !important;
    padding: 0 10px !important;
  }

  #how .btn-primary-large {
    width: min(250px, 80vw) !important;
    height: 50px !important;
    font-size: 13px !important;
  }

  #how .grid {
    gap: 2rem !important;
    padding: 0 1rem !important;
  }

  #how .grid > div {
    padding: 1.5rem 1rem !important;
    text-align: center !important;
  }
}

@media (max-width: 1024px) {
  .about-us-title {
    width: 100% !important;
    height: auto !important;
    min-height: 120px !important;
    padding: 0 10px !important;
  }

  .about-us-content {
    width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
    padding: 0 10px !important;
  }
}

@media (max-width: 640px) {
  .about-us-title {
    width: 90vw !important;
    height: auto !important;
    min-height: 80px !important;
    font-size: clamp(24px, 6vw, 32px) !important;
    padding: 0 5px !important;
    text-align: center !important;
  }

  .about-us-content {
    width: 90vw !important;
    height: auto !important;
    min-height: 150px !important;
    padding: 0 5px !important;
  }

  .about-us-content p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
  }

  .about-us-section .grid {
    gap: 1.5rem !important;
  }
}
.cta-hero .btn-outline {
  background: transparent;
  border: 1.5px solid #37c47d;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.cta-hero .btn-outline:hover {
  background: rgba(55, 196, 125, 0.1);
}

@media (max-width: 768px) {
  .cta-hero {
    padding: 80px 20px;
  }

  .cta-hero-title {
    font-size: 28px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-hero .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ===========================
   FAQ SECTION STYLES
   =========================== */

.faq-item {
  background: var(--color-background);
  border: 1px solid #d2d2d2;
  border-radius: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:not([open]) {
  height: 60px;
}

.faq-item[open] {
  height: auto;
}

.faq-item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(55, 196, 125, 0.1);
}

.faq-item[open] {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(55, 196, 125, 0.15);
}

.faq-item summary {
  outline: none;
  list-style: none;
  user-select: none;
  padding: 18px 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  box-sizing: border-box;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  opacity: 0.8;
}

.faq-item[open] summary svg {
  color: var(--color-primary);
}

.faq-item p {
  padding: 0 24px 18px 24px;
  margin: 0;
  display: block;
  width: 100%;
}

@media (max-width: 768px) {
  .faq-item summary {
    padding: 16px 20px;
    font-size: 16px;
  }

  .faq-item[open] summary {
    padding-bottom: 10px;
  }

  .faq-item p {
    padding: 0 20px 16px 20px;
    font-size: 14px;
  }
}

/* ===============================================
   Contact form checkbox styling
   =============================================== */

input[type='checkbox']:checked {
  background-color: #37c47d !important;
  border-color: #37c47d !important;
}

input[type='checkbox']:focus {
  border-color: #37c47d !important;
  outline: 2px solid #37c47d !important;
  outline-offset: 2px;
}

.btn-primary:hover {
  background-color: #2fb370 !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 8px 20px rgba(55, 196, 125, 0.5) !important;
  filter: brightness(1.1);
}

.section-badge {
  display: inline-block;
  padding: 4px 16px;
  background-color: transparent;
  border: 1px solid #d2d2d2;
  border-radius: 20px;
  color: #696969;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

h2 {
  color: #101828 !important;
  font-family: 'Satoshi', sans-serif !important;
  font-size: 40px !important;
  font-weight: bold !important;
  line-height: 1.2 !important;
}

.about-us-section h2 {
  text-align: left !important;
}

@media (max-width: 1023px) {
  .about-us-section .grid > div:first-child {
    margin-bottom: 3rem !important;
  }
}

p,
.body-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #4a5565 !important;
}

.about-us-section h2 {
  width: 580px !important;
  max-width: 100% !important;
  min-height: auto !important;
}

.about-us-section .text-content {
  width: 513px !important;
  max-width: 100% !important;
  min-height: auto !important;
}

@media (max-width: 767px) {
  .about-us-section h2 {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 1.5rem !important;
  }

  .about-us-section .text-content {
    width: 100% !important;
    height: auto !important;
  }

  .about-us-section {
    margin-bottom: 2rem !important;
  }
}

.about-card {
  display: block;
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.04);
  align-items: center;
}

.about-card-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    180deg,
    rgba(226, 238, 254, 1) 0%,
    rgba(135, 142, 152, 0.06) 100%
  );
  color: var(--color-primary);
}

.about-card-title {
  font-family: 'Satoshi', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #101828;
  margin: 0 0 6px 0;
}

.about-card-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #4a5565;
  margin: 0;
}

.w-full.btn-primary,
.w-full.btn-accent {
  display: block;
  text-align: center;
  width: 100%;
}

@media (max-width: 768px) {
  .structural-container,
  .building-permit-container {
    flex-direction: column !important;
    height: auto !important;
    padding: 2.5rem 1.25rem !important;
  }

  .structural-left,
  .building-permit-left {
    margin: 0 0 1.875rem 0 !important;
    text-align: center !important;
  }

  .structural-right,
  .building-permit-right {
    margin: 0 !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .structural-left img {
    width: 100% !important;
    max-width: 280px !important;
    height: auto !important;
  }

  .building-permit-icons img[alt='Elevations'] {
    margin-left: 15px !important;
  }

  .structural-right h2,
  .building-permit-left h2 {
    font-size: 2rem !important;
  }

  .services-section .btn {
    margin: 0 auto !important;
    display: flex !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .building-permit-icons img[alt='Elevations'] {
    margin-left: 50px !important;
  }
}

@media (max-width: 768px) {
  .ap-btn-outline,
  .ap-btn-fill {
    width: 200px !important;
  }
}

@media (max-width: 767px) {
  .ap-title {
    white-space: normal !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
  }

  .pricing-cards {
    gap: 24px !important;
  }

  .pricing-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .pricing-table {
    min-width: 600px !important;
  }

  .ap-card {
    width: 100% !important;
    max-width: 252px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 480px) {
  .pricing-table {
    min-width: 500px !important;
  }

  .pricing-table th,
  .pricing-table td {
    font-size: 14px !important;
    padding: 8px 4px !important;
  }
}

.blog-page {
  min-height: 100vh;
}

.blog-head {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-head h2 {
  font-family: 'Satoshi', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--color-foreground);
  margin: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-media {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 16px;
}

.card-title {
  margin: 0 0 1rem 0;
}

.card-title a {
  font-family: 'Satoshi', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-foreground);
  text-decoration: none;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.card-title a:hover {
  color: var(--color-primary);
}

.card-meta {
  display: flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--color-muted-dark);
  gap: 0.5rem;
}

.meta-dot::before {
  content: '·';
  font-weight: bold;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-background);
  color: var(--color-foreground);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--color-primary);
  color: #1e2e3a;
  border-color: var(--color-primary);
}

.page-numbers.prev,
.page-numbers.next {
  width: auto;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .blog-head h2 {
    font-size: 32px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card-media {
    height: 200px;
  }

  .card-body {
    padding: 1.25rem;
  }

  .card-title a {
    font-size: 18px;
  }
}

/* ===============================================
   Dashboard Messages Styles
   =============================================== */

.message-tabs {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e4e7ec;
}

.tab-button {
  padding: 0.75rem 0;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #667085;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.tab-button.active {
  color: #101828;
  font-weight: 600;
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #37c47d;
}

.messages-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  min-height: 500px;
}

.messages-list {
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  overflow: hidden;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.message-item {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f2f4f7;
  cursor: pointer;
  transition: all 0.3s ease;
}

.message-item:hover,
.message-item.active {
  background: #f9fafb;
}

.message-item:last-child {
  border-bottom: none;
}

.message-sender {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #667085;
  margin-bottom: 0.25rem;
}

.message-subject {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #344054;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.message-date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #667085;
}

.message-content {
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
}

.message-detail {
  display: none;
}

.message-detail.active {
  display: block;
}

.message-detail h4 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #101828;
  margin: 0 0 0.5rem 0;
  padding-right: 6rem;
  line-height: 1.3;
}

.message-date-right {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #667085;
}

.message-body {
  margin-top: 1.5rem;
}

.message-body p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #344054;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.message-body p:last-child {
  margin-bottom: 0;
}

.message-link {
  color: #37c47d;
  text-decoration: none;
  font-weight: 500;
}

.message-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .message-tabs {
    gap: 1rem;
  }

  .messages-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .message-content {
    padding: 1rem;
  }

  .message-detail h4 {
    font-size: 16px;
    padding-right: 4rem;
  }

  .message-date-right {
    top: 1rem;
    right: 1rem;
    font-size: 11px;
  }

  .message-item {
    padding: 0.75rem 1rem;
  }
}

/* ===============================================
   Blog Page Styles
   =============================================== */

.blog-page .blog-head {
  text-align: center;
  margin-bottom: 32px;
}

.blog-page .blog-head h2 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  color: #101828;
}

.blog-page .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 329px);
  gap: 28px;
  justify-content: center;
}

@media (max-width: 1024px) {
  .blog-page .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-page .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-page .post-card {
  width: 329px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.post-card {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.blog-page .post-card:hover {
  transform: translateY(-2px);
}

.blog-page .card-media {
  width: 329px;
  height: 192px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.blog-page .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-page .card-body {
  text-align: left;
  padding: 0;
  background: transparent;
  height: 146px;
}

.card-body {
  padding: 0;
}

.card-cat {
  display: inline-block;
  color: #37c47d;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.5px;
  margin-top: 12px;
  text-transform: uppercase;
}

.blog-page .card-title {
  margin: 8px 0;
  font-family: 'Satoshi', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  text-align: left;
}

.blog-page .card-title a {
  color: #1e293b;
  text-decoration: none;
}

.blog-page .card-title a:hover {
  color: #37c47d;
  text-decoration: none;
}

.blog-page .card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #696969;
  margin-top: 8px;
}

.blog-page .card-meta time {
  color: #696969;
}

.blog-page .card-meta .meta-dot::before {
  content: '·';
  margin: 0 4px;
}

@media (max-width: 1024px) {
  .blog-page .post-card,
  .blog-page .card-media {
    width: 100%;
    max-width: 329px;
  }
}

@media (max-width: 640px) {
  .blog-page .post-card,
  .blog-page .card-media {
    width: 100%;
  }

  .blog-page .card-body {
    height: auto;
  }
}

.prose blockquote {
  font-style: italic;
  padding-left: 1em;
  border-left: 4px solid #e2e8f0;
  margin: 1.6em 0;
}

.prose strong {
  font-weight: 600;
  color: inherit;
}

.prose a {
  color: #37c47d;
  text-decoration: underline;
}

.prose a:hover {
  opacity: 0.8;
}

.card-cat {
  display: inline-block;
  color: var(--color-primary);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.5px;
  margin-top: 12px;
  text-transform: uppercase;
}

/* ===============================================
   Login Page Styles
   =============================================== */

.btn {
  padding: 14px 26px;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  display: inline-block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
}

.btn-primary-large {
  width: 176px !important;
  height: 54px !important;
  background-color: #37c47d !important;
  color: #1e2e3a !important;
  border: 2px solid #37c47d !important;
  border-radius: 40px !important;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.login-form .btn-primary-large,
.register-form .btn-primary-large {
  width: 100% !important;
}

.btn-primary-large:hover {
  background-color: #37c47d !important;
  color: #1e2e3a !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 8px 20px rgba(55, 196, 125, 0.5) !important;
  filter: brightness(1.1) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.login-link {
  color: #37c47d !important;
  text-decoration: none;
  transition: all 0.2s ease;
}

.login-link:hover {
  color: #2d9c63 !important;
  text-decoration: underline;
}

.form-checkbox {
  color: #37c47d !important;
  border-color: #d1d5db !important;
}

.form-checkbox:checked {
  background-color: #37c47d !important;
  border-color: #37c47d !important;
}

.form-checkbox:focus {
  outline: 2px solid #37c47d !important;
  border-color: #37c47d !important;
}

.focus\:ring-green-500:focus {
  --tw-ring-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3) !important;
}

.focus\:ring-green-300:focus {
  --tw-ring-color: #6ee7b7 !important;
  box-shadow: 0 0 0 2px rgba(110, 231, 183, 0.3) !important;
}

/* ===========================
   PRIVACY POLICY PAGE STYLES
   =========================== */

.content-area h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-foreground);
}

.content-area h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-foreground);
}

.content-area p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--color-muted-dark);
}

.content-area ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: var(--color-muted-dark);
}

.content-area li {
  margin-bottom: 0.5rem;
}

.content-area strong {
  color: var(--color-foreground);
}

.content-area a {
  color: var(--color-primary);
  text-decoration: underline;
}

.content-area a:hover {
  opacity: 0.8;
}

/* ========================================
   WHO IS IT FOR SECTION STYLES
   ======================================== */

.who-is-it-for-section {
  background: #f2f3f5;
  position: relative;
}

.who-is-it-for-title {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.25;
}

.who-is-it-for-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.who-is-it-for-item p {
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
}

.who-is-it-for-item:nth-child(1) p {
  max-width: 394px;
}

.who-is-it-for-item:nth-child(2) p {
  max-width: 378px;
}

.who-is-it-for-item:nth-child(3) p {
  max-width: 365px;
}

.map-background {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.mobile-map {
  display: none;
}

.mobile-map-container {
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 1023px) {
  .map-background {
    display: none !important;
  }

  .mobile-map {
    display: block !important;
    margin-top: 2rem;
  }
}

/* ===========================================
   DASHBOARD STYLES
   =========================================== */

.dashboard-wrapper {
  background-color: #ffffff !important;
  min-height: 100vh !important;
}

.dashboard-container {
  display: flex !important;
}

.dashboard-sidebar {
  width: 25% !important;
  min-height: 100vh !important;
  background-color: #fff !important;
  border-right: 1px solid #e5e7eb !important;
  padding: 2rem 0 !important;
}

.dashboard-content {
  width: 80% !important;
  padding-top: 3rem !important;
  padding-left: 60px !important;
  background: white;
}

.dashboard-orders-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
  max-width: 775px !important;
  margin: 0 auto !important;
}

.orders-header {
  width: 100% !important;
  margin-bottom: 24px !important;
}

.orders-title {
  font-size: 34px !important;
  color: #101828 !important;
  font-weight: bold !important;
  margin: 0 !important;
}

.search-filter-container {
  width: 100% !important;
  max-width: 100% !important;
}

.search-input-container {
  width: 300px !important;
  max-width: 100% !important;
}

.filter-select-container {
  flex: 0 0 auto !important;
}

.orders-list-container {
  width: 100% !important;
}

.dashboard-nav .nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #101828;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: none;
}

.dashboard-nav .nav-item.active {
  background-color: #fafafa;
  color: #101828;
  font-weight: bold;
}

.dashboard-nav .nav-item.active img {
  filter: brightness(0) saturate(100%) invert(55%) sepia(77%) saturate(487%)
    hue-rotate(101deg) brightness(95%) contrast(89%);
}

.dashboard-nav .nav-item img {
  width: 24px;
  height: 24px;
}

.dashboard-nav .nav-item-sub {
  margin-left: 48px !important;
  padding-left: 0px !important;
}

.dashboard .btn {
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.dashboard .btn-primary {
  background-color: #37c47d;
  color: #fff;
}

.dashboard .btn-primary:hover {
  background-color: #2bb36e;
  transform: translateY(-2px);
}

.btn.upload-submit {
  background-color: #37c47d !important;
  color: var(--color-foreground) !important;
  border: none !important;
  padding: 12px 24px !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.btn.upload-submit:hover {
  background-color: #2fb370 !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 8px 20px rgba(55, 196, 125, 0.5) !important;
  filter: brightness(1.1) !important;
  color: var(--color-foreground) !important;
}

.btn.ap-btn-unlock {
  border: 1.5px solid #2bb36e !important;
  color: var(--color-foreground) !important;
  background: transparent !important;
  padding: 12px 24px !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.btn.ap-btn-unlock:hover {
  background: #f3fcf7 !important;
  color: var(--color-foreground) !important;
  transform: translateY(-2px) !important;
}

.dashboard .btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.dashboard .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #37c47d;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.select-input {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #fff;
  font-size: 14px;
}

.faq-question:hover h3 {
  color: #37c47d;
}

.faq-answer.show {
  display: block;
}

.faq-icon.rotate {
  transform: rotate(180deg);
}

.orders-search-input {
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 16px 8px 40px;
  font-size: 14px;
  color: #374151;
  transition: border-color 0.2s;
}

.orders-search-input:focus {
  outline: none;
  border-color: #37c47d;
  box-shadow: 0 0 0 3px rgba(55, 196, 125, 0.1);
}

.orders-filter-select {
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 31px 8px 16px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.2s;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  appearance: none;
}

.orders-filter-select:focus {
  outline: none;
  border-color: #37c47d;
}

.order-card {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  transition: box-shadow 0.2s;
  width: 775px;
  height: 152px;
  max-width: 100%;
  box-sizing: border-box;
}

.order-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.status-badge-completed {
  background-color: #d7f4e5;
  color: #101828;
  font-weight: 500;
  font-size: 10px;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge-progress {
  background-color: #ffeebf;
  color: #101828;
  font-weight: 500;
  font-size: 10px;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge-expired {
  background-color: #dcdcdc;
  color: #101828;
  font-weight: 500;
  font-size: 10px;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge-cancelled {
  background-color: #ffd3d3;
  color: #101828;
  font-weight: 500;
  font-size: 10px;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===========================================
   LAND REPORT STYLES
   =========================================== */

.reports-container {
  background-color: #fafafa;
  padding: 32px;
  border-radius: 16px;
}

.reports-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start;
}

.report-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 auto;
}

.report-icon {
  width: 49px;
  height: 56px;
  margin-bottom: 12px;
}

.report-filename {
  color: #4a5565;
  font-size: 14px;
  max-width: 120px;
  word-wrap: break-word;
  line-height: 1.3;
  overflow-wrap: break-word;
  margin: 0 0 4px 0;
  font-weight: 500;
}

.report-date {
  color: #6b7280;
  font-size: 12px;
  margin: 0;
  font-style: italic;
}

/* ===========================================
   ORDER CARDS LAYOUT DEFAULTS (DESKTOP)
   =========================================== */

.order-card .desktop-layout {
  display: flex;
}

.order-card .mobile-layout {
  display: none;
}

/* ===========================================
   MOBILE RESPONSIVE DASHBOARD
   =========================================== */

@media (max-width: 768px) {
  .dashboard-container {
    flex-direction: column !important;
  }

  .dashboard-sidebar {
    display: none !important;
  }

  .dashboard-content {
    width: 100% !important;
    padding: 1rem !important;
    padding-top: 2rem !important;
    padding-left: 1rem !important;
  }

  .dashboard-orders-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 1rem !important;
  }

  .content-wrapper {
    padding: 0 !important;
  }

  .content-wrapper section {
    padding: 1rem !important;
  }

  .orders-header {
    width: 100% !important;
    margin-bottom: 1rem !important;
  }

  .orders-title {
    font-size: 24px !important;
    margin-bottom: 1rem !important;
  }

  .btn.upload-submit {
    width: 100% !important;
    padding: 0.75rem !important;
    margin-top: 1rem !important;
  }

  .new-order-form {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: stretch !important;
  }

  .new-order-input {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .new-order-form button {
    width: 100% !important;
    margin-top: 0 !important;
  }

  .search-filter-container {
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .search-input-container {
    width: 100% !important;
    max-width: 100% !important;
  }

  .filter-select-container {
    width: 100% !important;
    flex: 1 !important;
  }

  .orders-search-input {
    width: 100% !important;
    padding: 0.75rem !important;
    padding-left: 2.5rem !important;
  }

  .orders-filter-select {
    width: 100% !important;
    padding: 0.75rem 40px 0.75rem 0.75rem !important;
    background-position: right 12px center !important;
  }

  .dashboard-content .orders-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }

  .order-card .desktop-layout {
    display: none !important;
  }

  .order-card .mobile-layout {
    display: flex !important;
  }
  .order-card {
    margin-bottom: 1.5rem !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  .mobile-layout {
    height: auto !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    z-index: 1 !important;
  }

  .mobile-layout * {
    position: static !important;
    z-index: auto !important;
  }

  .mobile-title {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #101828 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3 !important;
  }

  .mobile-badge {
    margin-bottom: 12px;
  }

  .mobile-info p {
    color: #4a5565 !important;
    font-size: 14px !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.4 !important;
  }

  .mobile-info p strong,
  .mobile-info p:last-child {
    font-weight: bold !important;
  }

  .mobile-actions {
    margin-top: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    position: static !important;
  }

  .mobile-btn {
    width: 100% !important;
    padding: 12px !important;
    font-size: 14px !important;
    text-align: center !important;
  }

  .mobile-details-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 8px 0 !important;
    color: #4a5565 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }

  .mobile-details-btn:hover {
    color: #374151 !important;
  }

  .details-arrow {
    transition: transform 0.2s ease !important;
  }

  .order-details {
    margin-top: 16px !important;
    padding: 16px !important;
    background-color: #f9fafb !important;
    border-radius: 8px !important;
    border-top: 1px solid #e5e7eb !important;
    width: 100% !important;
    position: static !important;
    overflow: visible !important;
  }

  .details-content h4 {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #101828 !important;
    margin: 0 0 12px 0 !important;
  }

  .detail-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
  }

  .detail-row:last-child {
    border-bottom: none !important;
  }

  .detail-row span:first-child {
    color: #6b7280 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
  }

  .detail-row span:last-child {
    color: #101828 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
  }

  .header-cta {
    padding: 0.5rem 1rem !important;
    font-size: 12px !important;
  }

  .btn-primary.header-cta {
    width: auto !important;
    height: auto !important;
    padding: 0.5rem 1rem !important;
  }

  /* ===========================================
     MOBILE LAND REPORT STYLES
     =========================================== */

  .reports-container {
    padding: 16px !important;
  }

  .reports-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
    justify-items: center !important;
  }

  .report-item {
    width: 100% !important;
    max-width: 140px !important;
  }

  .report-icon {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 8px !important;
  }

  .report-icon svg {
    width: 60px !important;
    height: 60px !important;
  }

  .report-filename {
    font-size: 13px !important;
    max-width: 120px !important;
    margin-bottom: 6px !important;
  }

  .report-date {
    font-size: 11px !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .dashboard-sidebar {
    width: 200px !important;
    min-width: 200px !important;
  }

  .dashboard-content {
    width: calc(100% - 200px) !important;
  }

  .dashboard-orders-container {
    width: 100% !important;
  }
}

/* ===============================================
   Dashboard FAQ Styles
   =============================================== */

@media (min-width: 769px) {
  .dashboard-faq .grid.grid-cols-2 > div {
    min-width: 375px;
  }

  .dashboard-faq .grid.grid-cols-2 > div h5 {
    font-size: 20px !important;
  }
}

@media (max-width: 768px) {
  .grid.grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .dashboard-faq .grid.grid-cols-2 > div {
    padding: 20px !important;
  }

  .dashboard-faq .grid.grid-cols-2 > div h5 {
    font-size: 18px !important;
  }
}

/* ===============================================
   Dashboard My Account Styles
   =============================================== */

@media (min-width: 769px) {
  .my-account-input {
    max-width: 375px !important;
    height: 42px !important;
  }
}

.my-account-input {
  font-weight: 600 !important;
  font-size: 14px !important;
}

.billing-input {
  font-weight: 600 !important;
  font-size: 14px !important;
  width: 774px !important;
  max-width: 774px !important;
  height: 42px !important;
}

.certificate-input {
  font-size: 14px !important;
}

@media (max-width: 768px) {
  .billing-input {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.my-account-row.grid.grid-cols-2 {
  display: flex !important;
  gap: 0 !important;
}

.my-account-row.grid.grid-cols-2 .my-account-field:first-child {
  margin-right: 12px;
  flex: 0 0 auto;
  width: 375px;
}

.my-account-row.grid.grid-cols-2 .my-account-field:last-child {
  flex: 0 0 auto;
  width: 375px;
}

.my-account-row.grid.grid-cols-2 .my-account-input {
  max-width: 375px !important;
  width: 375px !important;
}

.my-account-checkbox {
  accent-color: #66bb6a;
}

.certificate-input {
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.certificate-input::placeholder {
  color: #f0734a !important;
  opacity: 1;
  font-size: 14px;
  font-weight: bold;
}

.certificate-input:focus::placeholder {
  opacity: 0.8;
}

.certificate-input:not(:placeholder-shown)::placeholder {
  color: transparent;
}

#architect-fields {
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .my-account-row.grid.grid-cols-2,
  .plan-info .grid.grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .my-account-row {
    margin-bottom: 12px !important;
    display: flex;
    margin-bottom: 24px;
    max-width: 775px;
  }

  .my-account-input {
    max-width: 100% !important;
    height: 42px !important;
  }

  .my-account-label {
    margin-bottom: 6px !important;
  }

  .my-account-input {
    padding: 10px 12px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .my-account-email {
    padding: 10px 12px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .my-account-input.px-3.py-2 {
    padding: 10px 12px !important;
  }

  .my-account-email.px-3.py-2 {
    padding: 10px 12px !important;
  }
  .my-plan-section .flex {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .form-actions {
    margin-top: 32px !important;
  }

  .my-plan-section {
    margin-top: 48px !important;
  }

  .ap-pro-bar {
    width: 252px !important;
  }

  .ap-card-pro {
    margin-top: 26px !important;
  }
}

/* ================================
   LAND REPORTS LIBRARY STYLES
   ================================ */

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 12px;
}

.report-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.report-item.clickable {
  cursor: pointer;
}

.report-item.clickable:hover .report-filename {
  color: #37c47d;
  text-decoration: underline;
}

.report-item.locked {
  cursor: default;
}

.report-item.locked .report-filename {
  color: #9ca3af;
}

.report-icon {
  margin-bottom: 9px;
}

.report-filename {
  font-size: 10px !important;
  color: #101828;
  margin-top: 0px;
  text-align: left;
  line-height: 1.2;
  max-width: 90px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  transition: all 0.2s ease;
}
