/* ============================================================
   base.css — sitewide foundation for Plexus Labs (dark theme)

   Single source of truth for global styling: design tokens,
   reset, typography, layout, and every shared component
   (header, nav, buttons, forms, cards, hero, sections, footer,
   utilities). Dark-theme values are applied directly here.

   Page-specific styling lives in a matching <page>.css that is
   loaded after this file and only carries the overriding rules.
   ============================================================ */

:root {
  /* Primary palette (Plexus Labs dark theme) */
  --primary-color: #558dff;
  --primary-dark: #3f6fd6;
  --primary-light: #b0c6ff;

  /* Secondary palette */
  --secondary-color: #00f4fe;
  --secondary-dark: #00c2cb;
  --secondary-light: #66f8ff;

  /* Neutrals (inverted for a dark UI: 50 = darkest surface, 900 = lightest text) */
  --neutral-50: #111318;
  --neutral-100: #1a1c20;
  --neutral-200: #2a2e37;
  --neutral-300: #3a3f4a;
  --neutral-400: #8b90a0;
  --neutral-500: #a3a8b8;
  --neutral-600: #c2c6d7;
  --neutral-700: #d2d5e0;
  --neutral-800: #e2e2e8;
  --neutral-900: #f3f4f8;

  /* Dark theme surfaces */
  --surface: #111318;
  --surface-container-low: #1a1c20;
  --surface-container-lowest: #0c0e12;
  --background: #0a0c10;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-subtle-strong: rgba(255, 255, 255, 0.12);

  /* Semantic colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ffb4ab;
  --info: #558dff;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.45), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.55), 0 10px 10px -5px rgba(0, 0, 0, 0.4);

  /* Font */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-display: 'Geist', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

  /* Transition */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Border radius */
  --radius-sm: 0.125rem;
  --radius: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;

  /* Layout — single source of truth for page width (used by every
     container: .container, .dashboard-container, .profile-container,
     .platform-page .pf-container). Change it here once. */
  --container-width: 60vw;
}

/* Widen the shared container on smaller screens so it stays usable.
   Redefining the token cascades to every container automatically. */
@media (max-width: 1024px) {
  :root {
    --container-width: 84vw;
  }
}

@media (max-width: 768px) {
  :root {
    --container-width: 90vw;
  }
}

/* ── Base reset ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--neutral-800);
  line-height: 1.5;
  background-color: var(--background);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-light);
}

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: var(--container-width);
  margin: 0 auto;
}

/* ── Typography ─────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--neutral-900);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: var(--neutral-500);
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
}

.display-1 {
  font-size: 6rem;
  font-weight: 300;
  line-height: 1.2;
}

.display-2 {
  font-size: 5.5rem;
  font-weight: 300;
  line-height: 1.2;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--neutral-600);
}

.uppercase {
  text-transform: uppercase;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn:focus,
.btn:hover {
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
  color: #fff;
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

.btn-outline-primary {
  color: var(--primary-light);
  border-color: var(--primary-light);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: var(--neutral-50);
  background-color: var(--primary-light);
}

.btn-outline-secondary {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  color: var(--neutral-50);
  background-color: var(--secondary-color);
}

.btn-link {
  color: var(--primary-light);
  border-color: transparent;
  background-color: transparent;
}

.btn-link:hover,
.btn-link:focus {
  color: var(--primary-color);
  text-decoration: underline;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.25rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  display: block;
  width: 100%;
}

/* ── Header + navigation ────────────────────────────────────── */
.site-header {
  background-color: rgba(17, 19, 24, 0.6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle-strong);
  padding: 0.75rem 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 1.75rem;
  margin-right: 0.5rem;
}

.navbar-nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-item {
  position: relative;
  margin: 0 0.5rem;
}

.nav-link {
  color: var(--neutral-600);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary-light);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--primary-light);
  font-weight: 600;
  background-color: transparent;
  border-bottom: 2px solid var(--primary-light);
  border-radius: 0;
  padding-bottom: 0.35rem;
}

