/* ============================================================
   Smartfish Plugins Homepage — plugins-home.css
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
  --cyan:        #00b8f0;
  --cyan-end:    #6be2ff;
  --cyan-hover:  #0092c4;
  --cyan-tint:   rgba(0,184,240,0.12);
  --cyan-border: rgba(0,184,240,0.35);
  --ink:         #070c14;
  --ink-rail:    #0a1018;
  --ink-raised:  #101a29;
  --ink-deep:    #05080e;
  --paper:       #f2f5f8;
  --white:       #ffffff;
  --text-dark-1: #eef3f8;
  --text-dark-2: #8ea0b3;
  --text-light-1:#0a0e14;
  --text-light-2:#56606d;
  --border-dark:  rgba(255,255,255,0.09);
  --border-light: rgba(10,14,20,0.10);
  --rail-w: 84px;
  --topbar-h: 76px;
  --site-header-h: 134px;
  --admin-bar-h: 0px;
  --radius-card: 16px;
  --radius-btn: 12px;
  --shadow-btn: 0 8px 24px rgba(0,184,240,0.35);
  --shadow-card-hover: 0 16px 32px rgba(10,14,20,0.12);
  --shadow-pro-glow: 0 24px 60px rgba(0,184,240,0.18);
}
/* Matches the standard site header's own 900px breakpoint (min-height drops to 64px) */
@media (max-width: 900px) {
  .sf-plugins-page { --site-header-h: 64px; }
}
/* WP admin bar isn't in normal flow for our fixed-position rail/topbar/hamburger — offset for it explicitly */
.admin-bar .sf-plugins-page { --admin-bar-h: 32px; }
@media (max-width: 782px) {
  .admin-bar .sf-plugins-page { --admin-bar-h: 46px; }
}

/* ── Reset for this page ── */
.sf-plugins-page *,
.sf-plugins-page *::before,
.sf-plugins-page *::after { box-sizing: border-box; }
.sf-plugins-page { margin: 0; }
.sf-plugins-page a { color: var(--cyan); text-decoration: none; }
.sf-plugins-page a:hover { color: var(--cyan-hover); }
.sf-plugins-page input[type="range"] { accent-color: var(--cyan); }

/* ── Page wrapper ── */
#sf-plugins-root {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: var(--paper);
  font-family: 'Manrope', sans-serif;
  color: var(--text-light-1);
  overflow-x: hidden;
  font-size: 16px;
}

/* ── Keyframes ── */
@keyframes ph-driftA {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(30px,-40px) scale(1.08); }
}
@keyframes ph-driftB {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-40px,30px) scale(1.05); }
}
@keyframes ph-float1 {
  0%,100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-18px) rotate(-2deg); }
}
@keyframes ph-float2 {
  0%,100% { transform: translateY(0) rotate(3deg); }
  50%      { transform: translateY(-14px) rotate(5deg); }
}
@keyframes ph-float3 {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-10px) rotate(-4deg); }
}
@keyframes ph-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes ph-heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ph-pulseDot {
  0%,100% { opacity: 1; }
  50%      { opacity: .35; }
}
@keyframes ph-toastPop {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* Side nav rail markup/CSS now lives in header.php (rendered sitewide). */

/* ================================================================
   MOBILE HAMBURGER
   ================================================================ */
#sf-hamburger {
  position: fixed;
  top: calc(var(--site-header-h) + var(--admin-bar-h) + 18px); left: 18px;
  z-index: 60;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: none;
  background: var(--ink-rail);
  color: var(--text-dark-1);
  font-size: 18px;
  cursor: pointer;
  display: none;
}

/* ================================================================
   MOBILE DRAWER
   ================================================================ */
