/*  */@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Zen+Dots&family=JetBrains+Mono:wght@400;700&display=swap');

/* ============================================
   PORTFOLIO — INDIGO DEPTH THEME
   Colors: Deep Navy + Warm Purple Palette
   ============================================ */

/* Logo Image Styles */
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(150, 113, 225, 0.5));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.nav-logo-img:hover {
  filter: drop-shadow(0 0 16px rgba(150, 113, 225, 0.9));
  transform: scale(1.08);
}
.footer-logo-img {
  height: 30px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(150, 113, 225, 0.4));
  opacity: 0.85;
}


/* ---------- TOKENS ---------- */
:root {
  /* Core Palette — ciepły fiolet z logo */
  --bg-deepest:    #000014;
  --bg-dark:       #0A0A28;
  --bg-navy:       #14143C;
  --bg-card:       #1E1E50;
  --accent-indigo: #6C5CE7;
  --accent-violet: #9671E1;
  --accent-lilac:  #B8A0E8;
  --accent-pale:   #D1ADF2;
  --accent-red:    #601428;

  /* Typography */
  --text-white:   #FFFFFF;
  --text-primary: #E8E8FF;
  --text-muted:   #A8A8D8;
  --text-dim:     #6868B0;

  /* Borders & Surfaces */
  --border:       rgba(150, 113, 225, 0.15);
  --border-glow:  rgba(108, 92, 231, 0.4);
  --surface-glass: rgba(30, 30, 80, 0.55);

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Zen Dots', cursive;
  --font-mono: 'JetBrains Mono', monospace;

  /* Sizing */
  --max-w: 1120px;
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-deepest);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

/* ---------- BACKGROUND LAYERS ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-glow::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(150, 113, 225, 0.4) 0%, rgba(108, 92, 231, 0.2) 40%, transparent 70%);
  border-radius: 50%;
}
.bg-glow::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(209, 173, 242, 0.3) 0%, rgba(150, 113, 225, 0.15) 40%, transparent 70%);
  border-radius: 50%;
}

/* Gwiezdne tło (Stars/Dust pattern) inspirowane zrzutem z 'Liquid Brokers' */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Ccircle cx='45' cy='75' r='1.5' fill='%23ffffff' opacity='0.7'/%3E%3Ccircle cx='180' cy='120' r='1' fill='%23D1ADF2' opacity='0.4'/%3E%3Ccircle cx='350' cy='40' r='2' fill='%23ffffff' opacity='0.9'/%3E%3Ccircle cx='520' cy='150' r='1.5' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='90' cy='280' r='1' fill='%23E8C8FF' opacity='0.8'/%3E%3Ccircle cx='250' cy='320' r='2.5' fill='%23ffffff' opacity='0.6'/%3E%3Ccircle cx='460' cy='290' r='1' fill='%23ffffff' opacity='0.3'/%3E%3Ccircle cx='80' cy='480' r='2' fill='%23D1ADF2' opacity='0.7'/%3E%3Ccircle cx='310' cy='520' r='1.5' fill='%23ffffff' opacity='0.8'/%3E%3Ccircle cx='550' cy='450' r='1' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='150' cy='550' r='2' fill='%23ffffff' opacity='0.2'/%3E%3Ccircle cx='400' cy='580' r='1' fill='%23ffffff' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 600px 600px;
  opacity: 0.6;
}