/* Dropdown navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.nav-dropdown-toggle svg {
  transition: transform var(--transition-fast);
}

.nav-dropdown.active .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--surface-container-low);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  min-width: 240px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.nav-dropdown.active .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  padding: 0.5rem 1rem;
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  color: var(--neutral-600);
  border-radius: var(--radius);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--neutral-900);
}

.nav-dropdown-link-with-icon {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.nav-dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: rgba(176, 198, 255, 0.1);
  border-radius: var(--radius);
  color: var(--primary-light);
}

.nav-dropdown-title {
  font-weight: 500;
  color: var(--neutral-900);
  margin-bottom: 0.25rem;
}

.nav-dropdown-description {
  font-size: 0.75rem;
  color: var(--neutral-500);
}

.navbar-auth {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-auth .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.navbar-auth .btn-login {
  color: var(--neutral-900);
  border-color: var(--border-subtle-strong);
  background-color: transparent;
}

.navbar-auth .btn-login:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.navbar-auth .btn-signup {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.navbar-auth .btn-signup:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Mobile navigation */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--neutral-800);
  transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(10, 12, 16, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  z-index: 100;
  overflow-y: auto;
  display: none;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

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

.mobile-nav-item {
  margin-bottom: 1rem;
}

.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  color: var(--neutral-900);
  font-weight: 600;
  font-size: 1.125rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-dropdown-menu {
  padding: 0.5rem 0 0.5rem 1rem;
  display: none;
}

.mobile-dropdown-menu.active {
  display: block;
}

.mobile-dropdown-link {
  display: block;
  padding: 0.5rem 0;
  color: var(--neutral-600);
  font-size: 1rem;
}

.mobile-menu-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.56rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--neutral-900);
  background-color: rgba(12, 14, 18, 0.6);
  background-clip: padding-box;
  border: 1px solid var(--border-subtle-strong);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-control::placeholder {
  color: var(--neutral-400);
  opacity: 0.55;
  font-size: 0.875rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: 0;
  background-color: rgba(85, 141, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(85, 141, 255, 0.18);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-text {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--neutral-500);
}

.form-error {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--error);
}

/* Custom checkbox (shared by auth/forms) */
.form-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-subtle-strong);
  border-radius: 4px;
  background-color: var(--surface-container-low);
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.form-checkbox:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-checkbox:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(85, 141, 255, 0.25);
}

/* ── Alerts ─────────────────────────────────────────────────── */
.alert {
  position: relative;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
}

.alert-success {
  color: #b9f6d0;
  background-color: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
}

.alert-info {
  color: #c2d4ff;
  background-color: rgba(85, 141, 255, 0.12);
  border-color: rgba(85, 141, 255, 0.3);
}

.alert-warning {
  color: #ffe2a8;
  background-color: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
}

