/*
Theme Name: AI Studio Cyberpunk
Theme URI: https://brand-vision.local
Author: Brand Vision
Description: Nowoczesna strona główna AI Studio w stylu cyberpunk – neon, ciemne tło, futurystyczna typografia.
Version: 1.9
License: GNU General Public License v2 or later
Text Domain: ai-studio-cyberpunk
*/

/* ===== CSS Variables ===== */
:root {
  --bg-dark: #0a0a0f;
  --bg-card: #0d0d14;
  --neon-cyan: #00f5ff;
  --neon-magenta: #ff00aa;
  --neon-purple: #8b5cf6;
  --neon-green: #00ff88;
  --text-primary: #cbcbcb;
  --text-muted: #cbcbcb;
  --glow-cyan: 0 0 20px rgba(0, 245, 255, 0.5);
  --glow-magenta: 0 0 20px rgba(255, 0, 170, 0.4);
  --font-display: 'Orbitron', 'Share Tech Mono', monospace;
  --font-body: 'Lexend', 'Rajdhani', sans-serif;
  --gradient-energy: linear-gradient(135deg, #00d4ff 0%, #00f5ff 25%, #8b5cf6 75%, #a855f7 100%);
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto; /* jeden pasek przewijania – tylko html */
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100%;
  overflow: visible; /* bez własnego scrolla – przewija się cała strona w html */
  max-width: 100vw;
  position: relative;
}

/* ===== Subtle noise overlay ===== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9;
}

/* ===== Animated gradient bg (niebieski → fiolet) ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0f 0%, #0d0a18 20%, #0a0f1a 40%, #0d0a14 60%, #0a0a12 80%, #0a0a0f 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  z-index: -2;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ===== Grid overlay ===== */
.ai-studio-wrap::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  animation: grid-pulse 4s ease-in-out infinite;
}

@keyframes grid-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ===== Scanlines ===== */
.ai-studio-wrap::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 4px
  );
  pointer-events: none;
  z-index: 10;
  opacity: 0.35;
}

/* ===== Floating orbs (decor) ===== */
.ai-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.08) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: orb-float 20s ease-in-out infinite;
  z-index: 0;
}

.ai-hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 170, 0.06) 0%, transparent 70%);
  bottom: -50px;
  right: -50px;
  animation: orb-float 18s ease-in-out infinite reverse;
  animation-delay: -5s;
  z-index: 0;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ===== Hero: animacja przepływu danych ===== */
.ai-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
}

.ai-data-flow {
  position: absolute;
  left: -50%;
  top: -50%;
  right: -50%;
  bottom: -50%;
  width: 200%;
  height: 200%;
  background-image:
    linear-gradient(90deg, transparent 48%, rgba(0, 245, 255, 0.12) 50%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(139, 92, 246, 0.08) 50%, transparent 52%);
  background-size: 60px 60px;
  animation: data-flow 12s linear infinite;
}

.ai-neural-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    105deg,
    transparent,
    transparent 80px,
    rgba(0, 245, 255, 0.06) 80px,
    rgba(0, 245, 255, 0.06) 81px
  );
  animation: neural-move 8s ease-in-out infinite;
}

@keyframes data-flow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

@keyframes neural-move {
  0%, 100% { opacity: 0.6; transform: scale(1) translateX(0); }
  50% { opacity: 1; transform: scale(1.03) translateX(10px); }
}

/* Biegnące kropki (przepływ danych) */
.ai-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ai-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: dot-flow 6s linear infinite;
}

.ai-dot:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.ai-dot:nth-child(2) { left: 30%; top: 80%; animation-delay: -1.5s; }
.ai-dot:nth-child(3) { left: 50%; top: 40%; animation-delay: -3s; }
.ai-dot:nth-child(4) { left: 70%; top: 60%; animation-delay: -0.5s; }
.ai-dot:nth-child(5) { left: 85%; top: 25%; animation-delay: -2s; }
.ai-dot:nth-child(6) { left: 15%; top: 70%; animation-delay: -4s; }
.ai-dot:nth-child(7) { left: 90%; top: 85%; animation-delay: -1s; }
.ai-dot:nth-child(8) { left: 40%; top: 15%; animation-delay: -2.5s; }
.ai-dot:nth-child(9) { left: 60%; top: 90%; animation-delay: -3.5s; }

@keyframes dot-flow {
  0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  25% { transform: translate(30px, -40px) scale(1.2); opacity: 0.9; }
  50% { transform: translate(-20px, 30px) scale(0.9); opacity: 0.6; }
  75% { transform: translate(40px, 20px) scale(1.1); opacity: 0.8; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
}

/* Świecące linie przepływu */
.ai-flow-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.4), transparent);
  box-shadow: 0 0 15px var(--neon-cyan);
  animation: flow-line 4s ease-in-out infinite;
}

.ai-flow-line--1 { top: 25%; left: 0; width: 40%; animation-delay: 0s; }
.ai-flow-line--2 { top: 55%; right: 0; width: 35%; transform: scaleX(-1); animation-delay: 1.3s; }
.ai-flow-line--3 { bottom: 30%; left: 20%; width: 50%; animation-delay: 2.6s; }

@keyframes flow-line {
  0%, 100% { opacity: 0.2; transform: translateX(-30px); }
  50% { opacity: 0.9; transform: translateX(30px); }
}

.ai-flow-line--2 { animation-name: flow-line-rev; }
@keyframes flow-line-rev {
  0%, 100% { opacity: 0.2; transform: scaleX(-1) translateX(-30px); }
  50% { opacity: 0.9; transform: scaleX(-1) translateX(30px); }
}