/* ---------- UTILITY ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.glass {
  background: var(--surface-glass);
  border: 1px solid rgba(150, 113, 225, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateZ(0);
}

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(150, 113, 225, 0.35);
  color: #D1ADF2;
  background: rgba(150, 113, 225, 0.08);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #D1ADF2;
  text-transform: uppercase;
  display: block;
  margin-bottom: 18px;
  text-shadow: 0 0 16px rgba(209, 173, 242, 0.4);
}

.section-title {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Gradient headline text */
.gradient-text {
  background: linear-gradient(135deg, #E8C8FF 0%, #D1ADF2 25%, #9671E1 50%, #6C5CE7 75%, #B8A0E8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: brightness(1.15);
}

/* Emhance-style pill word highlights */
/* .pill-word remnants removed */

/* ---------- BUTTONS (GALAXY BUTTON) ---------- */
.galaxy-button {
  display: inline-flex;
  position: relative;
  z-index: 10;
  border-radius: 100px;
}
.galaxy-button > button,
.galaxy-button > a {
  all: unset;
  display: flex;
  position: relative;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  line-height: 1;
  background: linear-gradient(135deg, #1E1E50 0%, #2A1E5E 100%);
  color: white;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  border: 1px solid rgba(150, 113, 225, 0.35);
  box-shadow: inset 0 0 12px rgba(150, 113, 225, 0.5), 0 0 20px rgba(150, 113, 225, 0.15);
}
.galaxy-button > button:hover,
.galaxy-button > a:hover {
  transform: scale(1.05);
  box-shadow: inset 0 0 25px rgba(150, 113, 225, 0.9), 0 0 35px rgba(209, 173, 242, 0.5), 0 0 60px rgba(150, 113, 225, 0.2);
}
.galaxy-button .backdrop {
  position: absolute;
  inset: 2px;
  border-radius: 100px;
  background: linear-gradient(135deg, #1E1E50 0%, #2A1E5E 100%);
  z-index: 2;
}
.galaxy-button .spark {
  position: absolute;
  inset: -100%;
  background: conic-gradient(from 0deg, transparent 60%, #D1ADF2 80%, #9671E1 100%);
  animation: spinSpark 2s linear infinite;
  z-index: 1;
}
@keyframes spinSpark {
  100% { transform: rotate(360deg); }
}
.galaxy-button .galaxy__container,
.galaxy-button .galaxy {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  border-radius: 100px;
  opacity: 0;
  transition: opacity 0.3s;
}
.galaxy-button > button:hover .galaxy__container,
.galaxy-button > button:hover .galaxy,
.galaxy-button > a:hover .galaxy__container,
.galaxy-button > a:hover .galaxy {
  opacity: 1;
}
.galaxy-button .star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  filter: drop-shadow(0 0 4px white);
}
.galaxy-button .star--static:nth-child(1) { top: 20%; left: 15%; opacity: 0.8; }
.galaxy-button .star--static:nth-child(2) { top: 70%; left: 80%; opacity: 0.5; }
.galaxy-button .star--static:nth-child(3) { top: 40%; left: 50%; width: 1px; height: 1px; opacity: 0.3; }
.galaxy-button .star--static:nth-child(4) { top: 80%; left: 30%; opacity: 0.6; }

.galaxy-button .galaxy__ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 200%; height: 200%;
  transform-origin: center;
  transform: translate(-50%, -50%);
  animation: spinGalaxy 10s linear infinite;
}
@keyframes spinGalaxy {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.galaxy-button .galaxy__ring .star {
  opacity: 0.6;
}
.galaxy-button .galaxy__ring .star:nth-child(even) { top: 20%; left: 60%; width: 1px; height: 1px; animation: pulseStar 2s infinite; }
.galaxy-button .galaxy__ring .star:nth-child(odd) { top: 80%; left: 30%; animation: pulseStar 3s infinite; }
.galaxy-button .galaxy__ring .star:nth-child(3n) { top: 40%; left: 80%; opacity: 0.3; }
.galaxy-button .galaxy__ring .star:nth-child(4n) { top: 10%; left: 40%; }
.galaxy-button .galaxy__ring .star:nth-child(5n) { top: 90%; left: 70%; width: 1.5px; height: 1.5px; }
@keyframes pulseStar {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.5); }
}

.galaxy-button .text {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
}
.galaxy-button .bodydrop {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(135deg, #9671E1, #D1ADF2);
  filter: blur(24px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s;
}
.galaxy-button:hover .bodydrop {
  opacity: 0.6;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 8px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 64px);
  max-width: 1320px;
  background: rgba(10, 10, 30, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(150, 113, 225, 0.25);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 40px rgba(150, 113, 225, 0.08);
}
.nav-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-white);
  letter-spacing: 0.05em;
}
.nav-logo span { color: var(--accent-indigo); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s, text-shadow 0.3s;
}
.nav-links a:hover {
  color: #D1ADF2;
  text-shadow: 0 0 20px rgba(150, 113, 225, 0.5);
}
.nav-cta {
  background: var(--accent-indigo) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  background: transparent;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/glow1.png') center center / cover no-repeat;
  opacity: 0.7;
  mix-blend-mode: screen; 
  /* Erases edges and creates a smooth fade at the bottom */
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 65%, transparent 95%);
  mask-image: linear-gradient(to bottom, black 0%, black 65%, transparent 95%);
  pointer-events: none;
  z-index: -1;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 20px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center; /* Center the eyebrow text */
  gap: 12px;
  margin-bottom: 28px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #9671E1;
  box-shadow: 0 0 16px #9671E1, 0 0 32px rgba(209, 173, 242, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 9.5rem);
  font-weight: 400;
  line-height: 1.1; 
  letter-spacing: -0.04em;
  opacity: 0.95; 
  margin-bottom: 40px;
  text-transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-line {
  display: block;
  white-space: nowrap;
  position: relative;
  background: linear-gradient(135deg, #E8C8FF, #9671E1, #6C5CE7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-line:last-child::after {
  content: '';
  position: absolute;
  top: 0.18em; /* Adjusted position to be closer to the letter */
  right: 0.08em; 
  width: 0.22em;
  height: 0.08em;
  background-color: #6C5CE7; /* Matched the end color of the 'n' gradient */
  transform: rotate(-15deg);
  border-radius: 2px;
  /* Glow removed as previously requested */
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto 40px auto; /* Centered */
}
.hero-text {
  position: relative;
  z-index: 20; /* High z-index to stay on top of all glow layers */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-top: 80px; /* Adjusted from 140px */
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.hero-stats {
  display: flex;
  justify-content: center; /* Centered stats */
  gap: 60px;
  margin-top: 56px;
  padding-top: 40px;
}
.stat-val {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-white);
  display: block;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero emotion AI image wrap */
.hero-photo-wrap {
  position: relative;
  z-index: 5; /* Lower than text z-index: 20 */
  display: flex;
  justify-content: center; 
  align-items: flex-end; /* Zdjęcie spoczywa na dole kontenera */
  width: 100%;
  max-width: 1400px;
  height: 850px;
  margin-top: -60px;

}
.emotion-ai-wrap {
  position: relative;
  width: 100%;
  height: 100%; /* Wypełnia całe hero-photo-wrap (850px) */
  display: flex;
  justify-content: center;
  align-items: flex-end; /* Postać wyrasta z dołu */
  cursor: default;
  z-index: 10;
  /* Prevent blue selection box during drag interaction */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Base Silhouette Layer */
.emotion-img-base {
  position: relative; /* Now it's part of the standard DOM flow! */
  object-fit: contain;
  object-position: bottom; /* Ważne: przykleja zdjęcie idealnie do dolnej krawędzi tak jak w referencji Dribbble */
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  /* Glowing drop-shadow to emphasize the clean reveal */
  filter: drop-shadow(0 0 20px rgba(150, 113, 225, 0.5));
}

/* Wrapper for clean image to use robust clip-path spotlight */
.emotion-img-clean-wrapper {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  animation: floatImage 8s ease-in-out infinite;
  
  /* Hardcoded fallback spotlight before JS takes over */
  clip-path: circle(0px at 50% 50%);
  -webkit-clip-path: circle(0px at 50% 50%);
  transition: clip-path 0.1s ease-out;
}

/* Clean Hover Layer inside wrapper */
.emotion-img-clean {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom; /* To samo dla czystego zdjęcia */
  /* Glow for the clean image */
  filter: drop-shadow(0 0 30px rgba(150, 113, 225, 0.5));
}

@keyframes glitchLine {
  0% { transform: translateY(0) skewX(0); filter: brightness(0.6) hue-rotate(180deg); }
  2% { transform: translateY(0) skewX(5deg); filter: brightness(1.2) hue-rotate(220deg); }
  4% { transform: translateY(0) skewX(-5deg); filter: brightness(0.6) hue-rotate(180deg); }
  6% { transform: translateY(0) skewX(0); }
  100% { transform: translateY(0) skewX(0); }
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Background Teal Glow for the tech aesthetic */
.teal-glow {
  position: absolute;
  top: 50%;
  left: 55%;
  width: 350px;
  height: 450px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(13, 226, 172, 0.15) 0%, transparent 70%);
  z-index: 1;
  border-radius: 50%;
  filter: blur(40px);
}

/* Bio-Platform 3D Labels (Bio-Computing Style) */
.bio-label {
  position: absolute;
  z-index: 100;
  display: flex;
  align-items: center;
  pointer-events: auto;
  animation: bioLabelFadeIn 1s ease forwards;
  opacity: 0;
}

@keyframes bioLabelFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Left labels: pill then line going right toward center */
.bio-label--left {
  flex-direction: row;
  left: 2% !important;
  width: 48%;
}

/* Right labels: line going left then pill */
.bio-label--right {
  flex-direction: row-reverse;
  right: 2% !important;
  width: 48%;
}

.bio-label-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(10, 10, 30, 0.85);
  border: 1px solid rgba(150, 113, 225, 0.3);
  border-radius: 100px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}

.bio-label-pill:hover {
  transform: scale(1.06);
  border-color: rgba(209, 173, 242, 0.6);
  box-shadow: 0 8px 30px rgba(150, 113, 225, 0.25), inset 0 0 10px rgba(150, 113, 225, 0.1);
}

.bio-label-icon {
  width: 14px;
  height: 14px;
  color: #D1ADF2;
}

/* Prosta linia łącząca pigułkę z bryłą */
.bio-label-connector {
  flex: 1;
  height: 1px;
  background: rgba(209, 173, 242, 0.35);
}

/* Stagger animation delays */
.bio-label:nth-child(2) { animation-delay: 0.15s; }
.bio-label:nth-child(3) { animation-delay: 0.3s; }
.bio-label:nth-child(4) { animation-delay: 0.45s; }
.bio-label:nth-child(5) { animation-delay: 0.6s; }

/* Tag Positioning and Animations */
/* Old tag definitions removed to avoid conflicts */

/* Bottom Profile Section bar with galaxy button */
.emotion-title-bar {
  position: absolute;
  bottom: 0px; /* Aligned to base */
  left: 0;
  width: 100%;
  padding: 50px 0 30px;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to top, var(--bg-deepest) 0%, rgba(10, 10, 40, 0.9) 60%, transparent 100%);
  border-bottom: 2px solid rgba(150, 113, 225, 0.3);
}

.emotion-title-bar .galaxy-button {
  transform: scale(1.1); /* Slightly larger for emphasis */
}

/* Ensure the button text matches displays correctly */
.emotion-title-bar .text {
  font-family: var(--font-display) !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.1em !important;
}

/* ---------- SECTION COMMON ---------- */
section { position: relative; z-index: 1; }

/* ---------- AI PLATFORM SECTION ---------- */
.ai-platform-section { padding: 100px 0; }

/* Główny układ: 3 kolumny */
.ai-layout {
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 0;
}

/* Lewa kolumna: siatka 2x2 kart */
.ai-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  flex: 0 0 auto;
  width: 380px;
}

.ai-card {
  padding: 22px 24px;
  border-radius: 14px;
  background: rgba(20, 12, 50, 0.7);
  border: 1px solid rgba(150, 113, 225, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.ai-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(150, 113, 225, 0.18);
  border-color: rgba(150, 113, 225, 0.4);
}
.ai-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}
.ai-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Środek: SVG linie łączące */
.ai-connectors {
  flex: 1;
  height: 500px;
  min-width: 160px;
}
.ai-connectors svg {
  width: 100%;
  height: 100%;
}

/* Prawa kolumna: obraz */
.ai-image-wrap {
  flex: 0 0 auto;
}
.ai-image-wrap img {
  width: 440px;
  height: auto;
  animation: aiFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(150, 113, 225, 0.5));
}

