/* FZV.app - Public Website Stylesheet */
/* CI: Midnight #0B1D35 | Steel #264566 | Slate #6B7C93 | Light #F2F4F7 | Orange #FF6A00 */

@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Work Sans'), local('WorkSans-Regular');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Work Sans Medium'), local('WorkSans-Medium');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Work Sans SemiBold'), local('WorkSans-SemiBold');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Work Sans Bold'), local('WorkSans-Bold');
}

:root {
  --fzv-midnight: #0B1D35;
  --fzv-steel: #264566;
  --fzv-slate: #6B7C93;
  --fzv-light: #F2F4F7;
  --fzv-white: #FFFFFF;
  --fzv-orange: #FF6A00;
  --fzv-success: #18A957;
  --fzv-warning: #FFB020;
  --fzv-danger: #D92D20;
  --fzv-info: #2563EB;
  --fzv-border: #D7DEE8;
  --fzv-text: #0B1D35;
  --fzv-muted: #61708F;
  --fzv-card-bg: #FFFFFF;
  --fzv-app-bg: #F2F4F7;
  --fzv-radius: 16px;
  --fzv-radius-sm: 10px;
  --fzv-shadow: 0 12px 30px rgba(11, 29, 53, 0.06);
  --fzv-shadow-lg: 0 20px 48px rgba(11, 29, 53, 0.10);
  --fzv-shadow-orange: 0 8px 18px rgba(255, 106, 0, 0.18);
  --nav-height: 80px;
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Work Sans", "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--fzv-text);
  background: var(--fzv-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  color: var(--fzv-midnight);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--fzv-midnight);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 0.15rem; list-style: none; }
.nav-links a {
  display: block;
  padding: 0.45rem 0.85rem;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
  font-size: 0.88rem;
  border-radius: var(--fzv-radius-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--fzv-white);
  background: rgba(255,255,255,0.08);
}
.nav-cta-wrap {
  display: flex;
  gap: 0.5rem;
  margin-left: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}
.nav-cta {
  display: inline-flex !important;
  background: var(--fzv-orange) !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-radius: var(--fzv-radius-sm) !important;
  padding: 0.5rem 1.1rem !important;
  box-shadow: var(--fzv-shadow-orange);
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: #e85d00 !important; transform: translateY(-1px); }
.btn-sm { padding: 0.45rem 1rem !important; font-size: 0.85rem !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.2s; }

/* Hero */
.hero {
  padding: calc(var(--nav-height) + 4rem) 0 5rem;
  background: linear-gradient(170deg, var(--fzv-midnight) 0%, #07162A 60%, #0B2240 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,106,0,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-content h1 { color: #fff; margin-bottom: 1.25rem; }
.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  border-radius: var(--fzv-radius-sm);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: 1px solid transparent;
  line-height: 1.4;
}
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--fzv-orange);
  border-color: var(--fzv-orange);
  color: #fff;
  box-shadow: var(--fzv-shadow-orange);
}
.btn-primary:hover { background: #e85d00; transform: translateY(-1px); }
.btn-secondary {
  background: var(--fzv-midnight);
  border-color: var(--fzv-midnight);
  color: #fff;
}
.btn-secondary:hover { background: var(--fzv-steel); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--fzv-border);
  color: var(--fzv-midnight);
}
.btn-outline-dark:hover { background: var(--fzv-light); border-color: var(--fzv-slate); }
.btn-lg { padding: 0.9rem 2.2rem; font-size: 1rem; border-radius: var(--fzv-radius-sm); }