/* ===== Hero ===== */
.ai-studio-wrap {
  position: relative;
  min-height: 100vh;
  overflow: visible;
  max-width: 100vw;
  width: 100%;
}

/* ===== Nawigacja ===== */
.ai-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(0, 245, 255, 0.15);
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(8px);
}

.ai-logo {
  font-family: var(--font-display);
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.3s, text-shadow 0.3s;
}

.ai-logo:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 15px rgba(0, 245, 255, 0.6);
}

.ai-nav {
  display: flex;
  gap: 1.5rem;
}

.ai-nav a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

.ai-nav a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.4);
}

.ai-hero {
  position: relative;
  height: 550px;
  min-height: 550px;
  max-height: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  z-index: 2;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

/* Mega logo hero – glitch */
.ai-hero-logo-wrap {
  text-align: center;
  margin-bottom: 1.5rem;
  animation: hero-in 1s ease-out both;
}

.ai-hero-glitch {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 11vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.25em;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 245, 255, 0.6), 0 0 40px rgba(139, 92, 246, 0.4);
  margin: 0 0 0.5rem;
}

.ai-hero-glitch::before,
.ai-hero-glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.ai-hero-glitch::before {
  color: #00f5ff;
  z-index: -1;
  animation: ai-glitch-1 2.5s infinite;
  text-shadow: 2px 0 #00f5ff, -2px 0 #ff00aa;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  transform: translate(-3px, 2px);
}

.ai-hero-glitch::after {
  color: #ff00aa;
  z-index: -2;
  animation: ai-glitch-2 2.5s infinite 0.1s;
  text-shadow: -2px 0 #00f5ff, 2px 0 #ff00aa;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  transform: translate(3px, -2px);
}

@keyframes ai-glitch-1 {
  0%, 90%, 100% { transform: translate(-3px, 2px); opacity: 0.8; }
  92% { transform: translate(4px, -3px); opacity: 1; }
  94% { transform: translate(-2px, 4px); opacity: 1; }
  96% { transform: translate(3px, 2px); opacity: 0.8; }
  98% { transform: translate(-4px, -2px); opacity: 1; }
}

@keyframes ai-glitch-2 {
  0%, 90%, 100% { transform: translate(3px, -2px); opacity: 0.8; }
  92% { transform: translate(-4px, 3px); opacity: 1; }
  94% { transform: translate(2px, -4px); opacity: 1; }
  96% { transform: translate(-3px, -2px); opacity: 0.8; }
  98% { transform: translate(4px, 2px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ai-hero-glitch::before,
  .ai-hero-glitch::after {
    animation: none;
    opacity: 0.6;
  }
}

.ai-hero-main-title {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin: 0.75rem 0 0.5rem;
  opacity: 0.95;
  animation: hero-in 1s ease-out 0.1s both;
  text-align: center;
  line-height: 1.4;
}

.ai-hero-powered {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 1.8vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #cbcbcb;
  margin: 0 0 1.25rem;
  opacity: 0.9;
  animation: hero-in 1s ease-out 0.15s both;
}

.ai-hero-powered-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.ai-hero-powered-link:hover {
  color: inherit;
}

@keyframes pulse-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.1); }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-hero-tagline {
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  color: #cbcbcb;
  max-width: 640px;
  margin-bottom: 2.5rem;
  letter-spacing: 0.03em;
  line-height: 1.7;
  animation: hero-in 1s ease-out 0.2s both;
}

.ai-hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: hero-in 1s ease-out 0.4s both;
}

.ai-btn {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  text-decoration: none;
  border: 2px solid;
  transition: all 0.35s ease;
  cursor: pointer;
  transform: translateY(0);
}

.ai-btn:hover {
  transform: translateY(-2px);
}

.ai-btn-primary {
  background: var(--neon-cyan);
  color: var(--bg-dark);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

.ai-btn-primary:hover {
  background: transparent;
  color: var(--neon-cyan);
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.7), 0 0 60px rgba(0, 245, 255, 0.3);
}

.ai-btn-outline {
  background: transparent;
  color: var(--neon-magenta);
  border-color: var(--neon-magenta);
}

.ai-btn-outline:hover {
  background: var(--neon-magenta);
  color: var(--bg-dark);
  box-shadow: var(--glow-magenta), 0 0 40px rgba(255, 0, 170, 0.3);
}

/* ===== Features strip ===== */
.ai-features {
  position: relative;
  padding: 4rem 1.5rem;
  z-index: 2;
  max-width: 100%;
  box-sizing: border-box;
}

.ai-features-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  text-align: center;
  margin-bottom: 1.75rem;
  position: relative;
  animation: hero-in 0.8s ease-out both;
}

.ai-features-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  margin: 0.75rem auto 0;
  transform-origin: center;
  box-shadow: 0 0 12px var(--neon-cyan), 0 0 20px rgba(168, 85, 247, 0.4);
  transform: scaleX(0);
  opacity: 0;
  animation: underline-in 0.6s ease-out 0.4s forwards;
}

.ai-features-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  box-sizing: border-box;
}

.ai-feature-card {
  position: relative;
  background: rgba(13, 13, 20, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 245, 255, 0.2);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  overflow: hidden;
  animation: hero-in 0.8s ease-out both;
}