@keyframes aiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.divider {
  display: none;
}


/* ---------- OFFER SECTION ---------- */
.offer-section { padding: 100px 0; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
  border: 1px solid rgba(150, 113, 225, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 80px rgba(150, 113, 225, 0.12);
}
.offer-card {
  padding: 44px 36px;
  background: linear-gradient(135deg, rgba(30, 30, 80, 0.7), rgba(55, 30, 100, 0.4));
  transition: background 0.3s;
  position: relative;
}
.offer-card:hover {
  background: rgba(150, 113, 225, 0.08);
  border-color: rgba(150, 113, 225, 0.3);
  box-shadow: 0 0 30px rgba(150, 113, 225, 0.08);
}
.offer-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-right: 1px solid var(--border);
  pointer-events: none;
}
.offer-card:last-child::after { display: none; }
.offer-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(150, 113, 225, 0.18);
  border: 1px solid rgba(150, 113, 225, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.offer-icon-wrap svg { width: 24px; height: 24px; color: var(--accent-violet); }
.offer-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.offer-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.offer-list {
  list-style: none;
  margin-top: 18px;
}
.offer-list li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.offer-list li::before {
  content: '→';
  color: var(--accent-indigo);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ---------- PROJECTS SECTION ---------- */
.projects-section { padding: 100px 0; }
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(150, 113, 225, 0.1);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  padding: 32px;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(150, 113, 225, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.project-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(150, 113, 225, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(150, 113, 225, 0.15);
}
.project-card:hover::before { opacity: 1; }

.project-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: -10px; /* Offset for absolute layout feel */
  position: relative;
  z-index: 2;
}
.project-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-white);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.6;
  transform: translate(-10px, 10px) scale(0.9);
}
.project-card:hover .project-arrow {
  opacity: 1;
  background: var(--accent-indigo);
  border-color: var(--accent-indigo);
  transform: translate(0, 0) scale(1);
  box-shadow: 0 0 24px rgba(108, 92, 231, 0.5);
}

