/* ============================================
   EQUIPFLOW — Equipment Financing
   Modern, Clean, Apple-inspired
   ============================================ */

/* ---------- Variables ---------- */
:root {
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-gray: #f1f3f5;
  --mid-gray: #adb5bd;
  --dark-gray: #495057;
  --charcoal: #212529;
  --black: #0a0a0a;

  --blue: #0071e3;
  --blue-hover: #0062cc;
  --blue-light: #e8f4fd;
  --blue-pale: #f0f7ff;

  --peach: #ff6b35;
  --peach-hover: #e85d2c;
  --peach-light: #fff4ef;

  --green: #28a745;
  --green-light: #e6f9ed;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--charcoal);
  background: var(--white);
  background-image:
    linear-gradient(rgba(0, 113, 227, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 113, 227, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

/* ---------- Typography ---------- */
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--black);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--black);
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

p {
  font-size: 1.0625rem;
  color: var(--dark-gray);
  line-height: 1.7;
}

.label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-primary);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--charcoal);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--black);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--mid-gray);
}

.btn-outline:hover {
  border-color: var(--charcoal);
  transform: translateY(-1px);
}

.btn-peach {
  background: var(--peach);
  color: var(--white);
}

.btn-peach:hover {
  background: var(--peach-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.0625rem;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* ---------- Top Bar (Scrolling Ticker) ---------- */
.top-bar {
  background: linear-gradient(90deg, var(--charcoal) 0%, #1a2a3a 100%);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  height: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 32px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
}

.ticker-item .dot {
  width: 4px;
  height: 4px;
  background: var(--peach);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 32px;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0071e3 0%, #00c6ff 50%, #ff6b35 100%);
  color: var(--white);
  border-radius: 8px;
  font-size: 0.85rem;
  margin-right: 8px;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
  animation: logoShine 3s ease-in-out infinite;
}

@keyframes logoShine {
  0%, 100% { box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3); }
  50% { box-shadow: 0 2px 16px rgba(0, 113, 227, 0.5); }
}

.logo span:not(.logo-icon) {
  background: linear-gradient(135deg, var(--blue), #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-phone {
  color: var(--blue) !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark-gray);
}

.nav a:hover {
  color: var(--black);
}

.nav .btn {
  margin-left: 4px;
  color: var(--white) !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 96px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: 40px 24px;
  z-index: 999;
}

.mobile-nav.active {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
}

.mobile-nav .btn {
  margin-top: 16px;
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  padding: 180px 0 140px;
  background: linear-gradient(165deg, #0a1628 0%, #0d2847 30%, #0f3461 50%, #1a4a7a 70%, #2d6da3 85%, #4a9fd4 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23ffffff' d='M0,60 C360,120 720,0 1080,60 C1260,90 1380,80 1440,70 L1440,120 L0,120 Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
  z-index: 2;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,107,53,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(74,159,212,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--peach);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--white);
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--peach), #ff9a6c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.6;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  font-weight: 500;
}

.hero-pill span {
  font-size: 0.875rem;
}

.hero-stats {
  display: flex;
  gap: 36px;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* --- Floating Background Icons --- */
.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-icon {
  position: absolute;
  font-size: 2rem;
  opacity: 0.15;
  animation: floatIcon 8s ease-in-out infinite;
  filter: saturate(1.2);
}

.icon-1 { top: 12%; left: 5%; animation-delay: 0s; font-size: 2.8rem; }
.icon-2 { top: 25%; right: 8%; animation-delay: 1.2s; font-size: 2.2rem; }
.icon-3 { bottom: 30%; left: 12%; animation-delay: 2.4s; font-size: 2.4rem; }
.icon-4 { top: 60%; left: 3%; animation-delay: 3.6s; font-size: 2rem; }
.icon-5 { bottom: 15%; right: 5%; animation-delay: 4.8s; font-size: 2.6rem; }
.icon-6 { top: 8%; left: 45%; animation-delay: 6s; font-size: 1.8rem; }

@keyframes floatIcon {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-18px) rotate(5deg); }
  50% { transform: translateY(-8px) rotate(-3deg); }
  75% { transform: translateY(-22px) rotate(3deg); }
}

/* --- Hero Funnel Card --- */
.hero-funnel {
  position: relative;
  z-index: 2;
}

.funnel-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 40px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.06);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.funnel-progress-wrap {
  margin-bottom: 28px;
}

.funnel-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--light-gray);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 10px;
}

.funnel-progress-fill {
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--peach));
  border-radius: var(--radius-full);
  transition: width 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.funnel-step-counter {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Funnel Steps --- */
.funnel-steps-container {
  position: relative;
}

.funnel-step {
  display: none;
  animation: slideInRight 0.35s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.funnel-step.active {
  display: block;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-40px); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(40px); }
}

