/* ═══════════════════════════════════════════════════════════════════════════
   SALARYSAVVY — BRAND ARCHITECTURE
   High-Contrast light canvas grounded with authoritative enterprise blues
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg-void:       #F4F9FC;  
  --bg-base:       #EDF4F8;  
  --surface-plate: rgba(255, 255, 255, 0.85); 
  --border-fluid:  rgba(0, 229, 255, 0.2);
  --border-glass:  rgba(0, 91, 130, 0.06);
  
  --text-pure:     #00151F;  
  --text-body:     #1A3340;  
  --text-muted:    #607B8A;  

  --accent-glow:   #00E5FF;  
  --accent-deep:   #005B82;  
}

/* ── Reset & Canvas Initialization ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-void);
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-body);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: -0.01em;
  position: relative;
}

a {
  text-decoration: none !important;
}
/* 1. Stack the text group next to the S mark */
.logo {
  display: flex;
  align-items: center;
  gap: 12px; /* Adjust spacing between S and text */
}

/* 2. Vertically stack 'salary' and 'savvy' */
.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1; /* Tighter line height for the stack */
}

/* 3. Style and Color the text exactly like the image */
.logo-text {
  font-family: "DM Sans", sans-serif; /* DM Sans based on your imports */
  font-weight: 700; /* Use a strong weight */
  text-transform: lowercase; /* Force lowercase for 'savvy' */
}

/* Specific colors and sizes from image_2.png */
.logo-text.top {
  color: #10314f; /* Dark navy for 'salary' */
  font-size: 20px; /* Adjust size to fit header/footer */
}

.logo-text.bottom {
  color: #07a7a3; /* Bright cyan for 'savvy' */
  font-size: 20px; /* Adjust size */
}

/* Footer Tagline Positioning */
.footer-bottom {
  text-align: center;
}

.footer-tagline {
  margin-bottom: 8px; /* Spacing before copyright */
  color: #555; /* Subtle color */
  font-size: 14px;
}

/* ── CURVED BEZIER DATA LINE ("THE GROWTH WAVE") ── */
.growth-wave-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.growth-wave-svg {
  position: absolute;
  width: 100%;
  min-width: 1440px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 4px 20px rgba(0, 229, 255, 0.08));
}

/* ── LIQUID DIVISION LAYER ── */
.liquid-divider-container {
  position: relative;
  width: 100%;
  height: 120px;
  margin-top: -60px;
  z-index: 3;
  pointer-events: none;
}

.liquid-wave-svg {
  width: 100%;
  height: 120px;
  display: block;
}

/* ── SOFT WATERCOLOR BACKGROUND BLOBS ── */
.fluid-glow-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.fluid-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.12;
  mix-blend-mode: multiply;
  transform-origin: center;
  animation: floatWave 22s infinite alternate ease-in-out;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.blob-1 {
  width: 650px;
  height: 550px;
  background: radial-gradient(circle, var(--accent-glow) 0%, var(--accent-deep) 100%);
  top: -5%;
  right: -5%;
  animation-duration: 16s;
}

.blob-2 {
  width: 550px;
  height: 650px;
  background: radial-gradient(circle, var(--accent-deep) 0%, #C9DCED 100%);
  top: 35%;
  left: -8%;
  opacity: 0.18;
  animation-duration: 24s;
}

.blob-3 {
  width: 750px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(255,255,255,0) 70%);
  bottom: 8%;
  right: -8%;
}

body:has(.btn--primary:hover) .blob-1 {
  opacity: 0.22;
  transform: scale(1.1) translate(-20px, 15px);
}

body:has(.benefit-card:hover) .blob-2 {
  opacity: 0.26;
  transform: scale(1.08) translate(30px, -30px);
}

@keyframes floatWave {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 50% 40% 60% 50% / 40% 50% 50% 60%; }
  50% { transform: translate(30px, -50px) scale(1.05) rotate(45deg); border-radius: 40% 60% 40% 60% / 50% 40% 60% 40%; }
  100% { transform: translate(-15px, 25px) scale(0.95) rotate(90deg); border-radius: 60% 40% 50% 40% / 40% 60% 40% 50%; }
}

/* ── Typography Framework ── */
h1, h2, h3 {
  color: var(--text-pure);
  font-weight: 400;
  line-height: 1.15;
}

h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 7.5vw, 5.2rem);
  letter-spacing: -0.03em;
}