.ai-feature-card:nth-child(1) { animation-delay: 0.05s; }
.ai-feature-card:nth-child(2) { animation-delay: 0.1s; }
.ai-feature-card:nth-child(3) { animation-delay: 0.15s; }
.ai-feature-card:nth-child(4) { animation-delay: 0.2s; }
.ai-feature-card:nth-child(5) { animation-delay: 0.25s; }
.ai-feature-card:nth-child(6) { animation-delay: 0.3s; }
.ai-feature-card:nth-child(7) { animation-delay: 0.35s; }
.ai-feature-card:nth-child(8) { animation-delay: 0.4s; }

.ai-feature-card::before,
.ai-feature-card::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--neon-cyan);
  border-style: solid;
  border-width: 0;
  transition: all 0.3s ease;
}

.ai-feature-card::before {
  top: 12px;
  left: 12px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.ai-feature-card::after {
  bottom: 12px;
  right: 12px;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

.ai-feature-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 35px rgba(0, 245, 255, 0.2), inset 0 0 60px rgba(0, 245, 255, 0.03);
  transform: translateY(-5px);
}

.ai-feature-card:hover::before,
.ai-feature-card:hover::after {
  width: 30px;
  height: 30px;
  border-color: var(--neon-magenta);
}

.ai-feature-icon {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.5));
  transition: transform 0.3s ease;
}

.ai-feature-card:hover .ai-feature-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.8));
}

.ai-feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.ai-feature-card p {
  font-size: 0.95rem;
  color: #cbcbcb;
  line-height: 1.6;
}

/* ===== Scroll reveal ===== */
.ai-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.ai-reveal.ai-reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Sekcje ogólne ===== */
.ai-section {
  position: relative;
  padding: 4rem 1.5rem;
  z-index: 2;
  max-width: 100%;
  box-sizing: border-box;
}

.ai-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ai-section-inner--narrow {
  max-width: 1100px;
}

.ai-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.ai-section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.ai-section-subtitle--spaced {
  margin-top: 2rem;
}

.ai-section-title--h3 {
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  margin-top: 3rem;
}

.ai-section-title--center {
  text-align: center;
}

@keyframes underline-in {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.ai-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  margin-top: 0.75rem;
  margin-left: auto;
  margin-right: auto;
  transform-origin: center;
  box-shadow: 0 0 12px var(--neon-cyan), 0 0 20px rgba(168, 85, 247, 0.4);
  transform: scaleX(0);
  opacity: 0;
}

.ai-section-title:not(.ai-reveal)::after {
  animation: underline-in 0.6s ease-out 0.25s forwards;
}

.ai-section-title.ai-reveal::after {
  animation: none;
}

.ai-section-title.ai-reveal-visible::after {
  animation: underline-in 0.6s ease-out forwards;
}

.ai-section-title--center::after {
  margin-left: auto;
  margin-right: auto;
}

.ai-section-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #cbcbcb;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.ai-section-text--center {
  text-align: center;
}

/* ===== Rozwiązania na miarę ===== */
.ai-section-custom .ai-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .ai-section-custom .ai-section-inner {
    grid-template-columns: 1fr;
  }
  .ai-section-custom .ai-section-visual { order: -1; }
}

.ai-mini-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.ai-mini-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(13, 13, 20, 0.85);
  border: 1px solid rgba(0, 245, 255, 0.2);
  transition: all 0.35s ease;
}

.ai-mini-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.15);
  transform: translateY(-2px);
}

.ai-mini-card i {
  font-size: 1.25rem;
  color: var(--neon-cyan);
  flex-shrink: 0;
}

.ai-mini-card span {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.ai-section-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-neural-viz {
  width: 100%;
  max-width: 400px;
}

.ai-neural-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.15));
}

/* ===== Twoja Firma z nami – wykres wzrostu ===== */
.ai-section-growth .ai-section-inner {
  max-width: 1100px;
}

.ai-growth-chart-wrap {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.ai-growth-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.2));
}

.ai-growth-fill {
  opacity: 0;
  transition: opacity 0.8s ease-out 0.8s;
}

.ai-growth-chart-wrap.growth-animated .ai-growth-fill {
  opacity: 1;
}

.ai-growth-line {
  stroke-dasharray: 920;
  stroke-dashoffset: 920;
  transition: stroke-dashoffset 1.5s ease-out;
}

.ai-growth-chart-wrap.growth-animated .ai-growth-line {
  stroke-dashoffset: 0;
}

.ai-growth-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
  text-align: center;
}

