/* === ROOT VARIABLES === */
:root {
  /* Layout */
  --main-content-width: 1000px;
  
  /* Colors */
  --bg-dark: #191919;
  --text-light: #F4F4F4;
  --bg-light: #F4F4F4;
  --text-dark: #191919;
  --accent: #688d60;
  
  /* Transitions */
  --transition-duration: 0.5s;
  --transition-ease: ease;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* Gradients */
  --primary-gradient: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  --reverse-gradient: linear-gradient(90deg, #2575fc 0%, #6a11cb 100%);
  
  /* Shadows */
  --shadow-light: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 32px rgba(80,80,160,0.08);
  --shadow-heavy: 0 20px 60px rgba(80,80,160,0.2);
  --shadow-dark: 0 4px 10px rgba(0, 0, 0, 0.3);
  
  /* Border radius */
  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 18px;
  --radius-xl: 32px;
}

/* === GLOBAL STYLES & BODY === */
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  transition: background-color var(--transition-duration) var(--transition-ease), 
              color var(--transition-duration) var(--transition-ease);
}

/* === THEME MODES === */
body.light {
  background-color: var(--bg-light);
  color: var(--text-dark);
  --button-bg-color: #007BFF;
  --button-text-color: #fff;
  --button-hover-bg-color: #0056b3;
  --button-hover-text-color: #fff;
  --button-hover-border-color: #0056b3;
}

body.dark {
  background-color: #1a1a1a;
  color: var(--text-light);
  --button-bg-color: #444;
  --button-text-color: #fff;
  --button-hover-bg-color: #222;
  --button-hover-text-color: #fff;
  --button-hover-border-color: #666;
}

/* === DARK MODE ENHANCEMENTS === */
body.dark .text-container,
body.dark .portfolio-box,
body.dark .carousel-item {
  background: rgba(45, 45, 45, 0.95);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-dark), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* === HEADER AND NAVIGATION === */
header {
  height: 100px;
  display: flex;
  align-items: center;
  padding: 0 3rem;
  background-color: inherit;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

nav {
  height: 100%;
  display: flex;
  align-items: center;
}

nav ul,
.nav-links {
  list-style: none;
  display: flex;
  gap: 3rem;
  margin: 0;
  padding: 0;
  align-items: center;
  height: 100%;
}

.nav-links > li,
.nav-links > li > a,
.nav-links > li > span {
  display: flex;
  align-items: center;
  height: 100%;
}

nav li {
  position: relative;
  font-weight: 500;
  font-size: 1.25rem;
}

nav > ul > li {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.5s;
}

nav a, 
nav span {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition-duration) var(--transition-ease);
  display: inline-block;
  padding: 0.5rem 0;
}

nav a:hover, 
nav span:hover {
  color: #6a11cb;
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === DROPDOWN MENU === */
.dropdown-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  display: flex;
  flex-direction: column;
  gap: 0; /* Vrátíme zpět na 0 */
  padding: 12px 8px; /* Zmenšíme padding */
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(80,80,160,0.13);
  z-index: 100;
  background-color: #fff;
  min-width: 170px;
  max-width: 220px;
  transition:
    opacity 0.25s cubic-bezier(.4,1.3,.6,1),
    visibility 0.25s cubic-bezier(.4,1.3,.6,1),
    transform 0.28s cubic-bezier(.68,-0.55,.27,1.55);
  will-change: opacity, transform;
}

body.dark .dropdown-content {
  background-color: #23243a;
  color: #f4f4f4;
  border: 1px solid #33364a;
  box-shadow: 0 6px 24px rgba(30,30,60,0.22);
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(8px);
}

.dropdown-content li,
.dropdown-content li a {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.dropdown-content li {
  padding: 0 !important;
  font-size: 1rem;
  line-height: 1.7;
  list-style: none;
  white-space: nowrap;
  text-align: center;
  margin: 0 !important;
}

.dropdown-content li a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 10px 20px;
  border-radius: 7px;
  transition: all 0.3s ease;
  font-weight: 500;
  margin: 0 !important;
  box-sizing: border-box;
}

.dropdown-content li a:hover,
.dropdown-content li a:focus {
  color: #6a11cb !important;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  transform: translateX(3px);
}

body.dark .dropdown-content li a:hover,
body.dark .dropdown-content li a:focus {
  color: #6a11cb !important;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  transform: translateX(3px);
}

/* === BUTTONS === */
button,
input[type="submit"],
.styled-button,
.cta-button,
.service-button {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary-gradient);
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  box-shadow: var(--shadow-medium);
  transition: var(--transition-bounce);
  outline: none;
  position: relative;
  z-index: 1;
  text-decoration: none;
}

button:hover,
input[type="submit"]:hover,
.styled-button:hover,
.cta-button:hover,
.service-button:hover,
button:focus,
input[type="submit"]:focus,
.styled-button:focus,
.cta-button:focus,
.service-button:focus {
  background: var(--reverse-gradient);
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 8px 32px rgba(106,17,203,0.18), 0 2px 12px rgba(80,80,160,0.10);
}

button:active,
input[type="submit"]:active,
.styled-button:active,
.cta-button:active,
.service-button:active {
  transform: scale(0.97) translateY(1px);
  box-shadow: 0 2px 8px rgba(80,80,160,0.10);
}

.styled-contact-form button,
.styled-contact-form .styled-button {
  width: 100%;
  margin-top: 12px;
  font-size: 1.1rem;
  padding: 14px 0;
}

.button-container {
  text-align: center;
  margin-top: 20px;
}

body.dark .premium-contact-form {
  background: rgba(35, 36, 58, 0.95) !important;
  border-color: rgba(138, 126, 255, 0.2) !important;
  color: #e2e8f0 !important;
}

body.dark .premium-contact-form label,
body.dark .premium-contact-form .form-group label {
  color: #66ccff !important;
}

body.dark .premium-submit-btn {
  background: linear-gradient(135deg, #374151 0%, #1e3a8a 100%) !important;
  color: #f4f4f4 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

body.dark .premium-submit-btn:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #374151 100%) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
}

body.dark .consultation {
  background: linear-gradient(135deg, #23243a 0%, #2d2e4a 100%) !important;
}

body.dark .consultation::before {
  background: radial-gradient(circle at 20% 50%, rgba(138, 126, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(102, 204, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 40% 80%, rgba(138, 126, 255, 0.1) 0%, transparent 50%) !important;
}


/* === SPECIFIC BUTTON STYLES === */
@keyframes bounceScale {
  0%   { transform: scale(1) translateY(0); }
  40%  { transform: scale(1.15, 0.95) translateY(-10px);}
  60%  { transform: scale(0.98, 1.02) translateY(-4px);}
  80%  { transform: scale(1.08, 0.98) translateY(-8px);}
  100% { transform: scale(1.12) translateY(-7px);}
}


.service-button {
  transition: var(--transition-smooth);
}

.service-button:hover, 
.service-button:focus {
  transform: translateY(-3px) scale(1.04);
  outline: none;
}


.cta-button {
  margin-top: 18px;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}


.back-to-blog .styled-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border: none;
  border-radius: var(--radius-small);
  text-decoration: none;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-light);
}

.back-to-blog .styled-button:hover {
  background: var(--reverse-gradient);
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.back-to-blog {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 0;
}

/* === CONTAINERS === */
.rounded-container {
  background-color: var(--bg-light);
  color: var(--text-dark);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0px 3px 20px 20px rgba(63, 62, 62, 0.1);
  margin: 1rem 0;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.3rem;
}

.text-container {
  padding: 1rem;
  margin: 2rem auto;
  max-width: 800px;
  background-color: var(--bg-light);
  color: var(--text-dark);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-light);
  font-size: 1.2rem;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-bottom: 20px;
}

.text-container h1 {
  font-size: 3rem;
  text-align: left;
  color: #333;
  margin-bottom: 0.5em;
  white-space: nowrap;
}

.text-container p {
  font-size: 20px;
  line-height: 1.8;
}

.text-container p:first-of-type b {
  font-size: 24px;
  font-weight: 900;
  color: #6a11cb;
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark .text-container p:first-of-type b {
  background: linear-gradient(90deg, #ffffff 0%, #e2e8f0 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  padding: 2px 8px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.2);
  background-image: linear-gradient(90deg, #ffffff 0%, #e2e8f0 100%);
}

body.dark .text-container p b {
  background: linear-gradient(90deg, #8a7eff 0%, #66ccff 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3)) 
          drop-shadow(1px 1px 2px rgba(255, 255, 255, 0.2));
}

body.dark .rounded-container {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

body.dark .text-container {
  background: rgba(34, 34, 34, 0.9);
  color: var(--text-light);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(120deg, #1e3c72 0%, #2a5298 100%);
  animation: heroGradientMove 12s ease-in-out infinite alternate;
}

.hero-bg-circles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-circles span {
  position: absolute;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.18;
  animation: heroCircleFloat 18s ease-in-out infinite alternate;
  mix-blend-mode: lighten;
}

.hero-bg-circles span:nth-child(1) {
  width: 220px; height: 220px;
  left: 10%; top: 20%;
  background: #66ccff;
  animation-delay: 0s;
}

.hero-bg-circles span:nth-child(2) {
  width: 160px; height: 160px;
  left: 70%; top: 10%;
  background: #2575fc;
  animation-delay: 4s;
}

.hero-bg-circles span:nth-child(3) {
  width: 120px; height: 120px;
  left: 60%; top: 60%;
  background: #00eaff;
  animation-delay: 8s;
}

.hero-bg-circles span:nth-child(4) {
  width: 180px; height: 180px;
  left: 25%; top: 70%;
  background: #6a11cb;
  animation-delay: 12s;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 2rem 0;
}

.hero-headline {
  font-size: 2.7rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 0 auto;
  max-width: 900px;
  text-shadow: 0 2px 24px rgba(38, 110, 255, 0.12);
  opacity: 0;
  transform: translateY(30px);
  animation: heroTextFadeIn 1.2s cubic-bezier(.68,-0.55,.27,1.55) 0.2s forwards;
}

.hero-animated {
  display: inline-block;
  position: relative;
  margin-left: 0.5ch;
  opacity: 0;
  animation: heroWordFadeIn 1.2s cubic-bezier(.68,-0.55,.27,1.55) 1s forwards;
}

.hero-glow {
  color: #00eaff;
  background: linear-gradient(90deg, #00eaff 0%, #66ccff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px #00eaff) drop-shadow(0 0 32px #66ccff);
  font-weight: 800;
  letter-spacing: 0.5px;
  position: relative;
  animation: heroGlowPulse 2.5s ease-in-out infinite alternate;
}

.hero-underline {
  position: absolute;
  left: 0; right: 0;
  bottom: -8px;
  width: 100%;
  height: 22px;
  pointer-events: none;
  z-index: 1;
  stroke: #66ccff;
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px #66ccff);
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: heroUnderlineDraw 1.2s cubic-bezier(.68,-0.55,.27,1.55) 1.5s forwards;
}

body.dark .hero-bg-gradient {
  background: linear-gradient(120deg, #191919 0%, #0f0f0f 100%);
}

body.dark .hero-bg-circles span:nth-child(1) {
  background: #334155;
}

body.dark .hero-bg-circles span:nth-child(2) {
  background: #1e40af;
}

body.dark .hero-bg-circles span:nth-child(3) {
  background: #0ea5e9;
}

body.dark .hero-bg-circles span:nth-child(4) {
  background: #5b21b6;
}

body.dark .hero-headline {
  color: #fff;
  text-shadow: 0 2px 24px rgba(38, 110, 255, 0.12);
}

body.dark .hero-glow {
  filter: drop-shadow(0 0 12px #00eaff) drop-shadow(0 0 32px #66ccff);
}

body.dark .hero-underline {
  stroke: #66ccff;
  filter: drop-shadow(0 0 8px #66ccff);
}

@keyframes heroGradientMove {
  0% { filter: hue-rotate(0deg);}
  100% { filter: hue-rotate(30deg);}
}

@keyframes heroCircleFloat {
  0%   { transform: translateY(0) scale(1);}
  50%  { transform: translateY(-40px) scale(1.08);}
  100% { transform: translateY(0) scale(1);}
}

@keyframes heroTextFadeIn {
  to { opacity: 1; transform: translateY(0);}
}

@keyframes heroWordFadeIn {
  to { opacity: 1; }
}

@keyframes heroGlowPulse {
  0% { filter: drop-shadow(0 0 12px #66ccff) drop-shadow(0 0 32px #2575fc);}
  100% { filter: drop-shadow(0 0 24px #66ccff) drop-shadow(0 0 48px #2575fc);}
}

@keyframes heroUnderlineDraw {
  to { stroke-dashoffset: 0; }
}

/* === TEXT ANIMATIONS === */
#qvent-pro {
  display: inline-block;
  font-weight: bold;
  transition: none;
}

#changing-text {
  display: inline-block;
  min-width: 120px;
  margin-left: 8px;
  color: #6a11cb;
  font-weight: bold;
  opacity: 1;
  transition: opacity 0.35s;
}

.text-container #changing-text {
  color: #6a11cb;
  font-weight: bold;
  display: inline-block;
  animation: fadeInOut 4s ease-in-out infinite; /* Animace pro měnící se text */
}

body.dark .text-container #changing-text {
  color: #9f7aea; /* světle fialová pro kontrast v dark módu */
}

#animated-header {
  display: inline-block;
  transition: opacity 0.6s cubic-bezier(.4,1.3,.6,1);
  opacity: 1;
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -1px;
  color: #23243a;
}

body.dark #animated-header {
  color: #fff;
}

#animated-header.fade-out {
  opacity: 0;
}

.static-prefix {
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -1px;
  vertical-align: middle;
  color: #23243a;
}

body.dark .static-prefix {
  color: #fff;
}

#animated-header {
  font-size: 2.7rem;
  font-weight: 800; /* animovaný text tučný */
  letter-spacing: -1px;
  vertical-align: middle;
  color: #23243a;
  display: inline-block;
  border-right: 2px solid #2575fc;
  white-space: nowrap;
  overflow: hidden;
  animation: blink-caret 0.8s step-end infinite;
  transition: color 0.3s;
}

body.dark #animated-header {
  color: #fff;
  border-right-color: #66ccff;
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 0;
    transform: translateY(20px); /* Text se objeví zdola */
  }
  50% {
    opacity: 1;
    transform: translateY(0); /* Text se usadí na své místo */
  }
}

@keyframes slideInOut {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px); /* Jemný pohyb nahoru */
  }
}

@keyframes blink-caret {
  0%, 100% { border-color: transparent; }
  50% { border-color: #2575fc; }
}

@keyframes qventProBounce {
  0%   { transform: translateY(0) scale(1);}
  30%  { transform: translateY(-10px) scale(1.08);}
  60%  { transform: translateY(0) scale(0.97);}
  100% { transform: translateY(0) scale(1);}
}

/* === LOGO & MODE TOGGLE === */
.logo {
  height: 80px;
  transition: transform 0.35s cubic-bezier(.68,-0.55,.27,1.55),
              filter 0.35s ease,
              opacity var(--transition-duration) var(--transition-ease);
}

.logo:hover {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 0 12px rgba(106,17,203,0.6))
          drop-shadow(0 0 24px rgba(37,117,252,0.5));
}

.logo-light {
  display: block;
}

.logo-dark {
  display: none;
}

body.dark .logo-light {
  display: none;
}

body.dark .logo-dark {
  display: block;
}

#modeToggle {
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  border-radius: 50%;
  transition: background 0.18s, transform 0.18s;
  box-shadow: none;
  padding: 0;
  margin-left: 0.2rem;
  transform: none;
}

#modeToggle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
}

#modeToggle:hover {
  transform: scale(1.12);
  background: rgba(38, 117, 252, 0.09);
  box-shadow: 0 5px 18px rgba(38,117,252,0.13);
}

body.dark #modeToggle:hover {
  background: rgba(102, 204, 255, 0.13);
  box-shadow: 0 5px 18px rgba(102,204,255,0.14);
}