.project-img {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 16/10;
  margin: 24px 0;
  z-index: 1;
}
.project-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-img img { transform: scale(1.08); }

.project-content {
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-content {
  transform: translateY(-4px);
}
.project-content h3 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.project-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.card-tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-violet);
  box-shadow: 0 0 8px var(--accent-violet);
}

/* ---------- PROCESS SECTION ---------- */
.process-section { padding: 100px 0; background: var(--bg-dark); }
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step-item {
  padding: 44px 32px;
  background: linear-gradient(135deg, rgba(30, 30, 80, 0.5), rgba(50, 30, 90, 0.25));
  position: relative;
  transition: background 0.3s;
}
.step-item:hover { background: rgba(150, 113, 225, 0.12); }
.step-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-right: 1px solid rgba(150, 113, 225, 0.2);
  pointer-events: none;
}
.step-item:last-child::after { display: none; }
.step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #D1ADF2;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: block;
}
.step-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.step-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- TRUST SECTION ---------- */
.trust-section { padding: 80px 0; }
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 48px 56px;
  border-radius: var(--radius-lg);
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  display: block;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.trust-logos { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.client-logo {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  opacity: 0.7;
  transition: opacity 0.25s;
}
.client-logo:hover { opacity: 1; color: var(--text-white); }
.tools-row { display: flex; gap: 12px; flex-wrap: wrap; }
.tool-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 6px 14px;
  border: 1px solid rgba(150, 113, 225, 0.2);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  transition: border-color 0.2s, color 0.2s;
}
.tool-chip:hover { border-color: #9671E1; color: #D1ADF2; box-shadow: 0 0 15px rgba(150, 113, 225, 0.15); }

/* ---------- FAQ SECTION ---------- */
.faq-section { padding: 100px 0; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}
.faq-item {
  padding: 32px 36px;
  border-radius: var(--radius-md);
  transition: border-color 0.25s;
}
.faq-item:hover { border-color: rgba(150, 113, 225, 0.5); box-shadow: 0 0 25px rgba(150, 113, 225, 0.08); }
.faq-item h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.faq-item p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; }