#sf-mobile-backdrop {
  display: none;
  position: fixed; inset: 0;
  top: calc(var(--site-header-h) + var(--admin-bar-h));
  background: rgba(0,0,0,0.55);
  z-index: 70;
}
#sf-mobile-backdrop.is-open { display: block; }
#sf-mobile-drawer {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 260px;
  background: var(--ink-rail);
  padding: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.sf-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.sf-drawer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--text-dark-1);
  font-size: 16px;
}
.sf-drawer-close {
  background: none; border: none;
  color: var(--text-dark-2);
  font-size: 22px; cursor: pointer;
}
.sf-drawer-link {
  text-align: left; background: none; border: none;
  color: var(--text-dark-1);
  font-family: 'Manrope', sans-serif;
  font-size: 15px; font-weight: 600;
  padding: 12px 8px;
  cursor: pointer; border-radius: 8px;
  transition: background .15s;
  display: block; width: 100%;
}
.sf-drawer-link:hover { background: rgba(255,255,255,0.06); }
.sf-drawer-account {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
  color: var(--text-dark-2) !important;
  font-size: 14px;
}

/* ================================================================
   TOP BAR
   ================================================================ */
#sf-topbar {
  position: fixed;
  top: calc(var(--site-header-h) + var(--admin-bar-h)); left: var(--rail-w); right: 0;
  height: var(--topbar-h);
  background: rgba(7,12,20,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 36px);
  gap: 12px;
  transition: box-shadow .3s;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
#sf-topbar.is-scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.sf-search-pill {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 10px 16px;
  max-width: 340px; width: 100%;
}
.sf-search-pill input {
  flex: 1; min-width: 0;
  border: none; background: transparent; outline: none;
  color: var(--text-dark-1);
  font-family: 'Manrope', sans-serif; font-size: 14px;
}
.sf-search-pill input::placeholder { color: var(--text-dark-2); }
.sf-search-clear {
  border: none; background: transparent;
  color: var(--text-dark-2); cursor: pointer; font-size: 16px;
  display: none; flex-shrink: 0;
  padding: 0; line-height: 1;
}
.sf-topbar-right {
  display: flex; align-items: center; gap: 14px; flex-shrink: 0;
}
.sf-trust-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--text-dark-2);
  letter-spacing: .02em; white-space: nowrap;
}
.sf-talk-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  background: rgba(0,184,240,0.14);
  border: 1px solid var(--cyan-border);
  border-radius: 999px;
  color: var(--cyan);
  font-family: 'Manrope', sans-serif;
  font-size: 13px; font-weight: 700;
  transition: background .18s;
  white-space: nowrap;
}
.sf-talk-btn:hover { background: rgba(0,184,240,0.22); color: var(--cyan); }

/* ================================================================
   PAGE LAYOUT — content offset
   ================================================================ */
#sf-page-content {
  margin-left: var(--rail-w);
}

/* ================================================================
   HERO
   ================================================================ */
#sf-hero {
  position: relative;
  background: var(--ink);
  padding: 96px clamp(20px,4vw,72px) 100px;
  overflow: hidden;
  min-height: 100vh;
  display: flex; align-items: center;
}
.sf-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.sf-hero-blob-a {
  width: 520px; height: 520px;
  background: rgba(0,184,240,0.08);
  top: -100px; left: -80px;
  animation: ph-driftA 16s ease-in-out infinite;
}
.sf-hero-blob-b {
  width: 600px; height: 600px;
  background: rgba(107,226,255,0.05);
  bottom: -150px; right: -100px;
  animation: ph-driftB 20s ease-in-out infinite;
}
.sf-hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  pointer-events: none;
}
.sf-hero-spotlight {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,184,240,0.07) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: left .1s, top .1s;
}
.sf-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}
.sf-hero-copy {
  flex: 1 1 480px;
  display: flex; flex-direction: column; gap: 24px;
}
.sf-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(0,184,240,0.12);
  border: 1px solid rgba(0,184,240,0.30);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cyan);
  align-self: flex-start;
}
.sf-hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: ph-pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}
.sf-hero-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2em, 5vw, 3.6em);
  line-height: 1.06;
  color: var(--text-dark-1);
  margin: 0;
}
.sf-hero-h1 .sf-accent {
  background: linear-gradient(90deg, var(--cyan), var(--cyan-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sf-hero-sub {
  font-size: clamp(1em, 1.3vw, 1.15em);
  color: var(--text-dark-2);
  max-width: 52ch;
  line-height: 1.65;
  margin: 0;
}
.sf-hero-btns {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center;
}
.sf-btn-primary {
  display: inline-flex; align-items: center;
  padding: 14px 28px;
  background: var(--cyan);
  color: var(--ink);
  border: none; border-radius: var(--radius-btn);
  font-family: 'Manrope', sans-serif;
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform .2s, box-shadow .2s, background .2s;
  text-decoration: none;
}
.sf-btn-primary:hover {
  background: #05c8ff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,184,240,0.45);
  color: var(--ink);
}
.sf-btn-ghost {
  display: inline-flex; align-items: center;
  padding: 13px 26px;
  background: transparent;
  color: var(--text-dark-1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-btn);
  font-family: 'Manrope', sans-serif;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  text-decoration: none;
}
.sf-btn-ghost:hover {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
  color: var(--text-dark-1);
}
.sf-hero-stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  margin-top: 8px;
}
.sf-stat { display: flex; flex-direction: column; gap: 2px; }
.sf-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5em, 3vw, 2.1em);
  color: var(--white);
  line-height: 1;
}
.sf-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-dark-2);
}

