@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ==========================================================================
   SPRZEDAJWÓZ — CRISP WHITE PREMIUM DESIGN SYSTEM (css/style.css)
   Clean · High-Contrast · Ultra-Readable Automotive Marketplace
   ========================================================================== */

:root {
  /* Brand Accent - British Racing Emerald (High-Prestige Automotive Accent for White Surfaces) */
  --primary: #059669;
  --primary-hover: #047857;
  --primary-light: rgba(5, 150, 105, 0.08);
  --primary-glow: rgba(5, 150, 105, 0.22);
  --accent-neon: #10b981;
  --accent-cyan: #0d9488;
  --accent-orange: #059669;
  --accent-amber: #f59e0b;

  /* Clean Crisp White Surfaces */
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.94);

  /* Clean Light Borders */
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-accent: rgba(5, 150, 105, 0.25);

  /* High Contrast Dark Typography */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  /* Accent Palette */
  --accent-blue: #0284c7;
  --accent-green: #10b981;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-red: #ef4444;
  --accent-purple: #7c3aed;

  /* Soft Light Mode Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12), 0 4px 8px rgba(15, 23, 42, 0.06);

  /* Shape — Soft & Friendly Organic Radii */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-main: 'Inter', 'Outfit', system-ui, -apple-system, sans-serif;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Background ─────────────────────────────────────────────────────────── */
.bg-carbon {
  background-color: #f8fafc;
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(5, 150, 105, 0.04) 0%, transparent 40%),
    radial-gradient(ellipse at 85% 10%, rgba(13, 148, 136, 0.04) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(5, 150, 105, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
}

/* ── Base Reset ─────────────────────────────────────────────────────────── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@view-transition {
  navigation: auto;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-y: scroll !important;
  scrollbar-gutter: stable;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 99px;
  border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

::-webkit-scrollbar-corner {
  background: #f1f5f9;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

/* Inner panel scrollbars */
.ai-drawer-body::-webkit-scrollbar,
.modal-content::-webkit-scrollbar {
  width: 4px;
}

.ai-drawer-body::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 99px;
  border: none;
}

.ai-drawer-body::-webkit-scrollbar-track,
.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

body {
  font-family: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

svg path,
svg line,
svg polyline,
svg polygon,
svg circle,
svg rect {
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

button,
input,
select,
textarea {
  font-family: inherit;
  box-sizing: border-box;
}

/* ── Universal Premium Form Controls & Input Styling ───────────────────── */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="search"],
input[type="url"],
input[type="date"],
select,
textarea,
.form-input,
.form-control,
.filter-input {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  color: #0f172a;
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.68rem 1rem;
  line-height: 1.45;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

select {
  cursor: pointer;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 13px;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover,
.form-input:hover,
.form-control:hover,
.filter-input:hover {
  border-color: #94a3b8;
  background-color: #f8fafc;
}

input:focus,
select:focus,
textarea:focus,
.form-input:focus,
.form-control:focus,
.filter-input:focus {
  border-color: #059669;
  background-color: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(5, 150, 105, 0.15), 0 1px 3px rgba(15, 23, 42, 0.05);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

input:disabled,
select:disabled,
textarea:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
  border-color: #e2e8f0;
}

/* Page Entrance */
@keyframes pageEnterTransition {
  0% {
    opacity: 0;
    transform: translateY(5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

main.page-container,
.page-container {
  max-width: 1720px;
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1.75rem 4rem;
  box-sizing: border-box;
  animation: pageEnterTransition 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── Glass Panels ───────────────────────────────────────────────────────── */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.glass-panel-hover {
  transition: all var(--transition-normal);
}

.glass-panel-hover:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ── Hero Section ───────────────────────────────────────────────────────── */
.hero-unified-section {
  text-align: center;
  max-width: 860px;
  margin: 0.5rem auto 1rem;
  position: relative;
}

.hero-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.22rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.25);
  border-radius: var(--radius-full);
  color: #5ecb8a;
  margin-bottom: 0.6rem;
}

.hero-main-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.18;
  margin: 0 0 0.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.hero-gradient-text {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(5, 150, 105, 0.25));
}

.hero-sub-desc {
  margin: 0 auto 0.85rem;
  font-size: 0.92rem;
  max-width: 560px;
  color: #475569;
  line-height: 1.5;
  font-weight: 400;
}

.hero-trust-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  color: #475569;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-fast);
}

.hero-trust-pill:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.hero-trust-pill strong {
  color: #0f172a;
  font-weight: 700;
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
.carbon-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: auto;
  min-height: 54px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
  view-transition-name: carbon-header;
  transition: background 0.2s ease;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.carbon-strip {
  border-bottom: 1px solid #e2e8f0;
}

.carbon-navbar-inner {
  max-width: 100%;
  width: 100%;
  height: 58px;
  min-height: 58px;
  margin: 0;
  padding: 0 1.5rem 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-sizing: border-box;
  min-width: 0;
}

/* Brand Logo (Apex Motorsport Livery & Emblem) */
.brand-logo {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  margin-left: 0;
  padding-left: 0;
  gap: 0.75rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  width: auto;
  min-width: 0;
  box-sizing: border-box;
}

.brand-logo:hover {
  transform: translateY(-1px);
  opacity: 0.98;
}

.brand-logo-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.28));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.brand-logo:hover .brand-logo-emblem {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 14px rgba(16, 185, 129, 0.45));
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  line-height: 1;
  min-width: 0;
}

.brand-title {
  font-family: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 1.82rem;
  font-weight: 900 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  line-height: 1;
  white-space: nowrap;
}

.brand-title .brand-orange {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900 !important;
  filter: drop-shadow(0 1px 2px rgba(5, 150, 105, 0.2));
}

.brand-title .brand-white {
  color: #0f172a;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
}

.carbon-footer .brand-title .brand-white {
  color: #f8fafc;
}

.brand-title .brand-dot {
  color: #059669;
  font-weight: 900 !important;
  line-height: 1;
  margin-left: 1px;
}

.brand-subtitle {
  font-size: 0.62rem;
  color: #64748b;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 5px;
  white-space: nowrap;
  line-height: 1;
}

.carbon-footer .brand-subtitle {
  color: #94a3b8;
}

.brand-subtitle::before {
  content: '';
  display: inline-block;
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 7px rgba(16, 185, 129, 0.7);
  flex-shrink: 0;
}

.nav-actions-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  min-height: 35px;
  border-left: 1px solid #e2e8f0;
  padding-left: 0.75rem;
}