/* ---------- TESTIMONIAL ---------- */
.testimonial-section { padding: 80px 0; }
.testimonial-card {
  padding: 56px 64px;
  border-radius: var(--radius-lg);
  position: relative;
}
.quote-mark {
  font-size: 5rem;
  line-height: 0.6;
  color: var(--accent-indigo);
  font-family: serif;
  margin-bottom: 24px;
  opacity: 0.5;
}
.quote-text {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.65;
  max-width: 700px;
  margin-bottom: 36px;
}
.quote-author strong { color: var(--text-white); font-size: 0.9rem; }
.quote-author span { color: var(--text-muted); font-size: 0.8rem; display: block; margin-top: 3px; font-family: var(--font-mono); }

/* ---------- CONTACT SECTION ---------- */
.contact-section {
  padding: 100px 0 80px;
  background: var(--bg-dark);
  position: relative;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(150, 113, 225, 0.25) 0%, rgba(209, 173, 242, 0.1) 40%, transparent 70%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
  align-items: start;
}
.contact-info-block h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.contact-info-block p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-direct { display: flex; flex-direction: column; gap: 14px; }
.contact-direct a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.contact-direct a:hover { color: var(--text-white); }
.contact-direct a svg { width: 16px; height: 16px; color: var(--accent-indigo); flex-shrink: 0; }
.socials-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.social-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.2s;
}
.social-link:hover {
  border-color: #9671E1;
  color: #D1ADF2;
  background: rgba(150, 113, 225, 0.12);
  box-shadow: 0 0 20px rgba(150, 113, 225, 0.15);
}

