/* ============================================================
   Skarply — Website Styles
   ============================================================ */

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

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('CabinetGrotesk-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --teal: #0D9488;
  --teal-dark: #0F766E;
  --teal-light: #CCFBF1;
  --teal-glow: rgba(13, 148, 136, 0.15);
  --green: #22c55e;
  --yellow: #eab308;
  --red: #ef4444;
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --text: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-brand: 'Cabinet Grotesk', var(--font-body);
}

/* === Dark Mode === */
[data-theme="dark"] {
  --teal: #14b8a6;
  --teal-dark: #0D9488;
  --teal-light: #042f2e;
  --teal-glow: rgba(20, 184, 166, 0.12);
  --bg: #0c0f1a;
  --bg-subtle: #111827;
  --bg-card: #1a1f2e;
  --text: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #1e293b;
  --border-light: #1e293b;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
  --shadow: 0 4px 16px rgba(0,0,0,0.2);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.3);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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


/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition), border-color var(--transition);
}

[data-theme="dark"] .nav {
  background: rgba(12,15,26,0.85);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  flex-shrink: 0;
}

.nav-logo-icon {
  color: var(--teal);
}

.nav-logo-text {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 20px;
  color: var(--teal-dark);
  letter-spacing: -0.5px;
}

[data-theme="dark"] .nav-logo-text {
  color: var(--teal);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

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

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

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.theme-toggle:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* === Language switcher === */
.lang-switcher {
  display: flex;
  gap: 3px;
}

.lang-btn {
  background: none;
  border: 1.5px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  padding: 3px;
  line-height: 0;
  opacity: 0.45;
  transition: opacity 0.15s, border-color 0.15s;
}

.lang-btn svg {
  display: block;
  border-radius: 2px;
}

.lang-btn:hover {
  opacity: 0.75;
}

.lang-btn.active {
  opacity: 1;
  border-color: var(--teal);
}

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

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-nav {
  padding: 8px 20px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

.btn-nav:hover {
  background: var(--teal-dark);
}

.btn-hero {
  padding: 14px 36px;
  font-size: 17px;
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-hero:hover {
  background: var(--teal-dark);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
  transform: translateY(-1px);
}

.btn-analyze {
  padding: 14px 32px;
  background: var(--teal);
  color: #fff;
  font-size: 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  white-space: nowrap;
  border: none;
}

.btn-analyze:hover {
  background: var(--teal-dark);
}

.btn-analyze:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-pricing {
  width: 100%;
  padding: 12px 24px;
  background: var(--bg-subtle);
  color: var(--text);
  border: 1px solid var(--border);
  margin-top: auto;
}

.btn-pricing:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-pricing--pro {
  background: var(--teal);
  color: #fff;
  border: none;
}

.btn-pricing--pro:hover {
  background: var(--teal-dark);
}

.btn-pricing--pro:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-extension {
  padding: 12px 28px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 15px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.btn-extension:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .btn-extension {
  background: var(--bg-card);
  color: var(--teal);
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  text-align: center;
}

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

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.2px;
}

.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-accent {
  color: var(--teal);
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-platforms {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-platforms-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.hero-platform-logos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.platform-chip {
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.platform-chip--soon {
  color: var(--text-muted);
  border-style: dashed;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, var(--teal-glow), transparent 70%);
  pointer-events: none;
  z-index: 0;
}


/* ============================================================
   ANALYZER
   ============================================================ */
.analyzer-section {
  padding: 40px 0 80px;
}

.analyzer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.analyzer-heading {
  font-family: var(--font-brand);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.analyzer-desc {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 28px;
}

.analyzer-form {
  display: flex;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.analyzer-form:focus-within {
  border-color: var(--teal);
}

.input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  background: var(--bg);
}

.input-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

.input-wrap input {
  width: 100%;
  padding: 14px 0;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  background: transparent;
}

.input-wrap input::placeholder {
  color: var(--text-muted);
}

.analyzer-hint {
  margin-top: 12px;
  font-size: 13px;
  min-height: 20px;
}

.analyzer-hint.error {
  color: var(--red);
}

.analyzer-hint.success {
  color: var(--green);
}

/* Progress indicator */
.analyzer-progress {
  margin-top: 20px;
  text-align: left;
}

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

.progress-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 2px;
  width: 0%;
  transition: width 1s linear;
}

.progress-text {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

/* Spinner */
.spinner {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-text, .btn-loader {
  align-items: center;
  gap: 6px;
}

.btn-text {
  display: inline-flex;
}

.btn-loader {
  display: none;
}

.btn-loader[hidden] {
  display: none;
}

.btn-analyze.loading .btn-text {
  display: none;
}

.btn-analyze.loading .btn-loader {
  display: inline-flex;
}


/* ============================================================
   RESULTS PANEL
   ============================================================ */
.results-panel {
  margin-top: 32px;
  text-align: left;
  animation: fadeUp 0.4s ease;
}

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

.result-listing-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.result-listing-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.result-listing-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.badge-platform {
  background: var(--teal-light);
  color: var(--teal);
}

.result-price {
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text);
}

/* Score row */
.result-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.score-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.score-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.score-value {
  font-size: 16px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 6px;
  text-transform: capitalize;
}

.score-great   { background: #dcfce7; color: #15803d; }
.score-fair    { background: #fef9c3; color: #a16207; }
.score-overpriced { background: #fee2e2; color: #b91c1c; }
.score-unknown { background: #f1f5f9; color: #64748b; }
.trust-green   { background: #dcfce7; color: #15803d; }
.trust-yellow  { background: #fef9c3; color: #a16207; }
.trust-red     { background: #fee2e2; color: #b91c1c; }

[data-theme="dark"] .score-great   { background: #166534; color: #86efac; }
[data-theme="dark"] .score-fair    { background: #854d0e; color: #fde68a; }
[data-theme="dark"] .score-overpriced { background: #991b1b; color: #fca5a5; }
[data-theme="dark"] .score-unknown { background: #334155; color: #94a3b8; }
[data-theme="dark"] .trust-green   { background: #166534; color: #86efac; }
[data-theme="dark"] .trust-yellow  { background: #854d0e; color: #fde68a; }
[data-theme="dark"] .trust-red     { background: #991b1b; color: #fca5a5; }

/* Price estimate */
.result-estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.estimate-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.estimate-range {
  font-weight: 700;
  font-size: 15px;
}

/* Summary */
.result-summary {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Flags */
.result-flags {
  margin-bottom: 16px;
}

.flags-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.flags-title--red { color: var(--red); }
.flags-title--green { color: var(--green); }

.flags-list {
  list-style: none;
}

.flags-list li {
  font-size: 14px;
  padding: 4px 0 4px 20px;
  position: relative;
}

.flags-list--red li::before {
  content: "\26A0";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 12px;
}

.flags-list--green li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 12px;
}

/* Alternatives */
.result-alternatives {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.alt-section-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.alt-category {
  margin-bottom: 12px;
}

.alt-category-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.alt-category-label--refurbished { color: var(--teal); }
.alt-category-label--new { color: #3b82f6; }

[data-theme="dark"] .alt-category-label--new { color: #60a5fa; }

.alt-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  transition: border-color var(--transition);
  text-decoration: none;
  color: var(--text);
}

.alt-card:hover {
  border-color: var(--teal);
}

.alt-card--refurbished {
  border-left: 3px solid var(--teal);
}

.alt-card--new {
  border-left: 3px solid #3b82f6;
}

[data-theme="dark"] .alt-card--new {
  border-left-color: #60a5fa;
}

.alt-info {
  min-width: 0;
}

.alt-title {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 340px;
}

.alt-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.alt-price {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  margin-left: 12px;
}

/* New analysis button */
.btn-new-analysis {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 10px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-new-analysis:hover {
  border-color: var(--teal);
  color: var(--teal);
}


/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-family: var(--font-brand);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.8px;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}


/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 100px 0;
  background: var(--bg-subtle);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon--price {
  background: #dcfce7;
  color: #15803d;
}

.feature-icon--trust {
  background: #fef9c3;
  color: #a16207;
}

.feature-icon--alt {
  background: var(--teal-light);
  color: var(--teal);
}

[data-theme="dark"] .feature-icon--price { background: #166534; color: #86efac; }
[data-theme="dark"] .feature-icon--trust { background: #854d0e; color: #fde68a; }
[data-theme="dark"] .feature-icon--alt   { background: #042f2e; color: #5eead4; }

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 100px 0;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 12px;
  color: var(--text-muted);
}


/* ============================================================
   PLATFORMS
   ============================================================ */
.platforms {
  padding: 100px 0;
  background: var(--bg-subtle);
}

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

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.platform-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.platform-card--active {
  border-color: var(--teal);
}

.platform-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: #dcfce7;
  color: #15803d;
  margin-bottom: 12px;
}

[data-theme="dark"] .platform-status {
  background: #166534;
  color: #86efac;
}

.platform-status--soon {
  background: #f1f5f9;
  color: #64748b;
}

[data-theme="dark"] .platform-status--soon {
  background: #334155;
  color: #94a3b8;
}

.platform-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.platform-card p {
  font-size: 14px;
  color: var(--text-secondary);
}


/* ============================================================
   EXTENSION CTA
   ============================================================ */
.extension-cta {
  padding: 80px 0;
}

.extension-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: var(--radius-lg);
  padding: 56px;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.extension-text {
  max-width: 480px;
}

.extension-text h2 {
  font-family: var(--font-brand);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.extension-text p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Browser mockup */
.extension-preview {
  flex-shrink: 0;
}

.browser-mockup {
  width: 280px;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.browser-dots {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-subtle);
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.browser-dots span:first-child { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #eab308; }
.browser-dots span:nth-child(3) { background: #22c55e; }

.browser-bar {
  padding: 8px 14px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-family: monospace;
}

.browser-body {
  height: 140px;
  background: var(--bg-subtle);
  position: relative;
}

.mock-fab {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--teal);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
  animation: fab-pulse 2s ease-in-out infinite;
}

@keyframes fab-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}


/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card--pro {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.pricing-tier {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-brand);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 14px;
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}


/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 100px 0;
  background: var(--bg-subtle);
}

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

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item summary:hover {
  color: var(--teal);
}

.faq-item p {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  animation: fadeUp 0.2s ease;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
}

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

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color var(--transition);
}

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

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}


/* ============================================================
   LEGAL PAGES (privacy, terms, etc.)
   ============================================================ */
.legal-page {
  padding: 120px 0 80px;
}

.legal-content {
  max-width: 720px;
}

.legal-content h1 {
  font-family: var(--font-brand);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.legal-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.legal-content ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 4px 0 4px 20px;
  position: relative;
}

.legal-content ul li::before {
  content: "\2022";
  position: absolute;
  left: 4px;
  color: var(--teal);
  font-weight: 700;
}

.legal-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--teal-dark);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.legal-table th {
  font-weight: 600;
  color: var(--text);
  background: var(--bg-subtle);
}

.legal-table tr:last-child td {
  border-bottom: none;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

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

  .step-arrow {
    transform: rotate(90deg);
    padding-top: 0;
  }

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

  .extension-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }

  .extension-text {
    max-width: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

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

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

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border-light);
  }

  .btn-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

  .analyzer-card {
    padding: 28px 20px;
  }

  .analyzer-form {
    flex-direction: column;
    border: none;
  }

  .input-wrap {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 4px 16px;
  }

  .analyzer-form:focus-within .input-wrap {
    border-color: var(--teal);
  }

  /* Reset the parent form border on mobile */
  .analyzer-form {
    border: none !important;
  }

  .btn-analyze {
    border-radius: var(--radius);
    padding: 14px;
  }

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

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

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

  .result-listing-header {
    flex-direction: column;
    gap: 8px;
  }

  .alt-title {
    max-width: 200px;
  }
}

@media (max-width: 420px) {
  .platforms-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* === Blog === */
.blog-container {
  max-width: 760px;
}

.blog-page-title {
  font-family: var(--font-brand);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}

.blog-page-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.blog-loading {
  color: var(--text-muted);
  font-size: 15px;
  padding: 40px 0;
}

.blog-empty p {
  color: var(--text-secondary);
  font-size: 16px;
  padding: 40px 0;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.blog-card.has-img {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.blog-card-img {
  width: 200px;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.blog-card-body {
  flex: 1;
  min-width: 0;
}

.blog-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

@media (max-width: 600px) {
  .blog-card.has-img {
    flex-direction: column;
  }
  .blog-card-img {
    width: 100%;
    height: 180px;
  }
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.blog-card-lang {
  background: var(--teal-light);
  color: var(--teal);
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.blog-card-title {
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.blog-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 6px;
}

.article-featured-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 24px 0;
}

/* Article page */
.article-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.article-featured-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: 20px;
  margin-bottom: 8px;
}

.article-body {
  margin-top: 32px;
}

.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.article-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.article-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-body ul, .article-body ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.article-body li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 4px;
}

.article-body a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body a:hover {
  color: var(--teal-dark);
}

.article-body img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 16px 0;
}

.article-body blockquote {
  border-left: 3px solid var(--teal);
  padding-left: 16px;
  margin: 16px 0;
  color: var(--text-secondary);
  font-style: italic;
}

.article-body code {
  background: var(--bg-subtle);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}

.article-body pre {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 16px;
}

.article-body pre code {
  background: none;
  padding: 0;
}
