/* ════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
   RESUMESCOREPRO — CSS STYLESHEET
   Modern fintech SaaS design with glassmorphism, gradients, and responsive layout
   ════════════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   DESIGN TOKENS & RESET
   ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */

:root {
  /* Colors */
  --ink: #09090b;
  --ink-2: #3f3f46;
  --ink-3: #71717a;
  --ink-4: #a1a1aa;
  --bg: #ffffff;
  --bg-2: #fafafa;
  --bg-3: #f4f4f5;
  --bg-4: #e4e4e7;
  
  --primary: #3b82f6;
  --primary-dark: #1d4ed8;
  --primary-light: #60a5fa;
  
  --accent: #dc2626;
  --accent-light: #ef4444;
  
  --green: #16a34a;
  --green-light: #22c55e;
  
  --amber: #d97706;
  
  --purple: #7c3aed;
  
  /* Borders & Shadows */
  --border: #e5e7eb;
  --border-2: #d4d4d8;
  
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  
  /* Radius */
  --r4: 4px;
  --r8: 8px;
  --r12: 12px;
  --r16: 16px;
  --r20: 20px;
  --r24: 24px;
  --r32: 32px;
  
  /* Spacing */
  --gap-xs: 8px;
  --gap-sm: 12px;
  --gap-md: 16px;
  --gap-lg: 24px;
  --gap-xl: 32px;
  --gap-2xl: 48px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(28px, 7vw, 52px);
}

h2 {
  font-size: clamp(24px, 5vw, 40px);
}

h3 {
  font-size: clamp(18px, 3.5vw, 28px);
}

h4 {
  font-size: 16px;
  font-weight: 700;
}

p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
}

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

a:hover {
  color: var(--primary-dark);
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   BUTTONS & INTERACTIONS
   ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--r12);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: var(--r12);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--bg-3);
  border-color: var(--border-2);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: none;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-ghost:hover {
  color: var(--primary);
}

.btn-large {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--r12);
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   HEADER
   ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gap-lg);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-box {
  width: 36px;
  height: 36px;
  border-radius: var(--r8);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.header-nav {
  display: flex;
  gap: var(--gap-2xl);
  align-items: center;
}

.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s;
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  margin-left: auto;
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   HERO SECTION
   ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--gap-2xl) var(--gap-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-2xl);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
}

.badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.hero h1 {
  max-width: 600px;
}

.hero-sub {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 550px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: var(--gap-md);
  flex-wrap: wrap;
  margin-top: var(--gap-md);
}

.proof-section {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  margin-top: var(--gap-xl);
}

.proof-avatars {
  display: flex;
  margin-right: var(--gap-md);
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  font-size: 11px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
}

.avatar:first-child {
  margin-left: 0;
}

.av1 { background: #7c3aed; }
.av2 { background: #0891b2; }
.av3 { background: #059669; }
.av4 { background: #d97706; }

.proof-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}

.proof-text strong {
  color: var(--ink);
  font-weight: 700;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: #f59e0b;
  letter-spacing: -1px;
  margin-right: 8px;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.hero-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r20);
  padding: var(--gap-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
  max-width: 380px;
  transform: rotateY(-5deg) rotateX(5deg);
}

.score-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.score-ring svg {
  transform: rotate(-90deg);
}

.score-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
}

.score-label {
  font-size: 11px;
  color: var(--ink-3);
}

.score-meta {
  text-align: center;
}

.verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.verdict-badge.pass {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.verdict-badge.warn {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.verdict-badge.fail {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.score-meta h4 {
  color: var(--ink);
  margin-bottom: 4px;
}

.score-meta p {
  font-size: 13px;
  color: var(--ink-3);
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   SECTION HEADERS
   ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.section-header {
  text-align: center;
  margin-bottom: var(--gap-2xl);
}

.section-header h2 {
  margin-bottom: var(--gap-md);
  color: var(--ink);
}

.section-header p {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 600px;
  margin: 0 auto;
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   FEATURES SECTION
   ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.features {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--gap-2xl) var(--gap-lg);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.02) 0%, transparent 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--gap-xl);
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r20);
  padding: var(--gap-xl);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.12);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 32px;
}

.feature-card h3 {
  color: var(--ink);
}

.feature-card p {
  color: var(--ink-2);
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   CHECKER SECTION
   ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.checker-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--gap-2xl) var(--gap-lg);
}

.checker-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--gap-xl);
  align-items: start;
}

.checker-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r20);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.card-header {
  padding: var(--gap-xl);
  border-bottom: 1px solid var(--border);
}

.card-header.dark {
  background: linear-gradient(135deg, var(--ink) 0%, #1f2937 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: white;
}

.card-header.dark h3 {
  color: white;
  margin-bottom: 0;
}

.card-eyebrow {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.card-body {
  padding: var(--gap-xl);
}

.form-group {
  margin-bottom: var(--gap-lg);
}

.form-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--gap-sm);
}

