@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500&display=swap");

/* --------------------------------------------------------------------------
   CSS variables (theme). Change these to adjust colors/spacing globally.
   -------------------------------------------------------------------------- */
:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 8%;
  --card: 0 0% 98%;
  --card-foreground: 0 0% 8%;
  --primary: 0 0% 8%;
  --primary-foreground: 0 0% 100%;
  --secondary: 0 0% 96%;
  --secondary-foreground: 0 0% 8%;
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 45%;
  --accent: 145 60% 45%;
  --accent-foreground: 0 0% 100%;
  --border: 0 0% 90%;
  --input: 0 0% 90%;
  --ring: 0 0% 8%;
  --radius: 0.5rem;
}

.dark {
  --background: 0 0% 5%;
  --foreground: 0 0% 95%;
  --card: 0 0% 8%;
  --card-foreground: 0 0% 95%;
  --primary: 0 0% 95%;
  --primary-foreground: 0 0% 5%;
  --muted: 0 0% 15%;
  --muted-foreground: 0 0% 55%;
  --accent: 145 60% 45%;
  --border: 0 0% 18%;
  --input: 0 0% 18%;
  --ring: 0 0% 83%;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
* {
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.025em;
  font-weight: 700;
  color: hsl(var(--foreground));
}

/* --------------------------------------------------------------------------
   Layout utilities (easy to tweak breakpoints and sizes here)
   -------------------------------------------------------------------------- */
.section-padding {
  padding: 3rem 1.5rem;
}
@media (min-width: 768px) {
  .section-padding {
    padding: 5rem 3rem;
  }
}
@media (min-width: 1024px) {
  .section-padding {
    padding: 6rem 5rem;
  }
}

.section-padding-sm {
  padding: 2.5rem 1.5rem;
}
@media (min-width: 768px) {
  .section-padding-sm {
    padding: 4rem 3rem;
  }
}
@media (min-width: 1024px) {
  .section-padding-sm {
    padding: 5rem 5rem;
  }
}

.max-container {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.text-balance {
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   Page shell
   -------------------------------------------------------------------------- */
.page {
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding-block: 20px;
  z-index: 50;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}

@media (max-width: 767px) {
  .navbar {
    background: hsl(var(--background));
    border-bottom: 1px solid hsl(var(--border));
  }
}

@media (min-width: 768px) {
  .navbar.navbar--scrolled {
    background: hsl(var(--background) / 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border));
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  padding: 0 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .navbar-inner {
    padding: 0 3rem;
  }
}
@media (min-width: 1024px) {
  .navbar-inner {
    padding: 0 5rem;
  }
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.navbar-brand-name {
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 2;
  color: hsl(var(--foreground));
}

.navbar-brand-tagline {
  font-size: 12px;
  line-height: 1.25;
  color: hsl(var(--muted-foreground));
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 1.5rem;
}

.nav-links li:last-child {
  font-weight: 600;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover {
  color: hsl(var(--foreground));
}

.navbar-menu-btn {
  display: flex;
  padding: 0.5rem;
  font-size: 1.5rem;
  border: none;
  background: transparent;
  color: hsl(var(--muted-foreground));
  border-radius: 0.375rem;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s;
}
@media (min-width: 768px) {
  .navbar-menu-btn {
    display: none;
  }
}
.navbar-menu-btn:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted) / 0.5);
}

/* Anchor offset for fixed navbar */
#hero,
#about,
#services,
#process,
#cta,
#contact {
  scroll-margin-top: 5rem;
}
@media (min-width: 768px) {
  #hero,
  #about,
  #services,
  #process,
  #cta,
  #contact {
    scroll-margin-top: 6rem;
  }
}

/* Mobile menu overlay & panel */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s,
    visibility 0.2s;
}
.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 61;
  width: 60vw;
  height: 100%;
  padding-top: 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
  background: hsl(var(--background));
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.mobile-menu-panel.is-open {
  transform: translateX(0);
}

.mobile-menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu-link {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  border-radius: 0.375rem;
  transition:
    color 0.2s,
    background 0.2s;
}
.mobile-menu-link:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted) / 0.5);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  max-width: 40ch;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}
@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-primary:hover {
  opacity: 0.9;
}