/* Contact Form */
.contact-form {
  border-radius: var(--radius-lg);
  padding: 52px;
  border: 1px solid rgba(150, 113, 225, 0.45);
  box-shadow: 0 0 60px rgba(150, 113, 225, 0.15), 0 0 120px rgba(209, 173, 242, 0.08);
  background: linear-gradient(135deg, rgba(30, 30, 80, 0.7), rgba(55, 30, 100, 0.5));
  backdrop-filter: blur(20px);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(0, 0, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #9671E1;
  box-shadow: 0 0 20px rgba(150, 113, 225, 0.2);
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

/* ---------- AI PLATFORM SECTION ---------- */
.ai-platform-section {
  position: relative;
  z-index: 5;
}

.ai-scroll-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 40px 0 80px;
}
.ai-scroll-container::-webkit-scrollbar { height: 6px; }
.ai-scroll-container::-webkit-scrollbar-thumb { background: rgba(150, 113, 225, 0.4); border-radius: 10px; }

.ai-canvas {
  width: 1000px;
  height: 460px;
  position: relative;
  margin: 0 auto;
}
.ai-svg-layer {
  position: absolute;
  top: 0; left: 0;
  width: 1000px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}


.ai-background-glow {
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(150, 113, 225, 0.25) 0%, rgba(20, 20, 80, 0) 65%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.ai-video-main {
  position: absolute;
  right: 60px;
  top: 100px;
  width: 380px;
  height: auto;
  z-index: 1;
  mix-blend-mode: screen; /* Magic for removing black background */
  filter: drop-shadow(0 0 40px rgba(150, 113, 225, 0.5));
  animation: floatChip 3.5s ease-in-out infinite alternate;
}

.ai-scene-card {
  position: absolute;
  width: 220px;
  height: 100px;
  background: linear-gradient(180deg, rgba(20, 20, 40, 0.8) 0%, rgba(5, 5, 15, 0.95) 100%);
  border-radius: 16px;
  padding: 0 16px;
  box-shadow: 
    0 4px 24px rgba(0,0,0,0.5), 
    0 0 15px rgba(100, 100, 255, 0.1), 
    inset 0 1px 0 rgba(255, 255, 255, 0.15), 
    inset 0 0 0 1px rgba(100, 100, 255, 0.2); 
  z-index: 2;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateZ(0);
  will-change: transform;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: var(--font-sans);
  border: none;
}
.ai-scene-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 10px 30px rgba(0,0,0,0.8),
    0 0 30px rgba(100, 100, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 0 0 1px rgba(100, 100, 255, 0.4);
}
.ai-scene-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
  text-align: center;
}
.ai-scene-card p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
  margin: 0;
  text-align: center;
  font-weight: 400;
}

