/* ========================================
   FRANTECH-SOLUTIONS — MAIN STYLESHEET
   Brand: Deep Navy + Teal/Aqua + White
   ======================================== */

/* === CSS VARIABLES === */
:root {
  --navy: #0d1f3c;
  --navy-light: #162d52;
  --navy-mid: #1a3a66;
  --teal: #00b4d8;
  --teal-dark: #0096c7;
  --teal-light: #48cae4;
  --aqua: #00d4ff;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-light: #f1f5f9;
  --gray-mid: #e2e8f0;
  --gray: #94a3b8;
  --gray-dark: #64748b;
  --text-dark: #0d1f3c;
  --text-body: #334155;
  --text-muted: #64748b;
  --success: #10b981;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.13);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.25s ease;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-sans); border: none; background: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { color: var(--text-body); }

.text-teal { color: var(--teal); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-lg { padding: 100px 0; }
.section-sm { padding: 60px 0; }

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

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap { display: flex; gap: 16px; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* === SECTION HEADER === */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  background: rgba(0,180,216,0.10);
  border: 1px solid rgba(0,180,216,0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,180,216,0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-dark), #0077a8);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,180,216,0.45);
}
.btn-secondary {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-secondary:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-lg { font-size: 1.05rem; padding: 18px 36px; }
.btn-sm { font-size: 0.85rem; padding: 10px 20px; }

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13,31,60,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(13,31,60,0.99);
  box-shadow: var(--shadow-lg);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 42px;
  width: auto;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.nav-logo-name span { color: var(--teal); }
.nav-powered {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.04em;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-cta {
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 3px 14px rgba(0,180,216,0.3);
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--teal-dark), #0077a8) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,180,216,0.4) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0f3460 100%);
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(0,180,216,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 10% 80%, rgba(0,180,216,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,180,216,0.15);
  border: 1px solid rgba(0,180,216,0.3);
  color: var(--teal-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--teal); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-item {}
.hero-stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero Card */
.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(16px);
}
.hero-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-card-items { display: flex; flex-direction: column; gap: 12px; }
.hero-card-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.07);
}
.hero-card-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, rgba(0,180,216,0.2), rgba(0,180,216,0.1));
  border: 1px solid rgba(0,180,216,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hero-card-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.hero-card-item-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

/* === LOGO BAR === */
.logo-bar {
  background: var(--off-white);
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
  padding: 44px 0;
}
.logo-bar-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.logo-bar-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
/* Real logo images */
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 8px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-mid);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  min-width: 140px;
}
.logo-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0,180,216,0.25);
  transform: translateY(-2px);
}
.logo-item img {
  max-height: 44px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(20%);
  opacity: 0.88;
  transition: all var(--transition);
}
.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
/* Fallback placeholder (still usable) */
.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 60px;
  background: var(--gray-mid);
  border-radius: var(--radius-md);
  color: var(--gray);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px dashed var(--gray);
  opacity: 0.6;
  transition: opacity var(--transition);
}
.logo-placeholder:hover { opacity: 1; }

/* === PAIN POINTS === */
.pain-points { background: var(--off-white); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-mid);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.pain-card:hover {
  border-color: rgba(0,180,216,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.pain-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(0,180,216,0.1), rgba(0,150,199,0.08));
  border: 1px solid rgba(0,180,216,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.pain-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}
.pain-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === SOLUTION TIERS (PAYROLL-ONLY) === */
.solution-tiers { background: var(--white); }
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.tier-card {
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
}
.tier-card:hover {
  border-color: rgba(0,180,216,0.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.tier-card.featured {
  border-color: var(--teal);
  box-shadow: 0 8px 40px rgba(0,180,216,0.2);
  background: linear-gradient(160deg, #f0fbff 0%, var(--white) 100%);
}
.tier-card.most-popular {
  border-color: var(--navy);
  box-shadow: 0 8px 40px rgba(13,31,60,0.15);
}
.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.tier-badge.badge-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
}
.tier-badge.badge-navy {
  background: var(--navy);
  color: var(--white);
}
.tier-badge.badge-green {
  background: var(--success);
  color: var(--white);
}
.tier-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.tier-icon.icon-teal {
  background: linear-gradient(135deg, rgba(0,180,216,0.15), rgba(0,180,216,0.08));
  border: 1px solid rgba(0,180,216,0.3);
}
.tier-icon.icon-navy {
  background: linear-gradient(135deg, rgba(13,31,60,0.12), rgba(13,31,60,0.06));
  border: 1px solid rgba(13,31,60,0.2);
}
.tier-icon.icon-green {
  background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(16,185,129,0.06));
  border: 1px solid rgba(16,185,129,0.25);
}
.tier-name {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.tier-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}
.tier-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-mid);
}
.tier-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.tier-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-body);
}
.tier-feature-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-teal { background: rgba(0,180,216,0.15); color: var(--teal); }
.check-navy { background: rgba(13,31,60,0.1); color: var(--navy); }
.check-green { background: rgba(16,185,129,0.12); color: var(--success); }
.tier-cta { width: 100%; text-align: center; justify-content: center; }
.tier-upgrade {
  margin-top: 16px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.tier-upgrade span { color: var(--teal); font-weight: 600; }

/* === PAYROLL-ONLY HIGHLIGHT SECTION === */
.payroll-spotlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.payroll-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 90% 50%, rgba(0,180,216,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.payroll-spotlight-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.payroll-spotlight-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  color: #6ee7b7;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.payroll-spotlight h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.payroll-spotlight h2 span { color: var(--teal); }
.payroll-spotlight-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 32px;
  line-height: 1.7;
}
.payroll-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 36px;
}
.payroll-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.82);
}
.payroll-check {
  width: 22px; height: 22px;
  background: rgba(0,180,216,0.2);
  border: 1px solid rgba(0,180,216,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--teal);
  flex-shrink: 0;
}
.payroll-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(12px);
}
.payroll-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.payroll-card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--success), #059669);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.payroll-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.payroll-card-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.payroll-card-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.payroll-card-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--teal);
}
.payroll-upgrade-note {
  background: rgba(0,180,216,0.12);
  border: 1px solid rgba(0,180,216,0.25);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  text-align: center;
}
.payroll-upgrade-note span { color: var(--teal); font-weight: 600; }