/* Hero floating cards */
.sf-hero-visual {
  flex: 1 1 340px;
  position: relative;
  min-height: 340px;
  display: flex; align-items: center; justify-content: center;
}
.sf-float-card {
  position: absolute;
  background: var(--ink-raised);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  min-width: 200px;
}
.sf-float-card-1 {
  top: 20px; right: 10px;
  animation: ph-float1 7s ease-in-out infinite;
}
.sf-float-card-2 {
  top: 120px; right: 80px;
  animation: ph-float2 8.5s ease-in-out infinite .8s;
}
.sf-float-card-3 {
  top: 220px; right: 30px;
  animation: ph-float3 6.5s ease-in-out infinite 1.5s;
}
.sf-float-badge {
  display: inline-flex; align-items: center;
  padding: 3px 8px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 600;
  margin-bottom: 8px;
}
.sf-float-badge.pro {
  background: var(--cyan);
  color: var(--ink);
}
.sf-float-badge.free {
  background: var(--cyan-tint);
  color: var(--cyan);
  border: 1px solid var(--cyan-border);
}
.sf-float-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--text-dark-1);
  margin-bottom: 4px;
}
.sf-float-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dark-2);
}

/* Hero animation stagger */
.sf-hero-eyebrow { animation: ph-heroIn .8s ease both; animation-delay: 0s; }
.sf-hero-h1      { animation: ph-heroIn .8s ease both; animation-delay: .1s; }
.sf-hero-sub     { animation: ph-heroIn .8s ease both; animation-delay: .15s; }
.sf-hero-btns    { animation: ph-heroIn .8s ease both; animation-delay: .2s; }
.sf-hero-stats   { animation: ph-heroIn .8s ease both; animation-delay: .25s; }

/* ================================================================
   TICKER
   ================================================================ */
#sf-ticker {
  background: var(--paper);
  border-bottom: 1px solid var(--border-light);
  padding: 0;
  overflow: hidden;
  height: 56px;
  display: flex; align-items: center;
}
.sf-ticker-track {
  display: flex; gap: 0;
  animation: ph-marquee 26s linear infinite;
  white-space: nowrap;
}
#sf-ticker:hover .sf-ticker-track { animation-play-state: paused; }
.sf-ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 28px;
}
.sf-ticker-icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--cyan-tint);
  border: 1px solid var(--cyan-border);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 12px;
  color: var(--cyan); flex-shrink: 0;
}
.sf-ticker-name {
  font-family: 'Manrope', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--text-light-2);
}
.sf-ticker-divider {
  color: var(--text-light-2);
  font-size: 8px; opacity: .5;
}

/* ================================================================
   CATALOG
   ================================================================ */
#sf-catalog {
  background: var(--paper);
  padding: 96px clamp(20px,4vw,72px);
}
.sf-section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cyan);
  margin-bottom: 10px;
}
.sf-section-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8em, 3.4vw, 2.6em);
  line-height: 1.1;
  color: var(--text-light-1);
  margin: 0 0 10px;
}
.sf-section-sub {
  color: var(--text-light-2);
  font-size: 15px;
  margin: 0;
}
.sf-catalog-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.sf-catalog-header { margin-bottom: 40px; }
.sf-catalog-layout {
  display: flex; gap: 32px; align-items: flex-start;
}