.brand-badge {
  background: rgba(5, 150, 105, 0.08);
  color: #047857;
  border: 1px solid rgba(5, 150, 105, 0.2);
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 0.35rem;
}

/* ── Organized Cockpit Navigation Rail (Clean White & Slate) ───────────── */
.nav-cockpit-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  margin-left: 2rem;
  margin-right: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  flex-shrink: 1;
  min-width: 0;
}

.nav-item {
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-group-divider {
  width: 1px;
  height: 20px;
  background: #cbd5e1;
  margin: 0 0.35rem;
  flex-shrink: 0;
  list-style: none;
  display: block;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  background: transparent;
  cursor: pointer;
}

.nav-link svg {
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.nav-link:hover,
.nav-item:hover>.nav-link,
.nav-item.dropdown-open>.nav-link {
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.nav-link:hover svg {
  opacity: 1;
}

.nav-link.active {
  color: #059669;
  background: #ffffff;
  border-color: rgba(5, 150, 105, 0.25);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.nav-link.active svg {
  opacity: 1;
  stroke: #059669;
}

.nav-link-user {
  color: #475569;
}

.nav-link-user:hover {
  color: #0f172a;
}

/* Schowek button in nav-actions-group (far right) */
.nav-schowek-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
  background: transparent;
  cursor: pointer;
}

.nav-schowek-btn:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
}

.nav-chevron-icon {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  margin-left: -1px;
}

.nav-item:hover .nav-chevron-icon,
.nav-item.dropdown-open .nav-chevron-icon {
  transform: rotate(180deg);
  opacity: 1;
}

/* Floating Dropdown Card */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 290px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 0.55rem;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-item:hover>.nav-dropdown-menu,
.nav-item.dropdown-open>.nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown Item Link */
.dropdown-item-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  color: #334155;
  transition: all 0.15s ease;
  background: transparent;
}

.dropdown-item-link:hover {
  background: #f8fafc;
  color: #0f172a;
}

.dropdown-item-link.active {
  background: rgba(5, 150, 105, 0.08);
  color: #047857;
}

.dropdown-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.dropdown-item-link:hover .dropdown-item-icon {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #059669;
  transform: scale(1.05);
}

.dropdown-item-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.dropdown-item-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.dropdown-item-desc {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.15rem;
  line-height: 1.25;
}

.nav-micro-badge {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.25);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  flex-shrink: 0;
}