/* Syncing elements with the main AI visual if needed */

@keyframes floatChip {
  0% { transform: translateY(0); box-shadow: 0 0 50px rgba(74, 86, 255, 0.3), 0 20px 40px rgba(0,0,0,0.4); }
  100% { transform: translateY(-8px); box-shadow: 0 0 80px rgba(74, 86, 255, 0.5), 0 30px 50px rgba(0,0,0,0.5); }
}

/* ==============================================================
   2026 SPATIAL UI & SCROLL REVEAL (PREMIUM EFFECTS)
   ============================================================== */

/* 1. Cinematographic Scroll Reveal (Sekwencyjny Fade-Up z Cubic Bezier) */
.will-reveal {
  opacity: 0;
  transform: translateY(40px);
  /* Trwa 0.8s, świetna kinowa krzywa dynamiki */
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: opacity, transform;
}
.will-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 2. Real-time Cursor Glare (Podążające Światło 3D powiązane z JS) */
.project-card::after, .offer-card::after, .testimonial-card::after, .ai-scene-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* Radialny odblask korzystający ze zrzucanych z JS współrzędnych */
  background: radial-gradient(
    500px circle at var(--mouse-x, -1000px) var(--mouse-y, -1000px), 
    rgba(255, 255, 255, 0.08), 
    transparent 40%
  );
  pointer-events: none; /* Żeby nie psuć hovera pod spodem */
  z-index: 10;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Błysk zapala się dopiero, gdy wejdziesz kursorem */
.project-card:hover::after, .offer-card:hover::after, .testimonial-card:hover::after, .ai-scene-card:hover::after {
  opacity: 1;
}

/* Nadpisanie zachowania kart pod Tilt 3D (szybka reakcja na transformację) */
.project-card.is-revealed, .offer-card.is-revealed, .testimonial-card.is-revealed, .ai-scene-card.is-revealed {
  /* Skracamy transition transform, żeby ruch obrotu był momentalny (jak native w iOS / macOS) */
  transition: transform 0.05s linear, border-color 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  z-index: 1;
  padding: 36px 40px;
  border-top: 1px solid rgba(150, 113, 225, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer p {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-white); }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deepest); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #9671E1, #D1ADF2); border-radius: 10px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-photo-wrap { display: flex; justify-content: center; }
  .hero-photo-card { max-width: 340px; }
  .hero-eyebrow { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .projects-grid { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .navbar { padding: 16px 24px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .steps-row { grid-template-columns: 1fr; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
  .projects-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .contact-form { padding: 28px 24px; }
  .testimonial-card { padding: 36px 28px; }
}
/* ---------- HERO CARD FALLBACK ---------- */
.hero-card-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0A0A19 0%, #14143C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}

.hero-card-fallback::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--accent-indigo) 0%, transparent 60%);
  opacity: 0.15;
  pointer-events: none;
}