.char-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-4);
  font-weight: 400;
  text-transform: none;
}

.form-group textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1.5px solid var(--border-2);
  border-radius: var(--r12);
  padding: var(--gap-md);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  resize: vertical;
  outline: none;
  min-height: 120px;
  line-height: 1.6;
  transition: all 0.2s;
}

.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.form-divider {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  margin: var(--gap-lg) 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Results Section */
.results {
  margin-top: var(--gap-xl);
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
}

.results.hidden {
  display: none;
}

.score-card-large {
  background: linear-gradient(135deg, var(--ink) 0%, #1f2937 100%);
  border-radius: var(--r20);
  padding: var(--gap-xl);
  display: flex;
  gap: var(--gap-xl);
  align-items: center;
  color: white;
}

.score-visual {
  position: relative;
  flex-shrink: 0;
}

.score-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.result-num {
  font-size: 32px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
}

.result-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.score-details {
  flex: 1;
}

.score-details h4 {
  color: white;
  margin-bottom: 4px;
}

.score-details p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.dims-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--gap-md);
}

.dim-bar {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  padding: var(--gap-md);
}

.dim-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
}

.dim-head span:first-child {
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dim-head span:last-child {
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.progress-bar {
  height: 4px;
  background: var(--bg-4);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1.2s ease;
}

.keyword-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  padding: var(--gap-md);
}

.keyword-box h4 {
  margin-bottom: var(--gap-md);
  color: var(--ink);
  font-size: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 16px;
  border: 1px solid;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: white;
  transition: all 0.2s;
}

.chip-missing {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.2);
}

.chip-found {
  background: rgba(22, 163, 74, 0.08);
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.2);
}

.issues-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  padding: var(--gap-md);
}

.issues-box h4 {
  margin-bottom: var(--gap-md);
}

.issue {
  display: flex;
  gap: var(--gap-md);
  padding: var(--gap-sm) 0;
  border-bottom: 1px solid var(--border);
}

.issue:last-child {
  border-bottom: none;
}

.issue-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.issue-dot.high {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.issue-dot.medium {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.issue-dot.locked-dot {
  background: var(--bg-3);
  color: var(--ink-3);
  border: 1px solid var(--border-2);
  font-size: 11px;
}

.issue-text {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
}

.issue.locked .issue-text {
  color: var(--ink-3);
}

.upgrade-cta {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(99, 102, 241, 0.04) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--r16);
  padding: var(--gap-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}

.upgrade-icon {
  font-size: 28px;
}

.upgrade-cta h4 {
  color: var(--ink);
}

.upgrade-cta p {
  font-size: 14px;
  color: var(--ink-2);
}

.small-text {
  font-size: 12px;
  color: var(--ink-3);
}

.checker-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
}

.info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r16);
  padding: var(--gap-lg);
}

.info-card h4 {
  margin-bottom: var(--gap-md);
  color: var(--ink);
}

.info-card p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--gap-sm) 0;
  border-bottom: 1px solid var(--border);
}

.stat:last-child {
  border-bottom: none;
}

.stat span {
  font-size: 12px;
  color: var(--ink-3);
}

.stat strong {
  font-size: 18px;
  color: var(--primary);
  font-weight: 800;
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   PRICING SECTION
   ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.pricing-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--gap-2xl) var(--gap-lg);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.02) 0%, transparent 100%);
}

.pricing-toggle {
  display: flex;
  gap: var(--gap-md);
  justify-content: center;
  margin-bottom: var(--gap-2xl);
  background: var(--bg-2);
  width: fit-content;
  padding: 4px;
  border-radius: 10px;
  margin-left: auto;
  margin-right: auto;
}

.toggle-btn {
  background: transparent;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--ink-3);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  position: relative;
}

.toggle-btn.active {
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.save-badge {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap-xl);
  margin-bottom: var(--gap-2xl);
}

.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r20);
  padding: var(--gap-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  transform: scale(1.03);
  box-shadow: 0 16px 32px rgba(59, 130, 246, 0.15);
}

.popular-badge,
.best-value-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.best-value-badge {
  background: var(--green);
}

.plan-header {
  margin-bottom: var(--gap-lg);
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--gap-lg);
}

.plan-header h3 {
  margin-bottom: var(--gap-sm);
  color: var(--ink);
}

.plan-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.plan-price span {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-3);
}

.plan-sub {
  font-size: 13px;
  color: var(--ink-3);
}

.plan-features {
  list-style: none;
  margin-bottom: var(--gap-lg);
  flex: 1;
}