.ai-growth-step {
  font-family: 'Lexend', var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.ai-growth-chart-wrap.growth-animated .ai-growth-step:nth-child(1) { transition-delay: 1.2s; opacity: 1; transform: translateY(0); }
.ai-growth-chart-wrap.growth-animated .ai-growth-step:nth-child(2) { transition-delay: 1.4s; opacity: 1; transform: translateY(0); }
.ai-growth-chart-wrap.growth-animated .ai-growth-step:nth-child(3) { transition-delay: 1.6s; opacity: 1; transform: translateY(0); }
.ai-growth-chart-wrap.growth-animated .ai-growth-step:nth-child(4) { transition-delay: 1.8s; opacity: 1; transform: translateY(0); }

/* Linie połączeń – biegnąca kreska (przepływ danych) */
.ai-neural-line {
  fill: none;
  stroke: url(#neuralGrad);
  stroke-width: 1.5;
  stroke-dasharray: 12 8;
  stroke-linecap: round;
  opacity: 0.85;
  animation: neural-line-flow 1.2s linear infinite;
}

@keyframes neural-line-flow {
  to { stroke-dashoffset: -20; }
}

/* Węzły zewnętrzne – puls + lekki blask */
.ai-neural-node {
  fill: none;
  stroke: url(#neuralGrad);
  stroke-width: 2;
  opacity: 0.9;
  animation: neural-node-pulse 2.5s ease-in-out infinite;
  transform-origin: center;
}

.ai-neural-node--outer:hover {
  filter: url(#neuralGlow);
}

@keyframes neural-node-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); stroke-width: 2; }
  50% { opacity: 1; transform: scale(1.12); stroke-width: 2.5; }
}

/* Rdzeń centralny – mocny puls */
.ai-neural-core {
  fill: none;
  stroke: url(#neuralGrad);
  stroke-width: 2.5;
  opacity: 0.95;
  animation: neural-core-pulse 2s ease-in-out infinite;
  transform-origin: center;
}

.ai-neural-core-inner {
  fill: rgba(0, 245, 255, 0.06);
  stroke: rgba(0, 245, 255, 0.4);
  stroke-width: 1;
  animation: neural-core-inner 2s ease-in-out infinite;
  animation-delay: 0.5s;
  transform-origin: center;
}

@keyframes neural-core-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); stroke-width: 2.5; }
  50% { opacity: 1; transform: scale(1.05); stroke-width: 3; }
}

@keyframes neural-core-inner {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}

/* ===== Analizowanie danych – tło jak reszta strony, bez dodatkowych elementów ===== */
.ai-section-data {
  background: transparent;
}

.ai-dashboard-bg {
  display: none;
}

.ai-section-data .ai-section-inner {
  position: relative;
  z-index: 1;
}

.ai-benefits-list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.ai-benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--text-primary);
  padding: 0.6rem 1.2rem;
  background: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 2px;
}

.ai-benefits-list li i {
  color: var(--neon-green);
  font-size: 0.9rem;
}

/* ===== O mnie + Czemu my? ===== */
.ai-section-about .ai-section-text {
  margin-bottom: 0;
}
.ai-section-about .ai-section-text-o-mnie-wrap {
  margin-bottom: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  text-align: center;
}
.ai-section-about .ai-section-text-o-mnie-wrap .ai-section-text {
  margin-bottom: 1.25rem;
}
.ai-section-about .ai-section-text-o-mnie-wrap .ai-section-text:last-child {
  margin-bottom: 0;
}
.ai-section-about .ai-section-title--spaced {
  margin-top: 6.5rem;
}

.ai-why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.ai-why-card {
  padding: 1.75rem 1.5rem;
  background: rgba(13, 13, 20, 0.9);
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-left: 4px solid var(--neon-cyan);
  transition: box-shadow 0.35s ease;
  box-sizing: border-box;
}

.ai-why-card:hover {
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.15);
}

.ai-why-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--neon-cyan);
  margin-bottom: 0.5rem;
}

.ai-why-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Footer ===== */
/* ===== Formularz kontaktowy – Matrix ===== */
.ai-contact-footer {
  position: relative;
  padding: 5rem 2rem;
  z-index: 2;
  max-width: 100%;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 15, 0, 0.3) 100%);
  border-top: 1px solid rgba(0, 255, 65, 0.3);
}

.ai-contact-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.ai-contact-title {
  font-family: var(--font-display), var(--font-body);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  color: #00ff41;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
  margin-bottom: 2rem;
}

.ai-contact-msg {
  font-family: var(--font-body);
  text-align: center;
  padding: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  border-radius: 2px;
}

.ai-contact-msg--ok {
  color: #00ff41;
  border: 1px solid rgba(0, 255, 65, 0.5);
  background: rgba(0, 255, 65, 0.08);
}

.ai-contact-msg--err {
  color: #ff4444;
  border: 1px solid rgba(255, 68, 68, 0.5);
  background: rgba(255, 68, 68, 0.08);
}