.funnel-back {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--mid-gray);
  cursor: pointer;
  padding: 4px 8px;
  margin-bottom: 8px;
  border-radius: 8px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  font-family: var(--font-primary);
}

.funnel-back:hover {
  color: var(--blue);
  background: var(--blue-light);
}

.funnel-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 20px;
  line-height: 1.35;
}

/* --- Funnel Options --- */
.funnel-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.funnel-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 22px;
  background: var(--off-white);
  border: none;
  box-shadow: inset 0 0 0 2px transparent;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
  text-align: left;
  font-family: var(--font-primary);
  position: relative;
}

.funnel-option:hover {
  box-shadow: inset 0 0 0 2px var(--blue);
  background: rgba(0,113,227,0.04);
}

.funnel-option.selected {
  box-shadow: inset 0 0 0 2px var(--blue);
  background: rgba(0,113,227,0.06);
  color: var(--blue);
}

.funnel-option.selected::after {
  content: '\2713';
  font-weight: 700;
  color: var(--blue);
  font-size: 1.1rem;
}

/* --- Funnel Form (Last step) --- */
.funnel-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.funnel-form-group input {
  width: 100%;
  padding: 14px 18px;
  background: var(--off-white);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-family: var(--font-primary);
  color: var(--black);
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
  outline: none;
}

.funnel-form-group input::placeholder {
  color: var(--mid-gray);
}

.funnel-form-group input:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0,113,227,0.08);
}

.funnel-submit {
  width: 100%;
  margin-top: 6px;
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 600;
}

.funnel-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.75rem;
  color: var(--mid-gray);
  font-weight: 500;
}

/* ---------- Trust Bar / Advantage Cards ---------- */
.trust-bar {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.trust-bar .section-header {
  margin-bottom: 48px;
}

.trust-bar .container {
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 28px 36px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.trust-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--peach));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trust-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: transparent;
}

.trust-item:hover::before {
  opacity: 1;
}

.trust-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: all 0.3s ease;
}

.trust-item:nth-child(1) .trust-icon { background: var(--blue-light); }
.trust-item:nth-child(2) .trust-icon { background: var(--green-light); }
.trust-item:nth-child(3) .trust-icon { background: var(--peach-light); }
.trust-item:nth-child(4) .trust-icon { background: #f3e8ff; }
.trust-item:nth-child(5) .trust-icon { background: var(--blue-light); }
.trust-item:nth-child(6) .trust-icon { background: var(--green-light); }

.trust-item:hover .trust-icon {
  transform: scale(1.1);
}

.trust-item h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}

.trust-item p {
  font-size: 0.9375rem;
  color: var(--dark-gray);
  line-height: 1.5;
  max-width: 260px;
}

/* ---------- How It Works ---------- */
.how-it-works {
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .label {
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-light), var(--blue), var(--blue-light));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}

.step-card h3 {
  margin-bottom: 8px;
  font-size: 1.125rem;
}

.step-card p {
  font-size: 0.9375rem;
  color: var(--dark-gray);
}

/* ---------- Features / Value Props ---------- */
.features {
  background: var(--off-white);
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-icon.blue { background: var(--blue-light); }
.feature-icon.peach { background: var(--peach-light); }
.feature-icon.green { background: var(--green-light); }

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.125rem;
}

.feature-card p {
  font-size: 0.9375rem;
}

/* ---------- Equipment Section ---------- */
.equipment {
  background: var(--white);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.equipment-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
  background: var(--white);
}

.equipment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.equipment-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.equipment-card-body {
  padding: 24px;
}

.equipment-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.equipment-card p {
  font-size: 0.9375rem;
}

/* ---------- Stats Section ---------- */
.stats-section {
  background: var(--charcoal);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--mid-gray);
  font-size: 0.9375rem;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--off-white);
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.06);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--blue);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--black);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--mid-gray);
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-primary);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--blue);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--dark-gray);
}