#modeToggle:focus-visible {
  outline: 2.5px solid #2575fc;
  outline-offset: 2px;
  background: rgba(38, 117, 252, 0.07);
  box-shadow: 0 0 0 4px rgba(38,117,252,0.13);
}

body.dark #modeToggle:focus-visible {
  outline: 2.5px solid #66ccff;
  background: rgba(102, 204, 255, 0.10);
  box-shadow: 0 0 0 4px rgba(102,204,255,0.14);
}


body.dark #splash-screen {
  background-color: #000;
  color: #fff;
}

#splash-screen h1 {
  animation: scaleAndFade 2s ease forwards; /* Zvětšení a zmizení textu */
}

/* === ABOUT SECTION === */
.about-details {
  padding: 20px;
  text-align: center;
  max-width: 1900px;
}

/* === PORTFOLIO SECTION === */

/* === PREMIUM PORTFOLIO STYLES === */

.portfolio-badge-icon {
  font-size: 1.2rem;
}
/* Portfolio Filter Section */
.portfolio-filter-section {
  padding: 80px 0 60px 0;
  background: rgba(255, 255, 255, 0.02);
}

body.dark .portfolio-filter-section {
  background: rgba(0, 0, 0, 0.02);
}

.portfolio-filter-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.portfolio-filter-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 48px;
  color: #23243a;
  letter-spacing: -1px;
}

body.dark .portfolio-filter-title {
  color: #fff;
}

.portfolio-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.portfolio-filter-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(106, 17, 203, 0.1);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #23243a;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
}

.portfolio-filter-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(106, 17, 203, 0.3);
  box-shadow: 0 8px 24px rgba(106, 17, 203, 0.15);
}

.portfolio-filter-tab.active {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(106, 17, 203, 0.3);
}

.tab-icon {
  font-size: 1.1rem;
}

body.dark .portfolio-filter-tab {
  background: rgba(45, 46, 74, 0.9);
  border-color: rgba(138, 126, 255, 0.2);
  color: #e2e8f0;
}

body.dark .portfolio-filter-tab:hover {
  border-color: rgba(138, 126, 255, 0.4);
  box-shadow: 0 8px 24px rgba(138, 126, 255, 0.2);
}

/* Premium Portfolio Grid */
.premium-portfolio-section {
  padding: 60px 0 80px 0;
}

.premium-portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.premium-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.premium-portfolio-item {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.premium-portfolio-item.featured {
  grid-column: span 2;
}

.premium-portfolio-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(80, 80, 160, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.premium-portfolio-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px rgba(80, 80, 160, 0.2);
  border-color: rgba(106, 17, 203, 0.2);
}

body.dark .premium-portfolio-card {
  background: rgba(35, 36, 58, 0.95);
  border-color: rgba(138, 126, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body.dark .premium-portfolio-card:hover {
  border-color: rgba(138, 126, 255, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.premium-portfolio-image {
  position: relative;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.03) 0%, rgba(37, 117, 252, 0.02) 100%);
}

.project-logo {
  max-width: 500px;
  max-height: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.premium-portfolio-card:hover .project-logo {
  transform: scale(1.05);
}

.premium-portfolio-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
}

.premium-portfolio-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.portfolio-tag {
  background: rgba(255, 255, 255, 0.9);
  color: #23243a;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.portfolio-tag.web {
  background: rgba(37, 117, 252, 0.1);
  color: #2575fc;
  border-color: rgba(37, 117, 252, 0.3);
}

.portfolio-tag.marketing {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
  border-color: rgba(255, 193, 7, 0.3);
}

.portfolio-tag.content {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border-color: rgba(40, 167, 69, 0.3);
}

.portfolio-tag.seo {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border-color: rgba(220, 53, 69, 0.3);
}

.premium-portfolio-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.portfolio-project-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #23243a;
  margin: 0;
}

body.dark .portfolio-project-title {
  color: #fff;
}


.portfolio-project-year {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6a11cb;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portfolio-project-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

body.dark .portfolio-project-desc {
  color: #cbd5e0;
}

.portfolio-project-details {
  margin-bottom: 24px;
}

.portfolio-detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.detail-label {
  font-weight: 600;
  color: #6b7280;
}

body.dark .detail-label {
  color: #a0aec0;
}

.detail-value {
  color: #23243a;
  font-weight: 500;
}

body.dark .detail-value {
  color: #e2e8f0;
}

.portfolio-project-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.portfolio-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  justify-content: center;
}

.portfolio-btn.primary {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: #fff;
}

.portfolio-btn:hover {
  transform: translateY(-1px) !important; /* Zmenšil jsem z -2px */
  box-shadow: 0 6px 18px rgba(106, 17, 203, 0.25) !important; /* Zmenšil shadow */
}

.portfolio-btn.primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(106, 17, 203, 0.25) !important;
}

.portfolio-btn.secondary {
  background: transparent;
  color: #6a11cb;
  border: 2px solid rgba(106, 17, 203, 0.2);
}

.portfolio-btn.secondary:hover {
  transform: translateY(-1px) !important;
  background: rgba(106, 17, 203, 0.08) !important; /* Menší hover efekt */
  border-color: rgba(106, 17, 203, 0.3) !important;
}

body.dark .portfolio-btn.secondary {
  color: #8a7eff;
  border-color: rgba(138, 126, 255, 0.3);
}

body.dark .portfolio-btn.secondary:hover {
  transform: translateY(-1px) !important;
  background: rgba(138, 126, 255, 0.1) !important;
  border-color: rgba(138, 126, 255, 0.4) !important;
}

/* Coming Soon Cards */
.premium-portfolio-card.coming-soon {
  opacity: 0.8;
}

.coming-soon-placeholder {
  text-align: center;
  padding: 40px 20px;
}

.placeholder-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.coming-soon-placeholder h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #23243a;
}

body.dark .coming-soon-placeholder h4 {
  color: #fff;
}

.coming-soon-placeholder p {
  color: #666;
  margin: 0;
}

body.dark .coming-soon-placeholder p {
  color: #a0aec0;
}

/* Portfolio Testimonials */
.portfolio-testimonials {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.03) 0%, rgba(37, 117, 252, 0.02) 100%);
}

body.dark .portfolio-testimonials {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(35, 36, 58, 0.05) 100%);
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #23243a;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

body.dark .testimonials-title {
  color: #fff;
}

.testimonials-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin: 0;
}

body.dark .testimonials-subtitle {
  color: #a0aec0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(80, 80, 160, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(80, 80, 160, 0.15);
}