.ai-matrix-form {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem 1.5rem;
  align-items: flex-end;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ai-matrix-label {
  display: block;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.ai-matrix-form .ai-matrix-submit {
  flex: 0 0 auto;
  margin-top: 0;
  margin-left: auto;
}

.ai-matrix-label-text {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(0, 255, 65, 0.9);
  margin-bottom: 0.4rem;
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
}

.ai-matrix-input {
  width: 100%;
  max-width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #00ff41;
  background: rgba(0, 10, 0, 0.8);
  border: 1px solid rgba(0, 255, 65, 0.4);
  border-radius: 0;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.ai-matrix-input::placeholder {
  color: rgba(0, 255, 65, 0.35);
}

.ai-matrix-input:hover {
  border-color: rgba(0, 255, 65, 0.6);
}

.ai-matrix-input:focus {
  outline: none;
  border-color: #00ff41;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.4), inset 0 0 20px rgba(0, 255, 65, 0.05);
}

/* Stylowanie dla autouzupełniania Google/Chrome */
.ai-matrix-input:-webkit-autofill,
.ai-matrix-input:-webkit-autofill:hover,
.ai-matrix-input:-webkit-autofill:focus,
.ai-matrix-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px rgba(0, 10, 0, 0.8) inset !important;
  -webkit-text-fill-color: #00ff41 !important;
  background-color: rgba(0, 10, 0, 0.8) !important;
  border-color: rgba(0, 255, 65, 0.4) !important;
  transition: background-color 5000s ease-in-out 0s;
}

.ai-matrix-input::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.7;
}

.ai-matrix-submit {
  margin-top: 0.5rem;
  padding: 1rem 2rem;
  font-family: 'Lexend', var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #000;
  background: #00ff41;
  border: 1px solid #00ff41;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

.ai-matrix-submit:hover {
  background: transparent;
  color: #00ff41;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.7);
}

@media (max-width: 640px) {
  .ai-matrix-form {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  .ai-matrix-label {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .ai-matrix-form .ai-matrix-submit {
    margin-top: 0.5rem;
    margin-left: 0;
    width: 100%;
  }
  .ai-contact-footer {
    overflow-x: hidden;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  .ai-contact-inner {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
}

/* Formularz kontaktowy – padding na telefonach (również 641–768px viewport) */
@media (max-width: 768px) {
  .ai-contact-footer {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  .ai-contact-inner {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  .ai-matrix-form {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
}

/* ===== Footer ===== */
.ai-footer {
  position: relative;
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(0, 245, 255, 0.15);
  z-index: 1;
}

.ai-footer p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ai-footer a {
  color: var(--neon-cyan);
  text-decoration: none;
}

.ai-footer a:hover {
  text-decoration: underline;
}

/* ===== Strona główna – pasek boczny (sekcje) po prawej ===== */
.ai-fp-wrap {
  position: relative;
}

.ai-fp-spine {
  position: fixed;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  z-index: 5;
  pointer-events: none;
}

.ai-fp-spine-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 217, 255, 0.3) 15%,
    rgba(0, 217, 255, 0.6) 50%,
    rgba(139, 92, 246, 0.4) 85%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.3);
}

.ai-fp-section {
  position: relative;
}

.ai-fp-section::after {
  content: '';
  position: absolute;
  left: 1.5rem;
  right: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.2);
  border: 2px solid #00d9ff;
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
  z-index: 6;
  pointer-events: none;
}

.ai-hero.ai-fp-section::after {
  top: 35%;
}

.ai-fp-section-badge {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  left: auto;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(0, 217, 255, 0.8);
  z-index: 6;
  pointer-events: none;
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.ai-fp-section-badge--hero {
  top: 5rem;
}

/* ===== Strona główna – pasek postępu przewinięcia (na dole) ===== */
.ai-read-progress {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(10, 10, 15, 0.9);
  z-index: 20;
  pointer-events: none;
}

.ai-read-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00d9ff, #8b5cf6);
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.5);
  transition: width 0.1s ease-out;
}

.ai-read-progress-label {
  position: fixed;
  bottom: 10px;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(0, 217, 255, 0.9);
  z-index: 21;
  pointer-events: none;
  text-shadow: 0 0 8px rgba(0, 217, 255, 0.4);
}

/* ===== Szablon podstron – pasek lewo, cyfry prawo, hero matrix, dalej kratka ===== */
.szablon-wrap {
  position: relative;
  z-index: 2;
}

.szablon-spine {
  position: fixed;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  z-index: 5;
  pointer-events: none;
}

.szablon-spine-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 217, 255, 0.3) 15%,
    rgba(0, 217, 255, 0.6) 50%,
    rgba(139, 92, 246, 0.4) 85%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.3);
}

.szablon-section {
  position: relative;
}

.szablon-section::after {
  content: '';
  position: absolute;
  left: 1.5rem;
  right: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.2);
  border: 2px solid #00d9ff;
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
  z-index: 6;
  pointer-events: none;
}

.szablon-hero.szablon-section::after {
  top: 35%;
}

.szablon-section-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(0, 217, 255, 0.8);
  z-index: 6;
  pointer-events: none;
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.szablon-section-badge--hero {
  top: 5rem;
}

.szablon-fullscreen {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  position: relative;
}

.szablon-hero {
  flex-direction: column;
  background: #0a0e1a;
}

.szablon-matrix-rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  z-index: 0;
}

.szablon-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.szablon-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #00d9ff;
  text-shadow: 0 0 30px rgba(0, 217, 255, 0.6);
  margin-bottom: 0.75rem;
}

.szablon-hero-desc {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.szablon-content {
  padding: 3rem 1.5rem;
  min-height: 40vh;
}

.szablon-section-inner {
  max-width: 800px;
  margin: 0 auto;
}

.szablon-placeholder {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 1rem;
}

/* ===== Polityka prywatności – strona tekstowa (matrix) ===== */
.pp-wrap {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem 4rem;
  min-height: 60vh;
}

.pp-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.pp-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--text-primary);
}

.pp-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.pp-title-accent {
  display: block;
  font-size: 0.85em;
  color: var(--neon-cyan);
  font-weight: 500;
  margin-top: 0.25rem;
}

.pp-lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}

.pp-section {
  margin-bottom: 2.5rem;
}

.pp-h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  font-weight: 600;
}

.pp-section p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.pp-section p:last-of-type {
  margin-bottom: 0;
}

.pp-list {
  list-style: none;
  margin: 0.75rem 0 1.25rem;
  padding-left: 0;
}

.pp-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.pp-list li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--neon-cyan);
  font-family: var(--font-display);
  opacity: 0.8;
}

.pp-list--compact li {
  margin-bottom: 0.35rem;
}

.pp-inner a {
  color: var(--neon-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 245, 255, 0.3);
}

.pp-inner a:hover {
  border-bottom-color: var(--neon-cyan);
}

.pp-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

.pp-back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 245, 255, 0.15);
}

