/* ================================================
   SOFTVÉROVÉ RIEŠENIA - Frontend CSS
   ================================================ */

/* === SKIP LINK (Accessibility) === */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6A71FF 0%, #45D0C0 100%);
  color: #0a0a12;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* === CSS VARIABLES === */
:root {
  --primary: #45D0C0;
  --primary-rgb: 69, 208, 192;
  --primary-glow: rgba(69, 208, 192, 0.4);
  --accent: #6A71FF;
  --accent-rgb: 106, 113, 255;
  --accent-secondary: #9C6BFF;
  --gradient-main: linear-gradient(135deg, #6A71FF 0%, #45D0C0 50%, #9C6BFF 100%);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --section-padding: clamp(80px, 12vh, 140px);
  --transition-theme: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === DARK THEME === */
[data-theme="dark"] {
  --bg-primary: #0a0a12;
  --bg-elevated: #12121f;
  --bg-card: rgba(18, 18, 31, 0.7);
  --bg-card-solid: #14142a;
  --text-primary: #ffffff;
  --text-secondary: #8a8a9a;
  --text-muted: #5a5a6a;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(69, 208, 192, 0.3);
  --shadow: rgba(0, 0, 0, 0.3);
  --input-bg: rgba(255, 255, 255, 0.03);
  --aurora-opacity: 0.6;
  --particle-opacity: 0.6;
}

/* === LIGHT THEME === */
[data-theme="light"] {
  --bg-primary: #f8f9fc;
  --bg-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-card-solid: #ffffff;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-muted: #7a7a8a;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(69, 208, 192, 0.5);
  --shadow: rgba(0, 0, 0, 0.1);
  --input-bg: rgba(0, 0, 0, 0.03);
  --aurora-opacity: 0.3;
  --particle-opacity: 0.4;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-primary);
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition-theme), color var(--transition-theme);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--accent), var(--primary)); border-radius: 4px; }

/* === BACKGROUND EFFECTS === */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--particle-opacity);
  transition: opacity var(--transition-theme);
}

.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 30% 20%, rgba(var(--accent-rgb), 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(var(--primary-rgb), 0.1) 0%, transparent 50%);
  opacity: var(--aurora-opacity);
  transition: opacity var(--transition-theme);
}

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

/* === PARALLAX === */
.parallax-element { will-change: transform; transition: transform 0.1s linear; }

/* Globálne parallax shapes - fixed na pozadí */
.parallax-shapes-global {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.parallax-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  will-change: transform;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: 5%;
  left: -5%;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: 40%;
  right: -8%;
}

.shape-3 {
  width: 350px;
  height: 350px;
  background: var(--accent-secondary);
  bottom: 15%;
  left: 20%;
}

.shape-4 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: 70%;
  right: 25%;
}

/* Mobile - menšie a jemnejšie shapes */
@media (max-width: 768px) {
  .parallax-shapes-global {
    opacity: 0.6;
  }
  
  .parallax-shape {
    filter: blur(100px);
    opacity: 0.15;
  }
  
  .shape-1 {
    width: 250px;
    height: 250px;
    top: 0;
    left: -15%;
  }
  
  .shape-2 {
    width: 200px;
    height: 200px;
    top: 30%;
    right: -15%;
  }
  
  .shape-3 {
    width: 180px;
    height: 180px;
    bottom: 20%;
    left: 10%;
  }
  
  .shape-4 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 5%;
  }
}

/* === HEADER === */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(20px, 5vw, 60px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* === LOGO === */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: color var(--transition-theme);
}

.logo span { white-space: nowrap; }

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  flex-shrink: 0;
}

.logo:hover .logo-img {
  transform: scale(1.08) rotate(-12deg);
  filter: drop-shadow(0 0 12px var(--primary-glow));
}

/* === NAVIGATION === */
.nav-group { display: flex; align-items: center; gap: 8px; }
nav { display: flex; align-items: center; gap: 8px; }

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: calc(100% - 36px); }
.nav-link.active { color: var(--primary); }

.nav-cta, .nav-link.nav-cta {
  margin-left: 16px;
  padding: 12px 24px;
  background: var(--gradient-main);
  color: #0a0a12;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3);
}

.nav-cta:hover, .nav-link.nav-cta:hover {
  color: #0a0a12;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.4);
}