/* Filter sidebar */
.sf-filter-sidebar {
  flex: 0 0 260px;
  position: sticky;
  top: calc(var(--topbar-h) + 20px);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 22px;
  display: flex; flex-direction: column; gap: 22px;
}
.sf-filter-section-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light-2);
  margin-bottom: 10px;
}

/* Plan segmented control */
.sf-plan-control {
  display: flex;
  background: var(--paper);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.sf-plan-btn {
  flex: 1;
  padding: 8px 6px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: 'Manrope', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--text-light-2);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.sf-plan-btn.is-active {
  background: var(--white);
  color: var(--text-light-1);
  box-shadow: 0 1px 4px rgba(10,14,20,0.08);
}

/* Category chips */
.sf-cat-list {
  display: flex; flex-direction: column; gap: 4px;
}
.sf-cat-chip {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: 'Manrope', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--text-light-2);
  background: transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.sf-cat-chip:hover {
  background: var(--paper);
}
.sf-cat-chip.is-active {
  background: var(--cyan-tint);
  border-color: var(--cyan-border);
  color: var(--cyan);
}
.sf-cat-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; opacity: .7;
}

/* Price range */
.sf-price-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.sf-price-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 600;
  color: var(--cyan);
}
.sf-filter-range { width: 100%; }

/* Clear filters */
.sf-clear-filters {
  background: none; border: none;
  color: var(--cyan);
  font-family: 'Manrope', sans-serif;
  font-size: 13px; font-weight: 600;
  cursor: pointer; padding: 0;
  display: none;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Product grid */
.sf-catalog-grid-wrap { flex: 1 1 640px; }
.sf-result-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-light-2);
  margin-bottom: 16px;
  letter-spacing: .04em;
}
.sf-plugin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* Plugin card */
.sf-plugin-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  border-top-width: 3px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.sf-plugin-card.is-pro  { border-top-color: var(--cyan); }
.sf-plugin-card.is-free { border-top-color: rgba(0,184,240,0.35); }
.sf-plugin-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0,184,240,0.30);
}
.sf-card-body {
  padding: 20px 20px 14px;
  flex: 1;
  display: flex; flex-direction: column; gap: 10px;
}
.sf-card-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
}
.sf-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 18px;
  flex-shrink: 0;
}
.sf-card-icon.is-pro {
  background: var(--cyan);
  color: var(--ink);
}
.sf-card-icon.is-free {
  background: var(--cyan-tint);
  color: var(--cyan);
  border: 1px solid var(--cyan-border);
}
.sf-cat-tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--border-light);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-light-2);
  font-weight: 500;
  white-space: nowrap;
}
.sf-card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px; font-weight: 600;
  color: var(--text-light-1);
  line-height: 1.3;
}
.sf-card-desc {
  font-size: 13.5px;
  color: var(--text-light-2);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sf-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--border-light);
  gap: 8px;
}
.sf-card-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; font-weight: 600;
  color: var(--text-light-1);
}
.sf-card-cta {
  display: inline-flex; align-items: center;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: transparent;
  font-family: 'Manrope', sans-serif;
  font-size: 12px; font-weight: 700;
  color: var(--text-light-2);
  cursor: pointer;
  transition: border-color .18s, background .18s, color .18s;
  text-decoration: none;
  white-space: nowrap;
}
.sf-card-cta:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-tint);
}

/* Empty state */
.sf-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light-2);
}
.sf-empty-state h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 600;
  margin: 0 0 12px;
  color: var(--text-light-1);
}

/* ================================================================
   WHY SMARTFISH
   ================================================================ */
