@charset "UTF-8";

/* ===========================
   Zubra.com - styles.css (FULL)
   Includes animated Option B hero (pulse + flow + hue drift)
   =========================== */

:root{
  --bg: #0b1020;
  --bg2: #0e1630;

  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.085);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --line: rgba(255,255,255,.12);
  --shadow: 0 12px 40px rgba(0,0,0,.35);

  /* Zubra logo palette */
  --accent: #0A9286;
  --accent2: #256086;

  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;

  --focus: 0 0 0 3px rgba(10,146,134,.35);
}

:root[data-theme="light"]{
  --bg: #f7f8fb;
  --bg2: #ffffff;

  --card: rgba(10,20,40,.06);
  --card2: rgba(10,20,40,.08);

  --text: rgba(10,20,40,.92);
  --muted: rgba(10,20,40,.64);
  --line: rgba(10,20,40,.12);
  --shadow: 0 12px 40px rgba(10,20,40,.12);

  --accent: #0A9286;
  --accent2: #256086;

  --focus: 0 0 0 3px rgba(10,146,134,.28);
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }

body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 18% 0%, rgba(10,146,134,.22), transparent 55%),
    radial-gradient(1200px 600px at 82% 18%, rgba(37,96,134,.20), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
button, input, select, textarea{ font: inherit; }
p{ line-height: 1.6; margin: 0; }

.container{
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* Accessibility */
.skip-link{
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 1000;
}
.skip-link:focus{ left: 16px; outline: none; box-shadow: var(--focus); }

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  border:0;
}

.muted{ color: var(--muted); }
.tiny{ font-size: 12px; }

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10,16,32,.55);
  border-bottom: 1px solid var(--line);
}
:root[data-theme="light"] .site-header{ background: rgba(255,255,255,.75); }

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
}

/* Bigger logo (wordmark style) */
.brand-logo{
  height: 60px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  border: none;
  background: transparent;
  padding: 0;
}

.brand-text{ display:none; }

.header-nav{ display: none; gap: 8px; }
.nav-link{
  font-weight: 900;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
}
.nav-link:hover{ color: var(--text); background: var(--card); }

.header-actions{ display: flex; align-items: center; gap: 10px; }

.icon-btn{
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}
.icon-btn:hover{ background: var(--card2); }
.icon-btn:focus{ outline: none; box-shadow: var(--focus); }

.btn{
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn:hover{ background: var(--card2); }
.btn:focus{ outline: none; box-shadow: var(--focus); }

.btn.primary{
  border-color: rgba(10,146,134,.38);
  background: linear-gradient(135deg, rgba(10,146,134,.22), rgba(37,96,134,.18));
}
.btn.ghost{ background: transparent; }
.btn.small{ padding: 8px 10px; border-radius: 12px; font-size: 13px; font-weight: 900; }
.hide-mobile{ display: none; }

@media (min-width: 920px){
  .header-nav{ display: flex; }
  .hide-mobile{ display: inline-flex; }
}

/* Hero */
.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
}

.hero{ padding: 44px 0 10px; }

.hero-inner{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}
@media (min-width: 980px){
  .hero-inner{ grid-template-columns: 1.05fr .95fr; gap: 28px; }
}

.hero h1{
  margin: 12px 0 10px;
  font-size: clamp(34px, 4.6vw, 54px);
  letter-spacing: -0.02em;
}

.lead{
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--muted);
}

.hero-cta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-metrics{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
}
@media (min-width: 720px){
  .hero-metrics{ grid-template-columns: repeat(3, 1fr); }
}

.metric{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding: 12px 12px;
}
.metric-value{ font-size: 16px; font-weight: 900; }
.metric-label{ font-size: 12px; color: var(--muted); margin-top: 4px; }

.hero-proof{ margin-top: 14px; }
.logos{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.logo-pill{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 900;
  color: var(--muted);
  font-size: 13px;
}

/* Hero “app window” shell */
.visual-shell{
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.03);
}

.visual-shell-top{
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.03);
}

.dot{ width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.20); }

.shell-url{
  margin-left: 8px;
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.visual-shell-body{
  position: relative;
  aspect-ratio: 16/10;
  background: rgba(0,0,0,.18);
}

.hero-svg{ width: 100%; height: 100%; }
.hero-svg svg{
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(1.08) contrast(1.03);
}

.hero-svg svg *{
  transform-box: fill-box;
  transform-origin: center;
}


:root[data-theme="light"] .hero-svg svg{
  filter: saturate(1.02) contrast(1.02);
  opacity: .96;
}

.shell-overlay{
  position: absolute;
  inset: auto 10px 10px 10px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.32);
  padding: 12px 12px;
}
:root[data-theme="light"] .shell-overlay{ background: rgba(255,255,255,.62); }

.overlay-title{ font-weight: 900; }
.overlay-subtitle{ font-size: 13px; color: var(--muted); margin-top: 4px; }