.plan-features li {
  font-size: 13px;
  padding: 8px 0;
  color: var(--ink-2);
  border-bottom: 1px solid var(--bg-2);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li.included {
  color: var(--ink);
  font-weight: 500;
}

.plan-features li.excluded {
  color: var(--ink-4);
}

.pricing-card button {
  width: 100%;
  margin-bottom: var(--gap-md);
}

.pricing-card .small-text {
  text-align: center;
  margin-top: 0;
}

/* Comparison Table */
.comparison-table {
  max-width: 100%;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r20);
  padding: var(--gap-xl);
  overflow-x: auto;
}

.comparison-table h3 {
  margin-bottom: var(--gap-lg);
  color: var(--ink);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th {
  text-align: left;
  padding: var(--gap-md);
  border-bottom: 2px solid var(--border);
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
}

.comparison-table td {
  padding: var(--gap-md);
  border-bottom: 1px solid var(--border);
  color: var(--ink-2);
  font-size: 13px;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   TESTIMONIALS
   ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.testimonials-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--gap-2xl) var(--gap-lg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap-xl);
}

.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r20);
  padding: var(--gap-xl);
  display: flex;
  flex-direction: column;
}

.testimonial-card .stars {
  margin-bottom: var(--gap-md);
  font-size: 16px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: var(--gap-lg);
  flex: 1;
}

.testimonial-author {
  display: flex;
  gap: var(--gap-md);
  align-items: center;
  padding-top: var(--gap-lg);
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.testimonial-author p {
  font-size: 12px;
  color: var(--ink-3);
  margin: 2px 0 0;
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   FAQ
   ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.faq-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--gap-2xl) var(--gap-lg);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--gap-xl);
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r16);
  cursor: pointer;
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--gap-lg);
  gap: var(--gap-md);
}

.faq-question h4 {
  color: var(--ink);
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ink-2);
  flex-shrink: 0;
  transition: all 0.3s;
}

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

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

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 var(--gap-lg) var(--gap-lg);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   CTA SECTION
   ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.cta-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--gap-2xl) var(--gap-lg);
  background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
  border-radius: var(--r32);
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-xl);
}

.cta-section h2 {
  color: white;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

.cta-buttons {
  display: flex;
  gap: var(--gap-md);
  flex-wrap: wrap;
  justify-content: center;
}

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

.cta-buttons .btn-primary:hover {
  background: rgba(255, 255, 255, 0.95);
}

.cta-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(10px);
}

.cta-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--gap-2xl);
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--gap-2xl) var(--gap-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--gap-2xl);
}

.footer-section h4 {
  color: white;
  margin-bottom: var(--gap-md);
  font-size: 14px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--gap-sm);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: white;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin: 0;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--gap-lg) var(--gap-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   MODALS
   ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.2s;
}

.modal.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: var(--r20);
  padding: var(--gap-xl);
  max-width: 440px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: var(--gap-md);
  right: var(--gap-md);
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--ink-3);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--ink);
}

.modal-content h3 {
  margin-bottom: var(--gap-lg);
  color: var(--ink);
}

.modal-content p {
  margin-bottom: var(--gap-lg);
  color: var(--ink-2);
  font-size: 14px;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
}

.modal-content input {
  width: 100%;
  padding: var(--gap-md);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s;
}

.modal-content input:focus {
  outline: none;
  border-color: var(--primary);
}

.modal-content label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   RESPONSIVE DESIGN
   ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .header-inner {
    padding: 0 var(--gap-md);
  }

  .header-nav {
    gap: var(--gap-lg);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: var(--gap-xl);
  }

  .hero-image {
    display: none;
  }

  .checker-container {
    grid-template-columns: 1fr;
  }

  .checker-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .info-card {
    flex: 1 1 48%;
  }

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

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn-large {
    width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  .header-inner {
    height: 60px;
  }

  .header-nav {
    display: none;
  }

  .logo {
    font-size: 16px;
  }

  .logo-box {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .main-container,
  .hero,
  .features,
  .checker-section,
  .pricing-section,
  .testimonials-section,
  .faq-section,
  .cta-section {
    padding: var(--gap-lg) var(--gap-md);
  }

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

  .score-card {
    flex-direction: column;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn-large {
    width: 100%;
  }

  .form-group textarea {
    min-height: 100px;
  }

  .hero-card {
    max-width: 100%;
    transform: none;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-table table {
    min-width: 500px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
  }

  .proof-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .proof-avatars {
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  .btn-large {
    padding: 12px 20px;
    font-size: 14px;
  }

  .header-right .btn-ghost {
    padding: 8px 12px;
    font-size: 12px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .modal-content {
    width: 95%;
    padding: var(--gap-lg);
  }

  .pricing-toggle {
    flex-direction: column;
    width: 100%;
  }

  .toggle-btn {
    padding: 12px 16px;
  }

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

  .section-header p {
    font-size: 14px;
  }
}
