/* ============================================
   WORKERS UNITED - Main Stylesheet
   Optimized and cleaned by Claude/Cursor
   ============================================ */

/* CSS Variables */
:root {
  --bg: #f4f6fb;
  --bg-alt: #ffffff;
  --primary: #183b56;
  --primary-soft: #2f6fed;
  --accent: #1dbf73;
  --text: #1b2430;
  --muted: #6c7a89;
  --border: #dde3ec;
  --shadow-soft: 0 18px 45px rgba(9, 30, 66, 0.16);
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-width: 1120px;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

/* Layout */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 64px 0;
}

@media (min-width: 900px) {
  section {
    padding: 80px 0;
  }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(244, 246, 251, 0.9);
  border-bottom: 1px solid rgba(221, 227, 236, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  width: auto;
  height: auto;
}

.logo-mark img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  line-height: 1;
  white-space: nowrap;
}

/* Navigation */
.nav {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  position: relative;
  padding-bottom: 4px;
}

.nav a:focus,
.nav a:active {
  outline: none;
  text-decoration: none;
  box-shadow: none;
}

.nav a:not(.nav-cta):hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-soft);
}

/* CTA Button in nav */
.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(47, 111, 237, 0.3);
  background: linear-gradient(to right, #2f6fed, #1c4dd6);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(47, 111, 237, 0.4);
}

.nav-cta:hover {
  transform: translateY(-1px);
}

/* Prevent underline on CTA button */
.nav a.nav-cta::after,
.nav a.nav-cta:hover::after,
.nav a.nav-cta:focus::after {
  content: none !important;
  display: none !important;
}

/* Hamburger Menu (Mobile) */
.burger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  margin-left: 22px;
  padding: 10px;
}

.burger span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

/* Desktop Navigation */
@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .burger {
    display: none;
  }
}

/* Mobile Navigation Menu */
@media (max-width: 899px) {
  .nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 58px;
    right: 20px;
    gap: 12px;
    background: var(--bg-alt);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    z-index: 100;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-inner {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
    gap: 40px;
  }
}

.hero-card {
  background: radial-gradient(circle at top left, #e4ebff, #f9fbff);
  border-radius: 32px;
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(221, 227, 236, 0.9);
  position: relative;
  overflow: hidden;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(24, 59, 86, 0.05);
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(29, 191, 115, 0.25);
}

.hero-title {
  font-size: 30px;
  line-height: 1.15;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

@media (min-width: 900px) {
  .hero-title {
    font-size: 38px;
  }
}

.hero-subtitle {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 20px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 13px;
  color: var(--muted);
}

.hero-note strong {
  color: var(--primary);
}

.hero-right {
  display: grid;
  gap: 16px;
}

.hero-badge-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(9, 30, 66, 0.15);
}

.hero-badge-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.hero-badge-list {
  font-size: 13px;
  color: var(--muted);
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.hero-badge-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.check-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(29, 191, 115, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-tagline-card {
  background: linear-gradient(135deg, #183b56, #2f6fed);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  color: #eaf1ff;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-tagline-card strong {
  color: #ffffff;
}

.hero-mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2f6fed, #1c4dd6);
  color: #fff;
  box-shadow: 0 12px 30px rgba(47, 111, 237, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(24, 59, 86, 0.1);
  color: var(--primary);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.section-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 8px;
}

.section-title {
  font-size: 24px;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--muted);
}

@media (min-width: 900px) {
  .section-title {
    font-size: 28px;
  }
}

/* ============================================
   STEPS / HOW IT WORKS
   ============================================ */

.steps-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 800px) {
  .steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.step-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(47, 111, 237, 0.08);
  color: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}

.step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.step-text {
  font-size: 13px;
  color: var(--muted);
}

/* ============================================
   SPLIT SECTIONS (Workers / Employers)
   ============================================ */

.split {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 32px;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(24, 59, 86, 0.05);
  color: var(--muted);
  margin-bottom: 10px;
}

.split-title {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 8px;
}

.split-text {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 14px;
  color: var(--text);
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.bullet-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(29, 191, 115, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ============================================
   CARDS & TAGS
   ============================================ */

.card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(9, 30, 66, 0.18);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(24, 59, 86, 0.03);
  color: var(--muted);
}

/* ============================================
   REASONS / TRUST SECTION
   ============================================ */

.reason-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .reason-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.reason-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px;
  border: 1px solid var(--border);
}

.reason-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.reason-text {
  font-size: 13px;
  color: var(--muted);
}

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

.faq-grid {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--bg-alt);
  border-radius: 999px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-radius 0.18s ease, box-shadow 0.18s ease, border 0.18s ease;
}

.faq-item.open {
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 45px rgba(9, 30, 66, 0.23);
  border-color: rgba(47, 111, 237, 0.4);
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
}

.faq-question {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

.faq-toggle {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(24, 59, 86, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  flex-shrink: 0;
}

.faq-body {
  padding: 0 14px 12px;
  font-size: 13px;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-body {
  display: block;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-layout {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 32px;
  }
}

.contact-info p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 10px;
}

.contact-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(29, 191, 115, 0.4);
  background: rgba(29, 191, 115, 0.06);
  color: var(--accent);
  font-size: 12px;
  margin-bottom: 12px;
}

.contact-form-card {
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
  padding: 20px 18px 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.contact-grid {
  display: grid;
  gap: 10px;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }
}

/* Form Fields */
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 6px;
}

.field-label {
  font-size: 12px;
  color: var(--muted);
}

.field-label span {
  color: #e74c3c;
}

input[type="text"],
input[type="email"],
select,
textarea {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 9px 12px;
  font-size: 16px;
  /* Prevent mobile zoom on focus */
  font-family: inherit;
  background: #f9fbff;
  outline: none;
  transition: border 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

textarea {
  border-radius: 16px;
  min-height: 110px;
  resize: vertical;
}

/* ============================================
   ANIMATIONS & NEW FEATURES
   ============================================ */

/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

/* Statistics Section */
.stats-section {
  background: var(--bg-alt);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-soft);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(180deg, var(--bg) 0%, #eef2f6 100%);
}

.testimonial-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(9, 30, 66, 0.08);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: #ffb400;
  margin-bottom: 16px;
  font-size: 14px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
  flex-grow: 1;
}

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

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.author-role {
  font-size: 12px;
  color: var(--muted);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: white;
}



input:focus,
select:focus,
textarea:focus {
  border-color: rgba(47, 111, 237, 0.9);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(47, 111, 237, 0.4);
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(24, 59, 86, 0.02);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}

.radio-pill input {
  margin: 0;
}

.contact-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.contact-submit-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-submit-helper {
  font-size: 11px;
  color: var(--muted);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 18px 0 20px;
  font-size: 12px;
  color: var(--muted);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.footer-contact {
  font-size: 12px;
}

.footer-contact a {
  color: var(--primary-soft);
  text-decoration: underline;
}

.footer-legal-links {
  font-size: 12px;
}

.footer-legal-links a {
  color: var(--primary-soft);
  text-decoration: underline;
}

.footer-company {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.5;
}

.footer-company-name {
  margin-bottom: 2px;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-links {
    width: 100%;
  }
}

/* ============================================
   SOCIAL ICONS (Cleaned & Optimized)
   ============================================ */

.wu-social-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding-bottom: 6px;
}

.wu-social {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #1b2430;
  opacity: 1;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.wu-social:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.10);
  color: var(--primary-soft);
}