/* Section */
.section { padding: 5rem 0; }
.section-light { background: var(--fzv-light); }
.section-dark { background: var(--fzv-midnight); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.75); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--fzv-muted); font-size: 1.05rem; }
.section-dark .section-header p { color: rgba(255,255,255,0.65); }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fzv-orange);
  margin-bottom: 0.75rem;
}

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--fzv-card-bg);
  border: 1px solid var(--fzv-border);
  border-radius: var(--fzv-radius);
  padding: 2rem;
  box-shadow: var(--fzv-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--fzv-shadow-lg); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(11, 29, 53, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  color: var(--fzv-midnight);
}
.card-icon.orange { background: rgba(255, 106, 0, 0.1); color: var(--fzv-orange); }
.card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.card p { color: var(--fzv-muted); font-size: 0.92rem; line-height: 1.65; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; align-items: start; }
.pricing-card {
  background: var(--fzv-card-bg);
  border: 1px solid var(--fzv-border);
  border-radius: var(--fzv-radius);
  padding: 2.25rem;
  box-shadow: var(--fzv-shadow);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--fzv-shadow-lg); }
.pricing-card.featured {
  border-color: var(--fzv-orange);
  border-width: 2px;
  box-shadow: 0 12px 40px rgba(255, 106, 0, 0.10);
}
.pricing-card.featured .pricing-label {
  display: inline-block;
  background: var(--fzv-orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.9rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.pricing-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.25rem; }
.pricing-desc { color: var(--fzv-muted); font-size: 0.88rem; margin-bottom: 1.5rem; }
.pricing-price { font-size: 2.5rem; font-weight: 700; color: var(--fzv-midnight); margin-bottom: 0.25rem; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--fzv-muted); }
.pricing-note { font-size: 0.82rem; color: var(--fzv-muted); margin-bottom: 1.75rem; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 2rem; }
.pricing-features li {
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--fzv-steel);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.pricing-features li::before { content: '✓'; color: var(--fzv-success); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* Problem / Solution block */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-block.reverse { direction: rtl; }
.split-block.reverse > * { direction: ltr; }
.split-text h2 { margin-bottom: 1.25rem; }
.split-text p { color: var(--fzv-muted); margin-bottom: 1rem; line-height: 1.65; }
.split-text ul { list-style: none; margin-top: 1rem; }
.split-text ul li {
  padding: 0.35rem 0;
  color: var(--fzv-steel);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.94rem;
}
.split-text ul li::before { content: '→'; color: var(--fzv-orange); font-weight: 700; flex-shrink: 0; }
.split-visual {
  background: var(--fzv-light);
  border-radius: var(--fzv-radius);
  border: 1px solid var(--fzv-border);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--fzv-radius);
}

/* Trust / CTA block */
.trust-bar {
  background: var(--fzv-light);
  border-top: 1px solid var(--fzv-border);
  border-bottom: 1px solid var(--fzv-border);
  padding: 2.5rem 0;
  text-align: center;
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.trust-item {
  padding: 1.25rem;
  font-size: 0.9rem;
  color: var(--fzv-steel);
  font-weight: 500;
}
.trust-item .icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--fzv-orange);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--fzv-midnight) 0%, var(--fzv-steel) 100%);
  color: #fff;
  text-align: center;
  padding: 4.5rem 0;
  border-radius: var(--fzv-radius);
  margin: 5rem auto;
  max-width: calc(var(--max-width) - 3rem);
}
.cta-section h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-section p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-section .btn { margin: 0 0.4rem; }

/* Page Hero (inner pages) */
.page-hero {
  padding: calc(var(--nav-height) + 3rem) 0 3rem;
  background: linear-gradient(170deg, var(--fzv-midnight) 0%, #07162A 100%);
  color: #fff;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 550px; margin: 0 auto; }

/* Integration list */
.integration-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.integration-card {
  background: var(--fzv-card-bg);
  border: 1px solid var(--fzv-border);
  border-radius: var(--fzv-radius-sm);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--fzv-shadow);
}
.integration-card .name { font-weight: 600; font-size: 1rem; margin-bottom: 0.15rem; }
.integration-card .status { font-size: 0.8rem; font-weight: 500; }
.status-active { color: var(--fzv-success); }
.status-pilot { color: var(--fzv-info); }
.status-planned { color: var(--fzv-muted); }

/* Form */
.form-section { max-width: 680px; margin: 0 auto; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--fzv-midnight);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--fzv-border);
  border-radius: var(--fzv-radius-sm);
  background: var(--fzv-white);
  color: var(--fzv-text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--fzv-midnight);
  box-shadow: 0 0 0 3px rgba(11, 29, 53, 0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-check { display: flex; align-items: flex-start; gap: 0.6rem; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--fzv-midnight); }
