/* EquiLenz — Static Marketing Site Styles */

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

:root {
  --navy: #0f172a;
  --blue: #1e40af;
  --blue-mid: #2563eb;
  --blue-light: #3b82f6;
  --cyan: #06b6d4;
  --teal: #0d9488;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --green: #059669;
  --red: #dc2626;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-mid); text-decoration: none; }
a:hover { color: var(--blue); }

h1, h2, h3, h4, h5 {
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

/* === Layout === */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  padding: 5rem 0;
  background: var(--gray-50);
}

.section-dark {
  padding: 5rem 0;
  background: var(--navy);
  color: var(--gray-200);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }

.text-center { text-align: center; }
.text-muted { color: var(--gray-500); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* === Grid === */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--blue-mid);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue);
  color: var(--white);
}
.btn-secondary {
  background: transparent;
  color: var(--blue-mid);
  border-color: var(--blue-mid);
}
.btn-secondary:hover {
  background: var(--blue-mid);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--gray-100);
  color: var(--navy);
}
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* === Header === */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.logo:hover { color: var(--navy); }
.logo span { color: var(--blue-mid); }

.nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.nav a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9375rem;
}
.nav a:hover { color: var(--blue-mid); }

/* === Hero === */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 50%, var(--blue) 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
}
.hero h1 {
  color: var(--white);
  font-size: 3rem;
  max-width: 720px;
  margin-bottom: 1.25rem;
}
.hero p {
  font-size: 1.25rem;
  color: var(--gray-300);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-sm {
  padding: 4rem 0 3rem;
}
.hero-sm h1 {
  font-size: 2.5rem;
}

/* === Cards === */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 2rem;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.card-icon-blue {
  background: #dbeafe;
  color: var(--blue-mid);
}
.card-icon-cyan {
  background: #cffafe;
  color: var(--cyan);
}
.card-icon-teal {
  background: #ccfbf1;
  color: var(--teal);
}
.card-icon-green {
  background: #d1fae5;
  color: var(--green);
}

.card-link {
  display: block;
  color: inherit;
}
.card-link:hover { color: inherit; }
.card-link .card { cursor: pointer; }

/* === Feature Sections === */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}
.feature-row + .feature-row {
  border-top: 1px solid var(--gray-200);
}
.feature-text h2 {
  font-size: 1.75rem;
}
.feature-visual {
  background: var(--gray-100);
  border-radius: 12px;
  padding: 2rem;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-style: italic;
}

/* === Comparison Tables === */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}
.compare-table th,
.compare-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
.compare-table th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.compare-table td {
  font-size: 0.9375rem;
}
.compare-table tbody tr:hover {
  background: var(--gray-50);
}
.check { color: var(--green); font-weight: 700; }
.cross { color: var(--red); font-weight: 700; }
.partial { color: var(--gray-500); }

/* === Pricing === */
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--blue-mid);
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.15);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-mid);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
}
.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-500);
}
.pricing-desc {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}
.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9375rem;
  padding-left: 1.5rem;
  position: relative;
}
.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* === Stats Bar === */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 2.5rem 0;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
}
.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-mid);
}
.stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

/* === Steps === */
.steps {
  counter-reset: step;
}
.step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
}
.step + .step {
  border-top: 1px solid var(--gray-200);
}
.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--blue-mid);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}
.step-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.step-content p {
  color: var(--gray-500);
  margin-bottom: 0;
}

/* === Testimonial === */
.testimonial {
  background: var(--white);
  border-left: 4px solid var(--blue-mid);
  padding: 1.5rem 2rem;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}
.testimonial p {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 0.75rem;
}
.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9375rem;
}

/* === CTA Section === */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}
.cta-section h2 { color: var(--white); }
.cta-section p { color: var(--gray-300); max-width: 600px; margin: 0 auto 2rem; }

/* === Forms === */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--navy);
  font-size: 0.9375rem;
}
.form-control {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font);
  color: var(--gray-700);
  transition: border-color 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
textarea.form-control {
  resize: vertical;
  min-height: 100px;
}
select.form-control {
  appearance: auto;
}

/* === Badge / Tag === */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
}
.badge-blue { background: #dbeafe; color: var(--blue); }
.badge-green { background: #d1fae5; color: var(--green); }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }

/* === List styles === */
.check-list {
  list-style: none;
}
.check-list li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* === Footer === */
.footer {
  background: var(--navy);
  color: var(--gray-300);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-col .logo {
  color: var(--white);
  margin-bottom: 1rem;
  display: inline-block;
}
.footer-col p {
  font-size: 0.875rem;
  color: var(--gray-500);
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: var(--gray-500);
  font-size: 0.875rem;
  padding: 0.25rem 0;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--gray-600);
  text-align: center;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero { padding: 4rem 0 3rem; }
  .hero-sm { padding: 3rem 0 2rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .stats-bar { gap: 2rem; }
  .nav { display: none; }
  .header-inner .btn { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card { margin-bottom: 1rem; }
}