h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h3 {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

em {
  font-style: italic;
  color: var(--accent-deep);
  font-family: 'DM Serif Display', serif;
  position: relative;
  display: inline-block;
}

em::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 4px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, rgba(0,0,0,0) 80%);
  opacity: 0.8;
}

p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* ── Layout Framework ── */
.container {
  width: min(1280px, 90%);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.section {
  padding-block: clamp(70px, 10vw, 160px);
}

.section-header {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 90px);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-deep);
  margin-bottom: 1.25rem;
}

/* ── Buttons and Links ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary {
  background-color: var(--accent-deep);
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(0, 91, 130, 0.15);
}
.btn--primary:hover {
  background-color: var(--text-pure);
  transform: translateY(-3px);
  box-shadow: 0 15px 32px rgba(0, 21, 31, 0.25);
}

.btn--ghost {
  background-color: rgba(0, 91, 130, 0.03);
  color: var(--text-pure);
  border-color: rgba(0, 91, 130, 0.12);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background-color: rgba(0, 91, 130, 0.08);
  border-color: var(--accent-deep);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   SITE HEADER NAVIGATION
═══════════════════════════════════════ */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem clamp(1rem, 5%, 4rem);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-pure);
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-deep) 0%, #00364F 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  font-weight: bold;
  border-radius: 10px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--accent-deep);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 30px;
  transition: all 0.25s ease;
}

.nav-cta--outline {
  color: var(--text-pure);
  border: 1px solid rgba(0, 91, 130, 0.15);
  background-color: rgba(255, 255, 255, 0.4);
}
.nav-cta--outline:hover {
  border-color: var(--accent-deep);
  background-color: rgba(0, 91, 130, 0.05);
}

.nav-cta--fill {
  background-color: var(--accent-deep);
  color: #FFFFFF;
}
.nav-cta--fill:hover {
  background-color: var(--text-pure);
  box-shadow: 0 5px 18px rgba(0, 21, 31, 0.15);
}

.mobile-action-btn {
  display: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 30px;
  background-color: var(--accent-deep);
  color: #FFFFFF;
}

/* ═══════════════════════════════════════
   HERO PLATFORM SYSTEM
═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-body {
  margin-top: 1.75rem;
  font-size: 1.2rem;
  color: var(--text-body);
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 0;
  margin-top: 2.5rem;
}

.hero-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  gap: 4.5rem;
  margin-top: 4.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 91, 130, 0.1);
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.stat-num {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--text-pure) 40%, var(--text-muted) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.4;
  white-space: nowrap;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

/* ===========================================================================
     PREMIUM SCREENLESS AUTOMATION INTERFACE ENGINE
     =========================================================================== */
.chat-ui-wrapper {
  width: 100%;
  max-width: 360px;          /* Strict, un-stretchable application layout cap */
  height: 640px;             /* Perfectly scaled vertical viewport ratio mapping */
  background: #f0f4f7;       /* Refined cool-grey background signature */
  border-radius: 45px;       /* Matches soft card-deck styling rules */
  box-shadow: 0 30px 70px rgba(0, 36, 60, 0.08),
              0 0 0 1px rgba(0, 36, 60, 0.03);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0 auto;
}

/* Chat Header Component */
.chat-ui-header {
  background: #00243c;       /* Pure brand dark canvas primary depth */
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-ui-profile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-ui-back {
  width: 18px;
  height: 18px;
  color: #00e5ff;            /* Dynamic cyan UI point accent */
  display: flex;
  align-items: center;
}

.chat-ui-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #005b82, #00e5ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
}

.chat-ui-meta {
  display: flex;
  flex-direction: column;
}