.wu-social svg {
  width: 20px;
  height: 20px;
  fill: #1b2430;
  stroke: none;
}

.wu-social:hover svg {
  fill: var(--primary-soft);
}

.wu-social-img {
  width: 20px;
  height: 20px;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 1;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .wu-social {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
  }

  .wu-social:hover {
    background: rgba(255, 255, 255, 0.14);
  }
}

/* ============================================
   FORM VALIDATION STYLES
   ============================================ */

/* Error state for input fields */
.field-invalid {
  border-color: #e74c3c !important;
  background: #fff5f5 !important;
  animation: shake 0.3s ease;
}

.field-invalid:focus {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 1px rgba(231, 76, 60, 0.4) !important;
}

/* Error message */
.field-error {
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff5f5;
  border: 1px solid #fdd;
  color: #c0392b;
  font-size: 13px;
  line-height: 1.4;
  animation: slideDown 0.2s ease;
}

/* Shake animation for errors */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-8px);
  }

  75% {
    transform: translateX(8px);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

/* Toast notification */
.form-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  color: var(--text);
  z-index: 1000;
  max-width: 320px;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
}

.form-notification.show {
  opacity: 1;
  transform: translateX(0);
}

.form-notification-error {
  background: #fff5f5;
  border-color: #fdd;
  color: #c0392b;
}

.form-notification-success {
  background: #f0fdf4;
  border-color: #dcfce7;
  color: #15803d;
}

/* Success overlay */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(244, 246, 251, 0.98);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-success-overlay.show {
  opacity: 1;
}

.form-success-card {
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  max-width: 420px;
  text-align: center;
  animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }

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

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1dbf73, #10a558);
  color: white;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  animation: successPulse 0.6s ease;
}

@keyframes successPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.form-success-card h3 {
  font-size: 20px;
  color: var(--primary);
  margin: 0 0 10px;
}

.form-success-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.6;
}

.form-success-card .btn {
  margin: 0 auto;
}

/* ============================================
   SKIP TO MAIN CONTENT (Accessibility)
   ============================================ */

.skip-to-main {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 600;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  transition: top 0.2s ease;
}

.skip-to-main:focus {
  top: 0;
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: auto;
  left: 24px;
  /* Moved to left to avoid Chatbot */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f6fed, #1c4dd6);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(47, 111, 237, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 100;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(47, 111, 237, 0.5);
}

.back-to-top:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    left: 20px;
    /* Left on mobile too */
    right: auto;
    width: 44px;
    height: 44px;
  }
}

/* ============================================
   SMOOTH SCROLL
   ============================================ */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   HOVER EFFECTS ON CARDS
   ============================================ */

.step-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(9, 30, 66, 0.2);
}

.reason-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(9, 30, 66, 0.2);
}

.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(9, 30, 66, 0.25);
}

/* ============================================
   HERO ANIMATIONS
   ============================================ */

.hero-card {
  animation: fadeInUp 0.6s ease-out;
}

.hero-right {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* ============================================
   MOBILE MENU ANIMATION
   ============================================ */

@media (max-width: 899px) {
  .nav {
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav:not(.nav-open) {
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
  }

  .nav.nav-open {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }
}

/* ============================================
   IMPROVED FOCUS INDICATORS
   ============================================ */

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--primary-soft);
  outline-offset: 2px;
  border-radius: 4px;
}

.nav a:focus {
  outline-offset: 4px;
}

.btn:focus {
  outline-offset: 3px;
}

/* ============================================
   FOOTER COL STYLES (for legal pages)
   ============================================ */

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-company-name {
  font-weight: 600;
  color: var(--text);
  margin-top: 8px;
}

.footer-company-address {
  font-size: 11px;
  color: var(--muted);
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--primary-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.breadcrumbs span[aria-hidden="true"] {
  color: var(--border);
  margin: 0 4px;
}

.breadcrumbs>span:last-child {
  color: var(--text);
  font-weight: 500;
}