.faq-item.active .faq-icon {
  background: var(--blue);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer-inner {
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--black) 100%);
  padding: 100px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--mid-gray);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  margin-right: 12px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.cta-section .btn-outline {
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

.cta-section .btn-outline:hover {
  border-color: var(--white);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: var(--mid-gray);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer .logo span:not(.logo-icon) {
  background: linear-gradient(135deg, #4a9fd4, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: var(--mid-gray);
  font-size: 0.9375rem;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--mid-gray);
  font-size: 0.9375rem;
  margin-bottom: 12px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.footer-bottom a {
  color: var(--mid-gray);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ---------- About Page ---------- */
.page-hero {
  padding: 180px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(0, 113, 227, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 60%, rgba(0, 198, 255, 0.08) 0%, transparent 55%),
    var(--white);
}

.page-hero .label {
  margin-bottom: 12px;
  display: block;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero h1 .accent {
  background: linear-gradient(135deg, var(--blue), #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  max-width: 560px;
  margin: 0 auto;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid rgba(0, 113, 227, 0.18);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.page-hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

.about-intro {
  background: var(--white);
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-grid img {
  border-radius: var(--radius-xl);
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-text h2 {
  margin-bottom: 16px;
}

.about-text p {
  margin-bottom: 16px;
}

.values-section {
  background: var(--off-white);
}

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

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.value-card h3 {
  margin-bottom: 8px;
  font-size: 1.0625rem;
}

.value-card p {
  font-size: 0.9375rem;
}

/* ---------- Services Page ---------- */
.services-list {
  background: var(--white);
  padding: 80px 0;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.service-row:last-child {
  border-bottom: none;
}

.service-row:nth-child(even) {
  direction: rtl;
}

.service-row:nth-child(even) > * {
  direction: ltr;
}

.service-row img {
  border-radius: var(--radius-xl);
  width: 100%;
  height: 340px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.service-content .label {
  margin-bottom: 10px;
  display: block;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.service-content p {
  margin-bottom: 16px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--dark-gray);
}

.service-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2328a745' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Contact Page ---------- */
.contact-section {
  background: var(--white);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contact-form h3 {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: var(--font-primary);
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info-card {
  padding: 40px 0;
}

.contact-info-card h3 {
  margin-bottom: 8px;
}

.contact-info-card > p {
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 0.9375rem;
  color: var(--dark-gray);
}

.contact-detail a {
  color: var(--blue);
}

.contact-detail a:hover {
  text-decoration: underline;
}

/* ---------- Apply Form (modal-style inline) ---------- */
.apply-section {
  background: var(--blue-pale);
  padding: 80px 0;
}

.apply-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.apply-contact-grid .apply-form-container {
  max-width: none;
  margin: 0;
}

.apply-contact-grid .contact-info-card {
  position: sticky;
  top: 100px;
}

@media (max-width: 900px) {
  .apply-contact-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  .apply-contact-grid .contact-info-card {
    position: static;
  }
}

.apply-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}

.apply-form-container h2 {
  text-align: center;
  margin-bottom: 8px;
}

.apply-form-container > p {
  text-align: center;
  margin-bottom: 32px;
}

.apply-form .btn {
  width: 100%;
  margin-top: 8px;
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Success Message ---------- */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

.form-success h3 {
  margin-bottom: 8px;
}

/* ---------- Comparison Table ---------- */
.comparison-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 700px;
}

.comparison-table thead th {
  padding: 24px 20px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  background: var(--off-white);
  border-bottom: 2px solid rgba(0,0,0,0.06);
  vertical-align: bottom;
}

.comparison-table thead th:first-child {
  background: transparent;
  border-bottom: 2px solid rgba(0,0,0,0.06);
}

.th-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.th-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.th-icon.blue { background: var(--blue-light); }
.th-icon.peach { background: var(--peach-light); }
.th-icon.green { background: var(--green-light); }

.th-highlight {
  background: var(--blue-pale) !important;
  position: relative;
}

.th-badge {
  display: inline-block;
  background: var(--peach);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.comparison-table tbody td {
  padding: 16px 20px;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--dark-gray);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  vertical-align: middle;
}

.comparison-table tbody td strong {
  color: var(--black);
  font-weight: 600;
}

.row-label {
  text-align: left !important;
  font-weight: 600 !important;
  color: var(--black) !important;
  background: var(--off-white);
  white-space: nowrap;
}

.td-highlight {
  background: var(--blue-pale);
}

.comparison-table tbody tr:hover td {
  background: rgba(0,113,227,0.02);
}

.comparison-table tbody tr:hover .td-highlight {
  background: rgba(0,113,227,0.06);
}

.comparison-table tbody tr:hover .row-label {
  background: var(--light-gray);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    padding: 140px 0 120px;
  }

  .funnel-card {
    padding: 28px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid,
  .equipment-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .service-row,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-row:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }

  .nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-nav {
    top: 96px;
  }

  .hero {
    padding: 110px 0 80px;
  }

  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-content {
    text-align: center;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero h1 br {
    display: none;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-trust-pills {
    justify-content: center;
  }

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .hero-stat-number {
    font-size: 1.5rem;
  }

  .funnel-card {
    padding: 24px 20px;
  }

  .funnel-question {
    font-size: 1.05rem;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .trust-item {
    padding: 28px 20px 24px;
  }

  .trust-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  .steps-grid,
  .features-grid,
  .equipment-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .apply-form-container {
    padding: 32px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