.chat-ui-title {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-ui-badge {
  width: 12px;
  height: 12px;
  background: #00e5ff;
  color: #00243c;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px;
}

.chat-ui-status {
  font-size: 0.65rem;
  color: #8fa0ad;
}

.chat-ui-actions {
  display: flex;
  gap: 14px;
}

.chat-ui-icon-btn {
  width: 18px;
  height: 18px;
  color: #8fa0ad;
  display: inline-block;
  cursor: pointer;
  transition: color 0.2s ease;
}

.chat-ui-icon-btn:hover {
  color: #00e5ff;
}

/* Chat Feed Body Track */
.chat-ui-body {
  flex: 1;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.chat-ui-date {
  align-self: center;
  background: rgba(0, 36, 60, 0.05);
  color: #5b6e7d;
  font-size: 0.65rem;
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.chat-ui-row {
  display: flex;
  width: 100%;
}

.chat-received { justify-content: flex-start; }
.chat-sent { justify-content: flex-end; }

/* Message Bubble Sculpting */
.chat-ui-bubble {
  max-width: 82%;
  padding: 10px 14px 16px 14px;
  font-size: 0.82rem;
  line-height: 1.45;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 36, 60, 0.03);
}

.chat-received .chat-ui-bubble {
  background: #ffffff;
  color: #00243c;
  border-radius: 0px 16px 16px 16px;
}

.chat-sent .chat-ui-bubble {
  background: #005b82;      /* Deep primary brand blue anchor point */
  color: #ffffff;
  border-radius: 16px 0px 16px 16px;
}

/* Priority Action Callouts (Framed Border Highlighting Technique) */
.chat-highlighted .chat-ui-bubble {
  border-left: 3px solid #00e5ff;
}

.chat-ui-amount {
  color: #005b82;
  font-weight: 700;
}

.chat-ui-action-trigger {
  color: #005b82;
  background: rgba(0, 229, 255, 0.15);
  padding: 1px 5px;
  border-radius: 4px;
}

.chat-ui-time {
  position: absolute;
  bottom: 3px;
  right: 10px;
  font-size: 0.58rem;
  color: #8fa0ad;
  display: flex;
  align-items: center;
  gap: 2px;
}

.chat-sent .chat-ui-time {
  color: rgba(255, 255, 255, 0.7);
}

.chat-ui-ticks {
  width: 11px;
  height: 11px;
  color: #00e5ff;
  display: inline-block;
}

/* Chat Footer Input Module Layout */
.chat-ui-footer {
  padding: 10px 14px 16px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
}

.chat-ui-input-field {
  flex: 1;
  background: #ffffff;
  border-radius: 24px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,36,60,0.02);
}

.chat-ui-placeholder {
  font-size: 0.8rem;
  color: #8fa0ad;
  flex: 1;
  margin-left: 8px;
}

.chat-ui-input-icon {
  width: 18px;
  height: 18px;
  color: #6c7d8a;
  display: flex;
  align-items: center;
}

.chat-ui-mic {
  width: 34px;
  height: 34px;
  background: #005b82;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 9px;
  box-shadow: 0 2px 5px rgba(0,91,130,0.15);
}

/* SVG Vector Normalizer */
.chat-ui-wrapper svg {
  width: 100%;
  height: 100%;
}
/* ═══════════════════════════════════════
   FLOWY BENEFITS MATRIX
═══════════════════════════════════════ */
.benefits {
  background-color: var(--surface-plate);
  position: relative;
  z-index: 4;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  position: relative;
  background-color: #FFFFFF;
  border: 1px solid var(--border-glass);
  padding: 4.5rem 2.5rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 50, 90, 0.01);
}

.benefit-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(0, 91, 130, 0.2);
  box-shadow: 0 20px 40px rgba(0, 50, 90, 0.04);
}

/* INTERNAL SHIFTING GLOW LAYER */
.card-glow-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 80%) var(--mouse-y, 20%), rgba(0, 229, 255, 0.08) 0%, rgba(0,0,0,0) 60%);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.benefit-card:hover .card-glow-layer {
  opacity: 1;
  transform: scale(1.1);
}

.benefit-card p {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-top: 3.5rem;
  transition: color 0.3s;
}
.card-link span {
  transition: transform 0.3s ease;
}
.benefit-card:hover .card-link {
  color: var(--text-pure);
}
.benefit-card:hover .card-link span {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════ */
.site-footer {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--border-glass);
  padding-top: clamp(60px, 10vw, 140px);
  background: linear-gradient(180deg, rgba(237,244,248,0) 0%, rgba(217,230,240,0.5) 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  padding-bottom: clamp(40px, 7vw, 90px);
  border-bottom: 1px solid var(--border-glass);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col h4 {
  color: var(--text-pure);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.75rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  list-style: none;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent-deep);
}

.footer-bottom {
  padding-block: 2.5rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ ACCORDION ARCHITECTURE
   ═══════════════════════════════════════════════════════════════════════════ */
.faq-section {
  padding: 100px 4%;
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 91, 130, 0.06);
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column; 
  gap: 3.5rem;            
}

/* Header Typography Setup — Exactly mirrors the Benefits layout */
.faq-header-block {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-pre-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6c7d8a; 
  font-weight: 600;
}

.faq-main-title {
  font-family: serif; 
  font-size: 3.25rem; 
  font-weight: 400;
  color: #00243c;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.faq-main-title em {
  font-style: italic;
  color: #005b82; 
  font-weight: 400;
  background: #005b82; 
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faq-content {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: 860px; 
  width: 100%;
}

.faq-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-category-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8fa0ad;
  margin-bottom: 0.5rem;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(0, 91, 130, 0.1); 
}

/* Accordion Element Enhancements */
.faq-item {
  background: #f8fafc;
  border: 1px solid rgba(0, 91, 130, 0.04);
  border-radius: 16px; 
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 36, 60, 0.05);
  border-color: rgba(0, 229, 255, 0.25);
}