.btn-primary-inverse {
  background: hsl(var(--primary-foreground));
  color: hsl(var(--primary));
}
.btn-primary-inverse:hover {
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Divider
   -------------------------------------------------------------------------- */
.divider {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .divider {
    padding: 0 3rem;
  }
}
@media (min-width: 1024px) {
  .divider {
    padding: 0 5rem;
  }
}
.divider hr {
  margin: 0;
  border: none;
  border-top: 1px solid hsl(var(--border));
}

/* --------------------------------------------------------------------------
   Section headings (reusable)
   -------------------------------------------------------------------------- */
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
    margin-top: 0;
  }
}

.section-title-sm {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .section-title-sm {
    font-size: 1.875rem;
  }
}

.section-intro {
  color: hsl(var(--muted-foreground));
  margin-bottom: 3rem;
  font-size: 1.125rem;
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

/* --------------------------------------------------------------------------
   About section
   -------------------------------------------------------------------------- */
.about-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .about-layout {
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
  }
}

.about-image {
  width: 12rem;
  height: 12rem;
  border-radius: 0.5rem;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid hsl(var(--border));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
@media (min-width: 768px) {
  .about-image {
    width: 14rem;
    height: 14rem;
  }
}

.about-content {
  min-width: 0;
}

.about-text {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  max-width: 42rem;
}
.about-text p {
  margin: 0 0 1.25rem;
}
.about-text p:last-child {
  margin-bottom: 0;
}

.authority-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .authority-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.authority-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.authority-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: hsl(var(--accent));
  margin-top: 0.125rem;
}

.authority-text {
  font-size: 1rem;
}
@media (min-width: 768px) {
  .authority-text {
    font-size: 1.125rem;
  }
}

/* --------------------------------------------------------------------------
   Services cards
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
}

.service-card-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.service-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-card-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}
.service-card-list li:last-child {
  margin-bottom: 0;
}

.service-card-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: hsl(var(--muted-foreground));
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Experience / Process
   -------------------------------------------------------------------------- */
.experience-text {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  max-width: 42rem;
}
.experience-text p {
  margin: 0 0 1.25rem;
}
.experience-text p:last-child {
  margin-bottom: 0;
}

.process-list {
  display: grid;
  gap: 0;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid hsl(var(--border));
}
.process-step:last-child {
  border-bottom: none;
}

.process-step-num {
  align-self: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 2rem;
}

.process-step-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.process-step-desc {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* --------------------------------------------------------------------------
   Pricing table (native table + wrapper)
   -------------------------------------------------------------------------- */
.pricing-table-wrap {
  position: relative;
  width: 100%;
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  font-size: 0.875rem;
  border-collapse: collapse;
}

.pricing-table thead tr {
  border-bottom: 1px solid hsl(var(--border));
}

.pricing-table th {
  height: 3rem;
  padding: 0 1rem;
  text-align: left;
  vertical-align: middle;
  font-weight: 500;
  color: hsl(var(--foreground));
  min-width: 12rem;
}

.pricing-table td {
  padding: 1rem;
  vertical-align: top;
  border-bottom: 1px solid hsl(var(--border));
}
@media (min-width: 768px) {
  .pricing-table td {
    vertical-align: middle;
  }
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table .cell-label {
  font-weight: 600;
}

.pricing-table .cell-muted {
  color: hsl(var(--muted-foreground));
}

.pricing-note {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* --------------------------------------------------------------------------
   CTA section
   -------------------------------------------------------------------------- */
.cta-section {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-align: center;
}

.cta-section .section-title {
  color: inherit;
  margin-bottom: 1rem;
}

.cta-section .section-intro {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid hsl(var(--border));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

.footeropyright {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover {
  color: hsl(var(--foreground));
}

.footer-link svg {
  width: 1rem;
  height: 1rem;
}

/* --------------------------------------------------------------------------
   404 page
   -------------------------------------------------------------------------- */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted));
}

.not-found-inner {
  text-align: center;
}

.not-found-title {
  margin-bottom: 1rem;
  font-size: 2.25rem;
}

.not-found-message {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
}

.not-found-link {
  color: hsl(var(--primary));
  text-decoration: underline;
}
.not-found-link:hover {
  opacity: 0.9;
}
