/* ==========================================================================
   COMPONENTS — Reusable UI elements (Warm Dark + Amber theme)
   ========================================================================== */

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  line-height: 1.5;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--surface-0);
  box-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
  filter: brightness(1.1);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  border: 2px solid rgba(var(--color-primary-rgb), 0.4);
  color: var(--color-primary);
  background: transparent;
}

.btn--outline:hover {
  background: var(--gradient-primary);
  color: var(--surface-0);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn--white {
  background-color: var(--text-heading);
  color: var(--surface-0);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

.navbar--scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-heading);
  line-height: 1;
}

.navbar__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface-0);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  box-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.3);
}

.navbar__logo-image {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.navbar__link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.navbar__link:hover {
  color: var(--color-primary);
  background-color: rgba(var(--color-primary-rgb), 0.08);
}

.navbar__link--active {
  color: var(--color-primary);
  background-color: rgba(var(--color-primary-rgb), 0.1);
}

.navbar__cta {
  margin-left: var(--space-4);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
}

.navbar__toggle-bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-bright);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.navbar__toggle.is-active .navbar__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__toggle.is-active .navbar__toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.is-active .navbar__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
  padding-top: calc(72px + var(--space-20));
  padding-bottom: var(--space-20);
  background: var(--color-white);
  background-image: var(--gradient-mesh);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero--centered {
  text-align: center;
}

.hero__content {
  max-width: 640px;
  position: relative;
}

.hero--centered .hero__content {
  margin-inline: auto;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  border: 1px solid rgba(var(--color-primary-rgb), 0.15);
}

.hero__title {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
  color: var(--text-heading);
}

.hero__title span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero--centered .hero__actions {
  justify-content: center;
}

.hero__visual {
  position: relative;
}

.hero__image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--gradient-card);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.hero__image-placeholder span {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* ---- Cards ---- */
.card {
  background-color: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-card);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.card:hover {
  border-color: rgba(var(--color-primary-rgb), 0.2);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  color: var(--surface-0);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: var(--text-xl);
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.25);
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  position: relative;
  color: var(--text-heading);
}

.card__text {
  font-size: var(--text-base);
  color: var(--text-body);
  line-height: var(--leading-relaxed);
  position: relative;
}

.card__tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  position: relative;
}

.card__features {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: relative;
}

.card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-body);
}