.hero-note{
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

/* ===== Animated hero network (pulse + flow + hue drift) ===== */
@media (prefers-reduced-motion: reduce){
  .hero-svg .pulse,
  .hero-svg .stream,
  .hero-svg .drift{
    animation: none !important;
    filter: none !important;
  }
}

/* Hub pulse */
.hero-svg .pulse{
  transform-box: fill-box;
  transform-origin: center;
  animation: zPulse 4.8s ease-in-out infinite;
}
.hero-svg .pulse.p2{ animation-duration: 5.3s; animation-delay: -1.4s; }
.hero-svg .pulse.p3{ animation-duration: 6.0s; animation-delay: -2.1s; }
.hero-svg .pulse.p4{ animation-duration: 5.7s; animation-delay: -0.9s; }
.hero-svg .pulse.p5{ animation-duration: 6.4s; animation-delay: -1.8s; }

@keyframes zPulse{
  0%, 100% { transform: scale(1); opacity: .88; }
  50%      { transform: scale(1.06); opacity: 1; }
}

/* ===== Dotted streams: CLEAR, visible motion ===== */
.hero-svg .stream{
  stroke-dasharray: 4 8;              /* bigger dots */
  stroke-dashoffset: 0;
  stroke-width: 3.2px;                /* thicker lines */
  opacity: 0.9;

  animation:
    zFlow 0.9s linear infinite,         /* MUCH faster flow */
    zHue 6s ease-in-out infinite;       /* quicker color shift */

  filter:
    drop-shadow(0 0 6px rgba(255,255,255,.35))
    hue-rotate(0deg);
}

.hero-svg .stream.s2{
  animation-duration: 1.1s, 2.5s;
  animation-delay: 0s, -2.5s;
}

.hero-svg .stream.s3{
  animation-duration: 1.0s, 3s;
  animation-delay: 0s, -4s;
}

@keyframes zFlow{
  to { stroke-dashoffset: -180; }      /* longer travel per cycle */
}

@keyframes zHue{
  0%{
    filter:
      drop-shadow(0 0 6px rgba(255,255,255,.35))
      hue-rotate(0deg);
  }
  50%{
    filter:
      drop-shadow(0 0 12px rgba(255,255,255,.45))
      hue-rotate(60deg);
  }
  100%{
    filter:
      drop-shadow(0 0 6px rgba(255,255,255,.35))
      hue-rotate(0deg);
  }
}


@keyframes zFlow{ to { stroke-dashoffset: -120; } }
@keyframes zHue{
  0%   { filter: hue-rotate(0deg); }
  50%  { filter: hue-rotate(28deg); }
  100% { filter: hue-rotate(0deg); }
}

/* Slow drift for the soft blobs */
.hero-svg .drift{
  transform-box: fill-box;
  transform-origin: center;
  animation: zDrift 14s ease-in-out infinite;
  opacity: .55;
}
.hero-svg .drift.d2{ animation-duration: 16s; animation-delay: -6s; }
.hero-svg .drift.d3{ animation-duration: 18s; animation-delay: -9s; }

@keyframes zDrift{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%    { transform: translate(10px,-8px) scale(1.03); }
}

/* FINAL: subtle, premium hero animation */
.hero-svg .pulse{
  animation-duration: 4.1s;
}

@keyframes zPulse{
  0%,100%{ transform: scale(1); opacity: .88; }
  50%{ transform: scale(1.08); opacity: 1; }
}

.hero-svg .stream{
  animation-duration: 2.6s, 10s;
}

.hero-svg .stream.s2{
  animation-duration: 3.2s, 14s;
}

.hero-svg .stream.s3{
  animation-duration: 2.9s, 18s;
}

/* ===== Hero parallax (micro-movement) ===== */
.hero-svg{
  will-change: transform;
  transform: translate3d(0,0,0);
}

@media (prefers-reduced-motion: reduce){
  .hero-svg{
    transform: none !important;
  }
}

/* ===== Make hero motion clearly noticeable ===== */

/* Keep SVG transforms behaving in Chrome/Windows */
.hero-svg svg *{
  transform-box: fill-box;
  transform-origin: center;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .hero-svg{ transform: none !important; }
  .hero-svg .pulse,
  .hero-svg .stream,
  .hero-svg .drift{
    animation: none !important;
    filter: none !important;
  }
}

/* Bigger / faster node pulse */
.hero-svg .pulse{
  animation: zPulse 2.0s ease-in-out infinite !important;
}

@keyframes zPulse{
  0%, 100% { transform: scale(1); opacity: .78; }
  50%      { transform: scale(1.22); opacity: 1; }
}

/* Make the dotted “data” along the line obvious */
.hero-svg .stream{
  stroke-dasharray: 2 8 !important;
  stroke-width: 3px !important;
  opacity: .9 !important;
  animation:
    zFlow 0.85s linear infinite,
    zHue 5.5s ease-in-out infinite !important;
  filter: drop-shadow(0 0 6px rgba(255,255,255,.30)) hue-rotate(0deg);
}

.hero-svg .stream.s2{
  animation-duration: 1.05s, 6.5s !important;
  animation-delay: 0s, -2s !important;
}
.hero-svg .stream.s3{
  animation-duration: 0.95s, 7.5s !important;
  animation-delay: 0s, -3s !important;
}

@keyframes zFlow{ to { stroke-dashoffset: -160; } }
@keyframes zHue{
  0%   { filter: drop-shadow(0 0 6px rgba(255,255,255,.30)) hue-rotate(0deg); }
  50%  { filter: drop-shadow(0 0 10px rgba(255,255,255,.38)) hue-rotate(55deg); }
  100% { filter: drop-shadow(0 0 6px rgba(255,255,255,.30)) hue-rotate(0deg); }
}



/* Optional: slightly more noticeable blob drift */
.hero-svg .drift{
  animation: zDrift 10s ease-in-out infinite !important;
}
@keyframes zDrift{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%    { transform: translate(18px,-14px) scale(1.06); }
}


/* Sections / Panels */
.section{ padding: 34px 0; }

.section-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.section-head h2{
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.panel{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-mini{
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-weight: 900;
  font-size: 12px;
  margin-bottom: 10px;
}

/* Layout grids */
.grid-3{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 900px){
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
}

.grid-2{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 980px){
  .grid-2{ grid-template-columns: repeat(2, 1fr); }
}

/* Service cards */
.service{ padding: 16px 16px; }
.service h3{ margin: 0 0 6px; letter-spacing: -0.01em; }
.service p{ margin: 0 0 10px; }

/* Solution cards */
.solution{ padding: 16px 16px; }
.solution h3{ margin: 0 0 8px; letter-spacing: -0.01em; }
.solution p{ margin: 10px 0 0; }

/* Lists */
.bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.bullets li{ margin: 6px 0; }

/* Callout */
.callout-row{
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 900px){
  .callout-row{ flex-direction: row; align-items: center; justify-content: space-between; }
}

.callout{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding: 14px 14px;
  flex: 1;
}
.callout-title{ font-weight: 900; margin-bottom: 4px; }

/* Chips */
.chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip{
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

/* Value strip */
.value-strip{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 900px){
  .value-strip{ grid-template-columns: repeat(3, 1fr); }
}

.value-card{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 14px 14px;
}

.value-icon{
  width: 46px; height: 46px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  display: grid; place-items: center;
  margin-bottom: 10px;
}

.value-title{ font-weight: 900; margin-bottom: 6px; }

/* Promo (MOTW) */
.promo{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 980px){
  .promo{ grid-template-columns: 1.15fr .85fr; }
}

.promo-card{ padding: 16px 16px; }
.promo-actions{ display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

.promo-kv{
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 720px){
  .promo-kv{ grid-template-columns: repeat(3, 1fr); }
}

.promo-kv-item{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding: 12px 12px;
}
.promo-k{ font-weight: 900; }

.promo-preview{ position: relative; }
.promo-link{ display:block; height:100%; }
.promo-img{ width: 100%; height: 100%; aspect-ratio: 16/12; object-fit: cover; }

.promo-overlay{
  position: absolute;
  inset: auto 10px 10px 10px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.32);
  padding: 12px 12px;
}
:root[data-theme="light"] .promo-overlay{ background: rgba(255,255,255,.62); }

/* About */
.about{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 980px){
  .about{ grid-template-columns: 1.15fr .85fr; }
}

.about-card{ overflow: hidden; }
.about-pad{ padding: 16px 16px; }

.about-card h2, .about-card h3{ margin: 0 0 10px; }

.about-list{
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.about-item{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding: 12px 12px;
}
.about-k{ font-weight: 900; margin-bottom: 4px; }

.subscribe-form{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.subscribe-form input{
  flex: 1;
  min-width: 220px;
}
.newsletter-status {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.newsletter-status.loading {
  color: #555;
}

.newsletter-status.success {
  color: #1a7f37; /* green */
}

.newsletter-status.error {
  color: #c0362c; /* red */
}

/* Contact */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 980px){
  .contact-grid{ grid-template-columns: 1.15fr .85fr; }
}

.contact-card{ padding: 16px 16px; }
.contact-aside{ padding: 16px 16px; display: grid; gap: 12px; }

.form{ display: grid; gap: 12px; margin-top: 10px; }

.label{
  display: block;
  font-weight: 900;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

input, select, textarea{
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  outline: none;
}

textarea{ resize: vertical; }

input:focus, select:focus, textarea:focus{
  box-shadow: var(--focus);
  border-color: rgba(10,146,134,.40);
}

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

.aside-block{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding: 14px 14px;
}
.aside-title{ font-weight: 900; font-size: 16px; margin: 6px 0 8px; }

.inline-link{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 20px 0 30px;
  margin-top: 10px;
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-title{ font-weight: 900; }