.alert-danger {
  color: #ffb4ab;
  background-color: rgba(255, 180, 171, 0.12);
  border-color: rgba(255, 180, 171, 0.3);
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: var(--surface-container-low);
  background-clip: border-box;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  color: var(--neutral-800);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-header {
  padding: 1.25rem 1.5rem;
  margin-bottom: 0;
  background-color: var(--surface-container-lowest);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-body {
  flex: 1 1 auto;
  padding: 1.5rem;
}

.card-title {
  margin-bottom: 0.75rem;
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-footer {
  padding: 1.25rem 1.5rem;
  background-color: var(--surface-container-lowest);
  border-top: 1px solid var(--border-subtle);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.card-img-top {
  width: 100%;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.25em 0.5em;
  font-size: 75%;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: var(--radius-full);
}

.badge-primary {
  color: #fff;
  background-color: var(--primary-color);
}

.badge-secondary {
  color: #fff;
  background-color: var(--secondary-color);
}

.badge-success {
  color: #fff;
  background-color: var(--success);
}

.badge-info {
  color: #fff;
  background-color: var(--info);
}

.badge-warning {
  color: #212529;
  background-color: var(--warning);
}

.badge-danger {
  color: #fff;
  background-color: var(--error);
}

/* ── Auth form layout (login, signup, password reset) ───────── */
.auth-section {
  padding: 5rem 0;
}

.auth-wrapper {
  max-width: 420px;
  margin: 0 auto;
}

.auth-wrapper-wide {
  max-width: 480px;
}

.auth-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .auth-grid-2 {
    grid-template-columns: 1fr;
  }
}

.auth-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.auth-heading h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.auth-card {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.auth-card .card-body {
  padding: 2.5rem;
}

.auth-footnote {
  text-align: center;
  margin-top: 2rem;
  color: var(--neutral-500);
  font-size: 0.875rem;
}

.auth-alt {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 5rem 0;
  background: radial-gradient(ellipse at top, rgba(85, 141, 255, 0.18), var(--background) 60%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
}

.hero-content p {
  font-size: 1.25rem;
  margin: 0 auto 2rem;
}

/* ── Section bands ──────────────────────────────────────────── */
.features {
  padding: 5rem 0;
  background-color: var(--background);
}

.services,
.testimonials {
  padding: 5rem 0;
  background-color: var(--surface);
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-heading p {
  font-size: 1.25rem;
  color: var(--neutral-600);
  max-width: 700px;
  margin: 0 auto;
}

/* ── Features ───────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background-color: var(--surface-container-low);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  background-color: var(--primary-light);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 1.5rem;
}

.feature-item h3 {
  margin-bottom: 1rem;
}

/* ── Services ───────────────────────────────────────────────── */
.service-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  gap: 1rem;
}

.service-tab {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  background-color: var(--surface-container-low);
  color: var(--neutral-600);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-subtle);
}

.service-tab:hover {
  color: var(--primary-light);
  border-color: var(--primary-light);
}

.service-tab.active {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* ── Testimonials ───────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--surface-container-low);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  color: var(--neutral-800);
}

.testimonial-text {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  margin-right: 1rem;
  overflow: hidden;
}

.testimonial-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-position {
  font-size: 0.875rem;
  color: var(--neutral-500);
}

/* ── CTA ────────────────────────────────────────────────────── */
.cta-section {
  padding: 5rem 0;
  background: radial-gradient(ellipse at center, rgba(85, 141, 255, 0.15), var(--background) 60%);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--neutral-900);
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--surface-container-lowest);
  color: var(--neutral-600);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--neutral-800);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.footer-social a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.footer-heading {
  font-size: 1.125rem;
  color: var(--neutral-900);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--neutral-400);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--neutral-900);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

/* ── Utilities ──────────────────────────────────────────────── */
.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.my-0 {
  margin-top: 0;
  margin-bottom: 0;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.my-3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.my-4 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.mt-5 {
  margin-top: 2rem;
}

.mb-5 {
  margin-bottom: 2rem;
}

.my-5 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.pt-0 {
  padding-top: 0;
}

.pb-0 {
  padding-bottom: 0;
}

.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}

.pt-1 {
  padding-top: 0.25rem;
}

.pb-1 {
  padding-bottom: 0.25rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.pt-3 {
  padding-top: 1rem;
}

.pb-3 {
  padding-bottom: 1rem;
}

.py-3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pt-4 {
  padding-top: 1.5rem;
}

.pb-4 {
  padding-bottom: 1.5rem;
}

.py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.pt-5 {
  padding-top: 2rem;
}

.pb-5 {
  padding-bottom: 2rem;
}

.py-5 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

.gap-4 {
  gap: 1.5rem;
}

.gap-5 {
  gap: 2rem;
}

.w-full {
  width: 100%;
}

.hidden {
  display: none;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {

  .navbar-nav,
  .navbar-auth {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.125rem;
  }

  .feature-grid,
  .service-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

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