.card__feature-icon {
  color: var(--color-success);
  font-size: var(--text-base);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- Product card variant ---- */
.product-card {
  background-color: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  border-color: rgba(var(--color-primary-rgb), 0.2);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
}

.product-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card:nth-child(1) .product-card__image { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.product-card:nth-child(2) .product-card__image { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.product-card:nth-child(3) .product-card__image { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.product-card:nth-child(4) .product-card__image { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.product-card:nth-child(5) .product-card__image { background: linear-gradient(135deg, #d1fae5, #99f6e4); }

.product-card__image span {
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card__body {
  padding: var(--space-6);
}

.product-card__tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.product-card__tag--event { background-color: rgba(245, 158, 11, 0.12); color: #fbbf24; }
.product-card__tag--education { background-color: rgba(251, 146, 60, 0.12); color: #fb923c; }
.product-card__tag--insurance { background-color: rgba(16, 185, 129, 0.12); color: #34d399; }
.product-card__tag--transport { background-color: rgba(56, 189, 248, 0.12); color: #38bdf8; }
.product-card__tag--messaging { background-color: rgba(52, 211, 153, 0.12); color: #34d399; }

.product-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  color: var(--text-heading);
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--text-body);
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

.product-card__users {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.product-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-gray-100);
}

.product-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-body);
}

.product-card__feature-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--gradient-cta);
  color: var(--surface-0);
  padding-block: var(--space-20);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner__title {
  color: var(--surface-0);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
  position: relative;
}

.cta-banner__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-lg);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  position: relative;
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  position: relative;
}

/* ---- Footer ---- */
.footer {
  background: linear-gradient(180deg, #0c1220, var(--color-gray-900));
  color: var(--color-gray-400);
  padding-top: var(--space-16);
  border-top: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-4);
  line-height: var(--leading-relaxed);
}

.footer__heading {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
}

.footer__link {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding-block: var(--space-2);
  transition: all var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-primary);
  padding-left: var(--space-2);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer__socials {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: var(--text-sm);
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__social-link:hover {
  background: var(--gradient-primary);
  color: var(--surface-0);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.35);
}

/* ---- Stats / Metrics ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
  position: relative;
}

.stat__number {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-2);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.section--dark .stat__number {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section--dark .stat__label {
  color: var(--text-body);
}

/* ---- Process / Steps ---- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  counter-reset: step;
}

.process__step {
  text-align: center;
  counter-increment: step;
  position: relative;
}

.process__number {
  width: 52px;
  height: 52px;
  margin-inline: auto;
  margin-bottom: var(--space-4);
  background: var(--gradient-primary);
  color: var(--surface-0);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.3);
}

.process__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--text-heading);
}

.process__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ---- Testimonial / Trust ---- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.trust-item {
  text-align: center;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.trust-item:hover {
  background-color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.trust-item__icon {
  width: 60px;
  height: 60px;
  margin-inline: auto;
  margin-bottom: var(--space-5);
  background: var(--gradient-primary);
  color: var(--surface-0);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  box-shadow: 0 4px 16px rgba(var(--color-primary-rgb), 0.25);
}

.trust-item__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  color: var(--text-heading);
}

.trust-item__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

/* ---- Form ---- */
.form__group {
  margin-bottom: var(--space-5);
}

.form__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-bright);
  margin-bottom: var(--space-2);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  transition: all var(--transition-base);
  background-color: var(--color-gray-50);
  color: var(--color-gray-700);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-muted);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.12);
  background-color: var(--color-white);
}

.form__input--error,
.form__textarea--error {
  border-color: var(--color-error);
}

.form__input--error:focus,
.form__textarea--error:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.form__error {
  display: none;
  font-size: var(--text-sm);
  color: var(--color-error);
  margin-top: var(--space-1);
}

.form__error.is-visible {
  display: block;
}

.form__success {
  display: none;
  padding: var(--space-4) var(--space-6);
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border-radius: var(--radius-lg);
  font-weight: var(--weight-medium);
  text-align: center;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form__success.is-visible {
  display: block;
}

/* ---- Page Hero (for inner pages) ---- */
.page-hero {
  padding-top: calc(72px + var(--space-20));
  padding-bottom: var(--space-16);
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
  color: var(--text-heading);
}

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
  position: relative;
}

/* ---- Animated reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   DARK BRAND THEME OVERRIDES (Calm Tech)
   ========================================================================== */

.btn {
  border-radius: 12px;
  padding: 10px 18px;
  transition: all 0.25s ease;
}

.btn--primary {
  background: var(--brand-gradient);
  color: #ffffff;
  border: 0;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.25);
}

.btn--primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(139, 92, 246, 0.3);
}

.btn--outline {
  border: 1px solid var(--color-border);
  color: var(--color-gray-700);
  background: transparent;
}

.btn--outline:hover {
  background: rgba(59, 130, 246, 0.12);
  color: #ffffff;
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--color-surface);
  color: var(--color-gray-700);
  border: 1px solid var(--color-border);
}