.pp-back-link {
  color: var(--neon-cyan);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.pp-back-link:hover {
  text-decoration: underline;
}

/* ===== WP admin bar – hero bez pełnego ekranu, brak offsetu ===== */

/* ========== O MNIE – podstrona ========== */
.omnie-wrap {
  position: relative;
  z-index: 2;
}

/* Pionowa linia łącząca sekcje */
.omnie-spine {
  position: fixed;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  z-index: 1;
  pointer-events: none;
}

.omnie-spine-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 217, 255, 0.3) 15%,
    rgba(0, 217, 255, 0.6) 50%,
    rgba(139, 92, 246, 0.4) 85%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.3);
}

/* Węzeł przy każdej sekcji (na linii) */
.omnie-section::after {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.2);
  border: 2px solid #00d9ff;
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
  z-index: 2;
  pointer-events: none;
}

.omnie-section.omnie-hero::after {
  top: 30%;
}

/* Etykieta sekcji w stylu terminala */
.omnie-section-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(0, 217, 255, 0.7);
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.omnie-section-badge--hero {
  top: 5rem;
  right: 2rem;
}

/* Delikatna kreska między sekcjami */
.omnie-section {
  position: relative;
  border-bottom: 1px solid transparent;
  background-image: linear-gradient(180deg, transparent 98%, rgba(0, 217, 255, 0.15) 99%, transparent 100%);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 80% 1px;
}

.omnie-section:last-of-type {
  background-image: none;
}

.omnie-fullscreen {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  position: relative;
}

/* Kolejne sekcje (bez hero) – mniejsze odstępy między sobą */
.omnie-section.omnie-fullscreen:not(.omnie-hero) {
  min-height: 57vh;
  padding: 2rem 1.5rem;
}

/* Hero O mnie */
.omnie-hero {
  flex-direction: column;
  background: #0a0e1a;
}

.omnie-matrix-rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.28;
  z-index: 0;
}

.omnie-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.omnie-photo-wrap {
  margin-bottom: 2rem;
}

.omnie-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto;
  border: 3px solid rgba(0, 217, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  box-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
}

.omnie-photo-initials {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: #00d9ff;
  letter-spacing: 0.1em;
}

.omnie-glitch {
  animation: omnie-glitch 4s ease-in-out infinite;
}

@keyframes omnie-glitch {
  0%, 90%, 100% { filter: none; }
  92% { filter: hue-rotate(90deg); transform: translate(-2px, 1px); }
  94% { filter: hue-rotate(-90deg); transform: translate(2px, -1px); }
  96% { filter: none; }
}

.omnie-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #00d9ff;
  text-shadow: 0 0 30px rgba(0, 217, 255, 0.6);
  margin-bottom: 0.75rem;
  min-height: 1.2em;
}

.omnie-typing-cursor {
  opacity: 1;
}

.omnie-blink {
  animation: omnie-blink 0.8s step-end infinite;
}

@keyframes omnie-blink {
  50% { opacity: 0; }
}

.omnie-h2 {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: omnie-fade-in 1s ease-out 2.5s forwards;
}

.omnie-fade-in {
  opacity: 0;
  animation: omnie-fade-in 1s ease-out 2.8s forwards;
}

@keyframes omnie-fade-in {
  to { opacity: 1; }
}

.omnie-hero-meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
  letter-spacing: 0.1em;
}

.omnie-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  padding: 0.4rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(0, 217, 255, 0.9);
  border: 1px solid rgba(0, 217, 255, 0.4);
  border-radius: 2px;
  background: rgba(0, 217, 255, 0.06);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
  opacity: 0;
  animation: omnie-fade-in 1s ease-out 3.2s forwards;
}

.omnie-google-badge-icon {
  color: #00d9ff;
  font-size: 0.6rem;
}

/* Bio + Timeline */
.omnie-bio {
  background: rgba(10, 14, 26, 0.95);
}

.omnie-section-inner {
  max-width: 800px;
  margin: 0 auto;
}

.omnie-section-head {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: #00d9ff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.08em;
  text-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
}

.omnie-bio-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.omnie-timeline {
  position: relative;
  padding-left: 2rem;
}

.omnie-timeline-line {
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(0, 217, 255, 0.3), transparent);
  border-radius: 2px;
}

.omnie-timeline-item {
  position: relative;
  padding-bottom: 1.25rem;
  opacity: 0.4;
  transform: translateX(-10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.omnie-timeline-item:last-child {
  padding-bottom: 0;
}

.omnie-timeline-item.omnie-timeline-visible {
  opacity: 1;
  transform: translateX(0);
}

.omnie-timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.4);
  border: 2px solid #00d9ff;
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
  transition: box-shadow 0.4s, transform 0.4s;
}

.omnie-timeline-item.omnie-timeline-visible .omnie-timeline-dot {
  box-shadow: 0 0 25px rgba(0, 217, 255, 0.9);
  transform: scale(1.2);
}

.omnie-timeline-label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
}

.omnie-timeline-item::before {
  content: attr(data-year);
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: #00d9ff;
  margin-bottom: 0.25rem;
}

/* Skills grid */
.omnie-skills {
  background: rgba(10, 14, 26, 0.9);
}

.omnie-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.omnie-skill-card {
  position: relative;
  background: rgba(13, 13, 20, 0.9);
  border: 1px solid rgba(0, 217, 255, 0.25);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  overflow: hidden;
}

.omnie-skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 217, 255, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.omnie-skill-card:hover {
  border-color: #00d9ff;
  box-shadow: 0 0 35px rgba(0, 217, 255, 0.25);
  transform: translateY(-6px);
}