.nav-cta::after, .nav-link.nav-cta::after { display: none; }

/* === THEME TOGGLE === */
.theme-toggle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
}

.theme-toggle-icon {
  position: absolute;
  font-size: 1.25rem;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.theme-toggle .sun-icon { opacity: 0; transform: rotate(180deg) scale(0); color: #f59e0b; }
.theme-toggle .moon-icon { opacity: 1; transform: rotate(0) scale(1); color: #a78bfa; }
[data-theme="light"] .theme-toggle .sun-icon { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-toggle .moon-icon { opacity: 0; transform: rotate(-180deg) scale(0); }

/* === MOBILE MENU TOGGLE === */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  padding: 90px clamp(20px, 5vw, 60px) 30px;
  gap: 20px;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-logo-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease forwards 0.1s;
  opacity: 0;
}

.hero-logo {
  max-width: 200px;
  width: 40vw;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(var(--primary-rgb), 0.3));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.hero-logo:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 50px rgba(var(--primary-rgb), 0.5));
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title-line {
  display: block;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease forwards 0.3s;
  opacity: 0;
  transition: color var(--transition-theme);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.8s ease forwards 0.5s;
  opacity: 0;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background: var(--gradient-main);
  color: #0a0a12;
  box-shadow: 0 4px 25px rgba(var(--primary-rgb), 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(var(--primary-rgb), 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  transform: translateY(-3px);
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease forwards 0.7s;
  opacity: 0;
  padding-bottom: 20px;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* === SECTIONS === */
.section-inner {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-padding) clamp(20px, 5vw, 60px);
}

.section-header { text-align: center; margin-bottom: 60px; }

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.15);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

/* SERVICE ICON HOVER - nakláňanie ako logo */
.service-card:hover .service-icon {
  transform: scale(1.15) rotate(-12deg);
  filter: drop-shadow(0 0 12px var(--primary-glow));
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.service-tag {
  font-size: 0.8rem;
  padding: 6px 12px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-weight: 500;
}

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
}

.about-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 24px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* === ABOUT VISUAL === */
.about-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-inner { position: relative; width: 100%; height: 100%; }

.center-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--gradient-main);
  filter: blur(40px);
  opacity: 0.5;
  animation: orbPulse 4s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  width: 120px;
  height: 120px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px;
  border-radius: 50%;
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px var(--shadow);
  transition: all var(--transition-theme);
  animation: float 6s ease-in-out infinite;
}

.floating-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 15px 50px rgba(var(--primary-rgb), 0.3);
  transform: scale(1.1);
}

.floating-card:nth-child(2) { top: 5%; left: 10%; animation-delay: 0s; }
.floating-card:nth-child(3) { top: 50%; right: 5%; animation-delay: 2s; }
.floating-card:nth-child(4) { bottom: 5%; left: 25%; animation-delay: 4s; }

.floating-card-icon { font-size: 1.5rem; line-height: 1; }
.floating-card-text { font-weight: 600; font-size: 0.75rem; line-height: 1.2; }
.floating-card-sub { font-size: 0.65rem; color: var(--text-muted); line-height: 1.2; }

/* === REFERENCES === */
.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

a.reference-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.reference-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.reference-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.15);
}

.reference-image {
  position: relative;
  height: 200px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reference-image-placeholder { font-size: 4rem; opacity: 0.5; }
.reference-image img { width: 100%; height: 100%; object-fit: cover; }
.reference-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, var(--bg-card)); }

.reference-content { padding: 24px; }

.reference-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.reference-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.reference-tech { display: flex; flex-wrap: wrap; gap: 8px; }

.tech-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* === CONTACT === */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px;
  backdrop-filter: blur(20px);
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-methods { display: flex; flex-direction: column; gap: 20px; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-elevated);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.contact-method:hover {
  border-color: var(--border-hover);
  transform: translateX(8px);
}

.contact-method-icon { font-size: 1.5rem; }
.contact-method-text span { display: block; font-size: 0.85rem; color: var(--text-muted); }
.contact-method-text strong { font-weight: 600; }

/* === CONTACT FORM === */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); }

.form-input {
  padding: 16px 20px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.05);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.form-input::placeholder { color: var(--text-muted); opacity: 0.6; }