/* ---------- FORM ALERTS ---------- */
.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-alert.success {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.3);
}

/* ---------- AJAX FORM STATES ---------- */
.spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.galaxy-button button.btn-success {
  border-color: #22c55e !important;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.4) !important;
}
.galaxy-button button.btn-success .text {
  color: #4ade80 !important;
}

.galaxy-button button.btn-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4) !important;
}
.galaxy-button button.btn-error .text {
  color: #f87171 !important;
}


/* ═══ PRICING SECTION ═══ */
.pricing-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.pricing-section::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(150, 113, 225, 0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.pricing-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(150, 113, 225, 0.4);
  transform: translateY(-8px);
}

.pricing-card.featured {
  background: rgba(150, 113, 225, 0.08);
  border-color: rgba(150, 113, 225, 0.3);
  position: relative;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  width: fit-content;
  margin-bottom: 80px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.card-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-violet);
  box-shadow: 0 0 10px var(--accent-violet);
}

.pricing-card h3 {
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-white);
  margin-bottom: 24px;
}

.pricing-card .price {
  font-size: 1rem;
  color: #D1ADF2;
  font-family: var(--font-mono);
  margin-bottom: 24px;
}

.pricing-card .desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

.price-features {
  list-style: none;
  margin-bottom: 48px;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 8px 0;
}

.price-features li i {
  color: var(--accent-violet);
}

.price-btn {
  background: linear-gradient(135deg, #4A56FF 0%, #9671E1 100%);
  color: white;
  padding: 18px;
  border-radius: 16px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(74, 86, 255, 0.3);
  text-decoration: none;
}

.price-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(74, 86, 255, 0.5);
}

.pricing-card.featured .price-btn {
  background: linear-gradient(135deg, #FF4AD6 0%, #9671E1 100%);
  box-shadow: 0 4px 20px rgba(255, 74, 214, 0.3);
}

.pricing-card.featured .price-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 20px rgba(150, 113, 225, 0.4);
}


/* ═══ EMOTION FACIAL MAPPING TAGS (STABLE PREMIUM) ═══ */
.emotion-tag {
  position: absolute !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 6px 16px 6px 6px !important;
  width: fit-content !important;
  height: fit-content !important;
  white-space: nowrap !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(12px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50px !important;
  color: #fff !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  z-index: 20 !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
}

.emotion-tag i {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(10, 10, 25, 0.8) !important;
  border-radius: 50% !important;
  padding: 6px !important;
  color: #fff !important;
}

/* Tighter positioning precisely tracking the face area based on your drawing */
.tag-1 { top: 21%; right: 26%; left: auto !important; } /* Kreatywność - top right near temple */
.tag-2 { top: 58%; right: 22%; left: auto !important; } /* Odpowiedzialność - bottom right near shoulder */
.tag-3 { top: 19%; left: 26%; right: auto !important; }  /* Inspiracja - top left near temple */
.tag-4 { top: 52%; left: 22%; right: auto !important; }  /* Precyzja - bottom left near shoulder */

@media (max-width: 768px) {
  .emotion-tag { padding: 4px 12px 4px 4px !important; font-size: 0.7rem !important; }
  .emotion-tag i { width: 22px !important; height: 22px !important; min-width: 22px !important; }
}

/* ---------- PROJECTS MARQUEE ---------- */
.projects-marquee-wrapper {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding: 40px 0;
}

.projects-marquee {
  display: flex;
  width: max-content;
  animation: projectsMarquee 30s linear infinite;
  will-change: transform;
}

.projects-marquee:hover {
  animation-play-state: paused;
}

@keyframes projectsMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

.projects-marquee-wrapper::before,
.projects-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.projects-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-deepest), transparent);
}

.projects-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-deepest), transparent);
}

.projects-marquee .project-card {
  width: 480px;
  margin-right: 32px;
  flex-shrink: 0;
}