.omnie-skill-card:hover::before {
  opacity: 1;
}

.omnie-skill-icon {
  font-size: 2.5rem;
  color: #00d9ff;
  margin-bottom: 1rem;
  transition: transform 0.4s, filter 0.4s;
}

.omnie-skill-card:hover .omnie-skill-icon {
  transform: scale(1.15);
  filter: drop-shadow(0 0 12px rgba(0, 217, 255, 0.8));
}

.omnie-skill-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Opinie – styl terminala / logów, 3 w rzędzie, przewijanie */
.omnie-reviews {
  background: rgba(10, 14, 26, 0.95);
}

.omnie-reviews-meta {
  font-family: 'Lexend', var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  letter-spacing: 0.05em;
}

.omnie-reviews-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  margin: 0 auto;
  max-width: 1000px;
  -webkit-overflow-scrolling: touch;
}

.omnie-reviews-grid::-webkit-scrollbar {
  height: 8px;
}

.omnie-reviews-grid::-webkit-scrollbar-track {
  background: rgba(0, 217, 255, 0.08);
  border-radius: 4px;
}

.omnie-reviews-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 217, 255, 0.35);
  border-radius: 4px;
}

.omnie-reviews-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 217, 255, 0.5);
}

.omnie-review-card {
  flex: 0 0 calc(33.333% - 0.85rem);
  min-width: 280px;
  scroll-snap-align: start;
  position: relative;
  padding: 1.25rem 1.35rem;
  background: rgba(13, 13, 20, 0.9);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-left: 3px solid #00d9ff;
  font-family: 'Lexend', var(--font-body);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.omnie-review-card::before {
  content: '>';
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: rgba(0, 217, 255, 0.5);
}

.omnie-review-card:hover {
  border-left-color: rgba(0, 217, 255, 0.8);
  box-shadow: 0 0 25px rgba(0, 217, 255, 0.15);
}

.omnie-review-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
}

.omnie-review-author {
  font-family: 'Lexend', var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: #00d9ff;
  letter-spacing: 0.04em;
}

.omnie-review-stars {
  font-size: 0.8rem;
  color: rgba(255, 193, 7, 0.95);
  letter-spacing: 0.05em;
}

.omnie-review-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: auto;
}

.omnie-review-text {
  font-family: 'Lexend', var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin: 0;
  padding-left: 0.5rem;
  border-left: 1px solid rgba(0, 217, 255, 0.15);
}

.omnie-review-text cite {
  font-style: normal;
}

/* CTA */
.omnie-cta {
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.98) 0%, #0a0e1a 100%);
}

.omnie-cta-inner {
  text-align: center;
}

.omnie-cta-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.omnie-cta-btn {
  display: inline-block;
  font-family: 'Lexend', var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 1.25rem 2.5rem;
  color: #0a0e1a;
  background: #00d9ff;
  border: 2px solid #00d9ff;
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
}

.omnie-cta-btn:hover {
  background: transparent;
  color: #00d9ff;
  box-shadow: 0 0 50px rgba(0, 217, 255, 0.8);
}