textarea.form-input { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--gradient-main);
  border: none;
  border-radius: 12px;
  color: #0a0a12;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 25px rgba(var(--primary-rgb), 0.35);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(var(--primary-rgb), 0.45);
}

/* === GDPR CHECKBOX === */
.gdpr-checkbox { display: flex; align-items: flex-start; gap: 12px; }
.gdpr-checkbox input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.gdpr-checkbox label { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.gdpr-checkbox a { color: var(--primary); text-decoration: none; }
.gdpr-checkbox a:hover { text-decoration: underline; }

/* === FOOTER === */
footer {
  position: relative;
  z-index: 10;
  padding: 40px clamp(20px, 5vw, 60px);
  border-top: 1px solid var(--border);
  transition: border var(--transition-theme);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy { color: var(--text-secondary); font-size: 0.9rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--primary); }

/* === FLASH MESSAGES === */
.flash-message {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 32px;
  border-radius: 12px;
  z-index: 9999;
  animation: slideDown 0.5s ease;
}

.flash-message.success { background: rgba(69, 208, 192, 0.9); color: #0a0a12; }
.flash-message.error { background: rgba(255, 107, 107, 0.9); color: #fff; }
.text-red-500 { color: #ef4444; font-size: 0.85rem; }

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

@keyframes orbPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { order: -1; }
  .contact-wrapper { grid-template-columns: 1fr; padding: 40px; }
}

@media (max-width: 900px) {
  .logo span { display: none; }
}

/* === MOBILE NAV LOGO === */
.nav-mobile-logo {
  display: none !important;
}

@media (max-width: 768px) {
  .header-inner { height: 70px; }
  
  nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  nav.open { transform: translateX(0); }
  
  /* Logo v mobilnom menu - zobrazí sa len keď je menu otvorené */
  nav.open .nav-mobile-logo {
    display: block !important;
    margin-bottom: 30px;
  }
  
  .nav-mobile-logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.3));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  }
  
  .nav-mobile-logo:hover img {
    transform: scale(1.08) rotate(-12deg);
    filter: drop-shadow(0 0 12px var(--primary-glow));
  }
  
  .nav-link { font-size: 1.5rem; padding: 16px; }
  .nav-cta { margin-left: 0; margin-top: 20px; }
  .menu-toggle { display: flex; }
  .about-stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .references-grid { grid-template-columns: 1fr; }
  
  /* Mobile floating cards - menšie kruhy */
  .about-visual {
    height: 300px;
    margin-bottom: 20px;
  }
  
  .center-orb {
    width: 100px;
    height: 100px;
    filter: blur(25px);
  }
  
  .floating-card {
    width: 90px;
    height: 90px;
    padding: 10px;
    gap: 4px;
  }
  
  .floating-card:nth-child(2) { top: 0; left: 5%; }
  .floating-card:nth-child(3) { top: 40%; right: 0; }
  .floating-card:nth-child(4) { bottom: 0; left: 30%; }
  
  .floating-card-icon { font-size: 1.2rem; }
  .floating-card-text { font-size: 0.65rem; }
  .floating-card-sub { font-size: 0.55rem; }
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 20px;
  background: var(--bg-card-solid);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 280px;
}

.cookie-text i {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.cookie-text p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.cookie-btn-reject {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.cookie-btn-reject:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.cookie-btn-accept {
  background: var(--gradient-main);
  color: #0a0a12;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3);
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.4);
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 16px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-text {
    flex-direction: column;
    gap: 8px;
  }
  
  .cookie-buttons {
    width: 100%;
  }
  
  .cookie-btn {
    flex: 1;
    padding: 14px 16px;
  }
}
/* ==========================================
   reCAPTCHA Styles
   ========================================== */
.recaptcha-wrapper {
  margin: 20px 0;
}

.recaptcha-wrapper .g-recaptcha {
  display: flex;
  justify-content: center;
}

/* Dark theme fix pre reCAPTCHA iframe */
.recaptcha-wrapper .g-recaptcha > div {
  border-radius: 8px;
  overflow: hidden;
}

.recaptcha-wrapper .text-error {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: #ef4444;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 480px) {
  .recaptcha-wrapper .g-recaptcha {
    transform: scale(0.9);
    transform-origin: center;
  }
}