/* ===== Fisbyte Microsite ===== */
:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #14b8a6;
  --accent: #0ea5e9;
  --bg: #ffffff;
  --bg-alt: #f0fdfa;
  --bg-dark: #0f172a;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --success: #059669;
  --danger: #dc2626;
  --warning: #d97706;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
code {
  font-family: ui-monospace, monospace;
  background: #f1f5f9;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: box-shadow 0.25s, background 0.25s;
}
.header.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.07);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--text); }
.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(145deg, #14b8a6 0%, #0d9488 50%, #0ea5e9 100%);
  color: #fff;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}
.logo-text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-top: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav > a:not(.btn) {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45em 0.85em;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav > a:not(.btn):hover {
  color: var(--primary-dark);
  background: rgba(13, 148, 136, 0.08);
}
.nav .btn-primary {
  margin-left: 0.5rem;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.3);
}
.nav .btn-primary:hover {
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.4);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.65em 1.35em;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.btn-sm { padding: 0.5em 1.1em; font-size: 0.85rem; }
.btn-lg { padding: 0.85em 1.75em; font-size: 1rem; }
.btn-primary {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 3px 12px rgba(13, 148, 136, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #115e59 0%, #0f766e 100%);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
  transform: translateY(-1px);
}
.btn-outline {
  background: #fff;
  color: var(--primary-dark);
  border-color: #99f6e4;
}
.btn-outline:hover {
  background: var(--bg-alt);
  color: var(--primary-dark);
  border-color: var(--primary);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, #0f172a 0%, #134e4a 50%, #0d9488 100%);
  color: #fff;
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(14,165,233,0.25), transparent 55%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}
.hero .eyebrow { color: #5eead4; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-lead {
  font-size: 1.15rem;
  max-width: 540px;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero .btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.55);
  color: #fff !important;
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,0.14);
  border-color: #fff;
  color: #fff !important;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 700px;
}
.stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #5eead4;
}
.stat span {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-header .lead {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-header .eyebrow {
  color: var(--primary);
}

/* ===== Cards & Grids ===== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.card-danger { border-top: 3px solid var(--danger); }
.card-success { border-top: 3px solid var(--success); }
.card-warning { border-top: 3px solid var(--warning); }

.list-check li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.list-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
}
.list-check.danger li::before { color: var(--danger); content: '✗'; }
.list-check.success li::before { color: var(--success); }

/* Steps */
.steps { gap: 2rem; }
.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step-card h3 { margin-bottom: 0.75rem; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.step-time {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3em 0.75em;
  border-radius: 20px;
}

/* Timeline */
.timeline {
  max-width: 700px;
  margin: 0 auto 3rem;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}
.timeline-marker {
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
}
.timeline-content h3 { margin-bottom: 0.4rem; }
.timeline-content p { color: var(--text-muted); font-size: 0.95rem; }

/* Process grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.process-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.process-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.process-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.process-card ul li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 0.9rem;
  position: relative;
  margin-bottom: 0.35rem;
}
.process-card ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--primary);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.feature h4 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
}
.feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Table */
.table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  overflow-x: auto;
}
.table-wrap h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
}
.data-table th {
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--primary-dark);
}
.data-table tr:last-child td { border-bottom: none; }

/* Security */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.sec-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.sec-card h3 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
  color: var(--primary-dark);
}
.sec-card ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  padding-left: 0.85rem;
  position: relative;
}
.sec-card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.75rem;
}
.confidentiality {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.confidentiality h3 {
  margin-bottom: 1.25rem;
  text-align: center;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem 1.4rem 1.6rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  border-color: #99f6e4;
}
.price-card.featured {
  border: 2px solid #0d9488;
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 40%);
  box-shadow: 0 12px 40px rgba(13, 148, 136, 0.2);
  transform: scale(1.04);
  z-index: 1;
}
.price-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 16px 48px rgba(13, 148, 136, 0.28);
}
.price-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0f766e, #0d9488);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3em 0.9em;
  border-radius: 20px;
  letter-spacing: 0.05em;
  box-shadow: 0 3px 10px rgba(13, 148, 136, 0.4);
}
.price-tier {
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.price-range {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.price-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f766e;
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
}
.price-card.featured .price-amount {
  color: #0f766e;
}
.price-amount small {
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748b;
}
.price-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
  flex-grow: 1;
  line-height: 1.45;
}
.price-card .btn {
  width: 100%;
  max-width: 160px;
}
.price-card.featured .btn-primary {
  background: linear-gradient(135deg, #115e59 0%, #0f766e 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 16px rgba(15, 94, 89, 0.45);
  font-weight: 700;
}
.price-card.featured .btn-primary:hover {
  background: linear-gradient(135deg, #134e4a 0%, #115e59 100%);
  box-shadow: 0 6px 22px rgba(15, 94, 89, 0.55);
  color: #ffffff !important;
}
.pricing-extra {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-inline: auto;
}
.distributor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid #e2e8f0;
}
.distributor-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}
.distributor-logo {
  height: 44px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

/* CTA / Form */
.cta-section {
  background: linear-gradient(160deg, #0f172a, #134e4a);
  color: #fff;
}
.cta-section .eyebrow { color: #5eead4; }
.cta-section .lead { color: #cbd5e1; }
.cta-section .card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #e2e8f0;
}
.cta-section .card h3 { color: #fff; }
.cta-section .list-check.success li { color: #cbd5e1; }
.cta-section .list-check.success li::before { color: #5eead4; }
.cta-section .limitations {
  counter-reset: lim;
}
.cta-section .limitations li {
  counter-increment: lim;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  position: relative;
  color: #cbd5e1;
  font-size: 0.95rem;
}
.cta-section .limitations li::before {
  content: counter(lim);
  position: absolute;
  left: 0;
  width: 1.3rem;
  height: 1.3rem;
  background: rgba(217, 119, 6, 0.3);
  color: #fbbf24;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.cta-section .note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
}
.cta-form-wrap {
  margin-top: 2.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 640px;
  margin-inline: auto;
}
.cta-form-wrap h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.cta-form input,
.cta-form select {
  width: 100%;
  padding: 0.75em 1em;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}
.cta-form input::placeholder { color: #94a3b8; }
.cta-form select {
  color: #94a3b8;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
}
.cta-form select option { color: #0f172a; background: #fff; }
.cta-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}
.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.75rem;
}
.form-success {
  text-align: center;
  padding: 2rem;
}
.form-success h3 { color: #5eead4; margin-bottom: 0.5rem; }

/* Exceptions */
.exceptions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.exc-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.exceptions-cta {
  text-align: center;
  color: var(--text-muted);
}

/* Notifications */
.notif-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.notif-grid span {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.45em 1em;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: grid;
  gap: 2rem;
}
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-brand strong {
  color: #fff;
  display: block;
}
.footer-brand p {
  font-size: 0.85rem;
  margin-top: 0.25rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}
.footer-links a:hover { color: #5eead4; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
  font-size: 0.8rem;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .process-grid,
  .features-grid,
  .pricing-grid,
  .security-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.25rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }

  .grid-2,
  .process-grid,
  .features-grid,
  .pricing-grid,
  .security-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero { padding: 4rem 0 3.5rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .section { padding: 3.5rem 0; }
}