.form-check label { font-size: 0.88rem; color: var(--fzv-muted); font-weight: 400; }
.form-check a { color: var(--fzv-steel); text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-message { padding: 1rem; border-radius: var(--fzv-radius-sm); margin-bottom: 1.5rem; font-weight: 500; font-size: 0.9rem; display: none; }
.form-message.success { display: block; background: rgba(24,169,87,0.08); color: var(--fzv-success); border: 1px solid rgba(24,169,87,0.2); }
.form-message.error { display: block; background: rgba(217,45,32,0.08); color: var(--fzv-danger); border: 1px solid rgba(217,45,32,0.2); }

/* Legal pages */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: 0.75rem; }
.legal-content h3 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: 0.5rem; color: var(--fzv-steel); }
.legal-content p { margin-bottom: 1rem; color: var(--fzv-steel); line-height: 1.7; }
.legal-content ul { margin-bottom: 1rem; padding-left: 1.25rem; }
.legal-content ul li { color: var(--fzv-steel); line-height: 1.7; margin-bottom: 0.25rem; }

/* Footer */
.footer {
  background: var(--fzv-midnight);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 36px; width: auto; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }
.footer-claim { color: #fff !important; font-weight: 600 !important; margin-bottom: 0.25rem !important; }
.footer-sub { font-size: 0.82rem !important; color: rgba(255,255,255,0.45) !important; margin-bottom: 0 !important; }
.footer-col h4 { color: #fff; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-bottom-links a:hover { color: #fff; }

/* 404 */
.error-page { text-align: center; padding: calc(var(--nav-height) + 5rem) 0 5rem; }
.error-page h1 { font-size: clamp(3rem, 10vw, 6rem); color: var(--fzv-midnight); margin-bottom: 0.5rem; }
.error-page p { color: var(--fzv-muted); margin-bottom: 2rem; font-size: 1.1rem; }

/* Demo preview */
.demo-preview {
  background: var(--fzv-light);
  border-radius: var(--fzv-radius);
  border: 1px solid var(--fzv-border);
  padding: 2rem;
  text-align: center;
}
.demo-preview img { border-radius: 8px; box-shadow: 0 8px 24px rgba(11,29,53,0.12); margin: 0 auto 1.5rem; }
.demo-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; text-align: left; margin-top: 2rem; }
.demo-info-item { padding: 1.25rem; background: var(--fzv-white); border-radius: var(--fzv-radius-sm); border: 1px solid var(--fzv-border); }
.demo-info-item strong { display: block; font-size: 0.85rem; color: var(--fzv-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.4rem; }

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-block { grid-template-columns: 1fr; gap: 2rem; }
  .split-visual { min-height: 240px; order: -1; }
  .split-block.reverse .split-visual { order: -1; }
  .nav-links a { padding: 0.4rem 0.6rem; font-size: 0.82rem; }
  .nav-cta-wrap { margin-left: 0.25rem; }
  .nav-cta, .nav-demo-btn { padding: 0.4rem 0.8rem !important; font-size: 0.8rem !important; }
}
@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--fzv-midnight);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 0.75rem 1rem; }
  .nav-cta-wrap { flex-direction: column; width: 100%; margin-left: 0; margin-top: 0.5rem; gap: 0.5rem; }
  .nav-cta, .nav-demo-btn { width: 100%; text-align: center; }
  .nav-toggle { display: flex; }
  .hero { padding-top: calc(var(--nav-height) + 2.5rem); padding-bottom: 3rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .card-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-items { grid-template-columns: 1fr 1fr; }
  .cta-section { margin: 3rem 1rem; padding: 3rem 1.5rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section { padding: 3rem 0; }
  .trust-items { grid-template-columns: 1fr; }
  h1 { font-size: 1.8rem; }
}