summary.faq-question {
  padding: 1.5rem 1.75rem;
  font-size: 1.1rem; 
  font-weight: 600;
  color: #00243c;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
summary.faq-question::-webkit-details-marker {
  display: none; 
}

summary.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: #8fa0ad;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] summary.faq-question::after {
  transform: rotate(45deg); 
  color: #00e5ff;
}

.faq-answer {
  padding: 0 1.75rem 1.75rem 1.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5d6b;
  border-top: 1px solid rgba(0, 91, 130, 0.02);
  animation: slideDown 0.2s ease-out;
}

.faq-answer strong {
  color: #00243c;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}



/* ═══════════════════════════════════════
   RESPONSIVE BREAKPOINTS ENGINE — MOBILE-FRIENDLY ADAPTIVE FLEX
═══════════════════════════════════════ */

@media (max-width: 1200px) {
  .nav-container { gap: 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 4rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   OPTIMIZED MOBILE BREAKPOINTS ENGINE — FLOATING GLASS ISLAND
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .site-header {
    position: fixed; 
    top: 16px;
    left: 4%;
    width: 92%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 229, 255, 0.18); 
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0, 36, 60, 0.06);
    backdrop-filter: blur(16px) saturate(120%);
    z-index: 1000;
  }

  .nav-inner {
    display: flex;
    flex-direction: column; 
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
  }

  .logo {
    justify-content: center; 
    width: 100%;
  }

  .nav-links {
    display: none;
  }

  .nav-container {
    display: flex;
    width: 100%;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 0.65rem;
    width: 100%;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.65rem 0.5rem;
    border-radius: 12px;
    white-space: nowrap; 
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem; 
  }

  .benefit-card {
    min-height: auto;
    padding: 2.5rem 1.75rem; 
  }
  
  .faq-main-title {
    font-size: 2rem;
  }
  .hero { 
    padding-top: 170px; 
    padding-bottom: 60px; 
    min-height: auto;
  }
  .hero-content { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-visual { justify-content: center; order: -1; }
  .phone-mockup { max-width: 310px; }
  
  .hero-stat-row { 
    justify-content: space-between; 
    gap: 1.5rem; 
    margin-top: 3.5rem;
    padding-top: 2.5rem;
  }
}

@media (max-width: 650px) {
  .liquid-divider-container { height: 80px; margin-top: -40px; }
  .liquid-wave-svg { height: 80px; }
  
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

@media (max-width: 480px) {
  .nav-cta {
    font-size: 0.72rem;
    padding: 0.6rem 0.25rem;
    letter-spacing: -0.01em;
  }

  .hero-ctas { justify-content: center;}
  .hero-ctas .btn { width: 100%; }
  
  .hero-stat-row { 
    flex-direction: column; 
    gap: 1.75rem; 
    align-items: flex-start;
    border-top: 1px solid rgba(0, 91, 130, 0.1);
  }
  .hero-stat { width: 100%; }
  
  .footer-links { grid-template-columns: 1fr; gap: 2rem; }
  .footer-col h4 { margin-bottom: 1rem; }
}

/* ===========================================================================
     MASTER FORM UI SYSTEM STYLING RULES
     =========================================================================== */
.form-page-body {
  background: #f8fafc;
  margin: 0;
  padding: 60px 20px;
  font-family: system-ui, -apple-system, sans-serif;
}

.form-container-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-card {
  width: 100%;
  max-width: 580px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 36, 60, 0.04);
}

.form-header-group { margin-bottom: 32px; }
.form-main-title { font-size: 2rem; font-weight: 700; color: #00243c; margin: 0 0 8px 0; letter-spacing: -0.02em; }
.form-tagline { font-size: 1rem; font-weight: 600; color: #005b82; margin: 0; }

/* Structural Logic to Hide Fields Contextually */
.form-type-employee .field-conditional-employer,
.form-type-contact .field-conditional-employer,
.form-type-employee .form-tagline,
.form-type-contact .form-tagline {
  display: none !important;
}

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 28px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 8px; }
.field-full-width { grid-column: span 2; }
@media (max-width: 640px) { .field-full-width { grid-column: span 1; } }

.form-field label { font-size: 0.85rem; font-weight: 500; color: #475569; }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 16px; background: #ffffff; border: 1.5px solid #cbd5e1;
  border-radius: 10px; font-size: 0.92rem; color: #00243c; outline: none; box-sizing: border-box;
}
.form-field input:focus, .form-field textarea:focus { border-color: #005b82; box-shadow: 0 0 0 3px rgba(0, 91, 130, 0.08); }

.form-footer-actions { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.form-submit-btn {
  background: #00243c; color: #ffffff; font-size: 1rem; font-weight: 600;
  padding: 14px 36px; border: none; border-radius: 30px; cursor: pointer; transition: background 0.2s;
}
.form-submit-btn:hover { background: #005b82; }

.captcha-box-embed {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
  padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 280px; box-sizing: border-box;
}
.captcha-checkbox-wrapper { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: #334155; }
.captcha-checkbox-wrapper input { width: 20px; height: 20px; cursor: pointer; }
.captcha-vendor-logo { display: flex; flex-direction: column; align-items: center; font-size: 0.6rem; color: #64748b; font-weight: 500; }
.captcha-icon { width: 22px; height: 22px; }

/* ===========================================================================
     PREMIUM MINIMALIST OVERLAY MODAL SYSTEM
     =========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4); /* Soft slate tint */
  backdrop-filter: blur(8px);        /* Clean post-internet glass blur */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 36px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 36, 60, 0.15);
  transform: scale(1);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.hidden .modal-card {
  transform: scale(0.95);
}

.modal-icon-circle {
  width: 56px;
  height: 56px;
  background: rgba(0, 229, 255, 0.1); /* Soft cyan aura */
  color: #005b82;                     /* Brand primary blue */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.modal-icon-circle svg {
  width: 24px;
  height: 24px;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #00243c;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.modal-text {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 24px 0;
}

.modal-action-btn {
  width: 100%;
  background: #00243c;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.modal-action-btn:hover {
  background: #005b82;
}

.modal-action-btn:active {
  transform: scale(0.98);
}

/* ===========================================================================
   PREMIUM EDITORIAL LAYOUT (Privacy Policy & Terms of Service)
   =========================================================================== */
.legal-page-body {
  background-color: #ffffff;
  /* Replicates the soft, organic ambient mesh gradient seen on the hero section */
  background-image: 
    radial-gradient(at 0% 0%, #f0f7ff 0px, transparent 35%), 
    radial-gradient(at 100% 0%, #e0f2fe 0px, transparent 35%);
  background-attachment: fixed;
  color: #475569; /* Balanced slate text for high reading comfort */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}

.legal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.legal-nav .back-link {
  color: #0284c7; /* Core brand sky/ocean blue accent */
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.legal-nav .back-link:hover {
  color: #0369a1;
  text-decoration: underline;
}

.legal-nav .pdf-download-btn {
  background-color: #ffffff;
  color: #1e293b;
  padding: 0.5rem 1.25rem;
  border-radius: 100px; /* Elegant pill shape matching landing page buttons */
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.legal-nav .pdf-download-btn:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem 2rem;
}

.legal-content .legal-date {
  color: #0284c7;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.legal-content h1 {
  color: #0f172a; /* Deep, dominant corporate navy/indigo tone */
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 0;
  margin-bottom: 3rem;
  /* Matches the distinct, high-end editorial display serif feel */
  font-family: 'Playfair Display', Georgia, Cambria, serif; 
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 0.75rem;
}

.legal-section h3 {
  color: #1e293b;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-section p {
  color: #475569;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.legal-section .section-intro {
  font-style: normal;
  color: #64748b;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.legal-section ul {
  margin-top: 0;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.legal-section li {
  color: #475569;
  margin-bottom: 0.85rem;
}

.legal-section strong {
  color: #0f172a;
  font-weight: 600;
}

/* Responsiveness for mobile access channels */
@media (max-width: 640px) {
  .legal-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  
  .legal-container {
    padding: 1rem 1.5rem 4rem 1.5rem;
  }
  
  .legal-content h1 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
  }
}

/* Container sizing for the reCAPTCHA block */
.g-recaptcha {
  transform-origin: left top;
  -webkit-transform-origin: left top;
  margin-bottom: 15px;
}

/* Target mobile devices narrower than 360px */
@media screen and (max-width: 360px) {
  .g-recaptcha {
    transform: scale(0.77);
    -webkit-transform: scale(0.77);
  }
}