.fav-counter-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  line-height: 1;
}

.chat-unread-badge {
  background: #059669;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  line-height: 1;
}

/* Nav CTA - Emerald Motorsport */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  height: 35px;
  padding: 0 1.05rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(5, 150, 105, 0.5);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.25);
}

.nav-cta-btn:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  border-color: #047857;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  transform: translateY(-1px);
}

.nav-cta-btn:active {
  transform: translateY(0);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  height: 35px;
  width: 35px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.mobile-nav-toggle:hover {
  background: #e2e8f0;
}

/* ── Section Headers ────────────────────────────────────────────────────── */
.section-header {
  margin-bottom: 1.75rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #047857;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.22rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.7rem;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f172a;
  line-height: 1.2;
}

.section-desc {
  color: #475569;
  font-size: 0.95rem;
  margin-top: 0.4rem;
  max-width: 680px;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
  position: relative;
}

.btn-lg {
  padding: 0.75rem 1.85rem;
  font-size: 0.95rem;
  border-radius: 999px;
}

.btn-sm {
  padding: 0.42rem 1rem;
  font-size: 0.82rem;
  border-radius: 999px;
}

.btn-primary {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  font-weight: 800;
  border-color: #047857;
  box-shadow: 0 3px 12px rgba(5, 150, 105, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  border-color: #059669;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.42);
}

.btn-secondary {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-1px);
}

.btn-outline-primary {
  background: transparent;
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.4);
}

.btn-outline-primary:hover {
  background: rgba(5, 150, 105, 0.08);
  color: #047857;
  border-color: #059669;
  transform: translateY(-1px);
}

/* ── Trust / Security Ribbon ────────────────────────────────────────────── */
.trust-security-ribbon {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 3.5rem 1.5rem;
  margin-top: 4rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.trust-ribbon-inner {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.trust-ribbon-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.25rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.trust-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.trust-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.07);
}

.trust-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.trust-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-card-desc {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

.trust-partners-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid #e2e8f0;
}

.partner-seal-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.partner-seal-item:hover {
  border-color: #cbd5e1;
  color: #0f172a;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.carbon-footer {
  background: #060609;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 1.5rem 2.25rem;
  color: var(--text-secondary);
}

.footer-inner {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.75rem;
}

.footer-col-title {
  color: #9aa3b0;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 1.1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.86rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.footer-links a:hover {
  color: #c8cfd8;
}

.company-registry-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.company-registry-box strong {
  color: #9aa3b0;
}

.footer-bottom {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.footer-legal-links a:hover {
  color: var(--primary);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@keyframes slideDownNav {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1540px) {
  .carbon-navbar-inner {
    padding: 0 1.25rem;
    gap: 0.6rem;
  }

  .brand-logo {
    width: auto;
    min-width: 0;
  }

  .nav-link {
    padding: 0.36rem 0.62rem;
    font-size: 0.82rem;
  }

  .brand-title {
    font-size: 1.25rem;
  }

  .nav-cta-btn {
    padding: 0.44rem 0.95rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 1380px) {
  .carbon-navbar-inner {
    padding: 0 1rem;
    gap: 0.45rem;
  }

  .brand-logo {
    width: auto;
    min-width: auto;
  }

  .brand-title {
    font-size: 1.3rem;
  }

  .nav-links {
    padding: 0.18rem 0.22rem;
  }

  .nav-link {
    padding: 0.3rem 0.48rem;
    font-size: 0.78rem;
  }

  .nav-cta-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 1180px) {
  .carbon-navbar-inner {
    padding: 0 1rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav-toggle {
    display: none !important;
  }

  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    border-radius: 0 0 14px 14px !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12) !important;
    padding: 1rem 1.25rem !important;
    gap: 0.35rem !important;
    z-index: 1001 !important;
    animation: slideDownNav 0.2s ease-out forwards;
  }

  .nav-links.mobile-open .nav-link {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
  }

  .nav-links.mobile-open .nav-link:hover {
    background: #ffffff;
    border-color: #059669;
    color: #059669;
    transform: none;
  }

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

@media (max-width: 640px) {
  .carbon-navbar-inner {
    padding: 0 0.85rem;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .nav-cta-btn {
    font-size: 0.76rem;
    padding: 0.38rem 0.7rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
  }

  .section-title {
    font-size: 1.55rem;
  }
}