#sf-why {
  background: var(--ink);
  padding: 96px clamp(20px,4vw,72px);
}
#sf-why .sf-section-h2 { color: var(--text-dark-1); }
#sf-why .sf-section-sub { color: var(--text-dark-2); }
.sf-why-inner { max-width: 1280px; margin: 0 auto; }
.sf-why-header { margin-bottom: 48px; }
.sf-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.sf-feature-card {
  background: var(--ink-raised);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 26px;
  transition: transform .2s, border-color .2s;
}
.sf-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-border);
}
.sf-feature-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600;
  color: var(--cyan);
  margin-bottom: 12px;
  letter-spacing: .06em;
}
.sf-feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px; font-weight: 600;
  color: var(--text-dark-1);
  margin-bottom: 10px;
}
.sf-feature-desc {
  font-size: 14px;
  color: var(--text-dark-2);
  line-height: 1.6;
}
.sf-trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
}
.sf-trust-item {
  display: flex; flex-direction: column; gap: 6px;
}
.sf-trust-glyph {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--cyan-tint);
  border: 1px solid var(--cyan-border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 16px;
  color: var(--cyan);
  margin-bottom: 4px;
}
.sf-trust-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--text-dark-1);
}
.sf-trust-sub {
  font-size: 12px;
  color: var(--text-dark-2);
}

/* ================================================================
   FREE vs PRO
   ================================================================ */
#sf-compare {
  background: var(--paper);
  padding: 96px clamp(20px,4vw,72px);
}
.sf-compare-inner { max-width: 1280px; margin: 0 auto; }
.sf-compare-header { margin-bottom: 40px; }
.sf-compare-cards {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.sf-compare-card {
  flex: 1 1 340px;
  border-radius: 20px;
  padding: 36px;
}
.sf-compare-card.is-free {
  background: var(--white);
  border: 1px solid var(--border-light);
}
.sf-compare-card.is-pro {
  background: var(--ink-rail);
  border: 1px solid rgba(0,184,240,0.45);
  box-shadow: var(--shadow-pro-glow);
  position: relative;
  overflow: hidden;
}
.sf-pro-ribbon {
  position: absolute;
  top: 20px; right: -28px;
  background: var(--cyan);
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 600;
  padding: 4px 36px;
  transform: rotate(35deg);
  letter-spacing: .06em;
}
.sf-compare-plan-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cyan);
  margin-bottom: 6px;
}
.sf-compare-plan-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 700;
  margin-bottom: 6px;
}
.sf-compare-card.is-free .sf-compare-plan-name { color: var(--text-light-1); }
.sf-compare-card.is-pro  .sf-compare-plan-name { color: var(--text-dark-1); }
.sf-compare-plan-sub {
  font-size: 14px; line-height: 1.5;
  margin-bottom: 24px;
}
.sf-compare-card.is-free .sf-compare-plan-sub { color: var(--text-light-2); }
.sf-compare-card.is-pro  .sf-compare-plan-sub { color: var(--text-dark-2); }
.sf-checklist {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.sf-checklist li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
}
.sf-compare-card.is-free .sf-checklist li { color: var(--text-light-1); }
.sf-compare-card.is-pro  .sf-checklist li { color: var(--text-dark-1); }
.sf-check-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--cyan-tint);
  border: 1px solid var(--cyan-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
#sf-testimonials {
  background: var(--ink);
  padding: 96px clamp(20px,4vw,72px);
}
#sf-testimonials .sf-section-h2 { color: var(--text-dark-1); }
#sf-testimonials .sf-section-sub { color: var(--text-dark-2); }
.sf-testimonials-inner { max-width: 1280px; margin: 0 auto; }
.sf-testimonials-header { margin-bottom: 40px; }
.sf-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.sf-testi-card {
  background: var(--ink-raised);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.sf-testi-quote-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px; font-weight: 700;
  color: var(--cyan);
  line-height: .8;
  opacity: .6;
}
.sf-testi-text {
  font-size: 15px; line-height: 1.65;
  color: var(--text-dark-1);
  flex: 1;
}
.sf-testi-stars { color: var(--cyan); font-size: 14px; letter-spacing: 2px; }
.sf-testi-author {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--text-dark-2);
}

/* ================================================================
   FAQ
   ================================================================ */