.navbar {
  background-color: rgba(11, 15, 25, 0.8);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.navbar--scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar__logo,
.navbar__link {
  color: var(--color-gray-700);
}

.navbar__logo-icon {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: none;
}

.navbar__link:hover,
.navbar__link--active {
  color: var(--brand-blue);
  background: rgba(59, 130, 246, 0.12);
}

.navbar__toggle-bar {
  background-color: var(--color-text-primary);
}

.hero,
.page-hero {
  background: var(--color-bg);
}

.hero::before,
.hero::after,
.page-hero::before,
.cta-banner::before,
.cta-banner::after,
.card::before {
  content: none;
}

.hero__label {
  background: rgba(59, 130, 246, 0.12);
  color: var(--brand-blue);
  border: 1px solid var(--color-border);
}

.hero__title,
.page-hero__title,
.section__title,
.card__title,
.product-card__title,
.process__title,
.trust-item__title,
.contact-form-card__title {
  color: var(--color-text-primary);
}

.hero__title span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description,
.page-hero__subtitle,
.card__text,
.product-card__desc,
.product-card__feature,
.process__text,
.trust-item__text,
.contact-form-card__text {
  color: var(--color-text-secondary);
}

.card,
.product-card,
.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.card,
.product-card__body,
.contact-form-card {
  padding: 20px 24px;
}

.card:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  border-color: #2B3547;
}

.card__icon,
.trust-item__icon,
.process__number,
.contact-info__icon {
  background: rgba(59, 130, 246, 0.12);
  color: var(--brand-blue);
  box-shadow: none;
}

.product-card__tag--event,
.product-card__tag--education,
.product-card__tag--insurance,
.product-card__tag--transport,
.product-card__tag--messaging,
.card__tag {
  background: rgba(139, 92, 246, 0.14);
  color: #c4b5fd;
}

.product-card__users,
.stat__label,
.footer__copyright {
  color: var(--color-text-secondary);
}

.product-card__features {
  border-top: 1px solid var(--color-border);
}

.product-card__feature-icon,
.service-detail__list-icon {
  color: var(--brand-blue);
}