/* ========== Optymalizacja: płynny scroll na mobile (strona główna) ========== */
@media (max-width: 768px) {
  body {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
  .ai-hero {
    padding: 1.5rem 1rem;
  }
  body::before {
    animation: none;
  }
  .ai-studio-wrap::before {
    animation: none;
    opacity: 0.9;
  }
  .ai-studio-wrap::after {
    opacity: 0.2;
  }
  .ai-hero::before,
  .ai-hero::after {
    animation: none;
    opacity: 0.7;
  }
  .ai-hero-bg {
    position: absolute;
    overflow: hidden;
  }
  .ai-data-flow {
    animation: none;
  }
  .ai-neural-lines {
    animation: none;
    opacity: 0.5;
  }
  .ai-dot {
    display: none;
  }
  .ai-flow-line {
    display: none;
  }
  .ai-hero-glitch {
    animation: hero-in 1s ease-out both;
  }
  .ai-feature-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .ai-reveal {
    opacity: 1;
    transform: none;
  }
  .ai-reveal.ai-reveal-visible {
    opacity: 1;
    transform: none;
  }
  .ai-section-title,
  .ai-section-text,
  .ai-mini-card,
  .ai-why-card,
  .ai-benefits-list li {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ========== RWD: Mobile, Tablet, PC, TV ========== */

/* Mobile (do 640px) */
@media (max-width: 640px) {
  .ai-site-header {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .ai-nav { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .ai-hero {
    padding: 1.25rem 1rem;
    max-width: 100vw;
  }
  .ai-hero-glitch { max-width: 100%; letter-spacing: 0.15em; }
  .ai-hero-tagline { max-width: 100%; }
  .ai-features { padding: 1.5rem 1rem; max-width: 100%; }
  .ai-features-title { margin-bottom: 1.5rem; }
  .ai-features-inner { gap: 1.25rem; max-width: 100%; padding: 0 0.5rem; box-sizing: border-box; }
  .ai-feature-card { padding: 1.5rem 1rem; max-width: 100%; box-sizing: border-box; }
  .ai-section { padding: 1.5rem 1rem; max-width: 100%; }
  .ai-section-inner { padding: 0 0.5rem; max-width: 100%; box-sizing: border-box; }
  .ai-section-custom .ai-section-inner { gap: 1.5rem; }
  .ai-growth-chart-wrap { margin-top: 1.5rem; padding: 0 0.25rem; }
  .ai-growth-steps { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin-top: 1.25rem; }
  .ai-growth-step { font-size: 0.8rem; }
  .ai-why-cards { grid-template-columns: 1fr; gap: 1.25rem; }
  .ai-why-card { padding: 1.5rem 1.25rem; }
  .ai-mini-cards { grid-template-columns: 1fr; margin-top: 1.5rem; }
  .ai-contact-footer { padding: 3rem 15px; max-width: 100vw; }
  .ai-contact-inner { max-width: 100%; padding: 0 15px; }
  .omnie-hero-content { padding: 0 0.5rem; }
  .omnie-photo { width: 120px; height: 120px; }
  .omnie-photo-initials { font-size: 2.25rem; }
  .omnie-section-inner { max-width: 100%; }
  .omnie-skills-grid { grid-template-columns: 1fr; gap: 1rem; }
  .omnie-skill-card { padding: 1.25rem 1rem; }
  .omnie-reviews-grid { gap: 1rem; padding-bottom: 0.75rem; }
  .omnie-review-card { flex: 0 0 85%; min-width: 260px; padding: 1rem 1.15rem; }
  .omnie-google-badge { font-size: 0.65rem; padding: 0.35rem 0.7rem; }
  .omnie-timeline { padding-left: 1.5rem; }
  .omnie-timeline-dot { left: -1.5rem; width: 12px; height: 12px; }
  .omnie-spine { left: 0.75rem; }
  .omnie-section::after { left: 0.75rem; width: 10px; height: 10px; }
  .omnie-section-badge { font-size: 0.65rem; right: 1rem; top: 1.5rem; }
  .omnie-section-badge--hero { top: 4rem; }
  .ai-fp-spine { left: 0.75rem; }
  /* Kółka na linii: kompensacja 5px marginesu wrapa, żeby były równo z paskiem */
  .ai-fp-section::after {
    left: 0.75rem;
    width: 10px;
    height: 10px;
    margin-left: -5px;
  }
  .ai-fp-section-badge { font-size: 0.65rem; right: 1rem; left: auto; top: 1.5rem; }
  .ai-fp-section-badge--hero { top: 4rem; }
  .ai-read-progress-label { right: 0.75rem; bottom: 8px; font-size: 0.65rem; }
  .szablon-spine { left: 0.75rem; }
  .szablon-section::after { left: 0.75rem; width: 10px; height: 10px; }
  .szablon-section-badge { font-size: 0.65rem; right: 1rem; top: 1.5rem; }
  .szablon-section-badge--hero { top: 4rem; }
  /* Strona główna mobile – marginesy 5px, żeby pasek po lewej miał miejsce */
  .ai-fp-wrap {
    margin-left: 5px;
    margin-right: 5px;
    max-width: calc(100vw - 10px);
    box-sizing: border-box;
  }
}

/* Tablet (641px - 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
  .ai-site-header { padding: 1rem 1.5rem; }
  .ai-hero { padding: 1.5rem 1.5rem; }
  .ai-features { padding: 3rem 1.5rem; }
  .ai-section { padding: 3rem 1.5rem; }
  .ai-features-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .ai-section-inner { max-width: 100%; }
  .omnie-fullscreen { padding: 1.25rem 1.5rem; min-height: 75vh; }
  .omnie-section.omnie-fullscreen:not(.omnie-hero) { min-height: 60vh; }
  .omnie-skills-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .omnie-review-card { flex: 0 0 calc(50% - 0.65rem); min-width: 280px; }
  .omnie-photo { width: 140px; height: 140px; }
  .omnie-photo-initials { font-size: 2.5rem; }
  .ai-why-cards { grid-template-columns: repeat(2, 1fr); }
}

/* PC (1025px+) – kontenery, czytelność */
@media (min-width: 1025px) {
  .ai-section-inner,
  .ai-features-inner { max-width: 1200px; margin-left: auto; margin-right: auto; }
  .ai-section-inner--narrow { max-width: 1200px; }
  .omnie-section-inner { max-width: 800px; }
  .omnie-skills-grid { max-width: 1000px; }
}

/* TV / duże ekrany (1920px+) */
@media (min-width: 1920px) {
  .ai-studio-wrap::before { background-size: 80px 80px; }
  .ai-hero-glitch { font-size: clamp(2.5rem, 10vw, 5rem); }
  .ai-features-inner,
  .ai-section-inner { max-width: 1300px; }
  .ai-section-inner--narrow { max-width: 1300px; }
  .ai-site-header { padding: 1.25rem 3rem; }
  .omnie-section-inner { max-width: 900px; }
  .omnie-skills-grid { max-width: 1200px; grid-template-columns: repeat(4, 1fr); }
  .omnie-h1 { font-size: clamp(2.2rem, 3vw, 3.5rem); }
  .omnie-fullscreen { min-height: 85vh; padding: 1.5rem 2rem; }
  .omnie-section.omnie-fullscreen:not(.omnie-hero) { min-height: 62vh; }
}

/* Dotyk: większe obszary klikalne na mobile/tablet */
@media (hover: none) and (pointer: coarse) {
  .ai-btn { min-height: 48px; padding: 1rem 1.5rem; }
  .ai-nav a { padding: 0.5rem 0; min-height: 44px; display: inline-flex; align-items: center; }
  .omnie-cta-btn { min-height: 52px; padding: 1.25rem 2rem; }
  .omnie-skill-card { min-height: 120px; }
}