#sf-faq {
  background: var(--paper);
  padding: 96px clamp(20px,4vw,72px);
}
.sf-faq-inner {
  max-width: 800px;
  margin: 0 auto;
}
.sf-faq-header { margin-bottom: 36px; }
.sf-faq-list { display: flex; flex-direction: column; gap: 10px; }
.sf-faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
}
.sf-faq-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px;
  background: none; border: none;
  cursor: pointer;
  text-align: left;
  gap: 12px;
}
.sf-faq-q {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15.5px; font-weight: 600;
  color: var(--text-light-1);
  line-height: 1.3;
}
.sf-faq-icon {
  font-size: 22px; color: var(--text-light-2);
  transition: transform .3s;
  flex-shrink: 0; font-weight: 300; line-height: 1;
}
.sf-faq-item.is-open .sf-faq-icon { transform: rotate(45deg); color: var(--cyan); }
.sf-faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, opacity .3s ease;
  opacity: 0;
  padding: 0 24px;
}
.sf-faq-item.is-open .sf-faq-body {
  max-height: 400px;
  opacity: 1;
  padding-bottom: 22px;
}
.sf-faq-a {
  font-size: 14.5px; line-height: 1.65;
  color: var(--text-light-2);
}

/* ================================================================
   FINAL CTA
   ================================================================ */
#sf-final-cta {
  background: var(--ink);
  padding: 110px clamp(20px,4vw,72px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.sf-final-cta-glow {
  position: absolute;
  width: 600px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,184,240,0.12) 0%, transparent 65%);
  left: 50%; top: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.sf-final-cta-inner {
  position: relative; z-index: 2;
  max-width: 720px; margin: 0 auto;
}
.sf-final-cta-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8em, 3.4vw, 2.6em);
  font-weight: 700;
  color: var(--text-dark-1);
  margin: 10px 0 14px;
}
.sf-final-cta-sub {
  color: var(--text-dark-2);
  font-size: 16px; line-height: 1.65;
  margin-bottom: 32px;
}
.sf-final-cta-btns {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}

/* ================================================================
   FOOTER
   ================================================================ */
#sf-footer {
  background: var(--ink-deep);
  padding: 56px clamp(20px,4vw,72px) 32px;
}
.sf-footer-inner {
  max-width: 1280px; margin: 0 auto;
}
.sf-footer-grid {
  display: flex; flex-wrap: wrap; gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 28px;
}
.sf-footer-brand { flex: 1 1 220px; }
.sf-footer-logo-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.sf-footer-logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--cyan);
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.sf-footer-wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; font-weight: 700;
  color: var(--text-dark-1);
  letter-spacing: .04em;
}
.sf-footer-tagline {
  font-size: 13px; color: var(--text-dark-2); line-height: 1.55;
}
.sf-footer-col { flex: 1 1 160px; }
.sf-footer-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-dark-2);
  margin-bottom: 14px;
}
.sf-footer-links {
  display: flex; flex-direction: column; gap: 8px;
}
.sf-footer-links a {
  font-size: 14px; color: var(--text-dark-2) !important;
  transition: color .15s;
}
.sf-footer-links a:hover { color: var(--text-dark-1) !important; }
.sf-footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-dark-2);
  opacity: .6;
}

/* ================================================================
   WHATSAPP FLOATING BUTTON
   ================================================================ */
#sf-whatsapp-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 100;
  transition: transform .2s, box-shadow .2s;
}
#sf-whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.sf-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.sf-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   RESPONSIVE — Mobile < 880px
   ================================================================ */
@media (max-width: 880px) {
  #sf-sidenav { display: none; }
  #sf-hamburger { display: flex; align-items: center; justify-content: center; }
  #sf-topbar {
    left: 0;
    padding-left: 72px; /* clear hamburger */
  }
  #sf-page-content { margin-left: 0; }
  .sf-trust-text { display: none; }
  .sf-hero-visual { display: none; }
  .sf-catalog-layout { flex-direction: column; }
  .sf-filter-sidebar { position: static; flex: 1 1 auto; }
  .sf-cat-list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .sf-cat-chip { flex: 0 0 auto; justify-content: center; gap: 6px; }
  .sf-hero-stats { gap: 24px; }
  .sf-compare-cards { flex-direction: column; }
  .sf-footer-grid { flex-direction: column; gap: 32px; }
}
@media (max-width: 520px) {
  .sf-hero-btns { flex-direction: column; }
  .sf-btn-primary, .sf-btn-ghost { width: 100%; justify-content: center; }
  .sf-plan-control { flex-direction: row; }
}