/* === BENEFITS === */
.benefits { background: var(--off-white); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-mid);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.benefit-card:hover {
  border-color: rgba(0,180,216,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.benefit-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0,180,216,0.1), rgba(0,180,216,0.06));
  border: 1px solid rgba(0,180,216,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.benefit-card h4 { margin-bottom: 8px; color: var(--navy); }
.benefit-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* === HOW IT WORKS === */
.how-it-works { background: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  opacity: 0.3;
  z-index: 0;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(0,180,216,0.35);
}
.step-card h4 { margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; color: var(--text-muted); }

/* === WHY FRANTECH === */
.why-section { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-mid);
  transition: all var(--transition);
}
.why-item:hover {
  border-color: rgba(0,180,216,0.3);
  box-shadow: var(--shadow-sm);
}
.why-item-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(0,180,216,0.12), rgba(0,180,216,0.06));
  border: 1px solid rgba(0,180,216,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.why-item-content h4 { margin-bottom: 4px; font-size: 0.95rem; }
.why-item-content p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.why-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.why-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 300px 200px at 80% 20%, rgba(0,180,216,0.15) 0%, transparent 70%);
}
.why-visual-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
  position: relative;
}
.why-visual-items { display: flex; flex-direction: column; gap: 16px; position: relative; }
.why-visual-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.why-visual-label { font-size: 0.85rem; color: rgba(255,255,255,0.8); font-weight: 500; }
.why-visual-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}
.badge-yes { background: rgba(0,180,216,0.2); color: var(--teal); }
.badge-no { background: rgba(148,163,184,0.2); color: var(--gray); }

/* === PAYMENT PROCESSING SECTION === */
.payment-section {
  background: var(--off-white);
  padding: 80px 0;
}
.payment-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}
.payment-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.payment-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-mid);
  transition: all var(--transition);
}
.payment-feature:hover { border-color: rgba(0,180,216,0.3); box-shadow: var(--shadow-sm); }
.payment-feature-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.payment-feature h5 { font-size: 0.88rem; margin-bottom: 3px; }
.payment-feature p { font-size: 0.8rem; color: var(--text-muted); }
.payment-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.payment-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(0,180,216,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.payment-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
}
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
}
.payment-method-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
}
.payment-security {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,180,216,0.12);
  border: 1px solid rgba(0,180,216,0.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  position: relative;
}
.payment-security-icon { font-size: 1.2rem; }
.payment-security-text { font-size: 0.8rem; color: rgba(255,255,255,0.75); line-height: 1.4; }

/* === FAQ === */
.faq-section { background: var(--off-white); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.active { border-color: rgba(0,180,216,0.4); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  gap: 16px;
  user-select: none;
}
.faq-icon {
  width: 28px; height: 28px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
  transition: all var(--transition);
  line-height: 1;
}
.faq-item.active .faq-icon {
  background: var(--teal);
  color: var(--white);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid), #0f3460);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 400px at 50% 50%, rgba(0,180,216,0.12) 0%, transparent 70%);
}
.cta-banner-inner { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-banner-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === FOOTER === */
.footer {
  background: var(--navy);
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-brand-name span { color: var(--teal); }
.footer-brand-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-powered {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
  margin-top: 12px;
}
.footer-powered span { color: rgba(255,255,255,0.5); font-weight: 600; }
.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}
.footer-badge-dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
}

/* === PAGE HERO === */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 60% 30%, rgba(0,180,216,0.12) 0%, transparent 70%);
}
.page-hero-inner { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === CARDS GENERIC === */
.card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.card:hover {
  border-color: rgba(0,180,216,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0,180,216,0.1), rgba(0,180,216,0.06));
  border: 1px solid rgba(0,180,216,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* === FORM === */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 0.88rem; font-weight: 600; color: var(--text-dark); }
.form-input, .form-select, .form-textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.1);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* === SCROLL ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* === UTILITY === */
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .tiers-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .payroll-spotlight-inner { grid-template-columns: 1fr; gap: 40px; }
  .payroll-card { display: none; }
  .payment-inner { grid-template-columns: 1fr; }
  .payment-card { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps-grid::before { display: none; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  .section { padding: 60px 0; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); padding: 20px 24px; gap: 4px; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .pain-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .payroll-features-list { grid-template-columns: 1fr; }
  .payment-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner-actions { flex-direction: column; align-items: center; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 90px 0 60px; }
  .grid-4 { grid-template-columns: 1fr; }
}