.cta-banner {
  background: #0f172a;
  color: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.cta-banner__title {
  color: #fff;
}

.cta-banner__text {
  color: rgba(255, 255, 255, 0.88);
}

.footer {
  background: #0f1522;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}

.footer__heading,
.footer .navbar__logo,
.footer .navbar__logo-icon {
  color: var(--color-text-primary);
}

.footer .navbar__logo-icon {
  background: var(--brand-gradient);
  color: #fff;
}

.footer__link,
.footer__brand-desc {
  color: var(--color-text-secondary);
}

.footer__link:hover {
  color: var(--brand-blue);
  padding-left: 0;
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
}

.footer__social-link {
  background: #131c2f;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}

.footer__social-link:hover {
  background: var(--brand-gradient);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: none;
}

/* Enterprise image cards */
.enterprise-media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.enterprise-media__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.enterprise-media__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.enterprise-media__image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.enterprise-media__card:hover .enterprise-media__image {
  transform: scale(1.04);
}

.enterprise-media__body {
  padding: 16px 18px 18px;
}

.enterprise-media__title {
  font-size: 1.02rem;
  margin-bottom: 6px;
  color: var(--color-text-primary);
}

.enterprise-media__text {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.stat__number {
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--brand-blue);
}

.section--dark .stat__number {
  background: none;
  -webkit-text-fill-color: initial;
  color: #fff;
}

.form__label {
  color: var(--color-text-primary);
}

.form__input,
.form__textarea {
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #0B0F19;
  color: var(--color-text-primary);
  transition: all 0.25s ease;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-gray-400);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

a {
  color: var(--brand-blue);
}

a:hover {
  color: #60a5fa;
}

/* Stats contrast fix inside dark sections */
.section--dark .stat__number {
  color: #ffffff !important;
}

.section--dark .stat__label {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ==========================================================================
   PREMIUM SAAS PASS — Rhythm + Reduced Noise
   ========================================================================== */

/* Typographic rhythm */
.section__header {
  margin-bottom: 2.5rem;
}

.section__title {
  font-size: clamp(1.6rem, 2.2vw, 1.95rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section__subtitle {
  max-width: 62ch;
  margin-inline: auto;
  font-size: 1.0625rem;
}

.hero {
  padding-top: calc(72px + 4.5rem);
  padding-bottom: 4rem;
}

.hero__content {
  max-width: 58ch;
}

.hero__label {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.05rem, 4.2vw, 2.75rem);
  line-height: 1.18;
  margin-bottom: 1rem;
}

.hero__description {
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.hero__actions {
  gap: 0.75rem;
}

/* Product grid calm refinement */
.products-showcase {
  gap: 1.25rem;
}

.product-card {
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(17, 24, 39, 0.05);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
}

.product-card__body {
  padding: 1.05rem 1.15rem 1.2rem;
}

.product-card__title {
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.product-card__desc {
  font-size: 0.94rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.product-card__users {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.product-card__features {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  gap: 0.4rem;
}

.product-card__feature {
  font-size: 0.86rem;
  line-height: 1.45;
}

/* Footer noise reduction */
.footer {
  background: #f9fafb;
  border-top: 1px solid #edf0f3;
}

.footer__grid {
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer__heading {
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  margin-bottom: 0.65rem;
}

.footer__brand-desc,
.footer__link,
.footer__copyright {
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer__link {
  padding-block: 0.3rem;
}

.footer__link:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__socials {
  gap: 0.45rem;
}

.footer__social-link {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f3f4f6;
}

/* ==========================================================================
   AUTO THEME (prefers-color-scheme) — color layer only
   ========================================================================== */

body {
  background: var(--bg);
  color: var(--text-primary);
}

.navbar {
  background-color: rgba(248, 247, 244, 0.82);
  border-bottom: 1px solid var(--border);
}

.navbar--scrolled {
  background-color: rgba(248, 247, 244, 0.92);
}

@media (prefers-color-scheme: dark) {
  .navbar {
    background-color: rgba(11, 15, 25, 0.8);
  }
  .navbar--scrolled {
    background-color: rgba(11, 15, 25, 0.9);
  }
}

.navbar__logo,
.navbar__link,
.footer__heading,
.hero__title,
.page-hero__title,
.section__title,
.card__title,
.product-card__title,
.process__title,
.trust-item__title,
.contact-form-card__title {
  color: var(--text-primary);
}

.hero__description,
.page-hero__subtitle,
.section__subtitle,
.card__text,
.product-card__desc,
.product-card__feature,
.product-card__users,
.process__text,
.trust-item__text,
.contact-form-card__text,
.footer__brand-desc,
.footer__link,
.footer__copyright,
.stat__label,
p {
  color: var(--text-secondary);
}

.card,
.product-card,
.contact-form-card,
.enterprise-media__card {
  background: var(--surface);
  border: 1px solid var(--border);
}

.product-card__features,
.footer__bottom {
  border-top: 1px solid var(--border);
}

.btn--primary {
  background: var(--brand-gradient);
  color: #fff;
}

.btn--primary:hover {
  filter: brightness(1.08);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.btn--outline:hover {
  background: rgba(59, 130, 246, 0.16);
  border-color: var(--brand-blue);
  color: #fff;
}

.btn--white {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.card__icon,
.trust-item__icon,
.process__number,
.contact-info__icon {
  background: rgba(59, 130, 246, 0.16);
  color: var(--brand-blue);
}

.hero__label,
.card__tag,
.product-card__tag--event,
.product-card__tag--education,
.product-card__tag--insurance,
.product-card__tag--transport,
.product-card__tag--messaging {
  background: rgba(139, 92, 246, 0.16);
  color: #c4b5fd;
  border: 1px solid var(--border);
}

.cta-banner {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-banner__title {
  color: var(--text-primary);
}

.cta-banner__text {
  color: var(--text-secondary);
}

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer__social-link {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.footer__social-link:hover {
  background: var(--brand-gradient);
  color: #fff;
}

.form__input,
.form__textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
  background: var(--bg);
}

.form__input:-webkit-autofill,
.form__input:-webkit-autofill:hover,
.form__input:-webkit-autofill:focus,
.form__textarea:-webkit-autofill,
.form__textarea:-webkit-autofill:hover,
.form__textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-primary);
  -webkit-box-shadow: 0 0 0 1000px var(--bg) inset;
  box-shadow: 0 0 0 1000px var(--bg) inset;
  caret-color: var(--text-primary);
}

a {
  color: var(--brand-blue);
}

a:hover {
  color: #60a5fa;
}
