/*
Theme Name: Automatyzacja finansów
Theme URI: https://flobotics.example/
Author: Flobotics
Author URI: https://flobotics.example/
Description: Landing page motyw dla usług automatyzacji finansów (AP, reconciliation, reporting, custom automation). Zbudowany na bazie designu Finance Automation LP.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: automatyzacja-finansow
Tags: landing-page, one-column, custom-colors, custom-menu, custom-logo, featured-images, sticky-post
*/

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/fonts/Manrope-400.woff2') format('woff2-variations'),
       url('assets/fonts/Manrope-400.woff2') format('woff2');
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #FCFDFF; }
body {
  font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #23252E;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: #2648DC; text-decoration: none; transition: opacity 150ms cubic-bezier(0.2,0.8,0.2,1); }
a:hover { opacity: 0.75; }
::selection { background: #C0DFFF; }

img { max-width: 100%; height: auto; }

/* Keyframes */
@keyframes floatY {
  from { transform: translateY(0); }
  to   { transform: translateY(-12px); }
}
@keyframes beam {
  0%   { transform: translateX(-30%); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(430%); opacity: 0; }
}
@keyframes pulseRing {
  0%   { transform: scale(0.85); opacity: 0.55; }
  70%  { transform: scale(1.6);  opacity: 0; }
  100% { opacity: 0; }
}
@keyframes dashmove { to { stroke-dashoffset: -32; } }

/* Wrapper */
.af-wrap { max-width: 100%; overflow-x: hidden; }

/* Hover states (approximated from the mockup's style-hover attrs) */
.af-cta-primary,
.af-cta-primary-lg,
.af-cta-secondary,
.af-cta-dark { transition: transform 240ms cubic-bezier(0.2,0.8,0.2,1), box-shadow 240ms, border-color 240ms; }
.af-cta-primary:hover,
.af-cta-primary-lg:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(38,72,220,0.32); opacity: 1; }
.af-cta-secondary:hover  { border-color: #23252E; transform: translateY(-2px); opacity: 1; }
.af-cta-dark:hover       { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); opacity: 1; }
.af-feature:hover        { box-shadow: 0 20px 48px rgba(35,37,46,0.12); border-color: #C0DFFF; transform: translateY(-4px); }

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.2,0.8,0.2,1), transform 600ms cubic-bezier(0.2,0.8,0.2,1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header nav */
.af-header {
  position: sticky; top: 0; z-index: 50;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  background: rgba(252,253,255,0.82);
  border-bottom: 1px solid #E7E9EF;
}
.af-header-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.af-nav { display: flex; align-items: center; gap: 32px; }
.af-nav a { color: #474A5C; font-size: 14px; font-weight: 600; }

/* Responsive */
@media (max-width: 900px) {
  .af-nav { display: none; }
  .af-hero-grid,
  .af-cta-grid { grid-template-columns: 1fr !important; }
  .af-cards-3,
  .af-metrics-4 { grid-template-columns: 1fr !important; }
  .af-features-2 { grid-template-columns: 1fr !important; }
  .af-steps-5 { grid-template-columns: repeat(2, 1fr) !important; gap: 32px 16px !important; }
  .af-steps-track { display: none; }
  .af-hero { padding: 56px 0 72px !important; }
  section { padding-top: 72px !important; padding-bottom: 72px !important; }
  .af-cta-box { padding: 56px 28px !important; }
}
@media (max-width: 600px) {
  .af-steps-5 { grid-template-columns: 1fr !important; }
  .af-header-inner { padding: 14px 20px; }
  .af-cta-header { padding: 10px 18px !important; font-size: 13px !important; }
}