body.dark .testimonial-card {
  background: rgba(35, 36, 58, 0.95);
  border-color: rgba(138, 126, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body.dark .testimonial-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.testimonial-content {
  margin-bottom: 24px;
}

.testimonial-rating {
  margin-bottom: 16px;
}

.testimonial-rating span {
  color: #ffc107;
  font-size: 1.2rem;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #23243a;
  margin: 0;
  font-style: italic;
}

body.dark .testimonial-card blockquote {
  color: #e2e8f0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: contain;
}

.author-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

.author-name {
  font-size: 1rem;
  font-weight: 600;
  color: #23243a;
  margin: 0 0 4px 0;
}

body.dark .author-name {
  color: #fff;
}

.author-title {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

body.dark .author-title {
  color: #a0aec0;
}

/* Portfolio CTA Section */
.portfolio-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  position: relative;
  overflow: hidden;
}

.portfolio-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.portfolio-cta-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -1px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.portfolio-cta-gradient {
  background: linear-gradient(90deg, #00eaff 0%, #66ccff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(0, 234, 255, 0.3));
}

.portfolio-cta-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 40px;
}

.portfolio-cta-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.portfolio-cta-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-cta-btn.primary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.portfolio-cta-btn.primary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.portfolio-cta-btn.secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.portfolio-cta-btn.secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.portfolio-cta-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.cta-visual-element {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.cta-visual-element:nth-child(1) {
  animation-delay: 0s;
}

.cta-visual-element:nth-child(2) {
  animation-delay: 2s;
  width: 60px;
  height: 60px;
  left: 40px;
}

.cta-visual-element:nth-child(3) {
  animation-delay: 4s;
  width: 40px;
  height: 40px;
  right: 20px;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Portfolio Modal */
.portfolio-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.portfolio-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-modal-overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.portfolio-modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

body.dark .portfolio-modal-content {
  background: #23243a;
}

.portfolio-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  color: #666;
  transition: all 0.3s ease;
}

.portfolio-modal-close:hover {
  background: rgba(0, 0, 0, 0.2);
  color: #000;
}

body.dark .portfolio-modal-close {
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
}

body.dark .portfolio-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.portfolio-modal-body {
  padding: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .premium-portfolio-item.featured {
    grid-column: span 1;
  }
  
  .portfolio-cta-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
}

@media (max-width: 768px) {

  .portfolio-filter-tabs {
    gap: 8px;
  }
  
  .portfolio-filter-tab {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .premium-portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .portfolio-project-actions {
    flex-direction: column;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .portfolio-cta-title {
    font-size: 2.2rem;
  }
  
  .portfolio-cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .portfolio-modal-body {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .portfolio-hero {
    min-height: 50vh;
  }
  
  .portfolio-hero-content {
    padding: 1rem;
  }
  
  .portfolio-hero-title {
    font-size: 1.8rem;
  }
  
  .portfolio-hero-subtitle {
    font-size: 1rem;
  }
  
  .premium-portfolio-grid {
    gap: 20px;
    grid-template-columns: 1fr;
  }
  
  .premium-portfolio-card {
    border-radius: 16px;
  }
  
  .premium-portfolio-content {
    padding: 24px;
  }
  
  .testimonial-card {
    padding: 24px;
  }
  
  .portfolio-cta {
    padding: 60px 0;
  }
  
  .portfolio-cta-title {
    font-size: 1.8rem;
  }

  .premium-portfolio-item.featured {
    grid-column: span 1;
  }

  .project-logo {
    max-width: 100%;
    height: auto;
  }

  .portfolio-project-actions {
    flex-direction: column;
    gap: 8px;
  }
}


/* === INDEX PORTFOLIO === */
.portfolio-section.premium .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: stretch;
}


.portfolio-section.premium .portfolio-card {
  background: #fff !important;
  border: 1px solid rgba(36,42,70,0.08) !important;
  box-shadow: 0 8px 22px rgba(24,30,60,0.06) !important;
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .28s cubic-bezier(.2,.7,.3,1), 
              box-shadow .28s ease, 
              border-color .28s ease !important;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  animation: fadeUpCard 0.7s ease forwards;
}
.portfolio-section.premium .portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-section.premium .portfolio-card:nth-child(2) { animation-delay: 0.25s; }
.portfolio-section.premium .portfolio-card:nth-child(3) { animation-delay: 0.4s; }

@keyframes fadeUpCard {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.portfolio-section.premium .portfolio-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(106,17,203,0.22) !important;
  box-shadow: 0 16px 36px rgba(24,30,60,0.10) !important;
}


.portfolio-section.premium .portfolio-card__thumb img {
  max-height: 90px;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.portfolio-section.premium .portfolio-card:hover .portfolio-card__thumb img {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 12px rgba(106,17,203,0.35));
}


.portfolio-section.premium .portfolio-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 14px 0 10px;
  color: #23243a;
}
body.dark .portfolio-section.premium .portfolio-card__title {
  color: #fff;
}


.portfolio-section .portfolio-year {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: yearFadeIn 1s ease forwards;
}
@keyframes yearFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.portfolio-section.premium .portfolio-card:hover .portfolio-year {
  transform: translateY(-2px) scale(1.05);
  transition: transform 0.25s ease;
}


.portfolio-section.premium .portfolio-tech {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
  color: #6b7280 !important;
}
.portfolio-section.premium .portfolio-desc {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 14px;
  color: #2e2e2e !important;
}
body.dark .portfolio-section .portfolio-tech { color: #aaa !important; }
body.dark .portfolio-section .portfolio-desc { color: #e5e5e5 !important; }


.portfolio-section .portfolio-card .read-more {
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 800;
  margin-top: 16px; /* ➝ prostor navíc nad odkazem */
  align-self: flex-start;
  transition: transform 0.25s ease;
  display: inline-block;
}
.portfolio-section .portfolio-card .read-more:hover {
  transform: scale(1.05) translateX(4px);
}


body.dark .portfolio-section.premium .portfolio-card {
  background: rgba(34,34,34,0.96) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45) !important;
}

/* === SERVICES SECTION === */
.services-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 40px 0 20px 0;
}

  @media (max-width: 768px) {
    .services-buttons {
      flex-direction: row;
      align-items: center;
      gap: 8px;
      margin: 24px 16px 14px 16px;
      padding: 0 8px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .services-buttons .service-button {
      font-size: clamp(0.7rem, 1.8vw, 0.95rem);
      padding: 10px 6px;
      min-width: 70px;
      max-width: 19%;
      flex: 1 1 auto;
      white-space: normal;
      text-align: center;
      box-sizing: border-box;
      border-radius: 20px;
      line-height: 1.2;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

.services-details {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.service-detail {
  background: #fff;
  color: #222;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(80,80,160,0.08);
  padding: 0 32px;
  min-width: 260px;
  max-width: 340px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px) scale(0.96) rotateX(10deg);
  filter: blur(12px);
  transition:
    opacity 0.45s cubic-bezier(.4,1.3,.6,1),
    transform 0.55s cubic-bezier(.4,1.3,.6,1),
    filter 0.45s cubic-bezier(.4,1.3,.6,1),
    max-height 0.6s cubic-bezier(.4,1.3,.6,1),
    padding-top 0.4s cubic-bezier(.4,1.3,.6,1),
    padding-bottom 0.4s cubic-bezier(.4,1.3,.6,1);
  display: none;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

.service-detail.visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1) rotateY(0);
  filter: blur(0);
  max-height: 800px;
  padding-top: 28px;
  padding-bottom: 28px;
}

body.dark .service-detail {
  background: #23243a;
  color: #f4f4f4;
  box-shadow: 0 2px 16px rgba(30,30,60,0.18);
}

/* === CTA SECTION === */
.cta {
  margin-top: 18px !important;
  margin-bottom: 0 !important;
  padding: 20px;
  padding-top: 1px; /* menší mezera nahoře */
  text-align: center;
  border-radius: 12px;
  transition: margin-top 0.5s cubic-bezier(.4,1.3,.6,1);
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 15px; /* Menší mezera pod textem */
}

/* === AI USAGE SECTION === */
.ai-usage-table-section {
  margin: 40px auto 30px auto;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;

}

.ai-usage-table-section .text-container {
  margin-bottom: 18px;
  text-align: left;
}

.ai-usage-table {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 0;
  flex-wrap: wrap;
}

.ai-column {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(106,17,203,0.07);
  padding: 28px 22px 22px 22px;
  min-width: 240px;
  max-width: 350px;
  transition: transform 0.2s, background 0.3s;
  position: relative;
}

.ai-column:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(106,17,203,0.13);
}

.ai-yes {
  border-top: 5px solid #6a11cb;
  background: linear-gradient(120deg, #f3f8ff 80%, #e0e7ff 100%);
}

.ai-no {
  border-top: 5px solid #ff0050;
  background: linear-gradient(120deg, #fff7f7 80%, #ffe0e7 100%);
}

.ai-column h3 {
  font-size: 1.3rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ai-column ul li {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.check {
  font-size: 1.5em;
  color: #6a11cb;
  filter: drop-shadow(0 2px 2px #e0e7ff);
}

.cross {
  font-size: 1.5em;
  color: #ff0050;
  filter: drop-shadow(0 2px 2px #ffe0e7);
}

body.dark .ai-column {
  background: #23243a;
  color: #f4f4f4;
  box-shadow: 0 4px 24px rgba(34,34,34,0.18);
}

body.dark .ai-yes {
  background: linear-gradient(120deg, #23243a 80%, #2d2e4a 100%);
  border-top: 5px solid #8f5cff;
}

body.dark .ai-no {
  background: linear-gradient(120deg, #2d1a1a 80%, #3a2323 100%);
  border-top: 5px solid #ff0050;
}

body.dark .ai-column h3,
body.dark .ai-column ul li {
  color: #f4f4f4;
}

body.dark .check {
  color: #8f5cff;
  filter: drop-shadow(0 2px 2px #2d2e4a);
}

body.dark .cross {
  color: #ff0050;
  filter: drop-shadow(0 2px 2px #3a2323);
}

/* === BLOG SECTION === */
.blog-carousel {
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 48px 32px;
  max-width: 1100px;
  margin: 60px auto;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark .blog-carousel {
  background-color: rgba(34, 34, 34, 0.95); /* tmavý průsvitný */
  color: var(--text-light);
}


.blog-list-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 80px 20px; /* nahoře/po stranách/dole */
}

.blog-carousel h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #23243a;
  margin-bottom: 30px;
}
body.dark .blog-carousel h1 {
  color: #fff;
}


.blog-list-wrapper .section-headline {
  margin-top: 0px;
  margin-bottom: 24px;
  text-align: center;
}

.section-headline {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1.2rem;
  color: #23243a;
  text-align: center;
}
body.dark .section-headline {
  color: #fff;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 20px;
}

.carousel-viewport {
  max-width: 1100px;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease-out;
  transform: translate3d(0, 0, 0); /* Hardware acceleration */
  gap: 18px;
}

.carousel-item {
  flex: 0 0 calc((100% - 2 * 18px) / 3);
  max-width: calc((100% - 2 * 18px) / 3);
  min-width: 0;
  box-sizing: border-box;

  padding: 24px 18px 20px 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(80,80,160,0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 260px;
  text-align: left;
  transition: box-shadow 0.2s, background 0.2s;
}

body.dark .carousel-item {
  background: #23243a;
  color: #f4f4f4;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}

.carousel-item h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
  width: 100%;
  min-height: 56px;
  display: block;
}

.carousel-item h3,
.carousel-item p {
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}

.carousel-item h3,
.carousel-item p,
.carousel-item .tags,
.carousel-item .read-more {
  text-align: left !important;
  width: 100%;
}

.carousel-item p {
  margin-bottom: 16px;
  min-height: 48px;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}

.carousel-item .tags {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.carousel-item .read-more {
  margin-top: auto;
  align-self: flex-start;
  font-weight: bold;
  text-decoration: none;
  color: #6a11cb;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-left: 16px;
  margin-bottom: 4px;
}

.carousel-item .read-more:hover {
  color: #6a11cb;
  background: linear-gradient(90deg, #2575fc 0%, #6a11cb 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.05);
}

.read-more {
  display: inline-block;
  color: #66ccff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #33aaff;
}

.carousel-item:last-child {
  margin-right: 0;
}

.carousel-btn {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  font-family: 'Segoe UI Symbol', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  padding: 0;
  aspect-ratio: 1 / 1;
  vertical-align: middle;
  outline: none; /* Odstranit default focus outline */
}

.carousel-btn .arrow {
  display: inline-block;
  transform: translateY(-1px);
  transition: transform 0.2s ease;
  pointer-events: none; /* Zajistit že hover funguje na button, ne na arrow */
}

.carousel-btn:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: scale(1.07);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
}

.carousel-btn:hover .arrow {
  transform: translateY(-1px) scale(1.1);
}

.carousel-btn:focus,
.carousel-btn:active {
  transform: scale(1);
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.carousel-btn:focus .arrow,
.carousel-btn:active .arrow {
  transform: translateY(-1px);
}

/* DARK MODE */
body.dark .carousel-btn {
  background: linear-gradient(135deg, #374151, #1e3a8a);
  color: #f4f4f4;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

body.dark .carousel-btn:hover {
  background: linear-gradient(135deg, #1e3a8a, #374151);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}




.blog-carousel-footer {
  margin-top: 30px;
  text-align: center;
}

.blog-carousel-footer .styled-button {
  width: 300px;
  height: 46px; /* pevná výška, můžeš upravit */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
}

  @media (max-width: 768px) {
    .blog-carousel-footer .styled-button {
      width: 100%;
      max-width: 340px;
      min-width: 0;
      box-sizing: border-box;
      margin: 0 auto;
      display: block;
      padding-left: 0.5em;
      padding-right: 0.5em;
      text-align: center;
      height: auto;
    }
    .blog-carousel-footer {
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }



.blog-post {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.blog-post h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}

.blog-post .post-meta {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-bottom: 20px;
}

.blog-post h2 {
  font-size: 1.8rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #444;
}

.blog-post p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #555;
}

body.dark .blog-post {
  background: rgba(45, 45, 45, 0.95) !important;
  color: #f4f4f4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

body.dark .blog-post h1 {
  color: #fff;
}

body.dark .blog-post .post-meta {
  color: #aaa;
}

body.dark .blog-post h2 {
  color: #ddd;
}

body.dark .blog-post p {
  color: #ccc;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px 20px;
}


.blog-item {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.blog-item h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.blog-item h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-item h2 a:hover {
  color: var(--accent, #007BFF);
}

.blog-item p {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  color: #66ccff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #33aaff;
}

body.dark .blog-item {
  background: rgba(34, 34, 34, 0.9);
  color: #f4f4f4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

body.dark .blog-item h2 a:hover {
  color: #6a11cb;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark .read-more {
  color: #6a11cb;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark .read-more:hover {
  color: #6a11cb;
  background: linear-gradient(90deg, #2575fc 0%, #6a11cb 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === TAGS === */
.tags {
  margin-top: 10px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-block;
  padding: 5px 10px;
  font-size: 0.9rem;
  font-weight: bold;
  color: #fff;
  background-color: #007BFF; /* Výchozí barva */
  border-radius: 12px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.tag:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

.tag.Qvent {
  background-color: #6a11cb;
}

.tag.TikTok {
  background-color: #ff0050;
}

.tag.YouTube {
  background-color: #ff0000;
}

.tag.Instagram {
  background-color: #e1306c;
}

.tag.Novinky {
  background-color: #17a2b8;
}

.tag.Návody {
  background-color: #28a745;
}

.tag.Tipy {
  background-color: #ffc107;
}

.tag.PR {
  background-color: #0066ff;
}

.tag.Marketing {
  background-color: #d2e00f;
}

.tag.Startup {
  background-color: #4bb517;
}

.tag.Reklama {
  background-color: #d16023;
}

/* === FOOTER === */
footer {
  margin-top: 40px;
}

body.dark footer {
  background-color: var(--bg-dark);
}

.main-footer {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #333;
  padding: 40px 20px 0px;
}

body.dark .main-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  color: #e0e0e0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 30px;
  text-align: center;
}

.footer-content > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.footer-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #6a11cb;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.dark .footer-content h3 {
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-content p,
.footer-content a {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  transition: color 0.3s ease;
}

.footer-content a {
  color: inherit;
  text-decoration: none;
  padding: 4px 0;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.footer-content a:hover {
  color: #6a11cb !important;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  transform: translateX(4px);
}


.footer-content p,
.footer-content a {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  transition: color 0.3s ease;
}

.footer-content a {
  color: inherit;
  text-decoration: none;
  padding: 4px 0;
  border-radius: 4px;
  transition: all 0.3s ease;
}


.footer-content span,
.footer-content img,
.footer-content svg {
  background: none !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: inherit !important;
}

body.dark .footer-content a:hover {
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #6a11cb !important;
  transform: translateX(4px);
}


.footer-company-section {
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  margin: 0 -20px 30px -20px;
  padding: 30px 20px;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body.dark .footer-company-section {
  background: linear-gradient(90deg, #2d1b3d 0%, #1e2a4a 100%);
}

.footer-company-content {
  max-width: 800px;
  margin: 0 auto;
}

.company-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: center;
}

.company-about h3,
.company-social h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
  text-align: center;
}


.social-title {
  position: relative;
  display: inline-block;
}

.social-underline {
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.7) 0%, white 50%, rgba(255,255,255,0.7) 100%);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: underlineGrow 2s ease-in-out 0.5s forwards;
}

@keyframes underlineGrow {
  0% {
    width: 0;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    width: 80%;
    opacity: 1;
  }
}

.company-social:hover .social-underline {
  width: 100%;
  background: linear-gradient(90deg, white 0%, rgba(255,255,255,0.9) 50%, white 100%);
}

.company-about p,
.company-social p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 4px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.company-about p:first-of-type {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 16px;
  justify-content: center;
}

.company-social a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
}

.company-social a:hover {
  color: white;
  transform: translateX(8px) scale(1.05);
}


.company-social img {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.9);
}

.company-social p {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.company-social p:hover {
  transform: translateX(8px) scale(1.05);
}

.company-social p:hover img {
  transform: scale(1.3) rotate(10deg);
  filter: brightness(1.2) drop-shadow(0 0 8px rgba(255,255,255,0.5));
}

@keyframes subtlePulse {
  0%, 100% { 
    transform: scale(1);
    filter: brightness(0.9);
  }
  50% { 
    transform: scale(1.05);
    filter: brightness(1);
  }
}

.company-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  justify-content: center;
}

.company-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  animation: fadeInScale 0.6s ease-out backwards;
}

.company-badge:nth-child(1) { animation-delay: 0.2s; }
.company-badge:nth-child(2) { animation-delay: 0.4s; }
.company-badge:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.company-badge:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body.dark .company-badge {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

body.dark .company-badge:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

body.dark .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.footer-meta {
  font-size: 0.9rem;
  color: #666;
}

body.dark .footer-meta {
  color: #aaa;
}

.footer-meta a {
  color: inherit;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-meta a:hover {
  color: #6a11cb;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark .footer-meta a:hover {
  color: #6a11cb;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-note {
  font-size: 0.85rem;
  color: #888;
  font-style: italic;
}

body.dark .footer-note {
  color: #999;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
  }
  
  .company-info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  
  .company-badges {
    justify-content: center;
    gap: 8px;
  }
  
  .company-badge {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
}

/* === NEWSLETTER SECTION === */
.newsletter-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 30px;
  transition: background-color var(--transition-duration) var(--transition-ease),
              color var(--transition-duration) var(--transition-ease);
}


body.dark .newsletter-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-container h2 {
  font-size: 2.5rem; /* zvětšeno */
  margin-bottom: 15px;
}

.newsletter-container p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.newsletter-form input[type="email"] {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 95.5%;
}

.newsletter-form .styled-button {
  width: 100%;
  text-align: center;
}

.newsletter-footer-spacer {
  height: 50px;
}

/* === MISCELLANEOUS === */
.checklist {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.checklist li {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

hr {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid #ccc;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

a[href^="mailto:"] {
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
}

.styled-contact-form {
  max-width: 650px; /* původně 480px */
  margin: 32px auto 0 auto;
  padding: 32px 32px 28px 32px; /* více prostoru po stranách */
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(80,80,160,0.07);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
body.dark .styled-contact-form {
  background: rgba(34, 34, 34, 0.95);
  color: #f4f4f4;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.styled-contact-form label {
  font-weight: 500;
  margin-bottom: 2px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.styled-contact-form input,
.styled-contact-form textarea,
.styled-contact-form select {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 1rem;
  background: #f8fafc;
  color: #23243a;
  transition: border-color 0.2s;
}
.styled-contact-form input,
.styled-contact-form textarea,
.styled-contact-form select,
.styled-contact-form label,
.styled-contact-form button {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
}
body.dark .styled-contact-form input,
body.dark .styled-contact-form textarea,
body.dark .styled-contact-form select {
  background: #23243a;
  color: #fff;
  border: 1px solid #444;
}
.styled-contact-form input:focus,
.styled-contact-form textarea:focus,
.styled-contact-form select:focus {
  outline: none;
  border-color: #6a11cb;
}
.styled-contact-form button.styled-button {
  margin-top: 12px;
  font-size: 1.1rem;
  padding: 12px 0;
  border-radius: 24px;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(80,80,160,0.08);
}
.styled-contact-form button.styled-button:hover {
  background: linear-gradient(90deg, #2575fc 0%, #6a11cb 100%);
}
.styled-contact-form select[multiple] {
  min-height: 110px;
}

button,
input[type="submit"],
.styled-button,
.cta-button,
.service-button,
.styled-contact-form button,
.styled-contact-form .styled-button,
a.styled-button,
a.cta-button,
a.service-button {
  text-decoration: none !important;
}

/* === MOBILE OPTIMIZATION === */

@media (max-width: 768px) {
  body {
    padding: 0rem;
  }
  
  header {
    padding: 1rem;
  }

  .navbar {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.3rem;
    padding: 0.5rem 0.3rem;
  }
  
  .logo {
    height: 26px;
    margin-right: 0.4rem;
    min-width: 28px;
    max-width: 60px;
  }
  
  nav ul,
  .nav-links {
    flex-direction: row !important;
    gap: 0.3rem;
    width: auto;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    margin: 0;
  }
  
  nav li {
    font-size: 0.92rem;
    padding: 0 0.2rem;
    min-width: unset;
    width: auto;
    text-align: center;
  }
  
  nav a, 
  nav span {
    padding: 0.3rem 0.2rem;
    font-size: 0.92rem;
  }
  
  #modeToggle {
    height: 28px;
    width: 28px;
    margin-left: 0.2rem;
    padding: 0;
  }
  
  #modeToggle img {
    height: 100%;
    width: 100%;
  }

  .hero {
    min-height: 30vh;
  }

  .hero-headline {
    font-size: 1.8rem;
    max-width: 90%;
  }

  .hero-content {
    padding: 1rem;
  }

  .text-container, 
  .rounded-container {
    padding: 1rem;
    margin: 1rem 0;
    font-size: 1rem;
  }

  .text-container h1 {
    font-size: 1.2rem !important;
  }

  .text-container p {
    font-size: 1rem;
  }
  
  .static-prefix,
  #animated-header {
    font-size: 1.1rem !important;
    letter-spacing: -0.5px;
    max-width: 90vw;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
  }

  button, 
  .styled-button, 
  .cta-button, 
  .service-button {
    padding: 10px 20px;
    font-size: 1rem;
    min-width: 44px;
    min-height: 44px;
  }

  .portfolio-grid, 
  .blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portfolio-box, 
  .blog-item {
    max-width: 100%;
  }

  .styled-contact-form {
    padding: 1rem;
  }

  .styled-contact-form input, 
  .styled-contact-form textarea, 
  .styled-contact-form select {
    width: 100%;
    font-size: 1rem;
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
  }
  
  .company-info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  
  .company-badges {
    justify-content: center;
    gap: 8px;
  }
  
  .company-badge {
    font-size: 0.8rem;
    padding: 4px 8px;
  }

  .carousel-wrapper {
    gap: 6px;
    padding: 0 8px;
  }
  
  .carousel-viewport {
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  .carousel-track {
    gap: 2px;
    padding: 0;
  }
  
  .carousel-item {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 100%;
    margin: 0;
    padding: 18px 14px;
    border-radius: 14px;
    font-size: 0.95rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 220px;
    text-align: left;
  }
  
  .carousel-item h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 700;
  }
  
  .carousel-item p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
  }
  
  .blog-carousel-footer .styled-button {
    width: 100%;
    max-width: 340px;
    min-width: 0;
    box-sizing: border-box;
    margin: 0 auto;
    display: block;
    padding-left: 0.5em;
    padding-right: 0.5em;
    text-align: center;
    height: auto;
  }
  
  .blog-carousel-footer {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .services-buttons {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin: 24px 16px 14px 16px;
    padding: 0 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .services-buttons .service-button {
    font-size: clamp(0.7rem, 1.8vw, 0.95rem);
    padding: 10px 6px;
    min-width: 70px;
    max-width: 19%;
    flex: 1 1 auto;
    white-space: normal;
    text-align: center;
    box-sizing: border-box;
    border-radius: 20px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 425px) {
  body, 
  p, 
  .text-container p {
    font-size: 0.9rem;
  }

  .hero-headline {
    font-size: 1.5rem;
  }

  .text-container {
    padding: 0.8rem;
  }
  
  .text-container h1 {
    font-size: 1rem !important;
  }
  
  .static-prefix,
  #animated-header {
    font-size: 0.92rem !important;
  }
  
  .logo {
    height: 40px !important;
    min-width: 40px !important;
    max-width: 70px !important;
  }

  .blog-list .blog-item {
    padding: 14px 8px;
  }
  
  .blog-list .blog-thumb {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.8em;
    display: block;
  }
  
  .blog-list .blog-item h2 {
    font-size: 1.05em;
    word-break: break-word;
  }
  
  .blog-list .blog-item p {
    font-size: 0.98em;
  }
}

@media (max-width: 480px) {
  .carousel-wrapper {
    gap: 4px;
    padding: 0 6px;
  }
  
  .carousel-viewport {
    padding: 0;
  }
  
  .carousel-track {
    gap: 1px;
    padding: 0;
  }
  
  .carousel-item {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 100%;
    padding: 14px 10px;
  }
  
  .carousel-item h3 {
    font-size: 0.95rem;
  }
  
  .carousel-item p {
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  h1, 
  .blog-post h1 {
    font-size: 1.35rem !important;
    line-height: 1.18;
    margin-bottom: 0.7em;
  }
  
  h2, 
  .blog-post h2 {
    font-size: 1.08rem !important;
    line-height: 1.16;
    margin-bottom: 0.5em;
  }
}

@media (max-width: 800px) {
  .hamburger {
    display: flex !important;
  }
  
  .nav-links {
    display: none !important;
  }
  
  .mobile-menu {
    display: none;
  }
  
  .mobile-menu.open {
    display: block;
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }
  
  .logo {
    height: 48px !important;
    min-width: 48px !important;
    max-width: 90px !important;
    margin-right: 0.7rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  header {
    padding: 1.5rem 2rem;
  }

  nav ul {
    gap: 2rem;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .portfolio-grid, 
  .blog-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

img {
  max-width: 100%;
  height: auto;
}

a, 
button, 
.styled-button, 
.cta-button, 
.service-button {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === UNIFIKOVANÁ ŠÍŘKA HLAVNÍCH KONTEJNERŮ === */
.text-container,
.portfolio-section,
.newsletter-section {
  max-width: var(--main-content-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.portfolio-grid {
  max-width: var(--main-content-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.button-container {
  max-width: var(--main-content-width);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

@keyframes serviceDetailFlipIn {
  0% {
    opacity: 0;
    transform: scale(0.7) rotateY(40deg) translateY(60px);
    filter: blur(10px);
  }
  60% {
    opacity: 1;
    transform: scale(1.05) rotateY(-8deg) translateY(-8px);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotateY(0) translateY(0);
    filter: blur(0);
  }
}

.service-detail.visible {
  animation: serviceDetailFlipIn  0.65s cubic-bezier(.5,1.5,.7,1) both;
}

/* === PREMIUM CONTACT PAGE STYLES === */

/* Kontaktní sekce - používá základní background stránky */
.contact-details {
  padding: 60px 0;
}

/* Přepsání původních stylů pro premium design */
.contact-details .text-container {
  background: rgba(255,255,255,0.9) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(106,17,203,0.1) !important;
  border-radius: 24px !important;
  padding: 40px !important;
  box-shadow: 0 20px 40px rgba(106,17,203,0.08) !important;
  max-width: 800px;
  margin: 0 auto !important;
}

body.dark .contact-details .text-container {
  background: rgba(35, 36, 58, 0.9) !important;
  border-color: rgba(138, 126, 255, 0.2) !important;
}

.contact-details h2 {
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  text-align: center;
  margin-bottom: 32px !important;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Přepsání contact-divider stylu */
.contact-divider {
  width: 80px !important;
  height: 4px !important;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%) !important;
  margin: 0 auto 32px auto !important;
  border-radius: 2px;
  animation: none !important;
  transform: scaleX(1) !important;
}

.contact-details p {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 16px 24px !important;
  margin: 16px 0 !important;
  background: rgba(255,255,255,0.6) !important;
  border-radius: 16px !important;
  border: 1px solid rgba(106,17,203,0.1) !important;
  transition: all 0.3s ease !important;
}

body.dark .contact-details p {
  background: rgba(45, 46, 74, 0.6) !important;
  border-color: rgba(138, 126, 255, 0.2) !important;
}

.contact-details p:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(106,17,203,0.15) !important;
  border-color: rgba(37,117,252,0.3) !important;
}

.contact-link {
  color: #2575fc !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  transition: color 0.3s ease !important;
}

.contact-link:hover {
  color: #6a11cb !important;
}

body.dark .contact-link {
  color: #66ccff !important;
}

body.dark .contact-link:hover {
  color: #8a7eff !important;
}

/* Premium Form Styles - UNIFIED */
.consultation {
  padding: 80px 0;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  position: relative;
  overflow: hidden;
}

.consultation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 40% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0.3;
}

.consultation-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.consultation-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.consultation-subtitle {
  text-align: center;
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.premium-contact-form {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.3);
}

body.dark .premium-contact-form {
  background: rgba(35, 36, 58, 0.95) !important;
  border-color: rgba(138, 126, 255, 0.2);
}

/* UNIFIED FORM ELEMENT STYLES */
.premium-contact-form .form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.premium-contact-form .form-group {
  position: relative;
  flex: 1;
}

.premium-contact-form .form-group.full-width {
  width: 100%;
  margin-bottom: 32px;
}

/* JEDNOTNÝ STYLING PRO VŠECHNY ELEMENTY - BEZ VÝJIMEK */
select,
.premium-contact-form select,
.premium-contact-form .form-group select,
.styled-contact-form select {
  /* ÚPLNÉ ZRUŠENÍ VŠECH VÝCHOZÍCH STYLŮ */
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  
  /* Zrušení všech možných background obrázků */
  background-image: none !important;
  background: transparent !important;
  
  /* Základní styling */
  width: 100% !important;
  padding: 18px 50px 18px 16px !important;
  border: 2px solid rgba(106, 17, 203, 0.2) !important;
  border-radius: 16px !important;
  font-size: 1.1rem !important;
  font-family: 'Inter', sans-serif !important;
  color: #2d3748 !important;
  outline: none !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  
  /* ZNOVU APLIKUJEME BACKGROUND PO RESETU */
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.08) 0%, rgba(37, 117, 252, 0.06) 100%) !important;
  
  /* VLASTNÍ ŠIPKA - POUZE JEDNA */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a11cb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 20px !important;
}

/* EXPLICITNÍ ZRUŠENÍ IE/EDGE ŠIPEK */
select::-ms-expand,
.premium-contact-form select::-ms-expand,
.premium-contact-form .form-group select::-ms-expand,
.styled-contact-form select::-ms-expand {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* OSTATNÍ FORM ELEMENTY */
.premium-contact-form input,
.premium-contact-form textarea,
.premium-contact-form .form-group input,
.premium-contact-form .form-group textarea,
.premium-contact-form input[type="text"],
.premium-contact-form input[type="email"],
.premium-contact-form input[type="tel"] {
  width: 100% !important;
  padding: 18px 16px 10px 16px !important;
  border: 2px solid rgba(106, 17, 203, 0.2) !important;
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.08) 0%, rgba(37, 117, 252, 0.06) 100%) !important;
  border-radius: 16px !important;
  font-size: 1.1rem !important;
  font-family: 'Inter', sans-serif !important;
  color: #2d3748 !important;
  outline: none !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
}

body.dark select,
body.dark .premium-contact-form select,
body.dark .premium-contact-form .form-group select,
body.dark .styled-contact-form select {
  background: linear-gradient(135deg, rgba(138, 126, 255, 0.15) 0%, rgba(102, 204, 255, 0.12) 100%) !important;
  color: #e2e8f0 !important;
  border-color: rgba(138, 126, 255, 0.3) !important;
  
  /* Dark mode šipka */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366ccff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 20px !important;
}

/* Dark mode dropdown options - HLAVNÍ OPRAVA */
body.dark select option {
  background-color: #2d2e4a !important;
  color: #e2e8f0 !important;
  padding: 12px 16px !important;
  border: none !important;
}

body.dark select option:hover,
body.dark select option:focus,
body.dark select option:checked {
  background-color: #3d4166 !important;
  color: #66ccff !important;
}

/* Alternativní způsob pro WebKit prohlížeče */
body.dark select option:hover {
  background: linear-gradient(135deg, #3d4166 0%, #2d2e4a 100%) !important;
  color: #66ccff !important;
}

/* DARK MODE OSTATNÍ ELEMENTY */
body.dark .premium-contact-form input,
body.dark .premium-contact-form textarea,
body.dark .premium-contact-form .form-group input,
body.dark .premium-contact-form .form-group textarea {
  background: linear-gradient(135deg, rgba(138, 126, 255, 0.15) 0%, rgba(102, 204, 255, 0.12) 100%) !important;
  color: #e2e8f0 !important;
  border-color: rgba(138, 126, 255, 0.3) !important;
}

/* FOCUS STAVY */
.premium-contact-form input:focus,
.premium-contact-form select:focus,
.premium-contact-form textarea:focus,
.premium-contact-form .form-group input:focus,
.premium-contact-form .form-group select:focus,
.premium-contact-form .form-group textarea:focus {
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.12) 0%, rgba(37, 117, 252, 0.1) 100%) !important;
  border-color: #2575fc !important;
  box-shadow: 0 8px 24px rgba(37, 117, 252, 0.3) !important;
  transform: translateY(-2px) !important;
}

/* FOCUS PRO SELECT - ZACHOVÁME ŠIPKU */
.premium-contact-form select:focus,
.premium-contact-form .form-group select:focus {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a11cb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 20px !important;
}

body.dark .premium-contact-form input:focus,
body.dark .premium-contact-form select:focus,
body.dark .premium-contact-form textarea:focus,
body.dark .premium-contact-form .form-group input:focus,
body.dark .premium-contact-form .form-group select:focus,
body.dark .premium-contact-form .form-group textarea:focus {
  background: linear-gradient(135deg, rgba(138, 126, 255, 0.2) 0%, rgba(102, 204, 255, 0.18) 100%) !important;
  border-color: #66ccff !important;
  box-shadow: 0 8px 24px rgba(102, 204, 255, 0.4) !important;
}

/* DARK MODE FOCUS PRO SELECT - ZACHOVÁME ŠIPKU */
body.dark .premium-contact-form select:focus,
body.dark .premium-contact-form .form-group select:focus {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366ccff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 20px !important;
}

/* Labels - přepozicované */
.premium-contact-form label,
.premium-contact-form .form-group label {
  position: absolute !important;
  top: 6px !important;
  left: 16px !important;
  color: #2575fc !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  pointer-events: none !important;
  transform-origin: left !important;
  background: transparent !important;
  padding: 0 4px !important;
  z-index: 10 !important;
}

/* Labels pro dark mode */
body.dark .premium-contact-form label,
body.dark .premium-contact-form .form-group label {
  color: #66ccff !important;
}

/* Odstraníme původní form-line úplně */
.premium-contact-form .form-line {
  display: none !important;
}

/* Placeholder styling */
.premium-contact-form input::placeholder,
.premium-contact-form select::placeholder,
.premium-contact-form textarea::placeholder {
  color: transparent !important;
}

.premium-submit-btn {
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(106, 17, 203, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-top: 24px;
}

.premium-submit-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px rgba(106, 17, 203, 0.5);
  background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
}

.premium-submit-btn svg {
  transition: transform 0.3s ease;
}

.premium-submit-btn:hover svg {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
  .premium-contact-form .form-row {
    flex-direction: column;
    gap: 24px;
  }
  
  .premium-contact-form {
    padding: 32px 24px;
  }
  
  .consultation-title {
    font-size: 2rem;
  }

  .consultation-subtitle {
    font-size: 1.1rem;
  }
}

.contact-details .text-container p {
  display: flex;
  align-items: center;
  gap: 1.5em;
  margin: 0.6em 0;
}

.contact-link {
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
}
.contact-link:hover {
  color: var(--accent);
}

.contact-divider {
  height: 2.5px;
  background-color: var(--text-dark);
  width: 75%;
  max-width: 480px;
  margin-top: 0.2rem;
  margin-bottom: 1.2rem; /* větší mezera pod čárou */
  transform-origin: left;
  transform: scaleX(0);
  animation: revealDivider 0.9s cubic-bezier(0.3, 0, 0.7, 1) forwards;
}

body.dark .contact-divider {
  background-color: var(--text-light);
}

@keyframes revealDivider {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}


.contact-details .text-container p a {
  word-break: normal;
}

.contact-details .text-container {
  max-width: 650px; /* původně 480px */
  margin: 32px auto 0 auto;
  padding: 32px 32px 28px 32px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(80,80,160,0.07);
}

body.dark .contact-details .text-container {
  background: rgba(34, 34, 34, 0.95);
  color: #f4f4f4;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.contact-details .text-container,
.styled-contact-form {
  max-width: 650px;
  margin: 32px auto 0 auto;
  padding: 32px 32px 28px 32px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(80,80,160,0.07);
  box-sizing: border-box;
}

body.dark .contact-details .text-container,
body.dark .styled-contact-form {
  background: rgba(34, 34, 34, 0.95);
  color: #f4f4f4;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

body.dark .contact-details .text-container,
body.dark .styled-contact-form {
  background: rgba(34, 34, 34, 0.95);
  color: #f4f4f4;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.blog-post-image-wrapper {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 2rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(80,80,160,0.10);
}

.blog-post-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 340px;
}

@media (max-width: 480px) {
  .carousel-wrapper {
    gap: 4px;
    padding: 0 6px;
  }
  
  .carousel-viewport {
    padding: 0;
  }
  
  .carousel-track {
    gap: 1px;
    padding: 0;
  }
  
  .carousel-item {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 100%;
    padding: 14px 10px;
  }
  
  .carousel-item h3 {
    font-size: 0.95rem;
  }
  
  .carousel-item p {
    font-size: 0.8rem;
  }
  
  .achievements-grid { 
    grid-template-columns: 1fr; 
  }
  
  .process-step::before { 
    font-size: 44px; 
    left: 10px; 
  }
  
  .achievement-number { 
    font-size: 2.6rem; 
  }
}

/* === GDPR STYLES === */
.gdpr-bg {
  background: #fff;
  color: #23243a;
  transition: background 0.3s, color 0.3s;
}
body.dark.gdpr-bg {
  background-color: var(--bg-dark); /* Používá stejnou barvu jako zbytek webu */
  color: var(--text-light);
}

body.dark.gdpr-bg h1 {
  color: #fff !important;
}

body.gdpr-bg main a,
body.gdpr-bg main a:visited,
body.gdpr-bg .text-container a,
body.gdpr-bg .text-container a:visited {
  color: inherit;
  text-decoration: underline;
}

body.gdpr-bg header a,
body.gdpr-bg header a:visited,
body.gdpr-bg nav a,
body.gdpr-bg nav a:visited,
body.gdpr-bg .nav-links a,
body.gdpr-bg .nav-links a:visited,
body.gdpr-bg .dropdown-content a,
body.gdpr-bg .dropdown-content a:visited,
body.gdpr-bg .mobile-menu a,
body.gdpr-bg .mobile-menu a:visited {
  color: inherit;
  text-decoration: none;
}

body.gdpr-bg header a:hover,
body.gdpr-bg nav a:hover,
body.gdpr-bg .nav-links a:hover,
body.gdpr-bg .nav-links span:hover,
body.gdpr-bg .dropdown-content a:hover,
body.gdpr-bg .mobile-menu a:hover {
  color: var(--accent) !important;
}

/* === HAMBURGER MENU === */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  z-index: 1201;
  margin-left: auto;
  padding: 8px;
  transition: all 0.3s ease;
  position: relative;
  outline: none !important;
}

.hamburger:hover,
.hamburger:focus,
.hamburger:active,
.hamburger.open {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  transform: scale(1.1);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 3px 0;
  background: #191919 !important;
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  transform-origin: center;
}

body.dark .hamburger span {
  background: #F4F4F4 !important;
}

/* Zajistíme, že se barva nemění při hover/focus/active */
.hamburger:hover span,
.hamburger:focus span,
.hamburger:active span,
.hamburger.open span,
.hamburger.open:hover span,
.hamburger.open:focus span,
.hamburger.open:active span {
  background: #191919 !important;
}

body.dark .hamburger:hover span,
body.dark .hamburger:focus span,
body.dark .hamburger:active span,
body.dark .hamburger.open span,
body.dark .hamburger.open:hover span,
body.dark .hamburger.open:focus span,
body.dark .hamburger.open:active span {
  background: #F4F4F4 !important;
}

/* Elegantní animace - přeměna na X */
.hamburger.open span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Mobilní menu kontejner */
.mobile-menu {
  display: none;
  position: fixed;
  top: 100px;
  left: 18px;
  right: 18px;
  width: auto;
  min-height: 320px;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  background: var(--bg-light);
  backdrop-filter: blur(20px);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  z-index: 1200;
  transform: translateY(-20px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  border: 1px solid rgba(255,255,255,0.2);
  overflow-y: auto;
}

/* Dark mode styly pro mobile menu */
body.dark .mobile-menu {
  background: var(--bg-dark);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Otevřené menu */
.mobile-menu.open {
  display: block;
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* Media queries pro zobrazení hamburger menu */
@media (max-width: 800px) {
  .hamburger {
    display: flex !important;
  }
  
  .nav-links {
    display: none !important;
  }
  
  .mobile-menu {
    display: none;
  }
  
  .mobile-menu.open {
    display: block;
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }
}

/* Styly pro položky v mobile menu */
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
  width: 100%;
}

.mobile-menu li {
  width: 100%;
  margin-bottom: 0.5rem;
}

.mobile-menu a {
  display: block;
  width: 100%;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: left;
}

.mobile-menu a:hover {
  background: var(--accent);
  color: white;
}

/* Dark mode styly pro odkazy v menu */
body.dark .mobile-menu a {
  color: var(--text-light);
}

body.dark .mobile-menu a:hover {
  background: var(--accent);
  color: white;
}

/* Responzivní logo adjustments */
@media (max-width: 800px) {
  .logo {
    height: 48px !important;
    min-width: 48px !important;
    max-width: 90px !important;
    margin-right: 0.7rem;
  }
}

@media (max-width: 425px) {
  .logo {
    height: 40px !important;
    min-width: 40px !important;
    max-width: 70px !important;
  }
}

/* 404 Error Styles */
.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--accent);
  text-align: center;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.error-message {
  font-size: 1.2rem;
  text-align: center;
  margin: 2rem 0;
  opacity: 0.8;
  line-height: 1.6;
}

.error-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.error-suggestions {
  padding: 4rem 0;
}

.suggestions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.suggestion-card {
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.suggestion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.suggestion-card h3 {
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
}

.suggestion-card p {
  margin: 0;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .error-code {
    font-size: 5rem;
  }
  
  .error-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .suggestions-grid {
    grid-template-columns: 1fr;
  }
}

/* === MICRO-ANIMATIONS & ADVANCED EFFECTS === */

/* Service buttons hover efekty */
.service-button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Blog items hover efekty */
.blog-item {
  transition: all 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.blog-item:hover .blog-thumb {
  transform: scale(1.05);
}

.blog-thumb {
  transition: transform 0.4s ease;
}

/* Portfolio items hover efekty */
.portfolio-entry {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-entry:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.portfolio-entry:hover img {
  transform: scale(1.1) rotate(2deg);
}

.portfolio-entry img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form inputs hover efekty */
input, 
textarea, 
select {
  transition: all 0.3s ease;
}

input:focus, 
textarea:focus, 
select:focus {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Tags micro-animace */
.tag {
  transition: all 0.3s ease;
}

.tag:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Read more links animace */
.read-more {
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  color: #6a11cb;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover {
  color: #2575fc;
  transform: scale(1.05);
}

.read-more::after {
  content: ' →';
  display: inline-block;
  margin-left: 4px;
}

/* Carousel buttons pulse efekt */
.carousel-btn {
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.carousel-btn:active {
  transform: scale(0.95);
}

/* Fade-in animace pro sekce */
.about-details, 
.about-values, 
.about-team, 
.blog-list-wrapper, 
.portfolio-section,
.services-buttons, 
.services-details {
  animation: fadeInUp 0.8s ease-out;
}

/* === PROCESS SECTION === */
.process-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.process-section .section-headline {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 40px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}

.process-step {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  padding: 28px 24px 24px 24px;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.process-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #23243a;
}

.process-step p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* číslo v pozadí */
.process-step::before {
  content: attr(data-step);
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.15;
  pointer-events: none;
}

/* Dark mode */
body.dark .process-step {
  background: #23243a;
  color: #f4f4f4;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

body.dark .process-step h3 {
  color: #fff;
}

body.dark .process-step p {
  color: #ddd;
}

body.dark .process-step::before {
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.2;
}

/* === ACHIEVEMENTS SECTION === */
.achievements-section {
  background: linear-gradient(180deg, rgba(106,17,203,0.06), rgba(37,117,252,0.02));
  padding: 28px 14px;
  border-radius: 12px;
  margin-top: 26px;
  text-align: center;
}

.achievements-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  max-width: var(--main-content-width);
  margin: 0 auto;
  align-items: stretch;
}

.achievement-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(10, 14, 30, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 200px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-4px);
  border-color: rgba(106,17,203,0.2);
  box-shadow: 0 12px 40px rgba(10, 14, 30, 0.15);
}

.achievement-number {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.achievement-card h3 { 
  margin: 0 0 8px 0; 
  font-size: 1.1rem; 
  font-weight: 600;
  color: #23243a;
}

.achievement-card .muted { 
  color: #6b7280; 
  font-size: 0.95rem; 
  margin: 0;
}

@media (max-width: 768px) {
  .achievements-grid {
    flex-wrap: wrap;
    gap: 20px;
  }

  .achievement-card {
    min-width: unset;
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .achievement-number {
    font-size: 2.5rem;
  }
  
  .achievement-card {
    padding: 24px 16px;
  }
}


/* Dark mode pro achievement cards */
body.dark .achievement-card {
  background: rgba(45,45,45,0.95) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  box-shadow: 0 12px 36px rgba(0,0,0,0.38) !important;
}

body.dark .achievement-card h3 { 
  color: #fff; 
}

body.dark .achievement-card .muted { 
  color: #b3b3b3; 
}

@media (max-width: 900px) {
  .achievements-grid { 
    grid-template-columns: 1fr 1fr; 
  }
}

/* === PREMIUM PORTFOLIO === */
.portfolio-section.premium {
  background: none !important;
  border-radius: 0 !important;
}

/* Card */
.portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 18px;
  padding: 22px 18px 18px 18px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.78)) padding-box,
              linear-gradient(135deg, rgba(106,17,203,0.5), rgba(37,117,252,0.5)) border-box;
  box-shadow: 0 10px 30px rgba(80,80,160,0.12);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 16px 40px rgba(80,80,160,0.16), 0 4px 12px rgba(0,0,0,0.05);
}

/* Subtle shine sweep - DISABLED */
.portfolio-card::after {
  display: none;
}

.portfolio-card:hover::after { 
  display: none;
}

/* Thumb with gradient halo */
.portfolio-card__thumb {
  background: none !important;
  box-shadow: none !important;
}
/* Logo animace pro portfolio karty */
.portfolio-card__thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: 96px;
  max-height: 96px;
  border-radius: 14px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.3s ease;
}

.portfolio-card:hover .portfolio-card__thumb img {
  transform: scale(1.05);
  filter: brightness(1.1);
}
@media (max-width: 768px) {
  .portfolio-card__thumb img { max-width: 84px; max-height: 84px; border-radius: 12px; }
}

/* Title */
.portfolio-card__title { font-weight: 800; font-size: 1.15rem; margin: 6px 0 6px; }

/* Info/meta under the title */
.portfolio-card .portfolio-info {
  margin-top: 6px;
  gap: 4px;
  align-items: center;
  font-size: 0.95rem;
  color: #555;
}
.portfolio-card .portfolio-year { color: var(--accent, #688d60); font-weight: 800; }
.portfolio-card .portfolio-tech { color: #6b7280; }
.portfolio-card .portfolio-desc { color: #333; }

/* Call to action inside card */
.portfolio-card .read-more {
  margin-top: 12px;
  font-weight: 800;
  align-self: center;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card .read-more::after { 
  content: ' →'; 
  display: inline-block;
  transition: transform 0.3s ease;
}

.portfolio-card:hover .read-more {
  transform: translateX(3px);
}

.portfolio-card:hover .read-more::after {
  transform: translateX(2px);
}

/* Dark mode */
body.dark .portfolio-section.premium {
  background: none !important;
}

body.dark .portfolio-card {
  background: linear-gradient(180deg, rgba(45,45,45,0.95), rgba(45,45,45,0.86)) padding-box,
              linear-gradient(135deg, rgba(106,17,203,0.55), rgba(37,117,252,0.55)) border-box;
  box-shadow: 0 12px 36px rgba(0,0,0,0.38), 0 0 0 1px rgba(255,255,255,0.06);
}

body.dark .portfolio-card__thumb {
  background: radial-gradient(60% 60% at 50% 40%, rgba(106,17,203,0.35), rgba(37,117,252,0.3) 60%, rgba(0,0,0,0) 61%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07);
}

body.dark .portfolio-card .portfolio-info { color: #d0d0d0; }
body.dark .portfolio-card .portfolio-tech { color: #aaa; }
body.dark .portfolio-card .portfolio-desc { color: #e5e5e5; }

/* Responsive tweaks */
@media (max-width: 768px) {
  .portfolio-grid--premium { gap: 14px; padding: 0 6px; }
  .portfolio-card { padding: 18px 14px 14px; }
  .portfolio-card__thumb { width: 84px; height: 84px; border-radius: 18px; }
  .portfolio-card__title { font-size: 1.05rem; }
}

/* Footer mailto links — brand gradient hover (high specificity) */
body.dark footer.main-footer .footer-content a[href^="mailto:"]:hover,
body.dark footer.main-footer .footer-content a[href^="mailto:"]:focus {
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Footer mailto links — brand gradient hover (light mode) */
body.light footer.main-footer .footer-content a[href^="mailto:"]:hover,
body:not(.dark) footer.main-footer .footer-content a[href^="mailto:"]:hover {
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #6a11cb !important; /* fallback */
  transform: translateX(4px);
}

/* === PRICING SECTION === */
.pricing-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-section h2 {
  text-align: center;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgba(106,17,203,0.08);
  border-radius: 20px;
  padding: 28px 24px 24px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 32px rgba(80,80,160,0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.pricing-card:hover::before {
  transform: scaleX(1);
}

.pricing-card:hover {
  transform: translateY(-12px) scale(1.03);
  border-color: rgba(106,17,203,0.2);
  box-shadow: 0 20px 60px rgba(80,80,160,0.2);
}

.pricing-icon-visual {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(106,17,203,0.1) 0%, rgba(37,117,252,0.1) 100%);
  border-radius: 50%;
  transition: all 0.4s ease;
  position: relative;
}

.pricing-icon-visual::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.pricing-card:hover .pricing-icon-visual::before {
  opacity: 1;
}

.pricing-card:hover .pricing-icon-visual {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 20px rgba(106,17,203,0.3);
}

.pricing-icon-visual svg {
  width: 48px;
  height: 48px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.pricing-card:hover .pricing-icon-visual svg {
  transform: scale(1.1);
}

.pricing-card:hover .pricing-icon-visual svg path {
  fill: #ffffff !important;
}

.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #23243a;
}

.pricing-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: auto;
  flex-grow: 1;
}

.pricing-button {
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
}

.pricing-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(106,17,203,0.3);
}

/* Dark mode */
body.dark .pricing-card {
  background: rgba(45,45,45,0.98);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

body.dark .pricing-card h3 {
  color: #fff;
}

body.dark .pricing-card p {
  color: #ddd;
}

body.dark .pricing-card:hover {
  border-color: rgba(106,17,203,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

body.dark .pricing-icon-visual {
  background: linear-gradient(135deg, rgba(106,17,203,0.15) 0%, rgba(37,117,252,0.15) 100%);
}

body.dark .pricing-card:hover .pricing-icon-visual {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(106,17,203,0.4);
}

/* === PRICING MODAL === */
.pricing-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}

.pricing-modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.pricing-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  color: #666;
  transition: color 0.3s ease;
}

.pricing-close:hover {
  color: #000;
}

#pricing-content {
  padding: 32px;
}

#pricing-content h2 {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 1.8rem;
  color: #23243a;
}

.pricing-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-item {
  background: rgba(106,17,203,0.03);
  border: 1px solid rgba(106,17,203,0.1);
  border-radius: 12px;
  padding: 20px;
}

.pricing-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.pricing-item h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #23243a;
}

.price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #6a11cb;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-item p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

.pricing-note {
  margin-top: 24px;
  padding: 16px;
  background: rgba(255,193,7,0.1);
  border-left: 4px solid #ffc107;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #856404;
}

/* Dark mode modal */
body.dark .pricing-modal-content {
  background-color: #23243a;
}

body.dark .pricing-close {
  color: #ddd;
}

body.dark .pricing-close:hover {
  color: #fff;
}

body.dark #pricing-content h2 {
  color: #fff;
}

body.dark .pricing-item {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

body.dark .pricing-item h3 {
  color: #fff;
}

body.dark .pricing-item p {
  color: #ddd;
}

body.dark .pricing-note {
  background: rgba(255,193,7,0.15);
  color: #ffc107;
}

/* === AWARDS SECTION === */
.awards-section {
  padding: 80px 0; /* Zvětšil jsem padding pro více prostoru */
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  width: 100%;
  text-align: center;
  overflow: visible; /* Povolíme přetékání pro animace */
}

.awards-section h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 60px 0; /* Zvětšil jsem margin-bottom */
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.awards-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 0 auto;
  max-width: 1400px;
  padding: 20px 24px 40px 24px; /* Přidal jsem padding-bottom pro prostor animace */
  box-shadow: none;
  background: none;
  border-radius: 0;
  overflow-x: auto;
  overflow-y: visible; /* Důležité pro vertikální animace */
}

.award-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 24px 20px;
  min-width: 180px;
  flex: 1;
  max-width: 220px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Zpomalil jsem animaci */
  position: relative; /* Přidal jsem pro lepší handling z-indexu */
  z-index: 1;
}

.award-badge:hover {
  transform: translateY(-8px) scale(1.03); /* Mírně jsem zmenšil scale */
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25); /* Více shadowu pro lepší efekt */
  z-index: 10; /* Zajistí, že hover karta je nad ostatními */
}

.award-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
  transition: transform 0.3s ease; /* Přidal jsem animaci pro ikonu */
}

.award-badge:hover .award-icon {
  transform: scale(1.1) rotate(5deg); /* Jemná animace ikony */
}

.award-text h4 {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.award-badge:hover .award-text h4 {
  transform: translateY(-2px);
}

.award-text span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: color 0.3s ease;
}

.award-badge:hover .award-text span {
  color: rgba(255, 255, 255, 0.95);
}

/* Dark mode */
body.dark .awards-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
}

body.dark .awards-section h2 {
  color: #fff;
}

body.dark .award-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

body.dark .award-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* Mobile optimalizace */
@media (max-width: 768px) {
  .awards-section {
    padding: 60px 0; /* Zmenšil jsem pro mobil */
  }
  
  .awards-grid {
    flex-direction: column;
    gap: 20px; /* Zmenšil jsem gap */
    padding: 20px 20px 30px 20px;
    align-items: center;
  }
  
  .award-badge {
    padding: 20px 16px; /* Zmenšil jsem padding */
    max-width: 280px;
    width: 100%;
  }
  
  .award-badge:hover {
    transform: translateY(-6px) scale(1.02); /* Menší animace na mobilu */
  }
  
  .award-icon {
    font-size: 2rem;
  }
  
  .awards-section h2 {
    margin-bottom: 40px;
  }
}

/* Extra malé mobily */
@media (max-width: 480px) {
  .awards-section {
    padding: 40px 0;
  }
  
  .awards-grid {
    padding: 15px 15px 25px 15px;
    gap: 16px;
  }
  
  .award-badge {
    padding: 18px 14px;
  }
}
/* === PROCESS COLUMNS === */
.process-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.process-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Mobile optimalizace */
@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .pricing-card {
    padding: 24px 18px;
  }
  
  .pricing-modal-content {
    width: 95%;
    margin: 10% auto;
  }
  
  #pricing-content {
    padding: 24px 20px;
  }
  
  .pricing-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .awards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .award-badge {
    padding: 16px 12px;
  }
  
  .award-icon {
    font-size: 2rem;
  }
  
  .process-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* === INFLUENCER SPECIFIC SECTIONS === */
.influencer-why {
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(106,17,203,0.03) 0%, rgba(37,117,252,0.02) 100%);
  border-radius: 20px;
  margin: 40px auto;
  max-width: 1200px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(80,80,160,0.08);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255,255,255,0.5);
}

.benefit-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(80,80,160,0.15);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.benefit-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #23243a;
}

.benefit-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Dark mode pro benefit cards */
body.dark .benefit-card {
  background: rgba(45,45,45,0.95);
  color: #f4f4f4;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

body.dark .benefit-card h3 {
  color: #fff;
}

body.dark .benefit-card p {
  color: #ddd;
}

body.dark .benefit-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}

/* Mobile optimalizace benefits */
@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .benefit-card {
    padding: 24px 18px;
  }
  
  .benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
  }
  
  .benefit-card h3 {
    font-size: 1.15rem;
  }
}

.pricing-section.companies-section {
  max-width: 1400px;
}

.pricing-section.companies-section .text-container {
  max-width: 1400px;
}

/* === ABOUT === */
.about-values-bar {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  padding: 58px 0 64px 0;
  position: relative;
  overflow: hidden;
}

.about-values-heading {
  color: #fff;
  font-size: 2.7rem;
  font-weight: 900;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 48px;
  text-shadow: 0 4px 28px rgba(80,80,160,0.18);
}

.about-values-cards {
  display: flex;
  justify-content: center;
  gap: 34px;
  max-width: 1320px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-value-card {
  background: linear-gradient(120deg, rgba(255,255,255,0.18) 80%, rgba(255,255,255,0.10) 100%);
  border-radius: 22px;
  border: 2.4px solid rgba(255,255,255,0.32);
  box-shadow: 0 7px 38px rgba(60,60,150,0.09), 0 1.5px 6px rgba(0,0,0,0.02);
  min-width: 222px;
  max-width: 310px;
  flex: 1 1 230px;
  padding: 42px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 
    transform 0.16s cubic-bezier(.68,-0.55,.27,1.55),
    box-shadow 0.22s cubic-bezier(.68,-0.55,.27,1.55),
    background 0.3s;
  position: relative;
}

.about-value-card:hover {
  background: linear-gradient(120deg, rgba(255,255,255,0.24) 80%, rgba(255,255,255,0.14) 100%);
  transform: translateY(-14px) scale(1.045);
  box-shadow: 0 20px 66px rgba(37,117,252,0.14), 0 2px 12px rgba(0,0,0,0.04);
  border-color: #fff;
}

.about-value-icon {
  font-size: 2.6rem;
  margin-bottom: 22px;
  text-shadow: 0 8px 28px rgba(0,0,0,0.09);
}

.about-value-title {
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 9px rgba(80,80,160,0.13);
}

.about-value-desc {
  font-size: 1.05rem;
  color: #f1f6ff;
  font-weight: 500;
  text-align: center;
  margin-top: 0.5em;
  line-height: 1.45;
}

/* Dark mode */
body.dark .about-values-bar {
  background: linear-gradient(90deg, #23243a 0%, #2d2e4a 100%);
}
body.dark .about-value-card {
  background: linear-gradient(120deg, rgba(34, 34, 60, 0.28) 80%, rgba(45,46,74,0.17) 100%);
  border: 2.4px solid rgba(138,126,255,0.11);
}
body.dark .about-value-title {
  color: #fff;
}
body.dark .about-value-desc {
  color: #e9e9ff;
}

/* Responsive */
@media (max-width: 1050px) {
  .about-values-cards {
    gap: 22px;
    max-width: 99vw;
  }
  .about-value-card {
    padding: 32px 10px 26px 10px;
    min-width: 180px;
    max-width: 48vw;
  }
}
@media (max-width: 700px) {
  .about-values-bar {
    padding: 30px 0 22px 0;
  }
  .about-values-heading {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }
  .about-values-cards {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }
  .about-value-card {
    min-width: 140px;
    max-width: 96vw;
    padding: 22px 6vw 14px 6vw;
    font-size: 0.94rem;
  }
  .about-value-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  .about-value-title {
    font-size: 1.06rem;
    margin-bottom: 6px;
  }
}

.about-team-section {
  padding: 60px 0 40px 0;
  background: linear-gradient(135deg, #f3f8ff 60%, #e0e7ff 100%);
  text-align: center;
}
body.dark .about-team-section {
  background: linear-gradient(135deg, #181b23 0%, #23243a 100%);
}
.about-team-section h2 {
  color: #23243a;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 16px 0;
  text-shadow: 0 2px 8px rgba(60,60,150,0.08);
}
body.dark .about-team-section h2 {
  color: #fff;
}
.about-team-lead {
  color: #444;
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
body.dark .about-team-lead {
  color: #d6d6e7;
}
.team-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 0 auto;
  max-width: 1100px;
  flex-wrap: wrap;
}
.team-member-badge {
  min-width: 210px;
  max-width: 260px;
  flex: 1;
  padding: 34px 20px 22px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.14);
  border: 1.5px solid rgba(106,17,203,0.10);
  box-shadow: 0 4px 18px rgba(60,60,150,0.10);
  transition: all 0.3s cubic-bezier(.68,-0.55,.27,1.55);
  cursor: default;
  align-items: center;
}
.team-member-badge:hover {
  background: rgba(255,255,255,0.23);
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 10px 28px rgba(37,117,252,0.12);
  border-color: #fff;
}
body.dark .team-member-badge {
  background: rgba(34, 34, 60, 0.19);
  border: 1.5px solid rgba(138,126,255,0.09);
}

.team-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  perspective: 1000px;
}

.team-member-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,0.98) 0%, rgba(248,250,255,0.95) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 24px;
  padding: 40px 32px 32px 32px;
  min-width: 320px;
  max-width: 380px;
  flex: 1;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(106, 17, 203, 0.08),
    0 8px 24px rgba(37, 117, 252, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transform-style: preserve-3d;
}

.team-member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 50%, #00eaff 100%);
  border-radius: 24px 24px 0 0;
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(37,117,252,0.03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.team-member-card:hover {
  transform: translateY(-12px) scale(1.04);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,1) 0%, rgba(240,248,255,0.98) 100%);
  box-shadow: 
    0 30px 60px rgba(106, 17, 203, 0.18),
    0 12px 24px rgba(37, 117, 252, 0.12),
    0 0 0 3px rgba(0, 234, 255, 0.1),
    inset 0 2px 0 rgba(255,255,255,1);
  animation: cardPulse 2s ease-in-out infinite;
}


.team-member-card:hover .card-glow {
  opacity: 1;
}

.team-avatar-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.team-avatar {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 50%, #00eaff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 8px 32px rgba(106, 17, 203, 0.3),
    inset 0 2px 0 rgba(255,255,255,0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.avatar-ring {
  position: absolute;
  inset: -8px;
  border: 3px solid transparent;
  border-radius: 50%;
  background: linear-gradient(135deg, #6a11cb, #2575fc, #00eaff) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
}

.team-member-card:hover .avatar-ring {
  opacity: 1;
  transform: scale(1);
  animation: ringPulse 2s ease-in-out infinite;
}

.team-initials {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 2;
  position: relative;
}

.avatar-dots {
  position: absolute;
  top: -4px;
  right: -4px;
  display: flex;
  gap: 2px;
}

.avatar-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00eaff;
  box-shadow: 0 0 8px rgba(0, 234, 255, 0.6);
  animation: dotPulse 2s ease-in-out infinite;
}

.avatar-dots span:nth-child(2) {
  animation-delay: 0.3s;
}

.avatar-dots span:nth-child(3) {
  animation-delay: 0.6s;
}

.team-member-card:hover .team-avatar {
  transform: scale(1.12) rotateY(10deg);
  animation: avatarBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.team-info {
  text-align: center;
}

.team-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #1a1a2e;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.team-role {
  margin-bottom: 16px;
}

.role-badge {
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.1) 0%, rgba(37, 117, 252, 0.1) 100%);
  color: #2575fc;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(37, 117, 252, 0.2);
  display: inline-block;
  backdrop-filter: blur(10px);
}

.team-contact {
  margin-bottom: 20px;
}

.team-contact a {
  color: #6a11cb;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(106, 17, 203, 0.05);
  border: 1px solid rgba(106, 17, 203, 0.1);
}

.team-contact a:hover {
  color: #2575fc;
  background: rgba(37, 117, 252, 0.1);
  border-color: rgba(37, 117, 252, 0.2);
  transform: translateY(-2px);
}

.team-contact svg {
  transition: transform 0.3s ease;
}

.team-contact a:hover svg {
  transform: scale(1.1);
}

.team-bio {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 400;
}

.card-stats {
  display: flex;
  justify-content: space-around;
  padding-top: 20px;
  border-top: 1px solid rgba(37, 117, 252, 0.1);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: #2575fc;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Dark mode */
body.dark .team-member-card {
  background: linear-gradient(145deg, rgba(35, 36, 58, 0.95) 0%, rgba(45, 46, 74, 0.9) 100%);
  border-color: rgba(138, 126, 255, 0.2);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 8px 24px rgba(138, 126, 255, 0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

body.dark .team-member-card:hover {
  border-color: rgba(138, 126, 255, 0.4);
  box-shadow: 
    0 32px 64px rgba(0, 0, 0, 0.4),
    0 16px 32px rgba(138, 126, 255, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

body.dark .team-info h3 {
  background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark .role-badge {
  background: linear-gradient(135deg, rgba(138, 126, 255, 0.2) 0%, rgba(102, 204, 255, 0.1) 100%);
  color: #66ccff;
  border-color: rgba(102, 204, 255, 0.3);
}

body.dark .team-contact a {
  color: #8a7eff;
  background: rgba(138, 126, 255, 0.1);
  border-color: rgba(138, 126, 255, 0.2);
}

body.dark .team-contact a:hover {
  color: #66ccff;
  background: rgba(102, 204, 255, 0.15);
  border-color: rgba(102, 204, 255, 0.3);
}

body.dark .team-bio {
  color: #cbd5e0;
}

body.dark .stat-number {
  color: #66ccff;
}

body.dark .stat-label {
  color: #a0aec0;
}

body.dark .card-stats {
  border-top-color: rgba(102, 204, 255, 0.2);
}

/* Animations */
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .team-grid {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    perspective: none;
  }
  
  .team-member-card {
    max-width: 100%;
    min-width: 280px;
    padding: 32px 24px 24px 24px;
  }
  
  .team-member-card:hover {
    transform: translateY(-8px) scale(1.02);
  }
  
  .team-avatar {
    width: 80px;
    height: 80px;
  }
  
  .team-initials {
    font-size: 1.8rem;
  }
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(-15px) rotateY(-8deg) rotateX(3deg) scale(1.02); }
  50% { transform: translateY(-18px) rotateY(-6deg) rotateX(2deg) scale(1.025); }
}

@keyframes avatarBounce {
  0% { transform: scale(1.12) rotateY(10deg); }
  50% { transform: scale(1.18) rotateY(15deg); }
  100% { transform: scale(1.12) rotateY(10deg); }
}


/* Award icons styling */
.award-icon svg {
  color: #fff; 
}

body.light .award-icon svg {
  color: #fff;
}

body.dark .award-icon svg {
  color: #fff;
}

